diff --git a/abstra/cli.py b/abstra/cli.py index 036bc59f64..31d890d72b 100644 --- a/abstra/cli.py +++ b/abstra/cli.py @@ -25,38 +25,14 @@ def deploy(self, root_dir: Optional[str] = None): SettingsController.set_root_path(root_dir or select_dir()) deploy() - def editor( - self, - root_dir: Optional[str] = None, - port: int = 3000, - debug=False, - load_dotenv=True, - reloading=False, - ): + def editor(self, root_dir: Optional[str] = None, port: int = 3000, headless=False): SettingsController.set_root_path(root_dir or select_dir()) SettingsController.set_server_port(port) - editor( - debug=debug, - load_dotenv=load_dotenv, - reloading=reloading, - ) - - def serve( - self, - root_dir: Optional[str] = None, - port: int = 3000, - debug=False, - load_dotenv=True, - reloading=False, - ): + editor(headless=headless) + + def serve(self, root_dir: Optional[str] = None, port: int = 3000, headless=False): print("This command is deprecated. Please use 'abstra editor' instead.") - self.editor( - root_dir=root_dir, - port=port, - debug=debug, - load_dotenv=load_dotenv, - reloading=reloading, - ) + self.editor(root_dir=root_dir, port=port, headless=headless) def dump(self, root_dir: str = "."): SettingsController.set_root_path(root_dir) diff --git a/abstra/logging.py b/abstra/logging.py new file mode 100644 index 0000000000..75ebd95aac --- /dev/null +++ b/abstra/logging.py @@ -0,0 +1,5 @@ +import logging + +logger = logging.getLogger("abstra") + +__all__ = ["logger"] diff --git a/abstra_internals/editor_reloader.py b/abstra_internals/editor_reloader.py deleted file mode 100644 index 226df03f37..0000000000 --- a/abstra_internals/editor_reloader.py +++ /dev/null @@ -1,50 +0,0 @@ -import os -import sys -import typing -from pathlib import Path - -from werkzeug.serving import BaseWSGIServer - - -class EditorReloader: - _instance: typing.Optional["EditorReloader"] = None - _server: typing.Optional[BaseWSGIServer] = None - - def __new__(cls): - if not cls._instance: - cls._instance = super(EditorReloader, cls).__new__(cls) - return cls._instance - - def set_server(self, server: BaseWSGIServer): - EditorReloader._server = server - - def reload(self): - if EditorReloader._server is not None: - EditorReloader._server.shutdown() - EditorReloader._server = None - - is_win = sys.platform.startswith("win") - path_str = sys.argv[0] - if is_win: - path_str = path_str + ".exe" - - is_executable_in_args = Path(path_str).exists() and os.access(path_str, os.X_OK) - - executable, cmd = ( - (sys.argv[0], sys.argv[1:]) - if is_executable_in_args - else (sys.executable, sys.argv) - ) - - cmd = [executable] + cmd - if "--reloading" not in cmd: - cmd.append("--reloading") - - if is_win: - sts = os.spawnv(os.P_WAIT, executable, cmd) - os._exit(sts) - else: - os.execv(executable, cmd) - - -LocalReloader = EditorReloader() diff --git a/abstra_internals/environment.py b/abstra_internals/environment.py index bbf24a117c..7607d09c49 100644 --- a/abstra_internals/environment.py +++ b/abstra_internals/environment.py @@ -1,7 +1,11 @@ import os -LOGLEVEL = os.getenv("ABSTRA_LOGLEVEL", "WARNING") -LOGFORMAT = "[%(name)s][%(levelname)s][%(process)d]%(message)s" +DEFAULT_LOGLEVEL = "WARNING" +LOGLEVEL = lambda: os.getenv("ABSTRA_LOGLEVEL", DEFAULT_LOGLEVEL) # noqa: E731 + +PROCESS_LOGFORMAT = "[%(asctime)s][%(levelname)s][%(name)s][%(process)d]%(message)s" +DEFAULT_LOGFORMAT = "[%(asctime)s][%(levelname)s][%(name)s] %(message)s" +LOGFORMAT = lambda: os.getenv("ABSTRA_LOGFORMAT", DEFAULT_LOGFORMAT) # noqa: E731 WORKERS = os.getenv("ABSTRA_WORKERS", 2) THREADS = os.getenv("ABSTRA_THREADS", 20) @@ -37,11 +41,11 @@ RABBITMQ_CONNECTION_URI = os.getenv("ABSTRA_RABBITMQ_CONNECTION_URI") QUEUE_CONCURRENCY = int(os.getenv("ABSTRA_QUEUE_CONCURRENCY", 2)) -__WORKER_UUID_ENV__ = "ABSTRA_WORKER_UUID" - +OIDC_CLIENT_ID = lambda: os.getenv("ABSTRA_OIDC_CLIENT_ID") # noqa: E731 +OIDC_AUTHORITY = lambda: os.getenv("ABSTRA_OIDC_AUTHORITY") # noqa: E731 -def WORKER_UUID(): - return os.getenv(__WORKER_UUID_ENV__) +__WORKER_UUID_ENV__ = "ABSTRA_WORKER_UUID" +WORKER_UUID = lambda: os.getenv(__WORKER_UUID_ENV__) # noqa: E731 def set_WORKER_UUID(worker_uuid: str): @@ -49,19 +53,8 @@ def set_WORKER_UUID(worker_uuid: str): __SERVER_UUID_ENV__ = "ABSTRA_SERVER_UUID" - - -def SERVER_UUID(): - return os.getenv(__SERVER_UUID_ENV__) +SERVER_UUID = lambda: os.getenv(__SERVER_UUID_ENV__) # noqa: E731 def set_SERVER_UUID(server_uuid: str): os.environ[__SERVER_UUID_ENV__] = server_uuid - - -def OIDC_CLIENT_ID(): - return os.getenv("ABSTRA_OIDC_CLIENT_ID") - - -def OIDC_AUTHORITY(): - return os.getenv("ABSTRA_OIDC_AUTHORITY") diff --git a/abstra_internals/fs_watcher.py b/abstra_internals/fs_watcher.py index edb3488f4c..75d3506a92 100644 --- a/abstra_internals/fs_watcher.py +++ b/abstra_internals/fs_watcher.py @@ -6,6 +6,7 @@ from watchdog.observers import Observer from abstra_internals.modules import reload_project_local_modules +from abstra_internals.settings import Settings IGNORED_FILES = [".abstra/resources.dat", ".abstra/", "abstra.json"] DEBOUNCE_DELAY = 0.5 @@ -39,11 +40,11 @@ def reload_files_on_change(self): pass -def watch_file_change_events(path: str): +def watch_file_change_events(): event_handler = FileChangeEventHandler() observer = Observer() - observer.schedule(event_handler, path=path, recursive=True) + observer.schedule(event_handler, path=str(Settings.root_path), recursive=True) observer.start() try: diff --git a/abstra_internals/interface/cli/editor.py b/abstra_internals/interface/cli/editor.py index d1b815eef0..0f540e6887 100644 --- a/abstra_internals/interface/cli/editor.py +++ b/abstra_internals/interface/cli/editor.py @@ -1,13 +1,10 @@ -import logging import threading -from dotenv import load_dotenv as _load_dotenv -from werkzeug.debug import DebuggedApplication +from dotenv import load_dotenv from werkzeug.serving import make_server from abstra_internals.controllers.execution_consumer import ExecutionConsumer from abstra_internals.controllers.main import MainController -from abstra_internals.editor_reloader import LocalReloader from abstra_internals.environment import HOST from abstra_internals.fs_watcher import watch_file_change_events from abstra_internals.interface.cli.messages import serve_message @@ -46,51 +43,35 @@ def start_file_watcher(): daemon=True, name="file_watcher", target=watch_file_change_events, - kwargs=dict(path=str(Settings.root_path)), ).start() -def start_resources_watcher(controller: MainController): +def start_resources_watcher(): threading.Thread( daemon=True, name="resources_watcher", target=resources_polling_loop, - kwargs=dict(controller=controller), ).start() -def editor( - debug: bool, - load_dotenv: bool, - reloading: bool, -): +def editor(headless: bool): + load_dotenv(Settings.root_path / ".env") serve_message() check_latest_version() + AbstraLogger.init("local") controller = MainController(repositories=get_editor_repositories()) controller.reset_repositories() StdioPatcher.apply(controller) - AbstraLogger.init("local") - start_consumer(controller) start_file_watcher() - start_resources_watcher(controller) - - if load_dotenv: - _load_dotenv(Settings.root_path / ".env") + start_resources_watcher() + start_consumer(controller) app = get_local_app(controller) - if not debug: - log = logging.getLogger("werkzeug") - log.setLevel(logging.WARNING) - else: - app = DebuggedApplication(app, evalex=True) - server = make_server(host=HOST, port=Settings.server_port, threaded=True, app=app) - LocalReloader.set_server(server) - - if not reloading: + if not headless: browser_open_editor() server.serve_forever() diff --git a/abstra_internals/logger.py b/abstra_internals/logger.py index 45a6edb216..03e91ff019 100644 --- a/abstra_internals/logger.py +++ b/abstra_internals/logger.py @@ -8,9 +8,7 @@ from abstra_internals.environment import LOGFORMAT, LOGLEVEL from abstra_internals.utils import is_dev_env, is_test_env - -def abstra_logger(): - return logging.getLogger("abstra") +internal_logger = lambda: logging.getLogger("abstra_internal") # noqa: E731 class DevSDK: @@ -20,13 +18,13 @@ def init(cls, *args, **kwargs): @classmethod def capture_exception(cls, exception: BaseException): - abstra_logger().exception( + internal_logger().exception( msg=f"[ABSTRA_LOGGER] Exception captured: {exception}" ) @classmethod def capture_message(cls, message): - abstra_logger().info(f"[ABSTRA_LOGGER] Message captured: {message}") + internal_logger().info(f"[ABSTRA_LOGGER] Message captured: {message}") @classmethod def flush(cls): @@ -42,8 +40,11 @@ class AbstraLogger: @classmethod def init(cls, environment: Optional[Environment]): cls.environment = environment or "local" - logging.basicConfig(level=LOGLEVEL, format=LOGFORMAT) - logging.getLogger("pika").setLevel(logging.WARNING) # TEMP + logging.basicConfig(level=LOGLEVEL(), format=LOGFORMAT()) + + # Silence verbose dependencies + logging.getLogger("pika").setLevel(logging.WARNING) + logging.getLogger("werkzeug").setLevel(logging.WARNING) try: cls.get_sdk().init( @@ -59,7 +60,7 @@ def init(cls, environment: Optional[Environment]): ], ) except Exception: - abstra_logger().error( + internal_logger().error( "[ABSTRA_LOGGER] Error reporting has been turned off." ) @@ -75,19 +76,19 @@ def capture_message(cls, message: str): @classmethod def warning(cls, message: str): - abstra_logger().warning(message) + internal_logger().warning(message) @classmethod def info(cls, message: str): - abstra_logger().info(message) + internal_logger().info(message) @classmethod def debug(cls, message: str): - abstra_logger().debug(message) + internal_logger().debug(message) @classmethod def error(cls, message: str): - abstra_logger().error(message) + internal_logger().error(message) @classmethod def get_sdk(cls): diff --git a/abstra_internals/resources_watcher.py b/abstra_internals/resources_watcher.py index 2ae5d3b987..0cc536c3b5 100644 --- a/abstra_internals/resources_watcher.py +++ b/abstra_internals/resources_watcher.py @@ -1,10 +1,9 @@ import time -from abstra_internals.controllers.main import MainController from abstra_internals.services.resources import ResourcesRepository -def resources_polling_loop(*, controller: MainController): +def resources_polling_loop(): ResourcesRepository.clear_resources() while True: try: diff --git a/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js b/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js new file mode 100644 index 0000000000..aee6f36031 --- /dev/null +++ b/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js @@ -0,0 +1,2 @@ +import{d as r,o,c as d,w as a,b as u,Z as f,u as s,dd as i,ey as l,eB as c,bP as p}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b066ae92-2ad0-43e1-a673-195513326c51",e._sentryDebugIdIdentifier="sentry-dbid-b066ae92-2ad0-43e1-a673-195513326c51")}catch{}})();const _=r({__name:"AbstraButton",setup(e){return(t,n)=>(o(),d(s(p),l(c(t.$attrs)),{default:a(()=>[u(s(i),{style:{display:"flex","align-items":"center","justify-content":"center",gap:"5px"}},{default:a(()=>[f(t.$slots,"default")]),_:3})]),_:3},16))}});export{_}; +//# sourceMappingURL=AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js.map diff --git a/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js b/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js deleted file mode 100644 index 3d29292de9..0000000000 --- a/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as r,o,c as d,w as a,b as f,Z as u,u as s,dd as i,ey as l,eB as c,bP as b}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="10fe8c5e-e4b4-48aa-b94b-2d0f2189f948",e._sentryDebugIdIdentifier="sentry-dbid-10fe8c5e-e4b4-48aa-b94b-2d0f2189f948")}catch{}})();const y=r({__name:"AbstraButton",setup(e){return(t,n)=>(o(),d(s(b),l(c(t.$attrs)),{default:a(()=>[f(s(i),{style:{display:"flex","align-items":"center","justify-content":"center",gap:"5px"}},{default:a(()=>[u(t.$slots,"default")]),_:3})]),_:3},16))}});export{y as _}; -//# sourceMappingURL=AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js.map diff --git a/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js b/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js new file mode 100644 index 0000000000..fd8c3c8bd5 --- /dev/null +++ b/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js @@ -0,0 +1,2 @@ +import{L as a}from"./Logo.bfb8cf31.js";import{d as t,o as n,c as r,u as d}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="50a25078-7b46-4a19-9262-4dea8139d01c",e._sentryDebugIdIdentifier="sentry-dbid-50a25078-7b46-4a19-9262-4dea8139d01c")}catch{}})();const i="/assets/logo.0faadfa2.svg",c=t({__name:"AbstraLogo",props:{hideText:{type:Boolean},size:{}},setup(e){return(o,s)=>(n(),r(a,{"image-url":d(i),"brand-name":"Abstra","hide-text":o.hideText,size:o.size},null,8,["image-url","hide-text","size"]))}});export{c as _}; +//# sourceMappingURL=AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js.map diff --git a/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js b/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js deleted file mode 100644 index bbeda67e8e..0000000000 --- a/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js +++ /dev/null @@ -1,2 +0,0 @@ -import{L as s}from"./Logo.389f375b.js";import{d as t,o as n,c as r,u as d}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="482b1f78-dda2-4abc-8272-748a11ab93e9",e._sentryDebugIdIdentifier="sentry-dbid-482b1f78-dda2-4abc-8272-748a11ab93e9")}catch{}})();const i="/assets/logo.0faadfa2.svg",u=t({__name:"AbstraLogo",props:{hideText:{type:Boolean},size:{}},setup(e){return(a,o)=>(n(),r(s,{"image-url":d(i),"brand-name":"Abstra","hide-text":a.hideText,size:a.size},null,8,["image-url","hide-text","size"]))}});export{u as _}; -//# sourceMappingURL=AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js.map diff --git a/abstra_statics/dist/assets/AccessControlEditor.50043c84.js b/abstra_statics/dist/assets/AccessControlEditor.6f5c94d3.js similarity index 89% rename from abstra_statics/dist/assets/AccessControlEditor.50043c84.js rename to abstra_statics/dist/assets/AccessControlEditor.6f5c94d3.js index ae3a47495d..ac5a467143 100644 --- a/abstra_statics/dist/assets/AccessControlEditor.50043c84.js +++ b/abstra_statics/dist/assets/AccessControlEditor.6f5c94d3.js @@ -1,2 +1,2 @@ -var T=Object.defineProperty;var D=(i,e,s)=>e in i?T(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var M=(i,e,s)=>(D(i,typeof e!="symbol"?e+"":e,s),s);import{C as E}from"./ContentLayout.d691ad7a.js";import{l as N}from"./fetch.3971ea84.js";import{E as I}from"./record.075b7d45.js";import{d as C,B as A,f as b,o as n,X as y,Z as O,R as k,e8 as $,a as _,c as v,eg as U,w as r,aF as g,b as a,u as t,bP as z,eb as P,cQ as L,e9 as S,aR as H,cP as F,aA as G,ec as J,aV as Q,d5 as W,cO as X,cN as Z,dd as w,d8 as Y,d1 as K,d9 as ee,d7 as j,d6 as te,E as se}from"./vue-router.33f35a18.js";import{E as oe}from"./repository.fc6e5621.js";import{a as q}from"./asyncComputed.c677c545.js";import{S as re}from"./SaveButton.dae129ff.js";import{I as ae}from"./PhGlobe.vue.5d1ae5ae.js";import{u as x}from"./editor.c70395a0.js";import{F as le}from"./PhArrowSquareOut.vue.03bd374b.js";import{A as ne}from"./index.2fc2bb22.js";import{i as ie}from"./metadata.bccf44f5.js";import{A as B}from"./index.f014adef.js";import"./gateway.a5388860.js";import"./popupNotifcation.7fc1aee0.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="18e95465-5221-4153-83dc-0ed4e46cca22",i._sentryDebugIdIdentifier="sentry-dbid-18e95465-5221-4153-83dc-0ed4e46cca22")}catch{}})();const ce=["width","height","fill","transform"],ue={key:0},de=_("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"},null,-1),pe=[de],he={key:1},ge=_("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),me=_("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1),fe=[ge,me],ye={key:2},ve=_("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},null,-1),be=[ve],_e={key:3},Ce=_("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1),we=[Ce],Ve={key:4},Ae=_("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1),He=[Ae],ke={key:5},Pe=_("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1),Se=[Pe],Re={name:"PhLockSimple"},Me=C({...Re,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,s=A("weight","regular"),c=A("size","1em"),m=A("color","currentColor"),f=A("mirrored",!1),o=b(()=>{var l;return(l=e.weight)!=null?l:s}),h=b(()=>{var l;return(l=e.size)!=null?l:c}),d=b(()=>{var l;return(l=e.color)!=null?l:m}),u=b(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:f?"scale(-1, 1)":void 0);return(l,p)=>(n(),y("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:d.value,transform:u.value},l.$attrs),[O(l.$slots,"default"),o.value==="bold"?(n(),y("g",ue,pe)):o.value==="duotone"?(n(),y("g",he,fe)):o.value==="fill"?(n(),y("g",ye,be)):o.value==="light"?(n(),y("g",_e,we)):o.value==="regular"?(n(),y("g",Ve,He)):o.value==="thin"?(n(),y("g",ke,Se)):k("",!0)],16,ce))}});class R{constructor(e){M(this,"record");this.record=I.from(e)}get id(){return this.record.get("id")}get type(){return this.record.get("type")}get title(){return this.record.get("title")}get isPublic(){return this.record.get("is_public")}set isPublic(e){e&&this.record.set("required_roles",[]),this.record.set("is_public",e)}get requiredRoles(){return this.record.get("required_roles")}set requiredRoles(e){e.length!==0&&this.record.set("is_public",!1),this.record.set("required_roles",e)}makePublic(){this.isPublic=!0}makeProtected(){this.isPublic=!1,this.requiredRoles=[]}require(e){e.length!==0&&(this.isPublic=!1),this.requiredRoles=e}get visibility(){return this.isPublic?"public":"private"}hasChanges(){return this.record.hasChanges("is_public")||this.record.hasChangesDeep("required_roles")}get changes(){return this.record.changes}get initialState(){return this.record.initialState}toUpdateDTO(){return{id:this.id,is_public:this.isPublic,required_roles:this.requiredRoles}}commit(){this.record.commit()}static from(e){return new R(e)}}class Ze{constructor(e=N){this.fetch=e}async list(){return(await(await this.fetch("/_editor/api/access-control",{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(R.from)}async update(e){const s=e.reduce((m,f)=>(f.hasChanges()&&m.push({id:f.id,...f.changes}),m),[]);return await(await fetch("/_editor/api/access-control",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)})).json()}}const je=_("span",null," Project Roles ",-1),qe=C({__name:"RoleSelector",props:{value:{},roleOptions:{},disabled:{type:Boolean}},emits:["update:value"],setup(i,{emit:e}){const s=i,c=x(),m=o=>{e("update:value",o)},f=C({props:{vnodes:{type:Object,required:!0}},render(){return this.vnodes}});return(o,h)=>(n(),v(t(G),{value:o.value,mode:"multiple",disabled:o.disabled,"show-arrow":"","onUpdate:value":m},U({dropdownRender:r(({menuNode:d})=>[a(t(f),{vnodes:d},null,8,["vnodes"]),a(t(ne),{style:{margin:"4px 0"}}),t(c).links?(n(),v(t(z),{key:0,type:"default",style:{display:"flex","align-items":"center","justify-content":"center",width:"100%",gap:"4px"},href:t(c).links.roles,target:"abstra_project"},{default:r(()=>[a(t(le),{size:"16"}),g(" Manage roles in Cloud Console ")]),_:1},8,["href"])):k("",!0)]),default:r(()=>[a(t(F),null,{label:r(()=>[je]),default:r(()=>[(n(!0),y(H,null,P(o.roleOptions,d=>(n(),v(t(L),{key:d,value:d},{default:r(()=>[g(S(d),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:2},[s.disabled?void 0:{name:"placeholder",fn:r(()=>[g(" Leave empty to allow all listed users ")]),key:"0"}]),1032,["value","disabled"]))}}),xe=C({__name:"AccessControlItem",props:{accessControl:{},roles:{}},emits:["update:access-control"],setup(i,{emit:e}){const s=i,c=b(()=>s.roles.map(o=>o.name)),m=o=>{o?s.accessControl.makePublic():s.accessControl.makeProtected(),e("update:access-control",s.accessControl)},f=o=>{s.accessControl.require(o),o.length!==0&&(s.accessControl.isPublic=!1),e("update:access-control",s.accessControl)};return(o,h)=>(n(),v(t(w),{justify:"space-between",align:"center",gap:"small"},{default:r(()=>[(n(),v(J(t(ie)(o.accessControl.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),a(t(W),{style:{width:"300px","text-overflow":"ellipsis",overflow:"hidden","white-space":"nowrap"}},{default:r(()=>[a(t(Q),{title:o.accessControl.title,placement:"left",open:o.accessControl.title.length>36?void 0:!1},{default:r(()=>[g(S(o.accessControl.title),1)]),_:1},8,["title","open"])]),_:1}),a(t(w),{gap:"large",align:"center"},{default:r(()=>[a(qe,{disabled:o.accessControl.visibility==="public",style:{width:"320px"},value:o.accessControl.requiredRoles||[],"role-options":c.value||[],"onUpdate:value":h[0]||(h[0]=d=>f(d))},null,8,["disabled","value","role-options"]),a(t(X),{value:o.accessControl.visibility},{default:r(()=>[a(t(Z),{value:"public",onChange:h[1]||(h[1]=d=>m(!0))},{default:r(()=>[a(t(w),{align:"center",gap:"small"},{default:r(()=>[g(" Public "),a(t(ae),{size:14})]),_:1})]),_:1}),a(t(Z),{value:"private",onChange:h[2]||(h[2]=d=>m(!1))},{default:r(()=>[a(t(w),{align:"center",gap:"small"},{default:r(()=>[g(" Private "),a(t(Me),{size:14})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}))}}),Be=C({__name:"DanglingRolesAlert",props:{danglingRoles:{}},setup(i){return(e,s)=>(n(),v(t(B),{type:"warning","show-icon":"",closable:"",style:{margin:"5px"}},{description:r(()=>[a(t(Y),null,{default:r(()=>[g("The following roles are not defined in the Cloud Console:")]),_:1}),(n(!0),y(H,null,P(e.danglingRoles,c=>(n(),v(t(K),{key:c,style:{margin:"2px"},color:"red"},{default:r(()=>[g(S(c),1)]),_:2},1024))),128))]),_:1}))}}),Te=C({__name:"View",props:{accessControls:{},roles:{},loading:{type:Boolean}},emits:["update:access-controls","save"],setup(i,{emit:e}){const s=i,c=u=>{const l=s.accessControls.findIndex(p=>p.id===u.id);l!==-1&&(s.accessControls[l]=u,e("update:access-controls",[...s.accessControls]))},m=b(()=>{var u;return((u=s.accessControls)==null?void 0:u.filter(l=>l.hasChanges()))||[]}),f=b(()=>m.value.length>0),h={save:async()=>{e("save")},hasChanges:()=>f.value},d=b(()=>{const u=[...new Set(s.accessControls.flatMap(p=>p.requiredRoles)||[])],l=s.roles.map(p=>p.name)||[];return(u==null?void 0:u.filter(p=>!l.includes(p)))||[]});return(u,l)=>(n(),y(H,null,[!u.loading&&d.value.length>0?(n(),v(Be,{key:0,"dangling-roles":d.value},null,8,["dangling-roles"])):k("",!0),a(re,{model:h}),a(t(w),{vertical:"",gap:"small",style:{"margin-top":"10px"}},{default:r(()=>[(n(!0),y(H,null,P(u.accessControls,p=>(n(),v(t(w),{key:p.id},{default:r(()=>[a(xe,{"access-control":p,roles:u.roles,"onUpdate:accessControl":c},null,8,["access-control","roles"])]),_:2},1024))),128))]),_:1})],64))}}),it=C({__name:"AccessControlEditor",setup(i){const e=x(),s=new Ze,{result:c,refetch:m}=q(async()=>await s.list()),f=b(()=>{var l;return((l=c.value)==null?void 0:l.filter(p=>p.hasChanges()))||[]}),o=async()=>{await s.update(f.value),await m()},h=new oe,{result:d,loading:u}=q(()=>h.list(100,0));return(l,p)=>(n(),v(E,null,{default:r(()=>[a(t(ee),null,{default:r(()=>[g("Access Control")]),_:1}),a(t(j),null,{default:r(()=>[g(" Set your project\u2019s pages as public, accessible to all users, or restricted to users with specific roles. ")]),_:1}),a(t(j),null,{default:r(()=>{var V;return[g(" Manage users and roles on the cloud's "),a(t(te),{href:(V=t(e).links)==null?void 0:V.users,target:"abstra_project"},{default:r(()=>[g("Access Control tab")]),_:1},8,["href"]),g(". Settings applied here will be enforced only in the cloud environment. ")]}),_:1}),a(t(B),{style:{width:"fit-content","margin-bottom":"24px"}},{message:r(()=>[g(" You may need to refresh this page to sync the roles with the cloud environment ")]),_:1}),t(c)?(n(),v(Te,{key:0,"access-controls":t(c),"onUpdate:accessControls":p[0]||(p[0]=V=>se(c)?c.value=V:null),roles:t(d)||[],loading:t(u),onSave:o},null,8,["access-controls","roles","loading"])):k("",!0)]),_:1}))}});export{it as default}; -//# sourceMappingURL=AccessControlEditor.50043c84.js.map +var T=Object.defineProperty;var D=(i,e,s)=>e in i?T(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var M=(i,e,s)=>(D(i,typeof e!="symbol"?e+"":e,s),s);import{C as E}from"./ContentLayout.5465dc16.js";import{l as N}from"./fetch.42a41b34.js";import{E as I}from"./record.cff1707c.js";import{d as C,B as A,f as b,o as n,X as y,Z as O,R as k,e8 as $,a as _,c as v,eg as U,w as r,aF as g,b as a,u as t,bP as z,eb as P,cQ as L,e9 as S,aR as H,cP as F,aA as G,ec as J,aV as Q,d5 as W,cO as X,cN as Z,dd as w,d8 as Y,d1 as K,d9 as ee,d7 as j,d6 as te,E as se}from"./vue-router.324eaed2.js";import{E as oe}from"./repository.61a8d769.js";import{a as q}from"./asyncComputed.3916dfed.js";import{S as re}from"./SaveButton.17e88f21.js";import{I as ae}from"./PhGlobe.vue.8ad99031.js";import{u as x}from"./editor.1b3b164b.js";import{F as le}from"./PhArrowSquareOut.vue.2a1b339b.js";import{A as ne}from"./index.341662d4.js";import{i as ie}from"./metadata.4c5c5434.js";import{A as B}from"./index.0887bacc.js";import"./gateway.edd4374b.js";import"./popupNotifcation.5a82bc93.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="a7876398-1d4b-4c2c-a7d6-3552a94c07e5",i._sentryDebugIdIdentifier="sentry-dbid-a7876398-1d4b-4c2c-a7d6-3552a94c07e5")}catch{}})();const ce=["width","height","fill","transform"],ue={key:0},de=_("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"},null,-1),pe=[de],he={key:1},ge=_("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),me=_("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1),fe=[ge,me],ye={key:2},ve=_("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},null,-1),be=[ve],_e={key:3},Ce=_("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1),we=[Ce],Ve={key:4},Ae=_("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1),He=[Ae],ke={key:5},Pe=_("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1),Se=[Pe],Re={name:"PhLockSimple"},Me=C({...Re,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,s=A("weight","regular"),c=A("size","1em"),m=A("color","currentColor"),f=A("mirrored",!1),o=b(()=>{var l;return(l=e.weight)!=null?l:s}),h=b(()=>{var l;return(l=e.size)!=null?l:c}),d=b(()=>{var l;return(l=e.color)!=null?l:m}),u=b(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:f?"scale(-1, 1)":void 0);return(l,p)=>(n(),y("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:d.value,transform:u.value},l.$attrs),[O(l.$slots,"default"),o.value==="bold"?(n(),y("g",ue,pe)):o.value==="duotone"?(n(),y("g",he,fe)):o.value==="fill"?(n(),y("g",ye,be)):o.value==="light"?(n(),y("g",_e,we)):o.value==="regular"?(n(),y("g",Ve,He)):o.value==="thin"?(n(),y("g",ke,Se)):k("",!0)],16,ce))}});class R{constructor(e){M(this,"record");this.record=I.from(e)}get id(){return this.record.get("id")}get type(){return this.record.get("type")}get title(){return this.record.get("title")}get isPublic(){return this.record.get("is_public")}set isPublic(e){e&&this.record.set("required_roles",[]),this.record.set("is_public",e)}get requiredRoles(){return this.record.get("required_roles")}set requiredRoles(e){e.length!==0&&this.record.set("is_public",!1),this.record.set("required_roles",e)}makePublic(){this.isPublic=!0}makeProtected(){this.isPublic=!1,this.requiredRoles=[]}require(e){e.length!==0&&(this.isPublic=!1),this.requiredRoles=e}get visibility(){return this.isPublic?"public":"private"}hasChanges(){return this.record.hasChanges("is_public")||this.record.hasChangesDeep("required_roles")}get changes(){return this.record.changes}get initialState(){return this.record.initialState}toUpdateDTO(){return{id:this.id,is_public:this.isPublic,required_roles:this.requiredRoles}}commit(){this.record.commit()}static from(e){return new R(e)}}class Ze{constructor(e=N){this.fetch=e}async list(){return(await(await this.fetch("/_editor/api/access-control",{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(R.from)}async update(e){const s=e.reduce((m,f)=>(f.hasChanges()&&m.push({id:f.id,...f.changes}),m),[]);return await(await fetch("/_editor/api/access-control",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)})).json()}}const je=_("span",null," Project Roles ",-1),qe=C({__name:"RoleSelector",props:{value:{},roleOptions:{},disabled:{type:Boolean}},emits:["update:value"],setup(i,{emit:e}){const s=i,c=x(),m=o=>{e("update:value",o)},f=C({props:{vnodes:{type:Object,required:!0}},render(){return this.vnodes}});return(o,h)=>(n(),v(t(G),{value:o.value,mode:"multiple",disabled:o.disabled,"show-arrow":"","onUpdate:value":m},U({dropdownRender:r(({menuNode:d})=>[a(t(f),{vnodes:d},null,8,["vnodes"]),a(t(ne),{style:{margin:"4px 0"}}),t(c).links?(n(),v(t(z),{key:0,type:"default",style:{display:"flex","align-items":"center","justify-content":"center",width:"100%",gap:"4px"},href:t(c).links.roles,target:"abstra_project"},{default:r(()=>[a(t(le),{size:"16"}),g(" Manage roles in Cloud Console ")]),_:1},8,["href"])):k("",!0)]),default:r(()=>[a(t(F),null,{label:r(()=>[je]),default:r(()=>[(n(!0),y(H,null,P(o.roleOptions,d=>(n(),v(t(L),{key:d,value:d},{default:r(()=>[g(S(d),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:2},[s.disabled?void 0:{name:"placeholder",fn:r(()=>[g(" Leave empty to allow all listed users ")]),key:"0"}]),1032,["value","disabled"]))}}),xe=C({__name:"AccessControlItem",props:{accessControl:{},roles:{}},emits:["update:access-control"],setup(i,{emit:e}){const s=i,c=b(()=>s.roles.map(o=>o.name)),m=o=>{o?s.accessControl.makePublic():s.accessControl.makeProtected(),e("update:access-control",s.accessControl)},f=o=>{s.accessControl.require(o),o.length!==0&&(s.accessControl.isPublic=!1),e("update:access-control",s.accessControl)};return(o,h)=>(n(),v(t(w),{justify:"space-between",align:"center",gap:"small"},{default:r(()=>[(n(),v(J(t(ie)(o.accessControl.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),a(t(W),{style:{width:"300px","text-overflow":"ellipsis",overflow:"hidden","white-space":"nowrap"}},{default:r(()=>[a(t(Q),{title:o.accessControl.title,placement:"left",open:o.accessControl.title.length>36?void 0:!1},{default:r(()=>[g(S(o.accessControl.title),1)]),_:1},8,["title","open"])]),_:1}),a(t(w),{gap:"large",align:"center"},{default:r(()=>[a(qe,{disabled:o.accessControl.visibility==="public",style:{width:"320px"},value:o.accessControl.requiredRoles||[],"role-options":c.value||[],"onUpdate:value":h[0]||(h[0]=d=>f(d))},null,8,["disabled","value","role-options"]),a(t(X),{value:o.accessControl.visibility},{default:r(()=>[a(t(Z),{value:"public",onChange:h[1]||(h[1]=d=>m(!0))},{default:r(()=>[a(t(w),{align:"center",gap:"small"},{default:r(()=>[g(" Public "),a(t(ae),{size:14})]),_:1})]),_:1}),a(t(Z),{value:"private",onChange:h[2]||(h[2]=d=>m(!1))},{default:r(()=>[a(t(w),{align:"center",gap:"small"},{default:r(()=>[g(" Private "),a(t(Me),{size:14})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}))}}),Be=C({__name:"DanglingRolesAlert",props:{danglingRoles:{}},setup(i){return(e,s)=>(n(),v(t(B),{type:"warning","show-icon":"",closable:"",style:{margin:"5px"}},{description:r(()=>[a(t(Y),null,{default:r(()=>[g("The following roles are not defined in the Cloud Console:")]),_:1}),(n(!0),y(H,null,P(e.danglingRoles,c=>(n(),v(t(K),{key:c,style:{margin:"2px"},color:"red"},{default:r(()=>[g(S(c),1)]),_:2},1024))),128))]),_:1}))}}),Te=C({__name:"View",props:{accessControls:{},roles:{},loading:{type:Boolean}},emits:["update:access-controls","save"],setup(i,{emit:e}){const s=i,c=u=>{const l=s.accessControls.findIndex(p=>p.id===u.id);l!==-1&&(s.accessControls[l]=u,e("update:access-controls",[...s.accessControls]))},m=b(()=>{var u;return((u=s.accessControls)==null?void 0:u.filter(l=>l.hasChanges()))||[]}),f=b(()=>m.value.length>0),h={save:async()=>{e("save")},hasChanges:()=>f.value},d=b(()=>{const u=[...new Set(s.accessControls.flatMap(p=>p.requiredRoles)||[])],l=s.roles.map(p=>p.name)||[];return(u==null?void 0:u.filter(p=>!l.includes(p)))||[]});return(u,l)=>(n(),y(H,null,[!u.loading&&d.value.length>0?(n(),v(Be,{key:0,"dangling-roles":d.value},null,8,["dangling-roles"])):k("",!0),a(re,{model:h}),a(t(w),{vertical:"",gap:"small",style:{"margin-top":"10px"}},{default:r(()=>[(n(!0),y(H,null,P(u.accessControls,p=>(n(),v(t(w),{key:p.id},{default:r(()=>[a(xe,{"access-control":p,roles:u.roles,"onUpdate:accessControl":c},null,8,["access-control","roles"])]),_:2},1024))),128))]),_:1})],64))}}),it=C({__name:"AccessControlEditor",setup(i){const e=x(),s=new Ze,{result:c,refetch:m}=q(async()=>await s.list()),f=b(()=>{var l;return((l=c.value)==null?void 0:l.filter(p=>p.hasChanges()))||[]}),o=async()=>{await s.update(f.value),await m()},h=new oe,{result:d,loading:u}=q(()=>h.list(100,0));return(l,p)=>(n(),v(E,null,{default:r(()=>[a(t(ee),null,{default:r(()=>[g("Access Control")]),_:1}),a(t(j),null,{default:r(()=>[g(" Set your project\u2019s pages as public, accessible to all users, or restricted to users with specific roles. ")]),_:1}),a(t(j),null,{default:r(()=>{var V;return[g(" Manage users and roles on the cloud's "),a(t(te),{href:(V=t(e).links)==null?void 0:V.users,target:"abstra_project"},{default:r(()=>[g("Access Control tab")]),_:1},8,["href"]),g(". Settings applied here will be enforced only in the cloud environment. ")]}),_:1}),a(t(B),{style:{width:"fit-content","margin-bottom":"24px"}},{message:r(()=>[g(" You may need to refresh this page to sync the roles with the cloud environment ")]),_:1}),t(c)?(n(),v(Te,{key:0,"access-controls":t(c),"onUpdate:accessControls":p[0]||(p[0]=V=>se(c)?c.value=V:null),roles:t(d)||[],loading:t(u),onSave:o},null,8,["access-controls","roles","loading"])):k("",!0)]),_:1}))}});export{it as default}; +//# sourceMappingURL=AccessControlEditor.6f5c94d3.js.map diff --git a/abstra_statics/dist/assets/ApiKeys.82582ccf.js b/abstra_statics/dist/assets/ApiKeys.82582ccf.js new file mode 100644 index 0000000000..52406093eb --- /dev/null +++ b/abstra_statics/dist/assets/ApiKeys.82582ccf.js @@ -0,0 +1,2 @@ +import{d as w,e as A,ea as _,f as k,o as x,X as v,b as l,u as i,w as d,aR as C,d7 as P,aF as y,d8 as h,e9 as D,cH as M,eI as j,ep as N}from"./vue-router.324eaed2.js";import{a as K}from"./asyncComputed.3916dfed.js";import{A as c}from"./apiKey.084f4c6e.js";import"./gateway.edd4374b.js";import{M as T}from"./member.972d243d.js";import{P as V}from"./project.a5f62f99.js";import"./tables.842b993f.js";import{C as B}from"./CrudView.0b1b90a7.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./router.0c18ec5d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="c94b9381-e01c-4040-92ee-d84f17ca6ba8",n._sentryDebugIdIdentifier="sentry-dbid-c94b9381-e01c-4040-92ee-d84f17ca6ba8")}catch{}})();const te=w({__name:"ApiKeys",setup(n){const o=A(null),p=[{key:"name",label:"API key name"}],s=_().params.projectId,{loading:f,result:g,refetch:u}=K(async()=>Promise.all([c.list(s),V.get(s).then(e=>T.list(e.organizationId))]).then(([e,t])=>e.map(a=>({apiKey:a,member:t.find(r=>r.authorId===a.ownerId)})))),I=async e=>{const t=await c.create({projectId:s,name:e.name});u(),o.value=t.value},b=k(()=>{var e,t;return{columns:[{name:"Name"},{name:"Creation date"},{name:"Owner"},{name:"",align:"right"}],rows:(t=(e=g.value)==null?void 0:e.map(({apiKey:a,member:r})=>{var m;return{key:a.id,cells:[{type:"text",text:a.name},{type:"text",text:j(a.createdAt)},{type:"text",text:(m=r==null?void 0:r.email)!=null?m:"Unknown"},{type:"actions",actions:[{label:"Delete",icon:N,dangerous:!0,onClick:async()=>{await c.delete(s,a.id),u()}}]}]}}))!=null?t:[]}});return(e,t)=>(x(),v(C,null,[l(B,{"entity-name":"API key","create-button-text":"Create API Key",loading:i(f),title:"API Keys",description:"API Keys are used to deploy your project from the local editor.","empty-title":"No API keys here yet",table:b.value,fields:p,create:I},null,8,["loading","table"]),l(i(M),{open:!!o.value,title:"Api key generated",onCancel:t[0]||(t[0]=a=>o.value=null)},{footer:d(()=>[]),default:d(()=>[l(i(P),null,{default:d(()=>[y("Your API key was successfully generated. Use this code to login on your local development environment or deploy using CI")]),_:1}),l(i(h),{code:"",copyable:""},{default:d(()=>[y(D(o.value),1)]),_:1})]),_:1},8,["open"])],64))}});export{te as default}; +//# sourceMappingURL=ApiKeys.82582ccf.js.map diff --git a/abstra_statics/dist/assets/ApiKeys.c8e0c349.js b/abstra_statics/dist/assets/ApiKeys.c8e0c349.js deleted file mode 100644 index 9bb4376329..0000000000 --- a/abstra_statics/dist/assets/ApiKeys.c8e0c349.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as A,e as b,ea as _,f as k,o as x,X as v,b as l,u as d,w as i,aR as C,d7 as P,aF as y,d8 as h,e9 as D,cH as M,eI as j,ep as N}from"./vue-router.33f35a18.js";import{a as K}from"./asyncComputed.c677c545.js";import{A as c}from"./apiKey.c5bb4529.js";import"./gateway.a5388860.js";import{M as T}from"./member.65b6f588.js";import{P as V}from"./project.0040997f.js";import"./tables.8d6766f6.js";import{C as B}from"./CrudView.3c2a3663.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./router.cbdfe37b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="67c6d209-722c-4e30-95d2-5acd62833d64",n._sentryDebugIdIdentifier="sentry-dbid-67c6d209-722c-4e30-95d2-5acd62833d64")}catch{}})();const te=A({__name:"ApiKeys",setup(n){const a=b(null),p=[{key:"name",label:"API key name"}],s=_().params.projectId,{loading:f,result:g,refetch:u}=K(async()=>Promise.all([c.list(s),V.get(s).then(e=>T.list(e.organizationId))]).then(([e,t])=>e.map(o=>({apiKey:o,member:t.find(r=>r.authorId===o.ownerId)})))),I=async e=>{const t=await c.create({projectId:s,name:e.name});u(),a.value=t.value},w=k(()=>{var e,t;return{columns:[{name:"Name"},{name:"Creation date"},{name:"Owner"},{name:"",align:"right"}],rows:(t=(e=g.value)==null?void 0:e.map(({apiKey:o,member:r})=>{var m;return{key:o.id,cells:[{type:"text",text:o.name},{type:"text",text:j(o.createdAt)},{type:"text",text:(m=r==null?void 0:r.email)!=null?m:"Unknown"},{type:"actions",actions:[{label:"Delete",icon:N,dangerous:!0,onClick:async()=>{await c.delete(s,o.id),u()}}]}]}}))!=null?t:[]}});return(e,t)=>(x(),v(C,null,[l(B,{"entity-name":"API key","create-button-text":"Create API Key",loading:d(f),title:"API Keys",description:"API Keys are used to deploy your project from the local editor.","empty-title":"No API keys here yet",table:w.value,fields:p,create:I},null,8,["loading","table"]),l(d(M),{open:!!a.value,title:"Api key generated",onCancel:t[0]||(t[0]=o=>a.value=null)},{footer:i(()=>[]),default:i(()=>[l(d(P),null,{default:i(()=>[y("Your API key was successfully generated. Use this code to login on your local development environment or deploy using CI")]),_:1}),l(d(h),{code:"",copyable:""},{default:i(()=>[y(D(a.value),1)]),_:1})]),_:1},8,["open"])],64))}});export{te as default}; -//# sourceMappingURL=ApiKeys.c8e0c349.js.map diff --git a/abstra_statics/dist/assets/App.98a18ac6.js b/abstra_statics/dist/assets/App.98a18ac6.js new file mode 100644 index 0000000000..e0d3f6ceec --- /dev/null +++ b/abstra_statics/dist/assets/App.98a18ac6.js @@ -0,0 +1,2 @@ +import"./App.vue_vue_type_style_index_0_lang.d7c878e1.js";import{_ as c}from"./App.vue_vue_type_style_index_0_lang.d7c878e1.js";import"./workspaceStore.5977d9e8.js";import"./vue-router.324eaed2.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./PlayerConfigProvider.8618ed20.js";import"./index.40f13cf1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a72138f0-9f02-4647-b242-bc0325acf73a",e._sentryDebugIdIdentifier="sentry-dbid-a72138f0-9f02-4647-b242-bc0325acf73a")}catch{}})();export{c as default}; +//# sourceMappingURL=App.98a18ac6.js.map diff --git a/abstra_statics/dist/assets/App.9d80364f.js b/abstra_statics/dist/assets/App.9d80364f.js deleted file mode 100644 index a7ad1e9a17..0000000000 --- a/abstra_statics/dist/assets/App.9d80364f.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./App.vue_vue_type_style_index_0_lang.ee165030.js";import{_ as u}from"./App.vue_vue_type_style_index_0_lang.ee165030.js";import"./workspaceStore.be837912.js";import"./vue-router.33f35a18.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./PlayerConfigProvider.90e436c2.js";import"./index.dec2a631.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="06bf26a9-d87e-4149-add5-2f3d4d5af53a",d._sentryDebugIdIdentifier="sentry-dbid-06bf26a9-d87e-4149-add5-2f3d4d5af53a")}catch{}})();export{u as default}; -//# sourceMappingURL=App.9d80364f.js.map diff --git a/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.d7c878e1.js b/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.d7c878e1.js new file mode 100644 index 0000000000..d45a36ba06 --- /dev/null +++ b/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.d7c878e1.js @@ -0,0 +1,2 @@ +import{b as r,u as n}from"./workspaceStore.5977d9e8.js";import{W as c}from"./PlayerConfigProvider.8618ed20.js";import{d,g as i,r as u,u as o,o as f,c as p,w as l,R as _,b as m}from"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="0daecae8-1d9f-4291-8832-7499924b67d5",t._sentryDebugIdIdentifier="sentry-dbid-0daecae8-1d9f-4291-8832-7499924b67d5")}catch{}})();const h=d({__name:"App",setup(t){const a=r(),e=n();return e.actions.fetch(),i(()=>a.user,e.actions.fetch),(w,y)=>{const s=u("RouterView");return o(e).state.workspace?(f(),p(c,{key:0,"main-color":o(e).state.workspace.mainColor,background:o(e).state.workspace.theme,"font-family":o(e).state.workspace.fontFamily,locale:o(e).state.workspace.language},{default:l(()=>[m(s,{style:{height:"100vh",width:"100%"}})]),_:1},8,["main-color","background","font-family","locale"])):_("",!0)}}});export{h as _}; +//# sourceMappingURL=App.vue_vue_type_style_index_0_lang.d7c878e1.js.map diff --git a/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.ee165030.js b/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.ee165030.js deleted file mode 100644 index e133335551..0000000000 --- a/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.ee165030.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as r,u as n}from"./workspaceStore.be837912.js";import{W as c}from"./PlayerConfigProvider.90e436c2.js";import{d,g as i,r as f,u as a,o as u,c as p,w as l,R as _,b as m}from"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="036d719c-d8a0-4208-8f6a-a73a67daf71b",t._sentryDebugIdIdentifier="sentry-dbid-036d719c-d8a0-4208-8f6a-a73a67daf71b")}catch{}})();const h=d({__name:"App",setup(t){const o=r(),e=n();return e.actions.fetch(),i(()=>o.user,e.actions.fetch),(w,y)=>{const s=f("RouterView");return a(e).state.workspace?(u(),p(c,{key:0,"main-color":a(e).state.workspace.mainColor,background:a(e).state.workspace.theme,"font-family":a(e).state.workspace.fontFamily,locale:a(e).state.workspace.language},{default:l(()=>[m(s,{style:{height:"100vh",width:"100%"}})]),_:1},8,["main-color","background","font-family","locale"])):_("",!0)}}});export{h as _}; -//# sourceMappingURL=App.vue_vue_type_style_index_0_lang.ee165030.js.map diff --git a/abstra_statics/dist/assets/Avatar.4c029798.js b/abstra_statics/dist/assets/Avatar.4c029798.js new file mode 100644 index 0000000000..746c138ec7 --- /dev/null +++ b/abstra_statics/dist/assets/Avatar.4c029798.js @@ -0,0 +1,2 @@ +import{ac as X,ad as N,S as g,ao as J,B as K,V as Q,d as V,Q as $,ah as q,f as U,aO as Y,dJ as Z,g as F,W as ee,J as B,bQ as te,b as z,al as re,ak as L,au as ae,dG as ne}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e3bf5344-f282-4b34-9936-712773f5bf00",e._sentryDebugIdIdentifier="sentry-dbid-e3bf5344-f282-4b34-9936-712773f5bf00")}catch{}})();const oe=e=>{const{antCls:r,componentCls:a,iconCls:n,avatarBg:i,avatarColor:S,containerSize:l,containerSizeLG:c,containerSizeSM:f,textFontSize:h,textFontSizeLG:b,textFontSizeSM:w,borderRadius:C,borderRadiusLG:s,borderRadiusSM:A,lineWidth:u,lineType:k}=e,v=(m,t,o)=>({width:m,height:m,lineHeight:`${m-u*2}px`,borderRadius:"50%",[`&${a}-square`]:{borderRadius:o},[`${a}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${a}-icon`]:{fontSize:t,[`> ${n}`]:{margin:0}}});return{[a]:g(g(g(g({},J(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:S,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${u}px ${k} transparent`,["&-image"]:{background:"transparent"},[`${r}-image-img`]:{display:"block"}}),v(l,h,C)),{["&-lg"]:g({},v(c,b,s)),["&-sm"]:g({},v(f,w,A)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},se=e=>{const{componentCls:r,groupBorderColor:a,groupOverlapping:n,groupSpace:i}=e;return{[`${r}-group`]:{display:"inline-flex",[`${r}`]:{borderColor:a},["> *:not(:first-child)"]:{marginInlineStart:n}},[`${r}-group-popover`]:{[`${r} + ${r}`]:{marginInlineStart:i}}}},ie=X("Avatar",e=>{const{colorTextLightSolid:r,colorTextPlaceholder:a}=e,n=N(e,{avatarBg:a,avatarColor:r});return[oe(n),se(n)]},e=>{const{controlHeight:r,controlHeightLG:a,controlHeightSM:n,fontSize:i,fontSizeLG:S,fontSizeXL:l,fontSizeHeading3:c,marginXS:f,marginXXS:h,colorBorderBg:b}=e;return{containerSize:r,containerSizeLG:a,containerSizeSM:n,textFontSize:Math.round((S+l)/2),textFontSizeLG:c,textFontSizeSM:i,groupSpace:h,groupOverlapping:-f,groupBorderColor:b}}),M=Symbol("AvatarContextKey"),le=()=>K(M,{}),ge=e=>Q(M,e),ce=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:ae.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),ue=V({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:ce(),slots:Object,setup(e,r){let{slots:a,attrs:n}=r;const i=$(!0),S=$(!1),l=$(1),c=$(null),f=$(null),{prefixCls:h}=q("avatar",e),[b,w]=ie(h),C=le(),s=U(()=>e.size==="default"?C.size:e.size),A=Y(),u=Z(()=>{if(typeof e.size!="object")return;const t=ne.find(p=>A.value[p]);return e.size[t]}),k=t=>u.value?{width:`${u.value}px`,height:`${u.value}px`,lineHeight:`${u.value}px`,fontSize:`${t?u.value/2:18}px`}:{},v=()=>{if(!c.value||!f.value)return;const t=c.value.offsetWidth,o=f.value.offsetWidth;if(t!==0&&o!==0){const{gap:p=4}=e;p*2{const{loadError:t}=e;(t==null?void 0:t())!==!1&&(i.value=!1)};return F(()=>e.src,()=>{B(()=>{i.value=!0,l.value=1})}),F(()=>e.gap,()=>{B(()=>{v()})}),ee(()=>{B(()=>{v(),S.value=!0})}),()=>{var t,o;const{shape:p,src:I,alt:O,srcset:G,draggable:H,crossOrigin:T}=e,j=(t=C.shape)!==null&&t!==void 0?t:p,y=te(a,e,"icon"),d=h.value,E={[`${n.class}`]:!!n.class,[d]:!0,[`${d}-lg`]:s.value==="large",[`${d}-sm`]:s.value==="small",[`${d}-${j}`]:!0,[`${d}-image`]:I&&i.value,[`${d}-icon`]:y,[w.value]:!0},W=typeof s.value=="number"?{width:`${s.value}px`,height:`${s.value}px`,lineHeight:`${s.value}px`,fontSize:y?`${s.value/2}px`:"18px"}:{},_=(o=a.default)===null||o===void 0?void 0:o.call(a);let x;if(I&&i.value)x=z("img",{draggable:H,src:I,srcset:G,onError:m,alt:O,crossorigin:T},null);else if(y)x=y;else if(S.value||l.value!==1){const R=`scale(${l.value}) translateX(-50%)`,P={msTransform:R,WebkitTransform:R,transform:R},D=typeof s.value=="number"?{lineHeight:`${s.value}px`}:{};x=z(re,{onResize:v},{default:()=>[z("span",{class:`${d}-string`,ref:c,style:g(g({},D),P)},[_])]})}else x=z("span",{class:`${d}-string`,ref:c,style:{opacity:0}},[_]);return b(z("span",L(L({},n),{},{ref:f,class:E,style:[W,k(!!y),n.style]}),[x]))}}}),fe=ue;export{fe as A,ge as a,ie as u}; +//# sourceMappingURL=Avatar.4c029798.js.map diff --git a/abstra_statics/dist/assets/Avatar.dcb46dd7.js b/abstra_statics/dist/assets/Avatar.dcb46dd7.js deleted file mode 100644 index 718ec932e8..0000000000 --- a/abstra_statics/dist/assets/Avatar.dcb46dd7.js +++ /dev/null @@ -1,2 +0,0 @@ -import{ac as X,ad as N,S as g,ao as J,B as K,V as Q,d as V,Q as $,ah as q,f as U,aO as Y,dJ as Z,g as F,W as ee,J as B,bQ as te,b as z,al as ae,ak as L,au as re,dG as ne}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e82981e3-d1bb-49d0-b713-12333956a3a1",e._sentryDebugIdIdentifier="sentry-dbid-e82981e3-d1bb-49d0-b713-12333956a3a1")}catch{}})();const oe=e=>{const{antCls:a,componentCls:r,iconCls:n,avatarBg:i,avatarColor:S,containerSize:l,containerSizeLG:c,containerSizeSM:v,textFontSize:h,textFontSizeLG:b,textFontSizeSM:w,borderRadius:C,borderRadiusLG:s,borderRadiusSM:A,lineWidth:u,lineType:k}=e,p=(m,t,o)=>({width:m,height:m,lineHeight:`${m-u*2}px`,borderRadius:"50%",[`&${r}-square`]:{borderRadius:o},[`${r}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${r}-icon`]:{fontSize:t,[`> ${n}`]:{margin:0}}});return{[r]:g(g(g(g({},J(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:S,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${u}px ${k} transparent`,["&-image"]:{background:"transparent"},[`${a}-image-img`]:{display:"block"}}),p(l,h,C)),{["&-lg"]:g({},p(c,b,s)),["&-sm"]:g({},p(v,w,A)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},se=e=>{const{componentCls:a,groupBorderColor:r,groupOverlapping:n,groupSpace:i}=e;return{[`${a}-group`]:{display:"inline-flex",[`${a}`]:{borderColor:r},["> *:not(:first-child)"]:{marginInlineStart:n}},[`${a}-group-popover`]:{[`${a} + ${a}`]:{marginInlineStart:i}}}},ie=X("Avatar",e=>{const{colorTextLightSolid:a,colorTextPlaceholder:r}=e,n=N(e,{avatarBg:r,avatarColor:a});return[oe(n),se(n)]},e=>{const{controlHeight:a,controlHeightLG:r,controlHeightSM:n,fontSize:i,fontSizeLG:S,fontSizeXL:l,fontSizeHeading3:c,marginXS:v,marginXXS:h,colorBorderBg:b}=e;return{containerSize:a,containerSizeLG:r,containerSizeSM:n,textFontSize:Math.round((S+l)/2),textFontSizeLG:c,textFontSizeSM:i,groupSpace:h,groupOverlapping:-v,groupBorderColor:b}}),M=Symbol("AvatarContextKey"),le=()=>K(M,{}),ge=e=>Q(M,e),ce=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:re.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),ue=V({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:ce(),slots:Object,setup(e,a){let{slots:r,attrs:n}=a;const i=$(!0),S=$(!1),l=$(1),c=$(null),v=$(null),{prefixCls:h}=q("avatar",e),[b,w]=ie(h),C=le(),s=U(()=>e.size==="default"?C.size:e.size),A=Y(),u=Z(()=>{if(typeof e.size!="object")return;const t=ne.find(f=>A.value[f]);return e.size[t]}),k=t=>u.value?{width:`${u.value}px`,height:`${u.value}px`,lineHeight:`${u.value}px`,fontSize:`${t?u.value/2:18}px`}:{},p=()=>{if(!c.value||!v.value)return;const t=c.value.offsetWidth,o=v.value.offsetWidth;if(t!==0&&o!==0){const{gap:f=4}=e;f*2{const{loadError:t}=e;(t==null?void 0:t())!==!1&&(i.value=!1)};return F(()=>e.src,()=>{B(()=>{i.value=!0,l.value=1})}),F(()=>e.gap,()=>{B(()=>{p()})}),ee(()=>{B(()=>{p(),S.value=!0})}),()=>{var t,o;const{shape:f,src:I,alt:O,srcset:G,draggable:H,crossOrigin:T}=e,j=(t=C.shape)!==null&&t!==void 0?t:f,y=te(r,e,"icon"),d=h.value,E={[`${n.class}`]:!!n.class,[d]:!0,[`${d}-lg`]:s.value==="large",[`${d}-sm`]:s.value==="small",[`${d}-${j}`]:!0,[`${d}-image`]:I&&i.value,[`${d}-icon`]:y,[w.value]:!0},W=typeof s.value=="number"?{width:`${s.value}px`,height:`${s.value}px`,lineHeight:`${s.value}px`,fontSize:y?`${s.value/2}px`:"18px"}:{},_=(o=r.default)===null||o===void 0?void 0:o.call(r);let x;if(I&&i.value)x=z("img",{draggable:H,src:I,srcset:G,onError:m,alt:O,crossorigin:T},null);else if(y)x=y;else if(S.value||l.value!==1){const R=`scale(${l.value}) translateX(-50%)`,P={msTransform:R,WebkitTransform:R,transform:R},D=typeof s.value=="number"?{lineHeight:`${s.value}px`}:{};x=z(ae,{onResize:p},{default:()=>[z("span",{class:`${d}-string`,ref:c,style:g(g({},D),P)},[_])]})}else x=z("span",{class:`${d}-string`,ref:c,style:{opacity:0}},[_]);return b(z("span",L(L({},n),{},{ref:v,class:E,style:[W,k(!!y),n.style]}),[x]))}}}),ve=ue;export{ve as A,ge as a,ie as u}; -//# sourceMappingURL=Avatar.dcb46dd7.js.map diff --git a/abstra_statics/dist/assets/Badge.71fee936.js b/abstra_statics/dist/assets/Badge.9808092c.js similarity index 97% rename from abstra_statics/dist/assets/Badge.71fee936.js rename to abstra_statics/dist/assets/Badge.9808092c.js index e35443a68f..55d995e76b 100644 --- a/abstra_statics/dist/assets/Badge.71fee936.js +++ b/abstra_statics/dist/assets/Badge.9808092c.js @@ -1,2 +1,2 @@ -import{d as F,f,D as at,e as R,g as K,ag as rt,S as i,b as v,ai as _,ah as M,aQ as lt,aE as q,au as B,ac as it,aT as O,ad as st,dS as U,ao as Y,ak as D,dT as G,bQ as ut,aC as ct,aX as dt,aY as gt,aZ as bt,a_ as mt}from"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="65318077-f007-4ed4-b407-c1d1798e9f2f",t._sentryDebugIdIdentifier="sentry-dbid-65318077-f007-4ed4-b407-c1d1798e9f2f")}catch{}})();function Q(t){let{prefixCls:e,value:a,current:o,offset:n=0}=t,c;return n&&(c={position:"absolute",top:`${n}00%`,left:0}),v("p",{style:c,class:_(`${e}-only-unit`,{current:o})},[a])}function ft(t,e,a){let o=t,n=0;for(;(o+10)%10!==e;)o+=a,n+=a;return n}const vt=F({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(t){const e=f(()=>Number(t.value)),a=f(()=>Math.abs(t.count)),o=at({prevValue:e.value,prevCount:a.value}),n=()=>{o.prevValue=e.value,o.prevCount=a.value},c=R();return K(e,()=>{clearTimeout(c.value),c.value=setTimeout(()=>{n()},1e3)},{flush:"post"}),rt(()=>{clearTimeout(c.value)}),()=>{let d,p={};const s=e.value;if(o.prevValue===s||Number.isNaN(s)||Number.isNaN(o.prevValue))d=[Q(i(i({},t),{current:!0}))],p={transition:"none"};else{d=[];const h=s+10,g=[];for(let r=s;r<=h;r+=1)g.push(r);const l=g.findIndex(r=>r%10===o.prevValue);d=g.map((r,S)=>{const $=r%10;return Q(i(i({},t),{value:$,offset:S-l,current:S===l}))});const u=o.prevCountn()},[d])}}});var pt=globalThis&&globalThis.__rest||function(t,e){var a={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(a[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n{var c;const d=i(i({},t),a),{prefixCls:p,count:s,title:h,show:g,component:l="sup",class:u,style:r}=d,S=pt(d,["prefixCls","count","title","show","component","class","style"]),$=i(i({},S),{style:r,"data-show":t.show,class:_(n.value,u),title:h});let b=s;if(s&&Number(s)%1===0){const m=String(s).split("");b=m.map((I,T)=>v(vt,{prefixCls:n.value,count:Number(s),value:I,key:m.length-T},null))}r&&r.borderColor&&($.style=i(i({},r),{boxShadow:`0 0 0 1px ${r.borderColor} inset`}));const y=lt((c=o.default)===null||c===void 0?void 0:c.call(o));return y&&y.length?q(y,{class:_(`${n.value}-custom-component`)},!1):v(l,$,{default:()=>[b]})}}}),yt=new O("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),St=new O("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),Ct=new O("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),wt=new O("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),xt=new O("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),Nt=new O("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),Ot=t=>{const{componentCls:e,iconCls:a,antCls:o,badgeFontHeight:n,badgeShadowSize:c,badgeHeightSm:d,motionDurationSlow:p,badgeStatusSize:s,marginXS:h,badgeRibbonOffset:g}=t,l=`${o}-scroll-number`,u=`${o}-ribbon`,r=`${o}-ribbon-wrapper`,S=U(t,(b,y)=>{let{darkColor:m}=y;return{[`&${e} ${e}-color-${b}`]:{background:m,[`&:not(${e}-count)`]:{color:m}}}}),$=U(t,(b,y)=>{let{darkColor:m}=y;return{[`&${u}-color-${b}`]:{background:m,color:m}}});return{[e]:i(i(i(i({},Y(t)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${e}-count`]:{zIndex:t.badgeZIndex,minWidth:t.badgeHeight,height:t.badgeHeight,color:t.badgeTextColor,fontWeight:t.badgeFontWeight,fontSize:t.badgeFontSize,lineHeight:`${t.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:t.badgeColor,borderRadius:t.badgeHeight/2,boxShadow:`0 0 0 ${c}px ${t.badgeShadowColor}`,transition:`background ${t.motionDurationMid}`,a:{color:t.badgeTextColor},"a:hover":{color:t.badgeTextColor},"a:hover &":{background:t.badgeColorHover}},[`${e}-count-sm`]:{minWidth:d,height:d,fontSize:t.badgeFontSizeSm,lineHeight:`${d}px`,borderRadius:d/2},[`${e}-multiple-words`]:{padding:`0 ${t.paddingXS}px`},[`${e}-dot`]:{zIndex:t.badgeZIndex,width:t.badgeDotSize,minWidth:t.badgeDotSize,height:t.badgeDotSize,background:t.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${c}px ${t.badgeShadowColor}`},[`${e}-dot${l}`]:{transition:`background ${p}`},[`${e}-count, ${e}-dot, ${l}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${a}-spin`]:{animationName:Nt,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${e}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${e}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${e}-status-success`]:{backgroundColor:t.colorSuccess},[`${e}-status-processing`]:{overflow:"visible",color:t.colorPrimary,backgroundColor:t.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:c,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:yt,animationDuration:t.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${e}-status-default`]:{backgroundColor:t.colorTextPlaceholder},[`${e}-status-error`]:{backgroundColor:t.colorError},[`${e}-status-warning`]:{backgroundColor:t.colorWarning},[`${e}-status-text`]:{marginInlineStart:h,color:t.colorText,fontSize:t.fontSize}}}),S),{[`${e}-zoom-appear, ${e}-zoom-enter`]:{animationName:St,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`${e}-zoom-leave`]:{animationName:Ct,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`&${e}-not-a-wrapper`]:{[`${e}-zoom-appear, ${e}-zoom-enter`]:{animationName:wt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`${e}-zoom-leave`]:{animationName:xt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`&:not(${e}-status)`]:{verticalAlign:"middle"},[`${l}-custom-component, ${e}-count`]:{transform:"none"},[`${l}-custom-component, ${l}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${l}`]:{overflow:"hidden",[`${l}-only`]:{position:"relative",display:"inline-block",height:t.badgeHeight,transition:`all ${t.motionDurationSlow} ${t.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${l}-only-unit`]:{height:t.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${l}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${e}-count, ${e}-dot, ${l}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${r}`]:{position:"relative"},[`${u}`]:i(i(i(i({},Y(t)),{position:"absolute",top:h,padding:`0 ${t.paddingXS}px`,color:t.colorPrimary,lineHeight:`${n}px`,whiteSpace:"nowrap",backgroundColor:t.colorPrimary,borderRadius:t.borderRadiusSM,[`${u}-text`]:{color:t.colorTextLightSolid},[`${u}-corner`]:{position:"absolute",top:"100%",width:g,height:g,color:"currentcolor",border:`${g/2}px solid`,transform:t.badgeRibbonCornerTransform,transformOrigin:"top",filter:t.badgeRibbonCornerFilter}}),$),{[`&${u}-placement-end`]:{insetInlineEnd:-g,borderEndEndRadius:0,[`${u}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${u}-placement-start`]:{insetInlineStart:-g,borderEndStartRadius:0,[`${u}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},J=it("Badge",t=>{const{fontSize:e,lineHeight:a,fontSizeSM:o,lineWidth:n,marginXS:c,colorBorderBg:d}=t,p=Math.round(e*a),s=n,h="auto",g=p-2*s,l=t.colorBgContainer,u="normal",r=o,S=t.colorError,$=t.colorErrorHover,b=e,y=o/2,m=o,I=o/2,T=st(t,{badgeFontHeight:p,badgeShadowSize:s,badgeZIndex:h,badgeHeight:g,badgeTextColor:l,badgeFontWeight:u,badgeFontSize:r,badgeColor:S,badgeColorHover:$,badgeShadowColor:d,badgeHeightSm:b,badgeDotSize:y,badgeFontSizeSm:m,badgeStatusSize:I,badgeProcessingDuration:"1.2s",badgeRibbonOffset:c,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[Ot(T)]});var It=globalThis&&globalThis.__rest||function(t,e){var a={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(a[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n({prefix:String,color:{type:String},text:B.any,placement:{type:String,default:"end"}}),Pt=F({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:Tt(),slots:Object,setup(t,e){let{attrs:a,slots:o}=e;const{prefixCls:n,direction:c}=M("ribbon",t),[d,p]=J(n),s=f(()=>G(t.color,!1)),h=f(()=>[n.value,`${n.value}-placement-${t.placement}`,{[`${n.value}-rtl`]:c.value==="rtl",[`${n.value}-color-${t.color}`]:s.value}]);return()=>{var g,l;const{class:u,style:r}=a,S=It(a,["class","style"]),$={},b={};return t.color&&!s.value&&($.background=t.color,b.color=t.color),d(v("div",D({class:`${n.value}-wrapper ${p.value}`},S),[(g=o.default)===null||g===void 0?void 0:g.call(o),v("div",{class:[h.value,u,p.value],style:i(i({},$),r)},[v("span",{class:`${n.value}-text`},[t.text||((l=o.text)===null||l===void 0?void 0:l.call(o))]),v("div",{class:`${n.value}-corner`,style:b},null)])]))}}}),Dt=t=>!isNaN(parseFloat(t))&&isFinite(t),Bt=Dt,zt=()=>({count:B.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:B.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),Ht=F({compatConfig:{MODE:3},name:"ABadge",Ribbon:Pt,inheritAttrs:!1,props:zt(),slots:Object,setup(t,e){let{slots:a,attrs:o}=e;const{prefixCls:n,direction:c}=M("badge",t),[d,p]=J(n),s=f(()=>t.count>t.overflowCount?`${t.overflowCount}+`:t.count),h=f(()=>s.value==="0"||s.value===0),g=f(()=>t.count===null||h.value&&!t.showZero),l=f(()=>(t.status!==null&&t.status!==void 0||t.color!==null&&t.color!==void 0)&&g.value),u=f(()=>t.dot&&!h.value),r=f(()=>u.value?"":s.value),S=f(()=>(r.value===null||r.value===void 0||r.value===""||h.value&&!t.showZero)&&!u.value),$=R(t.count),b=R(r.value),y=R(u.value);K([()=>t.count,r,u],()=>{S.value||($.value=t.count,b.value=r.value,y.value=u.value)},{immediate:!0});const m=f(()=>G(t.color,!1)),I=f(()=>({[`${n.value}-status-dot`]:l.value,[`${n.value}-status-${t.status}`]:!!t.status,[`${n.value}-color-${t.color}`]:m.value})),T=f(()=>t.color&&!m.value?{background:t.color,color:t.color}:{}),k=f(()=>({[`${n.value}-dot`]:y.value,[`${n.value}-count`]:!y.value,[`${n.value}-count-sm`]:t.size==="small",[`${n.value}-multiple-words`]:!y.value&&b.value&&b.value.toString().length>1,[`${n.value}-status-${t.status}`]:!!t.status,[`${n.value}-color-${t.color}`]:m.value}));return()=>{var z,W;const{offset:N,title:Z,color:V}=t,L=o.style,j=ut(a,t,"text"),w=n.value,C=$.value;let x=ct((z=a.default)===null||z===void 0?void 0:z.call(a));x=x.length?x:null;const A=!!(!S.value||a.count),E=(()=>{if(!N)return i({},L);const P={marginTop:Bt(N[1])?`${N[1]}px`:N[1]};return c.value==="rtl"?P.left=`${parseInt(N[0],10)}px`:P.right=`${-parseInt(N[0],10)}px`,i(i({},P),L)})(),tt=Z!=null?Z:typeof C=="string"||typeof C=="number"?C:void 0,et=A||!j?null:v("span",{class:`${w}-status-text`},[j]),ot=typeof C=="object"||C===void 0&&a.count?q(C!=null?C:(W=a.count)===null||W===void 0?void 0:W.call(a),{style:E},!1):null,X=_(w,{[`${w}-status`]:l.value,[`${w}-not-a-wrapper`]:!x,[`${w}-rtl`]:c.value==="rtl"},o.class,p.value);if(!x&&l.value){const P=E.color;return d(v("span",D(D({},o),{},{class:X,style:E}),[v("span",{class:I.value,style:T.value},null),v("span",{style:{color:P},class:`${w}-status-text`},[j])]))}const nt=dt(x?`${w}-zoom`:"",{appear:!1});let H=i(i({},E),t.numberStyle);return V&&!m.value&&(H=H||{},H.background=V),d(v("span",D(D({},o),{},{class:X}),[x,v(gt,nt,{default:()=>[bt(v($t,{prefixCls:t.scrollNumberPrefixCls,show:A,class:k.value,count:b.value,title:tt,style:H,key:"scrollNumber"},{default:()=>[ot]}),[[mt,A]])]}),et]))}}});export{Ht as B,Pt as R,Bt as i}; -//# sourceMappingURL=Badge.71fee936.js.map +import{d as F,f,D as at,e as R,g as K,ag as rt,S as i,b as v,ai as _,ah as M,aQ as lt,aE as q,au as B,ac as it,aT as O,ad as st,dS as U,ao as Y,ak as D,dT as G,bQ as ut,aC as ct,aX as dt,aY as gt,aZ as bt,a_ as mt}from"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="da740f60-22c5-4cb5-9dd2-55134053505d",t._sentryDebugIdIdentifier="sentry-dbid-da740f60-22c5-4cb5-9dd2-55134053505d")}catch{}})();function Q(t){let{prefixCls:e,value:a,current:o,offset:n=0}=t,c;return n&&(c={position:"absolute",top:`${n}00%`,left:0}),v("p",{style:c,class:_(`${e}-only-unit`,{current:o})},[a])}function ft(t,e,a){let o=t,n=0;for(;(o+10)%10!==e;)o+=a,n+=a;return n}const vt=F({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(t){const e=f(()=>Number(t.value)),a=f(()=>Math.abs(t.count)),o=at({prevValue:e.value,prevCount:a.value}),n=()=>{o.prevValue=e.value,o.prevCount=a.value},c=R();return K(e,()=>{clearTimeout(c.value),c.value=setTimeout(()=>{n()},1e3)},{flush:"post"}),rt(()=>{clearTimeout(c.value)}),()=>{let d,p={};const s=e.value;if(o.prevValue===s||Number.isNaN(s)||Number.isNaN(o.prevValue))d=[Q(i(i({},t),{current:!0}))],p={transition:"none"};else{d=[];const h=s+10,g=[];for(let r=s;r<=h;r+=1)g.push(r);const l=g.findIndex(r=>r%10===o.prevValue);d=g.map((r,S)=>{const $=r%10;return Q(i(i({},t),{value:$,offset:S-l,current:S===l}))});const u=o.prevCountn()},[d])}}});var pt=globalThis&&globalThis.__rest||function(t,e){var a={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(a[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n{var c;const d=i(i({},t),a),{prefixCls:p,count:s,title:h,show:g,component:l="sup",class:u,style:r}=d,S=pt(d,["prefixCls","count","title","show","component","class","style"]),$=i(i({},S),{style:r,"data-show":t.show,class:_(n.value,u),title:h});let b=s;if(s&&Number(s)%1===0){const m=String(s).split("");b=m.map((I,T)=>v(vt,{prefixCls:n.value,count:Number(s),value:I,key:m.length-T},null))}r&&r.borderColor&&($.style=i(i({},r),{boxShadow:`0 0 0 1px ${r.borderColor} inset`}));const y=lt((c=o.default)===null||c===void 0?void 0:c.call(o));return y&&y.length?q(y,{class:_(`${n.value}-custom-component`)},!1):v(l,$,{default:()=>[b]})}}}),yt=new O("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),St=new O("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),Ct=new O("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),wt=new O("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),xt=new O("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),Nt=new O("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),Ot=t=>{const{componentCls:e,iconCls:a,antCls:o,badgeFontHeight:n,badgeShadowSize:c,badgeHeightSm:d,motionDurationSlow:p,badgeStatusSize:s,marginXS:h,badgeRibbonOffset:g}=t,l=`${o}-scroll-number`,u=`${o}-ribbon`,r=`${o}-ribbon-wrapper`,S=U(t,(b,y)=>{let{darkColor:m}=y;return{[`&${e} ${e}-color-${b}`]:{background:m,[`&:not(${e}-count)`]:{color:m}}}}),$=U(t,(b,y)=>{let{darkColor:m}=y;return{[`&${u}-color-${b}`]:{background:m,color:m}}});return{[e]:i(i(i(i({},Y(t)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${e}-count`]:{zIndex:t.badgeZIndex,minWidth:t.badgeHeight,height:t.badgeHeight,color:t.badgeTextColor,fontWeight:t.badgeFontWeight,fontSize:t.badgeFontSize,lineHeight:`${t.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:t.badgeColor,borderRadius:t.badgeHeight/2,boxShadow:`0 0 0 ${c}px ${t.badgeShadowColor}`,transition:`background ${t.motionDurationMid}`,a:{color:t.badgeTextColor},"a:hover":{color:t.badgeTextColor},"a:hover &":{background:t.badgeColorHover}},[`${e}-count-sm`]:{minWidth:d,height:d,fontSize:t.badgeFontSizeSm,lineHeight:`${d}px`,borderRadius:d/2},[`${e}-multiple-words`]:{padding:`0 ${t.paddingXS}px`},[`${e}-dot`]:{zIndex:t.badgeZIndex,width:t.badgeDotSize,minWidth:t.badgeDotSize,height:t.badgeDotSize,background:t.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${c}px ${t.badgeShadowColor}`},[`${e}-dot${l}`]:{transition:`background ${p}`},[`${e}-count, ${e}-dot, ${l}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${a}-spin`]:{animationName:Nt,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${e}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${e}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${e}-status-success`]:{backgroundColor:t.colorSuccess},[`${e}-status-processing`]:{overflow:"visible",color:t.colorPrimary,backgroundColor:t.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:c,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:yt,animationDuration:t.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${e}-status-default`]:{backgroundColor:t.colorTextPlaceholder},[`${e}-status-error`]:{backgroundColor:t.colorError},[`${e}-status-warning`]:{backgroundColor:t.colorWarning},[`${e}-status-text`]:{marginInlineStart:h,color:t.colorText,fontSize:t.fontSize}}}),S),{[`${e}-zoom-appear, ${e}-zoom-enter`]:{animationName:St,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`${e}-zoom-leave`]:{animationName:Ct,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`&${e}-not-a-wrapper`]:{[`${e}-zoom-appear, ${e}-zoom-enter`]:{animationName:wt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`${e}-zoom-leave`]:{animationName:xt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`&:not(${e}-status)`]:{verticalAlign:"middle"},[`${l}-custom-component, ${e}-count`]:{transform:"none"},[`${l}-custom-component, ${l}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${l}`]:{overflow:"hidden",[`${l}-only`]:{position:"relative",display:"inline-block",height:t.badgeHeight,transition:`all ${t.motionDurationSlow} ${t.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${l}-only-unit`]:{height:t.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${l}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${e}-count, ${e}-dot, ${l}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${r}`]:{position:"relative"},[`${u}`]:i(i(i(i({},Y(t)),{position:"absolute",top:h,padding:`0 ${t.paddingXS}px`,color:t.colorPrimary,lineHeight:`${n}px`,whiteSpace:"nowrap",backgroundColor:t.colorPrimary,borderRadius:t.borderRadiusSM,[`${u}-text`]:{color:t.colorTextLightSolid},[`${u}-corner`]:{position:"absolute",top:"100%",width:g,height:g,color:"currentcolor",border:`${g/2}px solid`,transform:t.badgeRibbonCornerTransform,transformOrigin:"top",filter:t.badgeRibbonCornerFilter}}),$),{[`&${u}-placement-end`]:{insetInlineEnd:-g,borderEndEndRadius:0,[`${u}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${u}-placement-start`]:{insetInlineStart:-g,borderEndStartRadius:0,[`${u}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},J=it("Badge",t=>{const{fontSize:e,lineHeight:a,fontSizeSM:o,lineWidth:n,marginXS:c,colorBorderBg:d}=t,p=Math.round(e*a),s=n,h="auto",g=p-2*s,l=t.colorBgContainer,u="normal",r=o,S=t.colorError,$=t.colorErrorHover,b=e,y=o/2,m=o,I=o/2,T=st(t,{badgeFontHeight:p,badgeShadowSize:s,badgeZIndex:h,badgeHeight:g,badgeTextColor:l,badgeFontWeight:u,badgeFontSize:r,badgeColor:S,badgeColorHover:$,badgeShadowColor:d,badgeHeightSm:b,badgeDotSize:y,badgeFontSizeSm:m,badgeStatusSize:I,badgeProcessingDuration:"1.2s",badgeRibbonOffset:c,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[Ot(T)]});var It=globalThis&&globalThis.__rest||function(t,e){var a={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(a[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n({prefix:String,color:{type:String},text:B.any,placement:{type:String,default:"end"}}),Pt=F({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:Tt(),slots:Object,setup(t,e){let{attrs:a,slots:o}=e;const{prefixCls:n,direction:c}=M("ribbon",t),[d,p]=J(n),s=f(()=>G(t.color,!1)),h=f(()=>[n.value,`${n.value}-placement-${t.placement}`,{[`${n.value}-rtl`]:c.value==="rtl",[`${n.value}-color-${t.color}`]:s.value}]);return()=>{var g,l;const{class:u,style:r}=a,S=It(a,["class","style"]),$={},b={};return t.color&&!s.value&&($.background=t.color,b.color=t.color),d(v("div",D({class:`${n.value}-wrapper ${p.value}`},S),[(g=o.default)===null||g===void 0?void 0:g.call(o),v("div",{class:[h.value,u,p.value],style:i(i({},$),r)},[v("span",{class:`${n.value}-text`},[t.text||((l=o.text)===null||l===void 0?void 0:l.call(o))]),v("div",{class:`${n.value}-corner`,style:b},null)])]))}}}),Dt=t=>!isNaN(parseFloat(t))&&isFinite(t),Bt=Dt,zt=()=>({count:B.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:B.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),Ht=F({compatConfig:{MODE:3},name:"ABadge",Ribbon:Pt,inheritAttrs:!1,props:zt(),slots:Object,setup(t,e){let{slots:a,attrs:o}=e;const{prefixCls:n,direction:c}=M("badge",t),[d,p]=J(n),s=f(()=>t.count>t.overflowCount?`${t.overflowCount}+`:t.count),h=f(()=>s.value==="0"||s.value===0),g=f(()=>t.count===null||h.value&&!t.showZero),l=f(()=>(t.status!==null&&t.status!==void 0||t.color!==null&&t.color!==void 0)&&g.value),u=f(()=>t.dot&&!h.value),r=f(()=>u.value?"":s.value),S=f(()=>(r.value===null||r.value===void 0||r.value===""||h.value&&!t.showZero)&&!u.value),$=R(t.count),b=R(r.value),y=R(u.value);K([()=>t.count,r,u],()=>{S.value||($.value=t.count,b.value=r.value,y.value=u.value)},{immediate:!0});const m=f(()=>G(t.color,!1)),I=f(()=>({[`${n.value}-status-dot`]:l.value,[`${n.value}-status-${t.status}`]:!!t.status,[`${n.value}-color-${t.color}`]:m.value})),T=f(()=>t.color&&!m.value?{background:t.color,color:t.color}:{}),k=f(()=>({[`${n.value}-dot`]:y.value,[`${n.value}-count`]:!y.value,[`${n.value}-count-sm`]:t.size==="small",[`${n.value}-multiple-words`]:!y.value&&b.value&&b.value.toString().length>1,[`${n.value}-status-${t.status}`]:!!t.status,[`${n.value}-color-${t.color}`]:m.value}));return()=>{var z,W;const{offset:N,title:Z,color:V}=t,L=o.style,j=ut(a,t,"text"),w=n.value,C=$.value;let x=ct((z=a.default)===null||z===void 0?void 0:z.call(a));x=x.length?x:null;const A=!!(!S.value||a.count),E=(()=>{if(!N)return i({},L);const P={marginTop:Bt(N[1])?`${N[1]}px`:N[1]};return c.value==="rtl"?P.left=`${parseInt(N[0],10)}px`:P.right=`${-parseInt(N[0],10)}px`,i(i({},P),L)})(),tt=Z!=null?Z:typeof C=="string"||typeof C=="number"?C:void 0,et=A||!j?null:v("span",{class:`${w}-status-text`},[j]),ot=typeof C=="object"||C===void 0&&a.count?q(C!=null?C:(W=a.count)===null||W===void 0?void 0:W.call(a),{style:E},!1):null,X=_(w,{[`${w}-status`]:l.value,[`${w}-not-a-wrapper`]:!x,[`${w}-rtl`]:c.value==="rtl"},o.class,p.value);if(!x&&l.value){const P=E.color;return d(v("span",D(D({},o),{},{class:X,style:E}),[v("span",{class:I.value,style:T.value},null),v("span",{style:{color:P},class:`${w}-status-text`},[j])]))}const nt=dt(x?`${w}-zoom`:"",{appear:!1});let H=i(i({},E),t.numberStyle);return V&&!m.value&&(H=H||{},H.background=V),d(v("span",D(D({},o),{},{class:X}),[x,v(gt,nt,{default:()=>[bt(v($t,{prefixCls:t.scrollNumberPrefixCls,show:A,class:k.value,count:b.value,title:tt,style:H,key:"scrollNumber"},{default:()=>[ot]}),[[mt,A]])]}),et]))}}});export{Ht as B,Pt as R,Bt as i}; +//# sourceMappingURL=Badge.9808092c.js.map diff --git a/abstra_statics/dist/assets/BaseLayout.4967fc3d.js b/abstra_statics/dist/assets/BaseLayout.4967fc3d.js deleted file mode 100644 index c28533bc15..0000000000 --- a/abstra_statics/dist/assets/BaseLayout.4967fc3d.js +++ /dev/null @@ -1,2 +0,0 @@ -import{$ as a,o,X as n,Z as s,a as d,R as r}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f9470829-3078-424a-af1c-a3f6b7fab79c",e._sentryDebugIdIdentifier="sentry-dbid-f9470829-3078-424a-af1c-a3f6b7fab79c")}catch{}})();const f={},c={class:"base-layout"},i={class:"base-middle"},u={key:0,class:"base-footer"};function _(e,t){return o(),n("div",c,[s(e.$slots,"sidebar",{},void 0,!0),d("section",i,[s(e.$slots,"navbar",{},void 0,!0),s(e.$slots,"content",{},void 0,!0),e.$slots.footer?(o(),n("section",u,[s(e.$slots,"footer",{},void 0,!0)])):r("",!0)])])}const y=a(f,[["render",_],["__scopeId","data-v-9ad5be20"]]);export{y as B}; -//# sourceMappingURL=BaseLayout.4967fc3d.js.map diff --git a/abstra_statics/dist/assets/BaseLayout.577165c3.js b/abstra_statics/dist/assets/BaseLayout.577165c3.js new file mode 100644 index 0000000000..57239812b0 --- /dev/null +++ b/abstra_statics/dist/assets/BaseLayout.577165c3.js @@ -0,0 +1,2 @@ +import{$ as n,o,X as d,Z as s,a,R as r}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d95fe8aa-1d1d-4f04-a317-bd293408890c",e._sentryDebugIdIdentifier="sentry-dbid-d95fe8aa-1d1d-4f04-a317-bd293408890c")}catch{}})();const c={},f={class:"base-layout"},i={class:"base-middle"},u={key:0,class:"base-footer"};function _(e,t){return o(),d("div",f,[s(e.$slots,"sidebar",{},void 0,!0),a("section",i,[s(e.$slots,"navbar",{},void 0,!0),s(e.$slots,"content",{},void 0,!0),e.$slots.footer?(o(),d("section",u,[s(e.$slots,"footer",{},void 0,!0)])):r("",!0)])])}const y=n(c,[["render",_],["__scopeId","data-v-9ad5be20"]]);export{y as B}; +//# sourceMappingURL=BaseLayout.577165c3.js.map diff --git a/abstra_statics/dist/assets/Billing.0e7f5307.js b/abstra_statics/dist/assets/Billing.0e7f5307.js deleted file mode 100644 index c56a9df357..0000000000 --- a/abstra_statics/dist/assets/Billing.0e7f5307.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as g}from"./asyncComputed.c677c545.js";import{d as y,ea as _,W as w,u as e,o as l,c as b,X as x,b as a,w as o,d9 as C,aF as p,dd as h,bP as I,a as k,e9 as v}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{O as B}from"./organization.efcc2606.js";import"./tables.8d6766f6.js";import{C as c}from"./router.cbdfe37b.js";import{L as D}from"./LoadingContainer.4ab818eb.js";import{A as N}from"./index.2fc2bb22.js";import{C as z}from"./Card.639eca4a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./TabPane.1080fde7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="57712c2a-69ee-46a9-8631-424ca2373479",t._sentryDebugIdIdentifier="sentry-dbid-57712c2a-69ee-46a9-8631-424ca2373479")}catch{}})();const M={key:1},A={style:{display:"flex","justify-content":"flex-start","font-size":"24px"}},H=y({__name:"Billing",setup(t){const s=_().params.organizationId,{loading:u,result:f}=g(()=>B.get(s));w(()=>{location.search.includes("upgrade")&&c.showNewMessage("I want to upgrade my plan")});const m=()=>c.showNewMessage("I want to upgrade my plan");return(V,j)=>e(u)?(l(),b(D,{key:0})):(l(),x("div",M,[a(e(h),{justify:"space-between",align:"center"},{default:o(()=>[a(e(C),{level:3},{default:o(()=>[p("Current plan")]),_:1})]),_:1}),a(e(N),{style:{"margin-top":"0"}}),a(e(z),{style:{width:"300px"},title:"Plan"},{extra:o(()=>[a(e(I),{onClick:m},{default:o(()=>[p("Upgrade")]),_:1})]),default:o(()=>{var r,i,d;return[k("div",A,v((d=(i=(r=e(f))==null?void 0:r.billingMetadata)==null?void 0:i.plan)!=null?d:"No active plan"),1)]}),_:1})]))}});export{H as default}; -//# sourceMappingURL=Billing.0e7f5307.js.map diff --git a/abstra_statics/dist/assets/Billing.e9284aff.js b/abstra_statics/dist/assets/Billing.e9284aff.js new file mode 100644 index 0000000000..1f7bfd38c8 --- /dev/null +++ b/abstra_statics/dist/assets/Billing.e9284aff.js @@ -0,0 +1,2 @@ +import{a as g}from"./asyncComputed.3916dfed.js";import{d as y,ea as _,W as w,u as e,o as l,c as b,X as x,b as a,w as o,d9 as C,aF as p,dd as h,bP as I,a as k,e9 as v}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{O as B}from"./organization.0ae7dfed.js";import"./tables.842b993f.js";import{C as c}from"./router.0c18ec5d.js";import{L as D}from"./LoadingContainer.57756ccb.js";import{A as N}from"./index.341662d4.js";import{C as z}from"./Card.1902bdb7.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./TabPane.caed57de.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="58e3d363-4839-461f-acf0-3ebf8cf2c562",t._sentryDebugIdIdentifier="sentry-dbid-58e3d363-4839-461f-acf0-3ebf8cf2c562")}catch{}})();const M={key:1},A={style:{display:"flex","justify-content":"flex-start","font-size":"24px"}},H=y({__name:"Billing",setup(t){const s=_().params.organizationId,{loading:f,result:u}=g(()=>B.get(s));w(()=>{location.search.includes("upgrade")&&c.showNewMessage("I want to upgrade my plan")});const m=()=>c.showNewMessage("I want to upgrade my plan");return(V,j)=>e(f)?(l(),b(D,{key:0})):(l(),x("div",M,[a(e(h),{justify:"space-between",align:"center"},{default:o(()=>[a(e(C),{level:3},{default:o(()=>[p("Current plan")]),_:1})]),_:1}),a(e(N),{style:{"margin-top":"0"}}),a(e(z),{style:{width:"300px"},title:"Plan"},{extra:o(()=>[a(e(I),{onClick:m},{default:o(()=>[p("Upgrade")]),_:1})]),default:o(()=>{var r,i,d;return[k("div",A,v((d=(i=(r=e(u))==null?void 0:r.billingMetadata)==null?void 0:i.plan)!=null?d:"No active plan"),1)]}),_:1})]))}});export{H as default}; +//# sourceMappingURL=Billing.e9284aff.js.map diff --git a/abstra_statics/dist/assets/BookOutlined.767e0e7a.js b/abstra_statics/dist/assets/BookOutlined.789cce39.js similarity index 57% rename from abstra_statics/dist/assets/BookOutlined.767e0e7a.js rename to abstra_statics/dist/assets/BookOutlined.789cce39.js index ebdc37332c..47db24610c 100644 --- a/abstra_statics/dist/assets/BookOutlined.767e0e7a.js +++ b/abstra_statics/dist/assets/BookOutlined.789cce39.js @@ -1,2 +1,2 @@ -import{b as c,ee as i}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6e59ebf9-d003-4add-bd4a-c1bc6dcdd688",e._sentryDebugIdIdentifier="sentry-dbid-6e59ebf9-d003-4add-bd4a-c1bc6dcdd688")}catch{}})();var u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"};const l=u;function a(e){for(var t=1;t{var m;return(m=e.weight)!=null?m:l}),w=_(()=>{var m;return(m=e.size)!=null?m:p}),y=_(()=>{var m;return(m=e.color)!=null?m:i}),k=_(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(m,S)=>(n(),f("svg",T({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:w.value,height:w.value,fill:y.value,transform:k.value},m.$attrs),[G(m.$slots,"default"),s.value==="bold"?(n(),f("g",Be,He)):s.value==="duotone"?(n(),f("g",Le,Fe)):s.value==="fill"?(n(),f("g",Ge,Re)):s.value==="light"?(n(),f("g",qe,We)):s.value==="regular"?(n(),f("g",Ye,Xe)):s.value==="thin"?(n(),f("g",Je,et)):C("",!0)],16,ze))}}),lt=["width","height","fill","transform"],rt={key:0},nt=v("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-16-84a16,16,0,1,1-16-16A16,16,0,0,1,112,128Zm64,0a16,16,0,1,1-16-16A16,16,0,0,1,176,128Z"},null,-1),ot=[nt],it={key:1},st=v("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),ut=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm56-88a12,12,0,1,1-12-12A12,12,0,0,1,184,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Z"},null,-1),ct=[st,ut],dt={key:2},pt=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"},null,-1),mt=[pt],gt={key:3},ft=v("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm10-90a10,10,0,1,1-10-10A10,10,0,0,1,138,128Zm-44,0a10,10,0,1,1-10-10A10,10,0,0,1,94,128Zm88,0a10,10,0,1,1-10-10A10,10,0,0,1,182,128Z"},null,-1),vt=[ft],yt={key:4},ht=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm44,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Zm-88,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Z"},null,-1),bt=[ht],At={key:5},Ct=v("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm8-92a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-44,0a8,8,0,1,1-8-8A8,8,0,0,1,92,128Zm88,0a8,8,0,1,1-8-8A8,8,0,0,1,180,128Z"},null,-1),kt=[Ct],_t={name:"PhDotsThreeCircle"},wt=P({..._t,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,l=x("weight","regular"),p=x("size","1em"),i=x("color","currentColor"),$=x("mirrored",!1),s=_(()=>{var m;return(m=e.weight)!=null?m:l}),w=_(()=>{var m;return(m=e.size)!=null?m:p}),y=_(()=>{var m;return(m=e.color)!=null?m:i}),k=_(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(m,S)=>(n(),f("svg",T({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:w.value,height:w.value,fill:y.value,transform:k.value},m.$attrs),[G(m.$slots,"default"),s.value==="bold"?(n(),f("g",rt,ot)):s.value==="duotone"?(n(),f("g",it,ct)):s.value==="fill"?(n(),f("g",dt,mt)):s.value==="light"?(n(),f("g",gt,vt)):s.value==="regular"?(n(),f("g",yt,bt)):s.value==="thin"?(n(),f("g",At,kt)):C("",!0)],16,lt))}});function N(r){for(var e=1;e{l.push({name:"logs",params:{projectId:e.buildSpec.projectId},query:i.logQuery})};return(i,$)=>i.buildSpec.runtimes.length>0?(n(),g(a($e),{key:0,"item-layout":"horizontal","data-source":i.buildSpec.runtimes},{renderItem:c(({item:s})=>[d(a(xe),null,{actions:c(()=>[d(a(Q),null,{overlay:c(()=>[d(a(X),null,{default:c(()=>[d(a(J),{onClick:w=>p(s)},{default:c(()=>[v("div",Pt,[d(a(at)),d(a(O),null,{default:c(()=>[b(" View Logs")]),_:1})])]),_:2},1032,["onClick"])]),_:2},1024)]),default:c(()=>[d(a(wt),{style:{cursor:"pointer"}})]),_:2},1024)]),default:c(()=>[s.type=="form"?(n(),g(a(M),{key:0,size:"large"},{default:c(()=>[d(a(ke)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024),d(a(O),{type:"secondary",code:""},{default:c(()=>[b("/"+A(s.path),1)]),_:2},1024)]),_:2},1024)):C("",!0),s.type=="job"?(n(),g(a(M),{key:1,size:"large"},{default:c(()=>[d(a(_e)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024),d(a(O),{type:"secondary",code:""},{default:c(()=>[b(A(s.schedule),1)]),_:2},1024)]),_:2},1024)):C("",!0),s.type=="hook"?(n(),g(a(M),{key:2,size:"large"},{default:c(()=>[d(a(we)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024),d(a(O),{type:"secondary",code:""},{default:c(()=>[b("/_hooks/"+A(s.path),1)]),_:2},1024)]),_:2},1024)):C("",!0),s.type=="script"?(n(),g(a(M),{key:3,size:"large"},{default:c(()=>[d(a(Oe)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024)]),_:2},1024)):C("",!0)]),_:2},1024)]),_:1},8,["data-source"])):(n(),f("div",Vt,[d(a(K),{description:"No runtimes found. Make sure your project has forms, hooks or jobs before deploying it"})]))}}),It=P({__name:"Builds",setup(r){const l=ee().params.projectId,{loading:p,result:i,refetch:$}=L(async()=>{const[t,u]=await Promise.all([ge.list(l),Ce.getStatus(l)]);return{b:t.map(h=>({build:h,status:u.filter(Z=>Z.buildId==h.id).map(Z=>Z.status)})),status:u}}),{startPolling:s,endPolling:w}=ye({task:$,interval:1e4});te(()=>s()),ae(()=>w());const y=le(null),k=L(async()=>y.value?await fe.get(y.value):null),m=()=>{var o;const t=(o=i.value)==null?void 0:o.b.find(h=>h.build.id===y.value);return`Build ${t==null?void 0:t.build.id.slice(0,8)} - ${t==null?void 0:t.build.createdAt.toLocaleString()}`},S=[{text:"Deploying",tagColor:"blue",check:t=>{var u,o;return(o=t.build.latest&&t.status.some(h=>h=="Running")&&((u=i.value)==null?void 0:u.status.some(h=>h.buildId!==t.build.id)))!=null?o:!1},loading:!0},{text:"Deactivating",tagColor:"orange",check:t=>t.build.status==="success"&&!t.build.latest&&t.status.some(u=>u=="Running"),loading:!0},{text:"Live",tagColor:"green",check:t=>t.build.latest&&t.status.some(u=>u=="Running")},{text:"Sleeping",tagColor:"cyan",check:t=>t.build.latest&&t.status.length===0},{text:"Failed",tagColor:"red",check:t=>t.build.latest&&t.status.some(u=>u=="Failed")},{text:"Inactive",tagColor:"default",check:t=>t.build.status==="success"},{text:"Aborted",tagColor:"default",check:t=>t.build.status==="aborted"||t.build.status==="aborted-by-user"},{text:"Failed",tagColor:"orange",check:t=>t.build.status==="failure"},{text:"Deploying",tagColor:"blue",check:t=>t.build.status==="in-progress",loading:!0},{text:"Uploading",tagColor:"yellow",check:t=>t.build.status==="pending"}];function R(t){var u,o,h,Z,H;return{text:(o=(u=S.find(V=>V.check(t)))==null?void 0:u.text)!=null?o:"unknown",tagColor:(Z=(h=S.find(V=>V.check(t)))==null?void 0:h.tagColor)!=null?Z:"default",hover:(H=t.build.log)!=null?H:void 0}}const q=_(()=>{const t=[{name:"Id"},{name:"Date"},{name:"Abstra Version"},{name:"Status"},{name:"",align:"right"}];return i.value?{columns:t,rows:i.value.b.map(u=>{var o;return{key:u.build.id,cells:[{type:"text",text:u.build.id.slice(0,8)},{key:"date",type:"slot",payload:{date:ve(u.build.createdAt,{weekday:void 0}),distance:pe(u.build.createdAt)}},{type:"text",text:(o=u.build.abstraVersion)!=null?o:"-"},{key:"status",type:"slot",payload:R(u)},{type:"actions",actions:[{icon:be,label:"Inspect build",onClick:async()=>{y.value=u.build.id,k.refetch()}},{icon:he,label:"View application logs",onClick:()=>Ze.push({name:"logs",params:{projectId:l},query:{buildId:u.build.id}})},{icon:Ae,label:"Download files",onClick:()=>u.build.download()}]}]}})}:{columns:t,rows:[]}});return(t,u)=>(n(),f(re,null,[d(U,{"entity-name":"build",loading:a(p),title:"Builds",description:"Each build is a version of your project. You can create a new build by deploying your project from the local editor.","empty-title":"No builds here yet",table:q.value,live:""},{date:c(({payload:o})=>[d(a(ne),null,{title:c(()=>[b(A(o.distance),1)]),default:c(()=>[b(A(o.date)+" ",1)]),_:2},1024)]),status:c(({payload:o})=>[d(a(oe),{open:o.hover?void 0:!1},{content:c(()=>[d(a(ie),{style:{width:"300px",overflow:"auto","font-family":"monospace"},content:o.hover,copyable:""},null,8,["content"])]),default:c(()=>[o.text!=="unknown"?(n(),g(a(ue),{key:0,color:o.tagColor,style:se({cursor:o.hover?"pointer":"default"})},{default:c(()=>[o.text==="Live"?(n(),g(a(xt),{key:0})):o.text==="Inactive"?(n(),g(a(Zt),{key:1})):o.text==="Failed"?(n(),g(a(Se),{key:2})):o.text==="Aborted"?(n(),g(a(Me),{key:3})):o.text==="Sleeping"?(n(),g(a(Mt),{key:4})):o.text==="Uploading"?(n(),g(a(j),{key:5})):o.text==="Deploying"?(n(),g(a(j),{key:6})):o.text==="Deactivating"?(n(),g(a(j),{key:7})):C("",!0),b(" "+A(o.text),1)]),_:2},1032,["color","style"])):C("",!0)]),_:2},1032,["open"])]),_:1},8,["loading","table"]),y.value?(n(),g(a(de),{key:0,footer:null,open:!!y.value,size:"large",width:"80%",title:m(),onCancel:u[0]||(u[0]=o=>y.value=null)},{default:c(()=>[!a(k).result.value||a(k).loading.value?(n(),g(a(ce),{key:0})):a(k).result.value?(n(),g(jt,{key:1,"build-spec":a(k).result.value},null,8,["build-spec"])):C("",!0)]),_:1},8,["open","title"])):C("",!0)],64))}});const i1=me(It,[["__scopeId","data-v-9a434420"]]);export{i1 as default}; -//# sourceMappingURL=Builds.e212bca7.js.map +import{C as U}from"./CrudView.0b1b90a7.js";import{d as P,B as x,f as _,o as n,X as f,Z as G,R as C,e8 as T,a as v,b as d,ee as I,f4 as W,eo as Y,c as g,w as c,u as a,bN as Q,by as X,bw as J,d8 as O,aF as b,e9 as A,ct as K,ea as ee,W as te,ag as ae,e as le,aR as re,aV as ne,cK as oe,d7 as ie,Y as se,d1 as ue,bx as ce,cH as de,eI as pe,$ as me}from"./vue-router.324eaed2.js";import{a as L}from"./asyncComputed.3916dfed.js";import{B as ge,a as fe,g as ve}from"./datetime.0827e1b6.js";import{u as ye}from"./polling.72e5a2f8.js";import{G as he}from"./PhArrowCounterClockwise.vue.1fa0c440.js";import{H as be}from"./PhCube.vue.38b62bfa.js";import{G as Ae}from"./PhDownloadSimple.vue.7ab7df2c.js";import"./gateway.edd4374b.js";import{P as Ce}from"./project.a5f62f99.js";import"./tables.842b993f.js";import{F as ke,a as _e,G as we,I as Oe}from"./PhWebhooksLogo.vue.96003388.js";import{A as M}from"./index.7d758831.js";import{a as xe,A as $e}from"./index.5cae8761.js";import{r as Ze}from"./router.0c18ec5d.js";import{E as Se}from"./ExclamationCircleOutlined.6541b8d4.js";import{C as Me}from"./CloseCircleOutlined.6d0d12eb.js";import{L as j}from"./LoadingOutlined.09a06334.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="aa14772a-6419-43e3-8a21-77553dfe29d8",r._sentryDebugIdIdentifier="sentry-dbid-aa14772a-6419-43e3-8a21-77553dfe29d8")}catch{}})();var Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"};const Ve=Pe;var je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"};const Ie=je,ze=["width","height","fill","transform"],Be={key:0},De=v("path",{d:"M140,80v41.21l34.17,20.5a12,12,0,1,1-12.34,20.58l-40-24A12,12,0,0,1,116,128V80a12,12,0,0,1,24,0ZM128,28A99.38,99.38,0,0,0,57.24,57.34c-4.69,4.74-9,9.37-13.24,14V64a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H72a12,12,0,0,0,0-24H57.77C63,86,68.37,80.22,74.26,74.26a76,76,0,1,1,1.58,109,12,12,0,0,0-16.48,17.46A100,100,0,1,0,128,28Z"},null,-1),He=[De],Le={key:1},Ne=v("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Ee=v("path",{d:"M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"},null,-1),Fe=[Ne,Ee],Ge={key:2},Te=v("path",{d:"M224,128A96,96,0,0,1,62.11,197.82a8,8,0,1,1,11-11.64A80,80,0,1,0,71.43,71.43C67.9,75,64.58,78.51,61.35,82L77.66,98.34A8,8,0,0,1,72,112H32a8,8,0,0,1-8-8V64a8,8,0,0,1,13.66-5.66L50,70.7c3.22-3.49,6.54-7,10.06-10.55A96,96,0,0,1,224,128ZM128,72a8,8,0,0,0-8,8v48a8,8,0,0,0,3.88,6.86l40,24a8,8,0,1,0,8.24-13.72L136,123.47V80A8,8,0,0,0,128,72Z"},null,-1),Re=[Te],qe={key:3},Ue=v("path",{d:"M134,80v44.6l37.09,22.25a6,6,0,0,1-6.18,10.3l-40-24A6,6,0,0,1,122,128V80a6,6,0,0,1,12,0Zm-6-46A93.4,93.4,0,0,0,61.51,61.56c-8.58,8.68-16,17-23.51,25.8V64a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H72a6,6,0,0,0,0-12H44.73C52.86,88.29,60.79,79.35,70,70a82,82,0,1,1,1.7,117.62,6,6,0,1,0-8.24,8.72A94,94,0,1,0,128,34Z"},null,-1),We=[Ue],Ye={key:4},Qe=v("path",{d:"M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"},null,-1),Xe=[Qe],Je={key:5},Ke=v("path",{d:"M132,80v45.74l38.06,22.83a4,4,0,0,1-4.12,6.86l-40-24A4,4,0,0,1,124,128V80a4,4,0,0,1,8,0Zm-4-44A91.42,91.42,0,0,0,62.93,63C53.05,73,44.66,82.47,36,92.86V64a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H72a4,4,0,0,0,0-8H40.47C49.61,89,58.3,79,68.6,68.6a84,84,0,1,1,1.75,120.49,4,4,0,1,0-5.5,5.82A92,92,0,1,0,128,36Z"},null,-1),et=[Ke],tt={name:"PhClockCounterClockwise"},at=P({...tt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,l=x("weight","regular"),p=x("size","1em"),i=x("color","currentColor"),$=x("mirrored",!1),s=_(()=>{var m;return(m=e.weight)!=null?m:l}),w=_(()=>{var m;return(m=e.size)!=null?m:p}),y=_(()=>{var m;return(m=e.color)!=null?m:i}),k=_(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(m,S)=>(n(),f("svg",T({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:w.value,height:w.value,fill:y.value,transform:k.value},m.$attrs),[G(m.$slots,"default"),s.value==="bold"?(n(),f("g",Be,He)):s.value==="duotone"?(n(),f("g",Le,Fe)):s.value==="fill"?(n(),f("g",Ge,Re)):s.value==="light"?(n(),f("g",qe,We)):s.value==="regular"?(n(),f("g",Ye,Xe)):s.value==="thin"?(n(),f("g",Je,et)):C("",!0)],16,ze))}}),lt=["width","height","fill","transform"],rt={key:0},nt=v("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-16-84a16,16,0,1,1-16-16A16,16,0,0,1,112,128Zm64,0a16,16,0,1,1-16-16A16,16,0,0,1,176,128Z"},null,-1),ot=[nt],it={key:1},st=v("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),ut=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm56-88a12,12,0,1,1-12-12A12,12,0,0,1,184,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Z"},null,-1),ct=[st,ut],dt={key:2},pt=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"},null,-1),mt=[pt],gt={key:3},ft=v("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm10-90a10,10,0,1,1-10-10A10,10,0,0,1,138,128Zm-44,0a10,10,0,1,1-10-10A10,10,0,0,1,94,128Zm88,0a10,10,0,1,1-10-10A10,10,0,0,1,182,128Z"},null,-1),vt=[ft],yt={key:4},ht=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm44,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Zm-88,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Z"},null,-1),bt=[ht],At={key:5},Ct=v("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm8-92a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-44,0a8,8,0,1,1-8-8A8,8,0,0,1,92,128Zm88,0a8,8,0,1,1-8-8A8,8,0,0,1,180,128Z"},null,-1),kt=[Ct],_t={name:"PhDotsThreeCircle"},wt=P({..._t,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,l=x("weight","regular"),p=x("size","1em"),i=x("color","currentColor"),$=x("mirrored",!1),s=_(()=>{var m;return(m=e.weight)!=null?m:l}),w=_(()=>{var m;return(m=e.size)!=null?m:p}),y=_(()=>{var m;return(m=e.color)!=null?m:i}),k=_(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(m,S)=>(n(),f("svg",T({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:w.value,height:w.value,fill:y.value,transform:k.value},m.$attrs),[G(m.$slots,"default"),s.value==="bold"?(n(),f("g",rt,ot)):s.value==="duotone"?(n(),f("g",it,ct)):s.value==="fill"?(n(),f("g",dt,mt)):s.value==="light"?(n(),f("g",gt,vt)):s.value==="regular"?(n(),f("g",yt,bt)):s.value==="thin"?(n(),f("g",At,kt)):C("",!0)],16,lt))}});function N(r){for(var e=1;e{l.push({name:"logs",params:{projectId:e.buildSpec.projectId},query:i.logQuery})};return(i,$)=>i.buildSpec.runtimes.length>0?(n(),g(a($e),{key:0,"item-layout":"horizontal","data-source":i.buildSpec.runtimes},{renderItem:c(({item:s})=>[d(a(xe),null,{actions:c(()=>[d(a(Q),null,{overlay:c(()=>[d(a(X),null,{default:c(()=>[d(a(J),{onClick:w=>p(s)},{default:c(()=>[v("div",Pt,[d(a(at)),d(a(O),null,{default:c(()=>[b(" View Logs")]),_:1})])]),_:2},1032,["onClick"])]),_:2},1024)]),default:c(()=>[d(a(wt),{style:{cursor:"pointer"}})]),_:2},1024)]),default:c(()=>[s.type=="form"?(n(),g(a(M),{key:0,size:"large"},{default:c(()=>[d(a(ke)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024),d(a(O),{type:"secondary",code:""},{default:c(()=>[b("/"+A(s.path),1)]),_:2},1024)]),_:2},1024)):C("",!0),s.type=="job"?(n(),g(a(M),{key:1,size:"large"},{default:c(()=>[d(a(_e)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024),d(a(O),{type:"secondary",code:""},{default:c(()=>[b(A(s.schedule),1)]),_:2},1024)]),_:2},1024)):C("",!0),s.type=="hook"?(n(),g(a(M),{key:2,size:"large"},{default:c(()=>[d(a(we)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024),d(a(O),{type:"secondary",code:""},{default:c(()=>[b("/_hooks/"+A(s.path),1)]),_:2},1024)]),_:2},1024)):C("",!0),s.type=="script"?(n(),g(a(M),{key:3,size:"large"},{default:c(()=>[d(a(Oe)),d(a(O),{strong:""},{default:c(()=>[b(A(s.title),1)]),_:2},1024)]),_:2},1024)):C("",!0)]),_:2},1024)]),_:1},8,["data-source"])):(n(),f("div",Vt,[d(a(K),{description:"No runtimes found. Make sure your project has forms, hooks or jobs before deploying it"})]))}}),It=P({__name:"Builds",setup(r){const l=ee().params.projectId,{loading:p,result:i,refetch:$}=L(async()=>{const[t,u]=await Promise.all([ge.list(l),Ce.getStatus(l)]);return{b:t.map(h=>({build:h,status:u.filter(Z=>Z.buildId==h.id).map(Z=>Z.status)})),status:u}}),{startPolling:s,endPolling:w}=ye({task:$,interval:1e4});te(()=>s()),ae(()=>w());const y=le(null),k=L(async()=>y.value?await fe.get(y.value):null),m=()=>{var o;const t=(o=i.value)==null?void 0:o.b.find(h=>h.build.id===y.value);return`Build ${t==null?void 0:t.build.id.slice(0,8)} - ${t==null?void 0:t.build.createdAt.toLocaleString()}`},S=[{text:"Deploying",tagColor:"blue",check:t=>{var u,o;return(o=t.build.latest&&t.status.some(h=>h=="Running")&&((u=i.value)==null?void 0:u.status.some(h=>h.buildId!==t.build.id)))!=null?o:!1},loading:!0},{text:"Deactivating",tagColor:"orange",check:t=>t.build.status==="success"&&!t.build.latest&&t.status.some(u=>u=="Running"),loading:!0},{text:"Live",tagColor:"green",check:t=>t.build.latest&&t.status.some(u=>u=="Running")},{text:"Sleeping",tagColor:"cyan",check:t=>t.build.latest&&t.status.length===0},{text:"Failed",tagColor:"red",check:t=>t.build.latest&&t.status.some(u=>u=="Failed")},{text:"Inactive",tagColor:"default",check:t=>t.build.status==="success"},{text:"Aborted",tagColor:"default",check:t=>t.build.status==="aborted"||t.build.status==="aborted-by-user"},{text:"Failed",tagColor:"orange",check:t=>t.build.status==="failure"},{text:"Deploying",tagColor:"blue",check:t=>t.build.status==="in-progress",loading:!0},{text:"Uploading",tagColor:"yellow",check:t=>t.build.status==="pending"}];function R(t){var u,o,h,Z,H;return{text:(o=(u=S.find(V=>V.check(t)))==null?void 0:u.text)!=null?o:"unknown",tagColor:(Z=(h=S.find(V=>V.check(t)))==null?void 0:h.tagColor)!=null?Z:"default",hover:(H=t.build.log)!=null?H:void 0}}const q=_(()=>{const t=[{name:"Id"},{name:"Date"},{name:"Abstra Version"},{name:"Status"},{name:"",align:"right"}];return i.value?{columns:t,rows:i.value.b.map(u=>{var o;return{key:u.build.id,cells:[{type:"text",text:u.build.id.slice(0,8)},{key:"date",type:"slot",payload:{date:ve(u.build.createdAt,{weekday:void 0}),distance:pe(u.build.createdAt)}},{type:"text",text:(o=u.build.abstraVersion)!=null?o:"-"},{key:"status",type:"slot",payload:R(u)},{type:"actions",actions:[{icon:be,label:"Inspect build",onClick:async()=>{y.value=u.build.id,k.refetch()}},{icon:he,label:"View application logs",onClick:()=>Ze.push({name:"logs",params:{projectId:l},query:{buildId:u.build.id}})},{icon:Ae,label:"Download files",onClick:()=>u.build.download()}]}]}})}:{columns:t,rows:[]}});return(t,u)=>(n(),f(re,null,[d(U,{"entity-name":"build",loading:a(p),title:"Builds",description:"Each build is a version of your project. You can create a new build by deploying your project from the local editor.","empty-title":"No builds here yet",table:q.value,live:""},{date:c(({payload:o})=>[d(a(ne),null,{title:c(()=>[b(A(o.distance),1)]),default:c(()=>[b(A(o.date)+" ",1)]),_:2},1024)]),status:c(({payload:o})=>[d(a(oe),{open:o.hover?void 0:!1},{content:c(()=>[d(a(ie),{style:{width:"300px",overflow:"auto","font-family":"monospace"},content:o.hover,copyable:""},null,8,["content"])]),default:c(()=>[o.text!=="unknown"?(n(),g(a(ue),{key:0,color:o.tagColor,style:se({cursor:o.hover?"pointer":"default"})},{default:c(()=>[o.text==="Live"?(n(),g(a(xt),{key:0})):o.text==="Inactive"?(n(),g(a(Zt),{key:1})):o.text==="Failed"?(n(),g(a(Se),{key:2})):o.text==="Aborted"?(n(),g(a(Me),{key:3})):o.text==="Sleeping"?(n(),g(a(Mt),{key:4})):o.text==="Uploading"?(n(),g(a(j),{key:5})):o.text==="Deploying"?(n(),g(a(j),{key:6})):o.text==="Deactivating"?(n(),g(a(j),{key:7})):C("",!0),b(" "+A(o.text),1)]),_:2},1032,["color","style"])):C("",!0)]),_:2},1032,["open"])]),_:1},8,["loading","table"]),y.value?(n(),g(a(de),{key:0,footer:null,open:!!y.value,size:"large",width:"80%",title:m(),onCancel:u[0]||(u[0]=o=>y.value=null)},{default:c(()=>[!a(k).result.value||a(k).loading.value?(n(),g(a(ce),{key:0})):a(k).result.value?(n(),g(jt,{key:1,"build-spec":a(k).result.value},null,8,["build-spec"])):C("",!0)]),_:1},8,["open","title"])):C("",!0)],64))}});const i1=me(It,[["__scopeId","data-v-9a434420"]]);export{i1 as default}; +//# sourceMappingURL=Builds.e79ce050.js.map diff --git a/abstra_statics/dist/assets/Card.639eca4a.js b/abstra_statics/dist/assets/Card.1902bdb7.js similarity index 89% rename from abstra_statics/dist/assets/Card.639eca4a.js rename to abstra_statics/dist/assets/Card.1902bdb7.js index c5e3537269..f65dc73177 100644 --- a/abstra_statics/dist/assets/Card.639eca4a.js +++ b/abstra_statics/dist/assets/Card.1902bdb7.js @@ -1,4 +1,4 @@ -import{ac as ge,ad as pe,S as o,dK as _,ao as Ae,an as $e,d as C,b as r,ai as y,aT as Pe,ap as ee,ah as P,f as O,ak as x,aj as he,dL as L,aC as ze,c4 as Re,Z as Me,au as D,dM as ce,dI as Ee,dN as Le}from"./vue-router.33f35a18.js";import{T as H,A as Y}from"./TabPane.1080fde7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8f53f731-b77e-41fa-99ea-51e885021afc",e._sentryDebugIdIdentifier="sentry-dbid-8f53f731-b77e-41fa-99ea-51e885021afc")}catch{}})();H.TabPane=Y;H.install=function(e){return e.component(H.name,H),e.component(Y.name,Y),e};const De=e=>{const{antCls:t,componentCls:n,cardHeadHeight:a,cardPaddingBase:i,cardHeadTabsMarginBottom:s}=e;return o(o({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${i}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},_()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":o(o({display:"inline-block",flex:1},$e),{[` +import{ac as ge,ad as pe,S as o,dK as _,ao as Ae,an as $e,d as C,b as r,ai as y,aT as Pe,ap as ee,ah as P,f as O,ak as x,aj as he,dL as L,aC as ze,c4 as Re,Z as Me,au as D,dM as ce,dI as Ee,dN as Le}from"./vue-router.324eaed2.js";import{T as H,A as Y}from"./TabPane.caed57de.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="194fa94f-4943-4eb1-baf1-363867a8bb9c",e._sentryDebugIdIdentifier="sentry-dbid-194fa94f-4943-4eb1-baf1-363867a8bb9c")}catch{}})();H.TabPane=Y;H.install=function(e){return e.component(H.name,H),e.component(Y.name,Y),e};const De=e=>{const{antCls:t,componentCls:n,cardHeadHeight:a,cardPaddingBase:i,cardHeadTabsMarginBottom:s}=e;return o(o({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${i}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},_()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":o(o({display:"inline-block",flex:1},$e),{[` > ${n}-typography, > ${n}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:s,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},ke=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:a,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` @@ -7,12 +7,12 @@ import{ac as ge,ad as pe,S as o,dK as _,ao as Ae,an as $e,d as C,b as r,ai as y, ${i}px ${i}px 0 0 ${n}, ${i}px 0 0 0 ${n} inset, 0 ${i}px 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}},We=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:a,cardActionsIconSize:i,colorBorderSecondary:s}=e;return o(o({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${s}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},_()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:`${i*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${s}`}}})},Ge=e=>o(o({margin:`-${e.marginXXS}px 0`,display:"flex"},_()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":o({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},$e),"&-description":{color:e.colorTextDescription}}),_e=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:a}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:a,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},Oe=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},je=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:i,boxShadow:s,cardPaddingBase:d}=e;return{[t]:o(o({},Ae(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:s},[`${t}-head`]:De(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:o({padding:d,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},_()),[`${t}-grid`]:ke(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:We(e),[`${t}-meta`]:Ge(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:a}}},[`${t}-type-inner`]:_e(e),[`${t}-loading`]:Oe(e),[`${t}-rtl`]:{direction:"rtl"}}},Ne=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:a,paddingTop:0,display:"flex",alignItems:"center"}}}}},qe=ge("Card",e=>{const t=pe(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[je(t),Ne(t)]}),Ke=()=>({prefixCls:String,width:{type:[Number,String]}}),Xe=C({compatConfig:{MODE:3},name:"SkeletonTitle",props:Ke(),setup(e){return()=>{const{prefixCls:t,width:n}=e,a=typeof n=="number"?`${n}px`:n;return r("h3",{class:t,style:{width:a}},null)}}}),te=Xe,Fe=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),Ve=C({compatConfig:{MODE:3},name:"SkeletonParagraph",props:Fe(),setup(e){const t=n=>{const{width:a,rows:i=2}=e;if(Array.isArray(a))return a[n];if(i-1===n)return a};return()=>{const{prefixCls:n,rows:a}=e,i=[...Array(a)].map((s,d)=>{const h=t(d);return r("li",{key:d,style:{width:typeof h=="number"?`${h}px`:h}},null)});return r("ul",{class:n},[i])}}}),Ue=Ve,j=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),me=e=>{const{prefixCls:t,size:n,shape:a}=e,i=y({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),s=y({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),d=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return r("span",{class:y(t,i,s),style:d},null)};me.displayName="SkeletonElement";const N=me,Ze=new Pe("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),q=e=>({height:e,lineHeight:`${e}px`}),A=e=>o({width:e},q(e)),Je=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:Ze,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),U=e=>o({width:e*5,minWidth:e*5},q(e)),Qe=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:a,controlHeightLG:i,controlHeightSM:s}=e;return{[`${t}`]:o({display:"inline-block",verticalAlign:"top",background:n},A(a)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:o({},A(i)),[`${t}${t}-sm`]:o({},A(s))}},Ye=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:a,controlHeightLG:i,controlHeightSM:s,color:d}=e;return{[`${a}`]:o({display:"inline-block",verticalAlign:"top",background:d,borderRadius:n},U(t)),[`${a}-lg`]:o({},U(i)),[`${a}-sm`]:o({},U(s))}},ue=e=>o({width:e},q(e)),et=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:a,borderRadiusSM:i}=e;return{[`${t}`]:o(o({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:a,borderRadius:i},ue(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:o(o({},ue(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Z=(e,t,n)=>{const{skeletonButtonCls:a}=e;return{[`${n}${a}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${a}-round`]:{borderRadius:t}}},J=e=>o({width:e*2,minWidth:e*2},q(e)),tt=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:a,controlHeightLG:i,controlHeightSM:s,color:d}=e;return o(o(o(o(o({[`${n}`]:o({display:"inline-block",verticalAlign:"top",background:d,borderRadius:t,width:a*2,minWidth:a*2},J(a))},Z(e,a,n)),{[`${n}-lg`]:o({},J(i))}),Z(e,i,`${n}-lg`)),{[`${n}-sm`]:o({},J(s))}),Z(e,s,`${n}-sm`))},nt=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:a,skeletonParagraphCls:i,skeletonButtonCls:s,skeletonInputCls:d,skeletonImageCls:h,controlHeight:z,controlHeightLG:w,controlHeightSM:v,color:b,padding:g,marginSM:u,borderRadius:l,skeletonTitleHeight:$,skeletonBlockRadius:m,skeletonParagraphLineHeight:f,controlHeightXS:B,skeletonParagraphMarginTop:I}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[`${n}`]:o({display:"inline-block",verticalAlign:"top",background:b},A(z)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:o({},A(w)),[`${n}-sm`]:o({},A(v))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${a}`]:{width:"100%",height:$,background:b,borderRadius:m,[`+ ${i}`]:{marginBlockStart:v}},[`${i}`]:{padding:0,"> li":{width:"100%",height:f,listStyle:"none",background:b,borderRadius:m,"+ li":{marginBlockStart:B}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${a}, ${i} > li`]:{borderRadius:l}}},[`${t}-with-avatar ${t}-content`]:{[`${a}`]:{marginBlockStart:u,[`+ ${i}`]:{marginBlockStart:I}}},[`${t}${t}-element`]:o(o(o(o({display:"inline-block",width:"auto"},tt(e)),Qe(e)),Ye(e)),et(e)),[`${t}${t}-block`]:{width:"100%",[`${s}`]:{width:"100%"},[`${d}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}},We=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:a,cardActionsIconSize:i,colorBorderSecondary:s}=e;return o(o({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${s}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},_()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:`${i*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${s}`}}})},Ge=e=>o(o({margin:`-${e.marginXXS}px 0`,display:"flex"},_()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":o({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},$e),"&-description":{color:e.colorTextDescription}}),_e=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:a}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:a,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},Oe=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},je=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:i,boxShadow:s,cardPaddingBase:d}=e;return{[t]:o(o({},Ae(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:s},[`${t}-head`]:De(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:o({padding:d,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},_()),[`${t}-grid`]:ke(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:We(e),[`${t}-meta`]:Ge(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:a}}},[`${t}-type-inner`]:_e(e),[`${t}-loading`]:Oe(e),[`${t}-rtl`]:{direction:"rtl"}}},Ne=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:a,paddingTop:0,display:"flex",alignItems:"center"}}}}},qe=ge("Card",e=>{const t=pe(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[je(t),Ne(t)]}),Ke=()=>({prefixCls:String,width:{type:[Number,String]}}),Xe=C({compatConfig:{MODE:3},name:"SkeletonTitle",props:Ke(),setup(e){return()=>{const{prefixCls:t,width:n}=e,a=typeof n=="number"?`${n}px`:n;return r("h3",{class:t,style:{width:a}},null)}}}),te=Xe,Fe=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),Ve=C({compatConfig:{MODE:3},name:"SkeletonParagraph",props:Fe(),setup(e){const t=n=>{const{width:a,rows:i=2}=e;if(Array.isArray(a))return a[n];if(i-1===n)return a};return()=>{const{prefixCls:n,rows:a}=e,i=[...Array(a)].map((s,d)=>{const h=t(d);return r("li",{key:d,style:{width:typeof h=="number"?`${h}px`:h}},null)});return r("ul",{class:n},[i])}}}),Ue=Ve,j=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),me=e=>{const{prefixCls:t,size:n,shape:a}=e,i=y({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),s=y({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),d=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return r("span",{class:y(t,i,s),style:d},null)};me.displayName="SkeletonElement";const N=me,Ze=new Pe("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),q=e=>({height:e,lineHeight:`${e}px`}),A=e=>o({width:e},q(e)),Je=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:Ze,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),U=e=>o({width:e*5,minWidth:e*5},q(e)),Qe=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:a,controlHeightLG:i,controlHeightSM:s}=e;return{[`${t}`]:o({display:"inline-block",verticalAlign:"top",background:n},A(a)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:o({},A(i)),[`${t}${t}-sm`]:o({},A(s))}},Ye=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:a,controlHeightLG:i,controlHeightSM:s,color:d}=e;return{[`${a}`]:o({display:"inline-block",verticalAlign:"top",background:d,borderRadius:n},U(t)),[`${a}-lg`]:o({},U(i)),[`${a}-sm`]:o({},U(s))}},ue=e=>o({width:e},q(e)),et=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:a,borderRadiusSM:i}=e;return{[`${t}`]:o(o({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:a,borderRadius:i},ue(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:o(o({},ue(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Z=(e,t,n)=>{const{skeletonButtonCls:a}=e;return{[`${n}${a}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${a}-round`]:{borderRadius:t}}},J=e=>o({width:e*2,minWidth:e*2},q(e)),tt=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:a,controlHeightLG:i,controlHeightSM:s,color:d}=e;return o(o(o(o(o({[`${n}`]:o({display:"inline-block",verticalAlign:"top",background:d,borderRadius:t,width:a*2,minWidth:a*2},J(a))},Z(e,a,n)),{[`${n}-lg`]:o({},J(i))}),Z(e,i,`${n}-lg`)),{[`${n}-sm`]:o({},J(s))}),Z(e,s,`${n}-sm`))},nt=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:a,skeletonParagraphCls:i,skeletonButtonCls:s,skeletonInputCls:d,skeletonImageCls:h,controlHeight:z,controlHeightLG:w,controlHeightSM:v,color:f,padding:g,marginSM:u,borderRadius:l,skeletonTitleHeight:$,skeletonBlockRadius:m,skeletonParagraphLineHeight:b,controlHeightXS:B,skeletonParagraphMarginTop:I}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[`${n}`]:o({display:"inline-block",verticalAlign:"top",background:f},A(z)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:o({},A(w)),[`${n}-sm`]:o({},A(v))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${a}`]:{width:"100%",height:$,background:f,borderRadius:m,[`+ ${i}`]:{marginBlockStart:v}},[`${i}`]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:f,borderRadius:m,"+ li":{marginBlockStart:B}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${a}, ${i} > li`]:{borderRadius:l}}},[`${t}-with-avatar ${t}-content`]:{[`${a}`]:{marginBlockStart:u,[`+ ${i}`]:{marginBlockStart:I}}},[`${t}${t}-element`]:o(o(o(o({display:"inline-block",width:"auto"},tt(e)),Qe(e)),Ye(e)),et(e)),[`${t}${t}-block`]:{width:"100%",[`${s}`]:{width:"100%"},[`${d}`]:{width:"100%"}},[`${t}${t}-active`]:{[` ${a}, ${i} > li, ${n}, ${s}, ${d}, ${h} - `]:o({},Je(e))}}},k=ge("Skeleton",e=>{const{componentCls:t}=e,n=pe(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[nt(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),at=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function Q(e){return e&&typeof e=="object"?e:{}}function ot(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function it(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function rt(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const lt=C({compatConfig:{MODE:3},name:"ASkeleton",props:ee(at(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:a,direction:i}=P("skeleton",e),[s,d]=k(a);return()=>{var h;const{loading:z,avatar:w,title:v,paragraph:b,active:g,round:u}=e,l=a.value;if(z||e.loading===void 0){const $=!!w||w==="",m=!!v||v==="",f=!!b||b==="";let B;if($){const T=o(o({prefixCls:`${l}-avatar`},ot(m,f)),Q(w));B=r("div",{class:`${l}-header`},[r(N,T,null)])}let I;if(m||f){let T;if(m){const S=o(o({prefixCls:`${l}-title`},it($,f)),Q(v));T=r(te,S,null)}let R;if(f){const S=o(o({prefixCls:`${l}-paragraph`},rt($,m)),Q(b));R=r(Ue,S,null)}I=r("div",{class:`${l}-content`},[T,R])}const W=y(l,{[`${l}-with-avatar`]:$,[`${l}-active`]:g,[`${l}-rtl`]:i.value==="rtl",[`${l}-round`]:u,[d.value]:!0});return s(r("div",{class:W},[B,I]))}return(h=n.default)===null||h===void 0?void 0:h.call(n)}}}),p=lt,st=()=>o(o({},j()),{size:String,block:Boolean}),dt=C({compatConfig:{MODE:3},name:"ASkeletonButton",props:ee(st(),{size:"default"}),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},a.value));return()=>n(r("div",{class:i.value},[r(N,x(x({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),fe=dt,ct=C({compatConfig:{MODE:3},name:"ASkeletonInput",props:o(o({},he(j(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},a.value));return()=>n(r("div",{class:i.value},[r(N,x(x({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),be=ct,ut="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",gt=C({compatConfig:{MODE:3},name:"ASkeletonImage",props:he(j(),["size","shape","active"]),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,a.value));return()=>n(r("div",{class:i.value},[r("div",{class:`${t.value}-image`},[r("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[r("path",{d:ut,class:`${t.value}-image-path`},null)])])]))}}),Se=gt,pt=()=>o(o({},j()),{shape:String}),$t=C({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:ee(pt(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},a.value));return()=>n(r("div",{class:i.value},[r(N,x(x({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),ve=$t;p.Button=fe;p.Avatar=ve;p.Input=be;p.Image=Se;p.Title=te;p.install=function(e){return e.component(p.name,p),e.component(p.Button.name,fe),e.component(p.Avatar.name,ve),e.component(p.Input.name,be),e.component(p.Image.name,Se),e.component(p.Title.name,te),e};const{TabPane:ht}=H,mt=()=>({prefixCls:String,title:D.any,extra:D.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:D.any,tabList:{type:Array},tabBarExtraContent:D.any,activeTabKey:String,defaultActiveTabKey:String,cover:D.any,onTabChange:{type:Function}}),ft=C({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:mt(),slots:Object,setup(e,t){let{slots:n,attrs:a}=t;const{prefixCls:i,direction:s,size:d}=P("card",e),[h,z]=qe(i),w=g=>g.map((l,$)=>ce(l)&&!Ee(l)||!ce(l)?r("li",{style:{width:`${100/g.length}%`},key:`action-${$}`},[r("span",null,[l])]):null),v=g=>{var u;(u=e.onTabChange)===null||u===void 0||u.call(e,g)},b=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u;return g.forEach(l=>{l&&Le(l.type)&&l.type.__ANT_CARD_GRID&&(u=!0)}),u};return()=>{var g,u,l,$,m,f;const{headStyle:B={},bodyStyle:I={},loading:W,bordered:T=!0,type:R,tabList:S,hoverable:ye,activeTabKey:ne,defaultActiveTabKey:xe,tabBarExtraContent:ae=L((g=n.tabBarExtraContent)===null||g===void 0?void 0:g.call(n)),title:K=L((u=n.title)===null||u===void 0?void 0:u.call(n)),extra:X=L((l=n.extra)===null||l===void 0?void 0:l.call(n)),actions:F=L(($=n.actions)===null||$===void 0?void 0:$.call(n)),cover:oe=L((m=n.cover)===null||m===void 0?void 0:m.call(n))}=e,M=ze((f=n.default)===null||f===void 0?void 0:f.call(n)),c=i.value,Ce={[`${c}`]:!0,[z.value]:!0,[`${c}-loading`]:W,[`${c}-bordered`]:T,[`${c}-hoverable`]:!!ye,[`${c}-contain-grid`]:b(M),[`${c}-contain-tabs`]:S&&S.length,[`${c}-${d.value}`]:d.value,[`${c}-type-${R}`]:!!R,[`${c}-rtl`]:s.value==="rtl"},we=r(p,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[M]}),ie=ne!==void 0,Be={size:"large",[ie?"activeKey":"defaultActiveKey"]:ie?ne:xe,onChange:v,class:`${c}-head-tabs`};let re;const le=S&&S.length?r(H,Be,{default:()=>[S.map(E=>{const{tab:se,slots:G}=E,de=G==null?void 0:G.tab;Re(!G,"Card","tabList slots is deprecated, Please use `customTab` instead.");let V=se!==void 0?se:n[de]?n[de](E):null;return V=Me(n,"customTab",E,()=>[V]),r(ht,{tab:V,key:E.key,disabled:E.disabled},null)})],rightExtra:ae?()=>ae:null}):null;(K||X||le)&&(re=r("div",{class:`${c}-head`,style:B},[r("div",{class:`${c}-head-wrapper`},[K&&r("div",{class:`${c}-head-title`},[K]),X&&r("div",{class:`${c}-extra`},[X])]),le]));const Ie=oe?r("div",{class:`${c}-cover`},[oe]):null,Te=r("div",{class:`${c}-body`,style:I},[W?we:M]),He=F&&F.length?r("ul",{class:`${c}-actions`},[w(F)]):null;return h(r("div",x(x({ref:"cardContainerRef"},a),{},{class:[Ce,a.class]}),[re,Ie,M&&M.length?Te:null,He]))}}}),vt=ft;export{fe as A,vt as C,p as S,ve as a,be as b,Se as c,te as d}; -//# sourceMappingURL=Card.639eca4a.js.map + `]:o({},Je(e))}}},k=ge("Skeleton",e=>{const{componentCls:t}=e,n=pe(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[nt(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),at=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function Q(e){return e&&typeof e=="object"?e:{}}function ot(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function it(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function rt(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const lt=C({compatConfig:{MODE:3},name:"ASkeleton",props:ee(at(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:a,direction:i}=P("skeleton",e),[s,d]=k(a);return()=>{var h;const{loading:z,avatar:w,title:v,paragraph:f,active:g,round:u}=e,l=a.value;if(z||e.loading===void 0){const $=!!w||w==="",m=!!v||v==="",b=!!f||f==="";let B;if($){const T=o(o({prefixCls:`${l}-avatar`},ot(m,b)),Q(w));B=r("div",{class:`${l}-header`},[r(N,T,null)])}let I;if(m||b){let T;if(m){const S=o(o({prefixCls:`${l}-title`},it($,b)),Q(v));T=r(te,S,null)}let R;if(b){const S=o(o({prefixCls:`${l}-paragraph`},rt($,m)),Q(f));R=r(Ue,S,null)}I=r("div",{class:`${l}-content`},[T,R])}const W=y(l,{[`${l}-with-avatar`]:$,[`${l}-active`]:g,[`${l}-rtl`]:i.value==="rtl",[`${l}-round`]:u,[d.value]:!0});return s(r("div",{class:W},[B,I]))}return(h=n.default)===null||h===void 0?void 0:h.call(n)}}}),p=lt,st=()=>o(o({},j()),{size:String,block:Boolean}),dt=C({compatConfig:{MODE:3},name:"ASkeletonButton",props:ee(st(),{size:"default"}),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},a.value));return()=>n(r("div",{class:i.value},[r(N,x(x({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),be=dt,ct=C({compatConfig:{MODE:3},name:"ASkeletonInput",props:o(o({},he(j(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},a.value));return()=>n(r("div",{class:i.value},[r(N,x(x({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),fe=ct,ut="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",gt=C({compatConfig:{MODE:3},name:"ASkeletonImage",props:he(j(),["size","shape","active"]),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,a.value));return()=>n(r("div",{class:i.value},[r("div",{class:`${t.value}-image`},[r("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[r("path",{d:ut,class:`${t.value}-image-path`},null)])])]))}}),Se=gt,pt=()=>o(o({},j()),{shape:String}),$t=C({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:ee(pt(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=P("skeleton",e),[n,a]=k(t),i=O(()=>y(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},a.value));return()=>n(r("div",{class:i.value},[r(N,x(x({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),ve=$t;p.Button=be;p.Avatar=ve;p.Input=fe;p.Image=Se;p.Title=te;p.install=function(e){return e.component(p.name,p),e.component(p.Button.name,be),e.component(p.Avatar.name,ve),e.component(p.Input.name,fe),e.component(p.Image.name,Se),e.component(p.Title.name,te),e};const{TabPane:ht}=H,mt=()=>({prefixCls:String,title:D.any,extra:D.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:D.any,tabList:{type:Array},tabBarExtraContent:D.any,activeTabKey:String,defaultActiveTabKey:String,cover:D.any,onTabChange:{type:Function}}),bt=C({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:mt(),slots:Object,setup(e,t){let{slots:n,attrs:a}=t;const{prefixCls:i,direction:s,size:d}=P("card",e),[h,z]=qe(i),w=g=>g.map((l,$)=>ce(l)&&!Ee(l)||!ce(l)?r("li",{style:{width:`${100/g.length}%`},key:`action-${$}`},[r("span",null,[l])]):null),v=g=>{var u;(u=e.onTabChange)===null||u===void 0||u.call(e,g)},f=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u;return g.forEach(l=>{l&&Le(l.type)&&l.type.__ANT_CARD_GRID&&(u=!0)}),u};return()=>{var g,u,l,$,m,b;const{headStyle:B={},bodyStyle:I={},loading:W,bordered:T=!0,type:R,tabList:S,hoverable:ye,activeTabKey:ne,defaultActiveTabKey:xe,tabBarExtraContent:ae=L((g=n.tabBarExtraContent)===null||g===void 0?void 0:g.call(n)),title:K=L((u=n.title)===null||u===void 0?void 0:u.call(n)),extra:X=L((l=n.extra)===null||l===void 0?void 0:l.call(n)),actions:F=L(($=n.actions)===null||$===void 0?void 0:$.call(n)),cover:oe=L((m=n.cover)===null||m===void 0?void 0:m.call(n))}=e,M=ze((b=n.default)===null||b===void 0?void 0:b.call(n)),c=i.value,Ce={[`${c}`]:!0,[z.value]:!0,[`${c}-loading`]:W,[`${c}-bordered`]:T,[`${c}-hoverable`]:!!ye,[`${c}-contain-grid`]:f(M),[`${c}-contain-tabs`]:S&&S.length,[`${c}-${d.value}`]:d.value,[`${c}-type-${R}`]:!!R,[`${c}-rtl`]:s.value==="rtl"},we=r(p,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[M]}),ie=ne!==void 0,Be={size:"large",[ie?"activeKey":"defaultActiveKey"]:ie?ne:xe,onChange:v,class:`${c}-head-tabs`};let re;const le=S&&S.length?r(H,Be,{default:()=>[S.map(E=>{const{tab:se,slots:G}=E,de=G==null?void 0:G.tab;Re(!G,"Card","tabList slots is deprecated, Please use `customTab` instead.");let V=se!==void 0?se:n[de]?n[de](E):null;return V=Me(n,"customTab",E,()=>[V]),r(ht,{tab:V,key:E.key,disabled:E.disabled},null)})],rightExtra:ae?()=>ae:null}):null;(K||X||le)&&(re=r("div",{class:`${c}-head`,style:B},[r("div",{class:`${c}-head-wrapper`},[K&&r("div",{class:`${c}-head-title`},[K]),X&&r("div",{class:`${c}-extra`},[X])]),le]));const Ie=oe?r("div",{class:`${c}-cover`},[oe]):null,Te=r("div",{class:`${c}-body`,style:I},[W?we:M]),He=F&&F.length?r("ul",{class:`${c}-actions`},[w(F)]):null;return h(r("div",x(x({ref:"cardContainerRef"},a),{},{class:[Ce,a.class]}),[re,Ie,M&&M.length?Te:null,He]))}}}),vt=bt;export{be as A,vt as C,p as S,ve as a,fe as b,Se as c,te as d}; +//# sourceMappingURL=Card.1902bdb7.js.map diff --git a/abstra_statics/dist/assets/CircularLoading.1c6a1f61.js b/abstra_statics/dist/assets/CircularLoading.08cb4e45.js similarity index 99% rename from abstra_statics/dist/assets/CircularLoading.1c6a1f61.js rename to abstra_statics/dist/assets/CircularLoading.08cb4e45.js index 672170a0f1..ffa3d9169e 100644 --- a/abstra_statics/dist/assets/CircularLoading.1c6a1f61.js +++ b/abstra_statics/dist/assets/CircularLoading.08cb4e45.js @@ -1,4 +1,4 @@ -import{eG as commonjsGlobal,d as defineComponent,e as ref,W as onMounted,f as computed,o as openBlock,X as createElementBlock,a as createBaseVNode,Y as normalizeStyle,Z as renderSlot,$ as _export_sfc}from"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0661987a-75e4-4239-97b5-652440a7452a",t._sentryDebugIdIdentifier="sentry-dbid-0661987a-75e4-4239-97b5-652440a7452a")}catch{}})();var lottie={exports:{}};(function(module,exports){typeof navigator<"u"&&function(t,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i=t.length,s;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+t[i]+t[s]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(P){r({data:P})}},a={postMessage:function(P){s.onmessage({data:P})}};function n(c){if(window.Worker&&window.Blob&&getWebWorker()){var P=new Blob(["var _workerSelf = self; self.onmessage = ",c.toString()],{type:"text/javascript"}),v=URL.createObjectURL(P);return new Worker(v)}return r=c,s}function p(){i||(i=n(function(P){function v(){function x(w,M){var A,S,T=w.length,V,F,G,N;for(S=0;S=0;M-=1)if(w[M].ty==="sh")if(w[M].ks.k.i)g(w[M].ks.k);else for(T=w[M].ks.k.length,S=0;SA[0]?!0:A[0]>w[0]?!1:w[1]>A[1]?!0:A[1]>w[1]?!1:w[2]>A[2]?!0:A[2]>w[2]?!1:null}var E=function(){var w=[4,4,14];function M(S){var T=S.t.d;S.t.d={k:[{s:T,t:0}]}}function A(S){var T,V=S.length;for(T=0;T=0;T-=1)if(S[T].ty==="sh")if(S[T].ks.k.i)S[T].ks.k.c=S[T].closed;else for(G=S[T].ks.k.length,F=0;F500)&&(this._imageLoaded(),clearInterval(l)),u+=1}.bind(this),50)}function a(o){var u=i(o,this.assetsPath,this.path),l=createNS("image");isSafari?this.testImageLoaded(l):l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",function(){h.img=t,this._imageLoaded()}.bind(this),!1),l.setAttributeNS("http://www.w3.org/1999/xlink","href",u),this._elementHelper.append?this._elementHelper.append(l):this._elementHelper.appendChild(l);var h={img:l,assetData:o};return h}function n(o){var u=i(o,this.assetsPath,this.path),l=createTag("img");l.crossOrigin="anonymous",l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",function(){h.img=t,this._imageLoaded()}.bind(this),!1),l.src=u;var h={img:l,assetData:o};return h}function p(o){var u={assetData:o},l=i(o,this.assetsPath,this.path);return dataManager.loadData(l,function(h){u.img=h,this._footageLoaded()}.bind(this),function(){u.img={},this._footageLoaded()}.bind(this)),u}function f(o,u){this.imagesLoadedCb=u;var l,h=o.length;for(l=0;l1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+t[i]+t[s]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(P){r({data:P})}},a={postMessage:function(P){s.onmessage({data:P})}};function n(c){if(window.Worker&&window.Blob&&getWebWorker()){var P=new Blob(["var _workerSelf = self; self.onmessage = ",c.toString()],{type:"text/javascript"}),v=URL.createObjectURL(P);return new Worker(v)}return r=c,s}function p(){i||(i=n(function(P){function v(){function x(w,M){var A,S,T=w.length,V,F,G,N;for(S=0;S=0;M-=1)if(w[M].ty==="sh")if(w[M].ks.k.i)g(w[M].ks.k);else for(T=w[M].ks.k.length,S=0;SA[0]?!0:A[0]>w[0]?!1:w[1]>A[1]?!0:A[1]>w[1]?!1:w[2]>A[2]?!0:A[2]>w[2]?!1:null}var E=function(){var w=[4,4,14];function M(S){var T=S.t.d;S.t.d={k:[{s:T,t:0}]}}function A(S){var T,V=S.length;for(T=0;T=0;T-=1)if(S[T].ty==="sh")if(S[T].ks.k.i)S[T].ks.k.c=S[T].closed;else for(G=S[T].ks.k.length,F=0;F500)&&(this._imageLoaded(),clearInterval(l)),u+=1}.bind(this),50)}function a(o){var u=i(o,this.assetsPath,this.path),l=createNS("image");isSafari?this.testImageLoaded(l):l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",function(){h.img=t,this._imageLoaded()}.bind(this),!1),l.setAttributeNS("http://www.w3.org/1999/xlink","href",u),this._elementHelper.append?this._elementHelper.append(l):this._elementHelper.appendChild(l);var h={img:l,assetData:o};return h}function n(o){var u=i(o,this.assetsPath,this.path),l=createTag("img");l.crossOrigin="anonymous",l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",function(){h.img=t,this._imageLoaded()}.bind(this),!1),l.src=u;var h={img:l,assetData:o};return h}function p(o){var u={assetData:o},l=i(o,this.assetsPath,this.path);return dataManager.loadData(l,function(h){u.img=h,this._footageLoaded()}.bind(this),function(){u.img={},this._footageLoaded()}.bind(this)),u}function f(o,u){this.imagesLoadedCb=u;var l,h=o.length;for(l=0;lthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,i=e.length,s=t.layers,a,n=s.length;for(a=0;athis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var r,i=t.length;for(r=0;r=0;A-=1)e[A].animation.destroy(M)}function _(M,A,S){var T=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),V,F=T.length;for(V=0;V0?h=_:l=_;while(Math.abs(E)>a&&++k=s?x(l,L,h,g):I===0?L:d(l,E,E+f,h,g)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var i=0,s=t,a=createSizedArray(s),n={newElement:p,release:f};function p(){var m;return i?(i-=1,m=a[i]):m=e(),m}function f(m){i===s&&(a=pooling.double(a),s*=2),r&&r(m),a[i]=m,i+=1}return n}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,s=r.lengths.length;for(i=0;i-.001&&u<.001}function r(c,P,v,d,x,o,u,l,h){if(v===0&&o===0&&h===0)return e(c,P,d,x,u,l);var g=t.sqrt(t.pow(d-c,2)+t.pow(x-P,2)+t.pow(o-v,2)),b=t.sqrt(t.pow(u-c,2)+t.pow(l-P,2)+t.pow(h-v,2)),E=t.sqrt(t.pow(u-d,2)+t.pow(l-x,2)+t.pow(h-o,2)),_;return g>b?g>E?_=g-b-E:_=E-b-g:E>b?_=E-b-g:_=b-g-E,_>-1e-4&&_<1e-4}var i=function(){return function(c,P,v,d){var x=getDefaultCurveSegments(),o,u,l,h,g,b=0,E,_=[],k=[],R=bezierLengthPool.newElement();for(l=v.length,o=0;ou?-1:1,g=!0;g;)if(d[o]<=u&&d[o+1]>u?(l=(u-d[o])/(d[o+1]-d[o]),g=!1):o+=h,o<0||o>=x-1){if(o===x-1)return v[o];g=!1}return v[o]+(v[o+1]-v[o])*l}function m(c,P,v,d,x,o){var u=f(x,o),l=1-u,h=t.round((l*l*l*c[0]+(u*l*l+l*u*l+l*l*u)*v[0]+(u*u*l+l*u*u+u*l*u)*d[0]+u*u*u*P[0])*1e3)/1e3,g=t.round((l*l*l*c[1]+(u*l*l+l*u*l+l*l*u)*v[1]+(u*u*l+l*u*u+u*l*u)*d[1]+u*u*u*P[1])*1e3)/1e3;return[h,g]}var y=createTypedArray("float32",8);function C(c,P,v,d,x,o,u){x<0?x=0:x>1&&(x=1);var l=f(x,u);o=o>1?1:o;var h=f(o,u),g,b=c.length,E=1-l,_=1-h,k=E*E*E,R=l*E*E*3,L=l*l*E*3,I=l*l*l,B=E*E*_,D=l*E*_+E*l*_+E*E*h,w=l*l*_+E*l*h+l*E*h,M=l*l*h,A=E*_*_,S=l*_*_+E*h*_+E*_*h,T=l*h*_+E*h*h+l*_*h,V=l*h*h,F=_*_*_,G=h*_*_+_*h*_+_*_*h,N=h*h*_+_*h*h+h*_*h,O=h*h*h;for(g=0;g=k.t-u){_.h&&(_=k),h=0;break}if(k.t-u>x){h=g;break}g=A||x=A?V.points.length-1:0;for(I=V.points[F].point.length,L=0;L=O&&G=A)l[0]=T[0],l[1]=T[1],l[2]=T[2];else if(x<=S)l[0]=_.s[0],l[1]=_.s[1],l[2]=_.s[2];else{var $=a(_.s),W=a(T),X=(x-S)/(A-S);s(l,i($,W,X))}else for(g=0;g=A?B=1:x1e-6?(I=Math.acos(B),D=Math.sin(I),w=Math.sin((1-u)*I)/D,M=Math.sin(u*I)/D):(w=1-u,M=u),l[0]=w*h+M*_,l[1]=w*g+M*k,l[2]=w*b+M*R,l[3]=w*E+M*L,l}function s(x,o){var u=o[0],l=o[1],h=o[2],g=o[3],b=Math.atan2(2*l*g-2*u*h,1-2*l*l-2*h*h),E=Math.asin(2*u*l+2*h*g),_=Math.atan2(2*u*g-2*l*h,1-2*u*u-2*h*h);x[0]=b/degToRads,x[1]=E/degToRads,x[2]=_/degToRads}function a(x){var o=x[0]*degToRads,u=x[1]*degToRads,l=x[2]*degToRads,h=Math.cos(o/2),g=Math.cos(u/2),b=Math.cos(l/2),E=Math.sin(o/2),_=Math.sin(u/2),k=Math.sin(l/2),R=h*g*b-E*_*k,L=E*_*b+h*g*k,I=E*g*b+h*_*k,B=h*_*b-E*g*k;return[L,I,B,R]}function n(){var x=this.comp.renderedFrame-this.offsetTime,o=this.keyframes[0].t-this.offsetTime,u=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(x===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=u&&x>=u||this._caching.lastFrame=x&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(x,this._caching);this.pv=l}return this._caching.lastFrame=x,this.pv}function p(x){var o;if(this.propType==="unidimensional")o=x*this.mult,e(this.v-o)>1e-5&&(this.v=o,this._mdf=!0);else for(var u=0,l=this.v.length;u1e-5&&(this.v[u]=o,this._mdf=!0),u+=1}function f(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var x,o=this.effectsSequence.length,u=this.kf?this.pv:this.data.k;for(x=0;x=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,p){this.setXYAt(t,e,"v",n,p),this.setXYAt(r,i,"o",n,p),this.setXYAt(s,a,"i",n,p)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,n=this._length,p;for(p=s;p=D[D.length-1].t-this.offsetTime)g=D[D.length-1].s?D[D.length-1].s[0]:D[D.length-2].e[0],E=!0;else{for(var w=h,M=D.length-1,A=!0,S,T,V;A&&(S=D[w],T=D[w+1],!(T.t-this.offsetTime>o));)w=T.t-this.offsetTime)I=1;else if(ol&&o>l)||(this._caching.lastIndex=h0||A>-1e-6&&A<0?i(A*S)/S:A}function M(){var A=this.props,S=w(A[0]),T=w(A[1]),V=w(A[4]),F=w(A[5]),G=w(A[12]),N=w(A[13]);return"matrix("+S+","+T+","+V+","+F+","+G+","+N+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=p,this.rotateZ=f,this.skew=y,this.skewFromAxis=C,this.shear=m,this.scale=c,this.setTransform=P,this.translate=v,this.transform=d,this.applyToPoint=h,this.applyToX=g,this.applyToY=b,this.applyToZ=E,this.applyToPointArray=I,this.applyToTriplePoints=L,this.applyToPointStringified=B,this.toCSS=D,this.to2dCSS=M,this.clone=u,this.cloneFromProps=l,this.equals=o,this.inversePoints=R,this.inversePoint=k,this.getInverseMatrix=_,this._t=this.transform,this.isIdentity=x,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return animationManager.loadAnimation(t)}function setQuality(t){if(typeof t=="string")switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t)}function inBrowser(){return typeof navigator<"u"}function installPlugin(t,e){t==="expressions"&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n=[],p,f=a.length,m;for(p=0;pi+r)){var y,C;m.s*s<=i?y=0:y=(m.s*s-i)/r,m.e*s>=i+r?C=1:C=(m.e*s-i)/r,n.push([y,C])}return n.length||n.push([0,0]),n},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?e=1+i:this.s.v<0?e=0+i:e=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,e>r){var s=e;e=r,r=s}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,n,p=this.shapes.length,f,m,y,C,c,P=0;if(r===e)for(n=0;n=0;n-=1)if(d=this.shapes[n],d.shape._mdf){for(x=d.localShapeCollection,x.releaseShapes(),this.m===2&&p>1?(h=this.calculateShapeEdges(e,r,d.totalShapeLength,l,P),l+=d.totalShapeLength):h=[[o,u]],m=h.length,f=0;f=1?v.push({s:d.totalShapeLength*(o-1),e:d.totalShapeLength*(u-1)}):(v.push({s:d.totalShapeLength*o,e:d.totalShapeLength}),v.push({s:0,e:d.totalShapeLength*(u-1)}));var g=this.addShapes(d,v[0]);if(v[0].s!==v[0].e){if(v.length>1){var b=d.shape.paths.shapes[d.shape.paths._length-1];if(b.c){var E=g.pop();this.addPaths(g,x),g=this.addShapes(d,v[1],E)}else this.addPaths(g,x),g=this.addShapes(d,v[1])}this.addPaths(g,x)}}d.shape.paths=x}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;re.e){r.c=!1;break}else e.s<=m&&e.e>=m+y.addedLength?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[p],s[a].v[p],r,C,x),x=!1):(P=bez.getNewSegment(s[a].v[p-1],s[a].v[p],s[a].o[p-1],s[a].i[p],(e.s-m)/y.addedLength,(e.e-m)/y.addedLength,c[p-1]),this.addSegmentFromArray(P,r,C,x),x=!1,r.c=!1),m+=y.addedLength,C+=1;if(s[a].c&&c.length){if(y=c[p-1],m<=e.e){var o=c[p-1].addedLength;e.s<=m&&e.e>=m+o?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[0],s[a].v[0],r,C,x),x=!1):(P=bez.getNewSegment(s[a].v[p-1],s[a].v[0],s[a].o[p-1],s[a].i[0],(e.s-m)/o,(e.e-m)/o,c[p-1]),this.addSegmentFromArray(P,r,C,x),x=!1,r.c=!1)}else r.c=!1;m+=y.addedLength,C+=1}if(r._length&&(r.setXYAt(r.v[d][0],r.v[d][1],"i",d),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),m>e.e)break;a=this.p.keyframes[this.p.keyframes.length-1].t?(y=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/m,0),C=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/m,0)):(y=this.p.pv,C=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/m,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){y=[],C=[];var c=this.px,P=this.py;c._caching.lastFrame+c.offsetTime<=c.keyframes[0].t?(y[0]=c.getValueAtTime((c.keyframes[0].t+.01)/m,0),y[1]=P.getValueAtTime((P.keyframes[0].t+.01)/m,0),C[0]=c.getValueAtTime(c.keyframes[0].t/m,0),C[1]=P.getValueAtTime(P.keyframes[0].t/m,0)):c._caching.lastFrame+c.offsetTime>=c.keyframes[c.keyframes.length-1].t?(y[0]=c.getValueAtTime(c.keyframes[c.keyframes.length-1].t/m,0),y[1]=P.getValueAtTime(P.keyframes[P.keyframes.length-1].t/m,0),C[0]=c.getValueAtTime((c.keyframes[c.keyframes.length-1].t-.01)/m,0),C[1]=P.getValueAtTime((P.keyframes[P.keyframes.length-1].t-.01)/m,0)):(y=[c.pv,P.pv],C[0]=c.getValueAtTime((c._caching.lastFrame+c.offsetTime-.01)/m,c.offsetTime),C[1]=P.getValueAtTime((P._caching.lastFrame+P.offsetTime-.01)/m,P.offsetTime))}else C=t,y=C;this.v.rotate(-Math.atan2(y[1]-C[1],y[0]-C[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(!this.a.k)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function s(){}function a(f){this._addDynamicProperty(f),this.elem.addDynamicProperty(f),this._isDirty=!0}function n(f,m,y){if(this.elem=f,this.frameId=-1,this.propType="transform",this.data=m,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(y||f),m.p&&m.p.s?(this.px=PropertyFactory.getProp(f,m.p.x,0,0,this),this.py=PropertyFactory.getProp(f,m.p.y,0,0,this),m.p.z&&(this.pz=PropertyFactory.getProp(f,m.p.z,0,0,this))):this.p=PropertyFactory.getProp(f,m.p||{k:[0,0,0]},1,0,this),m.rx){if(this.rx=PropertyFactory.getProp(f,m.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(f,m.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(f,m.rz,0,degToRads,this),m.or.k[0].ti){var C,c=m.or.k.length;for(C=0;C0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(c):Math.ceil(c),d=this.pMatrix.props,x=this.rMatrix.props,o=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var u=0;if(c>0){for(;uv;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),u-=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-P,!0),u-=P)}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var l,h;a;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,h=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),u!==0){for((i!==0&&s===1||i!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15]),this.matrix.transform(o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7],o[8],o[9],o[10],o[11],o[12],o[13],o[14],o[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),l=0;l0&&i<1?[e]:[]:[e-i,e+i].filter(function(s){return s>0&&s<1})},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),i=lerpPoint(this.points[2],this.points[3],t),s=lerpPoint(e,r,t),a=lerpPoint(r,i,t),n=lerpPoint(s,a,t);return[new PolynomialBezier(this.points[0],e,s,n,!0),new PolynomialBezier(n,a,i,this.points[3],!0)]};function extrema(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var s=i;i=r,r=s}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),n=0;n0&&a[n]<1){var p=t.point(a[n])[e];pi&&(i=p)}return{min:r,max:i}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function intersectData(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return Math.abs(t.cx-e.cx)*2=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i){s.push([t.t,e.t]);return}var n=splitData(t),p=splitData(e);intersectsImpl(n[0],p[0],r+1,i,s,a),intersectsImpl(n[0],p[1],r+1,i,s,a),intersectsImpl(n[1],p[0],r+1,i,s,a),intersectsImpl(n[1],p[1],r+1,i,s,a)}}PolynomialBezier.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,i,r),i},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,i){var s=[t[0],t[1],1],a=[e[0],e[1],1],n=[r[0],r[1],1],p=[i[0],i[1],1],f=crossProduct(crossProduct(s,a),crossProduct(n,p));return floatZero(f[2])?null:[f[0]/f[2],f[1]/f[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(t,e,r,i,s,a,n){var p=r-Math.PI/2,f=r+Math.PI/2,m=e[0]+Math.cos(r)*i*s,y=e[1]-Math.sin(r)*i*s;t.setTripleAt(m,y,m+Math.cos(p)*a,y-Math.sin(p)*a,m+Math.cos(f)*n,y-Math.sin(f)*n,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=-Math.PI*.5,s=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return s}function getProjectingAngle(t,e){var r=e===0?t.length()-1:e-1,i=(e+1)%t.length(),s=t.v[r],a=t.v[i],n=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(t,e,r,i,s,a,n){var p=getProjectingAngle(e,r),f=e.v[r%e._length],m=e.v[r===0?e._length-1:r-1],y=e.v[(r+1)%e._length],C=a===2?Math.sqrt(Math.pow(f[0]-m[0],2)+Math.pow(f[1]-m[1],2)):0,c=a===2?Math.sqrt(Math.pow(f[0]-y[0],2)+Math.pow(f[1]-y[1],2)):0;setPoint(t,e.v[r%e._length],p,n,i,c/((s+1)*2),C/((s+1)*2))}function zigZagSegment(t,e,r,i,s,a){for(var n=0;n1&&e.length>1&&(s=getIntersection(t[0],e[e.length-1]),s)?[[t[0].split(s[0])[0]],[e[e.length-1].split(s[1])[1]]]:[r,i]}function pruneIntersections(t){for(var e,r=1;r1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r=t.inflectionPoints(),i,s,a,n;if(r.length===0)return[offsetSegment(t,e)];if(r.length===1||floatEqual(r[1],1))return a=t.split(r[0]),i=a[0],s=a[1],[offsetSegment(i,e),offsetSegment(s,e)];a=t.split(r[0]),i=a[0];var p=(r[1]-r[0])/(1-r[0]);return a=a[1].split(p),n=a[0],s=a[1],[offsetSegment(i,e),offsetSegment(n,e),offsetSegment(s,e)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(t,e,r,i){var s=shapePool.newElement();s.c=t.c;var a=t.length();t.c||(a-=1);var n,p,f,m=[];for(n=0;n=0;n-=1)f=PolynomialBezier.shapeSegmentInverted(t,n),m.push(offsetSegmentSplit(f,e));m=pruneIntersections(m);var y=null,C=null;for(n=0;n0&&(R=!1),R){var B=createTag("style");B.setAttribute("f-forigin",b[E].fOrigin),B.setAttribute("f-origin",b[E].origin),B.setAttribute("f-family",b[E].fFamily),B.type="text/css",B.innerText="@font-face {font-family: "+b[E].fFamily+"; font-style: normal; src: url('"+b[E].fPath+"');}",g.appendChild(B)}}else if(b[E].fOrigin==="g"||b[E].origin===1){for(L=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),I=0;Ie?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,r=this.renderableComponents.length;for(e=0;e.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(t){var e,r=this.layers.length,i;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e],i.ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",c),this.element.maskedElement.setAttribute(u,"url("+getLocationHref()+"#"+c+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r1&&(i+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==i){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",n)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(i,s){var a=createNS("filter");return a.setAttribute("id",i),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),n=0;this.filters=[];var p;for(e=0;e=0&&(i=this.shapeModifiers[e].processShapes(this._isFirstFrame),!i);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,i=0,s=r.length;i.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)o=c.transformers[R].mProps._mdf||o,k-=1,R-=1;if(o)for(k=g-c.styles[l].lvl,R=c.transformers.length-1;k>0;)_=c.transformers[R].mProps.v.props,E.transform(_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]),k-=1,R-=1}else E=t;if(b=c.sh.paths,d=b._length,o){for(x="",v=0;v=1?B=.99:B<=-1&&(B=-.99);var D=L*B,w=Math.cos(I+c.a.v)*D+x[0],M=Math.sin(I+c.a.v)*D+x[1];v.setAttribute("fx",w),v.setAttribute("fy",M),d&&!c.g._collapsable&&(c.of.setAttribute("fx",w),c.of.setAttribute("fy",M))}}}function y(C,c,P){var v=c.style,d=c.d;d&&(d._mdf||P)&&d.dashStr&&(v.pElem.setAttribute("stroke-dasharray",d.dashStr),v.pElem.setAttribute("stroke-dashoffset",d.dashoffset[0])),c.c&&(c.c._mdf||P)&&v.pElem.setAttribute("stroke","rgb("+bmFloor(c.c.v[0])+","+bmFloor(c.c.v[1])+","+bmFloor(c.c.v[2])+")"),(c.o._mdf||P)&&v.pElem.setAttribute("stroke-opacity",c.o.v),(c.w._mdf||P)&&(v.pElem.setAttribute("stroke-width",c.w.v),v.msElem&&v.msElem.setAttribute("stroke-width",c.w.v))}return r}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,r,i,s=this.stylesList.length,a,n=[],p=!1;for(i=0;i1&&p&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;f-=1){if(x=this.searchProcessedElement(t[f]),x?e[f]=r[x-1]:t[f]._render=n,t[f].ty==="fl"||t[f].ty==="st"||t[f].ty==="gf"||t[f].ty==="gs"||t[f].ty==="no")x?e[f].style.closed=!1:e[f]=this.createStyleElement(t[f],s),t[f]._render&&e[f].style.pElem.parentNode!==i&&i.appendChild(e[f].style.pElem),c.push(e[f].style);else if(t[f].ty==="gr"){if(!x)e[f]=this.createGroupElement(t[f]);else for(C=e[f].it.length,y=0;y1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;ie);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],r=0,i=t.length,s,a,n=!1;r=55296&&s<=56319?(a=t.charCodeAt(r+1),a>=56320&&a<=57343?(n||FontManager.isModifier(s,a)?(e[e.length-1]+=t.substr(r,2),n=!1):e.push(t.substr(r,2)),r+=1):e.push(t.charAt(r))):s>56319?(a=t.charCodeAt(r+1),FontManager.isZeroWidthJoiner(s,a)?(n=!0,e[e.length-1]+=t.substr(r,2),r+=1):e.push(t.charAt(r))):FontManager.isZeroWidthJoiner(s)?(e[e.length-1]+=t.charAt(r),n=!0):e.push(t.charAt(r)),r+=1;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,i=[],s,a,n,p=0,f,m=r.m.g,y=0,C=0,c=0,P=[],v=0,d=0,x,o,u=e.getFontByName(t.f),l,h=0,g=getFontProperties(u);t.fWeight=g.weight,t.fStyle=g.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var b=t.tr/1e3*t.finalSize,E;if(t.sz)for(var _=!0,k=t.sz[0],R=t.sz[1],L,I;_;){I=this.buildFinalText(t.t),L=0,v=0,a=I.length,b=t.tr/1e3*t.finalSize;var B=-1;for(s=0;sk&&I[s]!==" "?(B===-1?a+=1:s=B,L+=t.finalLineHeight||t.finalSize*1.2,I.splice(s,B===s?1:0,"\r"),B=-1,v=0):(v+=h,v+=b);L+=u.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&Rd?v:d,v=-2*b,f="",n=!0,c+=1):f=w,e.chars?(l=e.getCharData(w,u.fStyle,e.getFontByName(t.f).fFamily),h=n?0:l.w*t.finalSize/100):h=e.measureText(f,t.f,t.finalSize),w===" "?D+=h+b:(v+=h+b+D,D=0),i.push({l:h,an:h,add:y,n,anIndexes:[],val:f,line:c,animatorJustifyOffset:0}),m==2){if(y+=h,f===""||f===" "||s===a-1){for((f===""||f===" ")&&(y-=h);C<=s;)i[C].an=y,i[C].ind=p,i[C].extra=h,C+=1;p+=1,y=0}}else if(m==3){if(y+=h,f===""||s===a-1){for(f===""&&(y-=h);C<=s;)i[C].an=y,i[C].ind=p,i[C].extra=h,C+=1;y=0,p+=1}}else i[p].ind=p,i[p].extra=0,p+=1;if(t.l=i,d=v>d?v:d,P.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=d,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=P;var M=r.a,A,S;o=M.length;var T,V,F=[];for(x=0;x0?p=this.ne.v/100:f=-this.ne.v/100,this.xe.v>0?m=1-this.xe.v/100:y=1+this.xe.v/100;var C=BezierFactory.getBezierEasing(p,f,m,y).get,c=0,P=this.finalS,v=this.finalE,d=this.data.sh;if(d===2)v===P?c=n>=v?1:0:c=t(0,e(.5/(v-P)+(n-P)/(v-P),1)),c=C(c);else if(d===3)v===P?c=n>=v?0:1:c=1-t(0,e(.5/(v-P)+(n-P)/(v-P),1)),c=C(c);else if(d===4)v===P?c=0:(c=t(0,e(.5/(v-P)+(n-P)/(v-P),1)),c<.5?c*=2:c=1-2*(c-.5)),c=C(c);else if(d===5){if(v===P)c=0;else{var x=v-P;n=e(t(0,n+.5-P),v-P);var o=-x/2+n,u=x/2;c=Math.sqrt(1-o*o/(u*u))}c=C(c)}else d===6?(v===P?c=0:(n=e(t(0,n+.5-P),v-P),c=(1+Math.cos(Math.PI+Math.PI*2*n/(v-P)))/2),c=C(c)):(n>=r(P)&&(n-P<0?c=t(0,e(e(v,1)-(P-n),1)):c=t(0,e(v-n,1))),c=C(c));if(this.sm.v!==100){var l=this.sm.v*.01;l===0&&(l=1e-8);var h=.5-l*.5;c1&&(c=1))}return c*this.a.v},getValue:function(n){this.iterateDynamicProperties(),this._mdf=n||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,n&&this.data.r===2&&(this.e.v=this._currentTextLength);var p=this.data.r===2?1:100/this.data.totalChars,f=this.o.v/p,m=this.s.v/p+f,y=this.e.v/p+f;if(m>y){var C=m;m=y,y=C}this.finalS=m,this.finalE=y}},extendPrototype([DynamicPropertyContainer],i);function s(a,n,p){return new i(a,n)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,r,i=PropertyFactory.getProp;for(t=0;t=v+Q||!g?(k=(v+Q-x)/d.partialLength,O=h.point[0]+(d.point[0]-h.point[0])*k,q=h.point[1]+(d.point[1]-h.point[1])*k,a.translate(-r[0]*c[y].an*.005,-(r[1]*D)*.01),o=!1):g&&(x+=d.partialLength,u+=1,u>=g.length&&(u=0,l+=1,b[l]?g=b[l].points:L.v.c?(u=0,l=0,g=b[l].points):(x-=d.partialLength,g=null)),g&&(h=d,d=g[u],E=d.partialLength));N=c[y].an/2-c[y].add,a.translate(-N,0,0)}else N=c[y].an/2-c[y].add,a.translate(-N,0,0),a.translate(-r[0]*c[y].an*.005,-r[1]*D*.01,0);for(S=0;St?this.textSpans[t].span:createNS(p?"g":"text"),l<=t){if(f.setAttribute("stroke-linecap","butt"),f.setAttribute("stroke-linejoin","round"),f.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=f,p){var g=createNS("g");f.appendChild(g),this.textSpans[t].childSpan=g}this.textSpans[t].span=f,this.layerElement.appendChild(f)}f.style.display="inherit"}if(m.reset(),C&&(n[t].n&&(c=-d,P+=r.yOffset,P+=v?1:0,v=!1),this.applyTextPropertiesToMatrix(r,m,n[t].line,c,P),c+=n[t].l||0,c+=d),p){h=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var b;if(h.t===1)b=new SVGCompElement(h.data,this.globalData,this);else{var E=emptyShapeData;h.data&&h.data.shapes&&(E=this.buildShapeData(h.data,r.finalSize)),b=new SVGShapeElement(E,this.globalData,this)}if(this.textSpans[t].glyph){var _=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[t].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[t].childSpan.appendChild(b.layerElement),h.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else C&&f.setAttribute("transform","translate("+m.props[12]+","+m.props[13]+")"),f.textContent=n[t].val,f.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}C&&f&&f.setAttribute("d",y)}for(;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t=0;i-=1)n=e.transforms[i].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15])}e._mdf=a},processSequences:function(e){var r,i=this.sequenceList.length;for(r=0;r=1){this.buffers=[];var e=this.globalData.canvasContext,r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=s.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,s,t);var a,n=r.length,p;for(a=0;a=0;a-=1){if(C=this.searchProcessedElement(t[a]),C?e[a]=r[C-1]:t[a]._shouldRender=i,t[a].ty==="fl"||t[a].ty==="st"||t[a].ty==="gf"||t[a].ty==="gs")C?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],v),m.push(e[a].style);else if(t[a].ty==="gr"){if(!C)e[a]=this.createGroupElement(t[a]);else for(f=e[a].it.length,p=0;p=0;s-=1)e[s].ty==="tr"?(n=r[s].transform,this.renderShapeTransform(t,n)):e[s].ty==="sh"||e[s].ty==="el"||e[s].ty==="rc"||e[s].ty==="sr"?this.renderPath(e[s],r[s]):e[s].ty==="fl"?this.renderFill(e[s],r[s],n):e[s].ty==="st"?this.renderStroke(e[s],r[s],n):e[s].ty==="gf"||e[s].ty==="gs"?this.renderGradientFill(e[s],r[s],n):e[s].ty==="gr"?this.renderShape(n,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r=t.trNodes,i=e.paths,s,a,n,p=i._length;r.length=0;var f=t.transforms.finalTransform;for(n=0;n=1?y=.99:y<=-1&&(y=-.99);var C=f*y,c=Math.cos(m+e.a.v)*C+n[0],P=Math.sin(m+e.a.v)*C+n[1];s=a.createRadialGradient(c,P,0,n[0],n[1],f)}var v,d=t.g.p,x=e.g.c,o=1;for(v=0;va&&f==="xMidYMid slice"||ss&&p==="meet"||as&&p==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:m==="xMax"&&(as&&p==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,y==="YMid"&&(a>s&&p==="meet"||as&&p==="meet"||a=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if(!(this.renderedFrame===t&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,r=this.layers.length;for(e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects,this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)};function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r0&&f<1&&s[c].push(this.calculateF(f,t,e,r,i,c))):(m=n*n-4*p*a,m>=0&&(y=(-n+bmSqrt(m))/(2*a),y>0&&y<1&&s[c].push(this.calculateF(y,t,e,r,i,c)),C=(-n-bmSqrt(m))/(2*a),C>0&&C<1&&s[c].push(this.calculateF(C,t,e,r,i,c)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;rr&&(r=s)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;e-=1){var i=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],p=Math.sqrt(n[2]*n[2]+n[0]*n[0]),f=Math.atan2(n[1],p),m=Math.atan2(n[0],-n[2]);this.mat.rotateY(m).rotateX(-f)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var y=!this._prevMat.equals(this.mat);if((y||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var C,c,P;for(e=0;e=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r=createTag("div"),i,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),e==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var n="50% 50%";i.webkitTransformOrigin=n,i.mozTransformOrigin=n,i.transformOrigin=n,s=a.style;var p="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=p,s.webkitTransform=p}r.appendChild(a);var f={container:a,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(f),f},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,r,i="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;rr?(s=t/this.globalData.compSize.w,a=t/this.globalData.compSize.w,n=0,p=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(s=e/this.globalData.compSize.h,a=e/this.globalData.compSize.h,n=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,p=0);var f=this.resizerElem.style;f.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+n+","+p+",0,1)",f.transform=f.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t=this.globalData.compSize.w,e=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r=m;)L/=2,I/=2,B>>>=1;return(L+B)/I};return k.int32=function(){return _.g(4)|0},k.quick=function(){return _.g(4)/4294967296},k.double=k,x(u(_.S),t),(h.pass||g||function(R,L,I,B){return B&&(B.S&&v(B,_),R.state=function(){return v(_,{})}),I?(e[n]=R,L):R})(k,E,"global"in h?h.global:this==e,h.state)}e["seed"+n]=c;function P(l){var h,g=l.length,b=this,E=0,_=b.i=b.j=0,k=b.S=[];for(g||(l=[g++]);Er){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if(typeof t=="number"||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,i=Math.min(t.length,e.length),s=0;for(r=0;r.5?m/(2-s-a):m/(s+a),s){case e:n=(r-i)/m+(r1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e=t[0],r=t[1],i=t[2],s,a,n;if(r===0)s=i,n=i,a=i;else{var p=i<.5?i*(1+r):i+r-i*r,f=2*i-p;s=hue2rgb(f,p,e+1/3),a=hue2rgb(f,p,e),n=hue2rgb(f,p,e-1/3)}return[s,a,n,t[3]]}function linear(t,e,r,i,s){if((i===void 0||s===void 0)&&(i=e,s=r,e=0,r=1),r=r)return s;var n=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*n;var p,f=i.length,m=createTypedArray("float32",f);for(p=0;p1){for(s=0;s1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var p,f=s.length,m=createTypedArray("float32",f);for(p=0;pdata.k[e].t&&tdata.k[e+1].t-t?(i=e+2,s=data.k[e+1].t):(i=e+1,s=data.k[e].t);break}i===-1&&(i=e+1,s=data.k[e].t)}var a={};return a.index=i,a.time=s/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;rx.length-1)&&(P=x.length-1),l=x[x.length-1-P].t,u=o-l);var h,g,b;if(c==="pingpong"){var E=Math.floor((d-l)/u);if(E%2!==0)return this.getValueAtTime((u-(d-l)%u+l)/this.comp.globalData.frameRate,0)}else if(c==="offset"){var _=this.getValueAtTime(l/this.comp.globalData.frameRate,0),k=this.getValueAtTime(o/this.comp.globalData.frameRate,0),R=this.getValueAtTime(((d-l)%u+l)/this.comp.globalData.frameRate,0),L=Math.floor((d-l)/u);if(this.pv.length){for(b=new Array(_.length),g=b.length,h=0;h=o)return this.pv;var u,l;v?(P?u=Math.abs(this.elem.comp.globalData.frameRate*P):u=Math.max(0,this.elem.data.op-o),l=o+u):((!P||P>x.length-1)&&(P=x.length-1),l=x[P].t,u=l-o);var h,g,b;if(c==="pingpong"){var E=Math.floor((o-d)/u);if(E%2===0)return this.getValueAtTime(((o-d)%u+o)/this.comp.globalData.frameRate,0)}else if(c==="offset"){var _=this.getValueAtTime(o/this.comp.globalData.frameRate,0),k=this.getValueAtTime(l/this.comp.globalData.frameRate,0),R=this.getValueAtTime((u-(o-d)%u+o)/this.comp.globalData.frameRate,0),L=Math.floor((o-d)/u)+1;if(this.pv.length){for(b=new Array(_.length),g=b.length,h=0;h1?(x-d)/(P-1):1,u=0,l=0,h;this.pv.length?h=createTypedArray("float32",this.pv.length):h=0;for(var g;uu){var E=l,_=d.c&&l===h-1?0:l+1,k=(u-g)/o[l].addedLength;b=bez.getPointInSegment(d.v[E],d.v[_],d.o[E],d.i[_],k,o[l]);break}else g+=o[l].addedLength;l+=1}return b||(b=d.c?[d.v[0][0],d.v[0][1]]:[d.v[d._length-1][0],d.v[d._length-1][1]]),b},vectorOnPath:function(P,v,d){P==1?P=this.v.c:P==0&&(P=.999);var x=this.pointOnPath(P,v),o=this.pointOnPath(P+.001,v),u=o[0]-x[0],l=o[1]-x[1],h=Math.sqrt(Math.pow(u,2)+Math.pow(l,2));if(h===0)return[0,0];var g=d==="tangent"?[u/h,l/h]:[-l/h,u/h];return g},tangentOnPath:function(P,v){return this.vectorOnPath(P,v,"tangent")},normalOnPath:function(P,v){return this.vectorOnPath(P,v,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([y],f),extendPrototype([y],m),m.prototype.getValueAtTime=p,m.prototype.initiateExpression=ExpressionManager.initiateExpression;var C=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(c,P,v,d,x){var o=C(c,P,v,d,x);return o.propertyIndex=P.ix,o.lock=!1,v===3?expressionHelpers.searchExpressions(c,P.pt,o):v===4&&expressionHelpers.searchExpressions(c,P.ks,o),o.k&&c.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(e,r){var i=this.calculateExpression(r);if(e.t!==i){var s={};return this.copyData(s,e),s.t=i.toString(),s.__complete=!1,s}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,r){var i=createNS("feMerge");i.setAttribute("result",e);var s,a;for(a=0;a=m?C=v<0?i:s:C=i+P*Math.pow((p-t)/v,1/r),y[c]=C,c+=1,a+=256/(n-1);return y.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,r,i,s){var a=e.container.globalData.renderConfig.filterSize,n=e.data.fs||a;t.setAttribute("x",n.x||a.x),t.setAttribute("y",n.y||a.y),t.setAttribute("width",n.width||a.width),t.setAttribute("height",n.height||a.height),this.filterManager=e;var p=createNS("feGaussianBlur");p.setAttribute("in","SourceAlpha"),p.setAttribute("result",i+"_drop_shadow_1"),p.setAttribute("stdDeviation","0"),this.feGaussianBlur=p,t.appendChild(p);var f=createNS("feOffset");f.setAttribute("dx","25"),f.setAttribute("dy","0"),f.setAttribute("in",i+"_drop_shadow_1"),f.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=f,t.appendChild(f);var m=createNS("feFlood");m.setAttribute("flood-color","#00ff00"),m.setAttribute("flood-opacity","1"),m.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=m,t.appendChild(m);var y=createNS("feComposite");y.setAttribute("in",i+"_drop_shadow_3"),y.setAttribute("in2",i+"_drop_shadow_2"),y.setAttribute("operator","in"),y.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(y);var C=this.createMergeNode(i,[i+"_drop_shadow_4",s]);t.appendChild(C)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e{!r.value||Lottie.loadAnimation({container:r.value,renderer:"svg",loop:!0,autoplay:!0,path:"/circularLoading.json"})});const i=computed(()=>{const{direction:a="row",justify:n="space-between"}=e;return{flexDirection:a,justifyContent:n}}),s=computed(()=>{const{size:a="40"}=e;return{width:`${a}px`,height:`${a}px`}});return(a,n)=>(openBlock(),createElementBlock("div",{class:"container",style:normalizeStyle(i.value)},[createBaseVNode("div",{ref_key:"loading",ref:r,style:normalizeStyle(s.value)},null,4),renderSlot(a.$slots,"default",{},void 0,!0)],4))}}),CircularLoading_vue_vue_type_style_index_0_scoped_174df194_lang="",LoadingIndicator=_export_sfc(_sfc_main,[["__scopeId","data-v-174df194"]]);export{LoadingIndicator as L}; -//# sourceMappingURL=CircularLoading.1c6a1f61.js.map +//# sourceMappingURL=CircularLoading.08cb4e45.js.map diff --git a/abstra_statics/dist/assets/CloseCircleOutlined.1d6fe2b1.js b/abstra_statics/dist/assets/CloseCircleOutlined.1d6fe2b1.js deleted file mode 100644 index 77ead0028f..0000000000 --- a/abstra_statics/dist/assets/CloseCircleOutlined.1d6fe2b1.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as c,ee as d,ei as u}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e19e974c-4163-487b-b5cd-e0d11d830658",e._sentryDebugIdIdentifier="sentry-dbid-e19e974c-4163-487b-b5cd-e0d11d830658")}catch{}})();function o(e){for(var t=1;t({prefixCls:String,activeKey:O([Array,Number,String]),defaultActiveKey:O([Array,Number,String]),accordion:v(),destroyInactivePanel:v(),bordered:v(),expandIcon:S(),openAnimation:k.object,expandIconPosition:j(),collapsible:j(),ghost:v(),onChange:S(),"onUpdate:activeKey":S()}),L=()=>({openAnimation:k.object,prefixCls:String,header:k.any,headerClass:String,showArrow:v(),isActive:v(),destroyInactivePanel:v(),disabled:v(),accordion:v(),forceRender:v(),expandIcon:S(),extra:k.any,panelKey:O(),collapsible:j(),role:String,onItemClick:S()}),ye=n=>{const{componentCls:e,collapseContentBg:a,padding:p,collapseContentPaddingHorizontal:i,collapseHeaderBg:d,collapseHeaderPadding:l,collapsePanelBorderRadius:u,lineWidth:b,lineType:$,colorBorder:h,colorText:x,colorTextHeading:g,colorTextDisabled:m,fontSize:C,lineHeight:y,marginSM:A,paddingSM:o,motionDurationSlow:t,fontSizeIcon:s}=n,r=`${b}px ${$} ${h}`;return{[e]:w(w({},ne(n)),{backgroundColor:d,border:r,borderBottom:0,borderRadius:`${u}px`,["&-rtl"]:{direction:"rtl"},[`& > ${e}-item`]:{borderBottom:r,["&:last-child"]:{[` +import{b6 as O,aM as v,aN as S,au as k,aL as j,ac as Z,ad as q,dU as J,S as w,bh as ee,ao as ne,d as z,ap as X,e as ae,dV as oe,g as te,ah as G,f as le,ai as E,b as f,ak as R,dW as se,aC as re,dI as ie,dX as de,aE as W,bt as ce,az as pe,Q as ue,aK as fe,c4 as be,aZ as ve,aY as ge,a_ as $e}from"./vue-router.324eaed2.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="3221322f-71ae-4c8d-b481-27a98e9fef8e",n._sentryDebugIdIdentifier="sentry-dbid-3221322f-71ae-4c8d-b481-27a98e9fef8e")}catch{}})();const me=()=>({prefixCls:String,activeKey:O([Array,Number,String]),defaultActiveKey:O([Array,Number,String]),accordion:v(),destroyInactivePanel:v(),bordered:v(),expandIcon:S(),openAnimation:k.object,expandIconPosition:j(),collapsible:j(),ghost:v(),onChange:S(),"onUpdate:activeKey":S()}),L=()=>({openAnimation:k.object,prefixCls:String,header:k.any,headerClass:String,showArrow:v(),isActive:v(),destroyInactivePanel:v(),disabled:v(),accordion:v(),forceRender:v(),expandIcon:S(),extra:k.any,panelKey:O(),collapsible:j(),role:String,onItemClick:S()}),ye=n=>{const{componentCls:e,collapseContentBg:o,padding:p,collapseContentPaddingHorizontal:i,collapseHeaderBg:d,collapseHeaderPadding:l,collapsePanelBorderRadius:u,lineWidth:b,lineType:$,colorBorder:h,colorText:x,colorTextHeading:g,colorTextDisabled:m,fontSize:C,lineHeight:y,marginSM:A,paddingSM:a,motionDurationSlow:t,fontSizeIcon:s}=n,r=`${b}px ${$} ${h}`;return{[e]:w(w({},ne(n)),{backgroundColor:d,border:r,borderBottom:0,borderRadius:`${u}px`,["&-rtl"]:{direction:"rtl"},[`& > ${e}-item`]:{borderBottom:r,["&:last-child"]:{[` &, - & > ${e}-header`]:{borderRadius:`0 0 ${u}px ${u}px`}},[`> ${e}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:l,color:g,lineHeight:y,cursor:"pointer",transition:`all ${t}, visibility 0s`,[`> ${e}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${e}-expand-icon`]:{height:C*y,display:"flex",alignItems:"center",paddingInlineEnd:A},[`${e}-arrow`]:w(w({},ee()),{fontSize:s,svg:{transition:`transform ${t}`}}),[`${e}-header-text`]:{marginInlineEnd:"auto"}},[`${e}-header-collapsible-only`]:{cursor:"default",[`${e}-header-text`]:{flex:"none",cursor:"pointer"},[`${e}-expand-icon`]:{cursor:"pointer"}},[`${e}-icon-collapsible-only`]:{cursor:"default",[`${e}-expand-icon`]:{cursor:"pointer"}},[`&${e}-no-arrow`]:{[`> ${e}-header`]:{paddingInlineStart:o}}},[`${e}-content`]:{color:x,backgroundColor:a,borderTop:r,[`& > ${e}-content-box`]:{padding:`${p}px ${i}px`},["&-hidden"]:{display:"none"}},[`${e}-item:last-child`]:{[`> ${e}-content`]:{borderRadius:`0 0 ${u}px ${u}px`}},[`& ${e}-item-disabled > ${e}-header`]:{[` + & > ${e}-header`]:{borderRadius:`0 0 ${u}px ${u}px`}},[`> ${e}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:l,color:g,lineHeight:y,cursor:"pointer",transition:`all ${t}, visibility 0s`,[`> ${e}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${e}-expand-icon`]:{height:C*y,display:"flex",alignItems:"center",paddingInlineEnd:A},[`${e}-arrow`]:w(w({},ee()),{fontSize:s,svg:{transition:`transform ${t}`}}),[`${e}-header-text`]:{marginInlineEnd:"auto"}},[`${e}-header-collapsible-only`]:{cursor:"default",[`${e}-header-text`]:{flex:"none",cursor:"pointer"},[`${e}-expand-icon`]:{cursor:"pointer"}},[`${e}-icon-collapsible-only`]:{cursor:"default",[`${e}-expand-icon`]:{cursor:"pointer"}},[`&${e}-no-arrow`]:{[`> ${e}-header`]:{paddingInlineStart:a}}},[`${e}-content`]:{color:x,backgroundColor:o,borderTop:r,[`& > ${e}-content-box`]:{padding:`${p}px ${i}px`},["&-hidden"]:{display:"none"}},[`${e}-item:last-child`]:{[`> ${e}-content`]:{borderRadius:`0 0 ${u}px ${u}px`}},[`& ${e}-item-disabled > ${e}-header`]:{[` &, & > .arrow - `]:{color:m,cursor:"not-allowed"}},[`&${e}-icon-position-end`]:{[`& > ${e}-item`]:{[`> ${e}-header`]:{[`${e}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:A}}}}})}},he=n=>{const{componentCls:e}=n,a=`> ${e}-item > ${e}-header ${e}-arrow svg`;return{[`${e}-rtl`]:{[a]:{transform:"rotate(180deg)"}}}},xe=n=>{const{componentCls:e,collapseHeaderBg:a,paddingXXS:p,colorBorder:i}=n;return{[`${e}-borderless`]:{backgroundColor:a,border:0,[`> ${e}-item`]:{borderBottom:`1px solid ${i}`},[` + `]:{color:m,cursor:"not-allowed"}},[`&${e}-icon-position-end`]:{[`& > ${e}-item`]:{[`> ${e}-header`]:{[`${e}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:A}}}}})}},he=n=>{const{componentCls:e}=n,o=`> ${e}-item > ${e}-header ${e}-arrow svg`;return{[`${e}-rtl`]:{[o]:{transform:"rotate(180deg)"}}}},xe=n=>{const{componentCls:e,collapseHeaderBg:o,paddingXXS:p,colorBorder:i}=n;return{[`${e}-borderless`]:{backgroundColor:o,border:0,[`> ${e}-item`]:{borderBottom:`1px solid ${i}`},[` > ${e}-item:last-child, > ${e}-item:last-child ${e}-header - `]:{borderRadius:0},[`> ${e}-item:last-child`]:{borderBottom:0},[`> ${e}-item > ${e}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${e}-item > ${e}-content > ${e}-content-box`]:{paddingTop:p}}}},Ce=n=>{const{componentCls:e,paddingSM:a}=n;return{[`${e}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${e}-item`]:{borderBottom:0,[`> ${e}-content`]:{backgroundColor:"transparent",border:0,[`> ${e}-content-box`]:{paddingBlock:a}}}}}},Ae=Z("Collapse",n=>{const e=q(n,{collapseContentBg:n.colorBgContainer,collapseHeaderBg:n.colorFillAlter,collapseHeaderPadding:`${n.paddingSM}px ${n.padding}px`,collapsePanelBorderRadius:n.borderRadiusLG,collapseContentPaddingHorizontal:16});return[ye(e),xe(e),Ce(e),he(e),J(e)]});function U(n){let e=n;if(!Array.isArray(e)){const a=typeof e;e=a==="number"||a==="string"?[e]:[]}return e.map(a=>String(a))}const Se=z({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:X(me(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup(n,e){let{attrs:a,slots:p,emit:i}=e;const d=oe(U(ae([n.activeKey,n.defaultActiveKey])));te(()=>n.activeKey,()=>{d.value=U(n.activeKey)},{deep:!0});const{prefixCls:l,direction:u,rootPrefixCls:b}=G("collapse",n),[$,h]=Ae(l),x=le(()=>{const{expandIconPosition:o}=n;return o!==void 0?o:u.value==="rtl"?"end":"start"}),g=o=>{const{expandIcon:t=p.expandIcon}=n,s=t?t(o):f(ce,{rotate:o.isActive?90:void 0},null);return f("div",{class:[`${l.value}-expand-icon`,h.value],onClick:()=>["header","icon"].includes(n.collapsible)&&C(o.panelKey)},[pe(Array.isArray(t)?s[0]:s)?W(s,{class:`${l.value}-arrow`},!1):s])},m=o=>{n.activeKey===void 0&&(d.value=o);const t=n.accordion?o[0]:o;i("update:activeKey",t),i("change",t)},C=o=>{let t=d.value;if(n.accordion)t=t[0]===o?[]:[o];else{t=[...t];const s=t.indexOf(o);s>-1?t.splice(s,1):t.push(o)}m(t)},y=(o,t)=>{var s,r,I;if(ie(o))return;const c=d.value,{accordion:P,destroyInactivePanel:T,collapsible:K,openAnimation:_}=n,D=_||de(`${b.value}-motion-collapse`),B=String((s=o.key)!==null&&s!==void 0?s:t),{header:F=(I=(r=o.children)===null||r===void 0?void 0:r.header)===null||I===void 0?void 0:I.call(r),headerClass:Q,collapsible:H,disabled:V}=o.props||{};let M=!1;P?M=c[0]===B:M=c.indexOf(B)>-1;let N=H!=null?H:K;(V||V==="")&&(N="disabled");const Y={key:B,panelKey:B,header:F,headerClass:Q,isActive:M,prefixCls:l.value,destroyInactivePanel:T,openAnimation:D,accordion:P,onItemClick:N==="disabled"?null:C,expandIcon:g,collapsible:N};return W(o,Y)},A=()=>{var o;return re((o=p.default)===null||o===void 0?void 0:o.call(p)).map(y)};return()=>{const{accordion:o,bordered:t,ghost:s}=n,r=E(l.value,{[`${l.value}-borderless`]:!t,[`${l.value}-icon-position-${x.value}`]:!0,[`${l.value}-rtl`]:u.value==="rtl",[`${l.value}-ghost`]:!!s,[a.class]:!!a.class},h.value);return $(f("div",R(R({class:r},se(a)),{},{style:a.style,role:o?"tablist":null}),[A()]))}}}),Ie=z({compatConfig:{MODE:3},name:"PanelContent",props:L(),setup(n,e){let{slots:a}=e;const p=ue(!1);return fe(()=>{(n.isActive||n.forceRender)&&(p.value=!0)}),()=>{var i;if(!p.value)return null;const{prefixCls:d,isActive:l,role:u}=n;return f("div",{class:E(`${d}-content`,{[`${d}-content-active`]:l,[`${d}-content-inactive`]:!l}),role:u},[f("div",{class:`${d}-content-box`},[(i=a.default)===null||i===void 0?void 0:i.call(a)])])}}}),Pe=z({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:X(L(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup(n,e){let{slots:a,emit:p,attrs:i}=e;be(n.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:d}=G("collapse",n),l=()=>{p("itemClick",n.panelKey)},u=b=>{(b.key==="Enter"||b.keyCode===13||b.which===13)&&l()};return()=>{var b,$;const{header:h=(b=a.header)===null||b===void 0?void 0:b.call(a),headerClass:x,isActive:g,showArrow:m,destroyInactivePanel:C,accordion:y,forceRender:A,openAnimation:o,expandIcon:t=a.expandIcon,extra:s=($=a.extra)===null||$===void 0?void 0:$.call(a),collapsible:r}=n,I=r==="disabled",c=d.value,P=E(`${c}-header`,{[x]:x,[`${c}-header-collapsible-only`]:r==="header",[`${c}-icon-collapsible-only`]:r==="icon"}),T=E({[`${c}-item`]:!0,[`${c}-item-active`]:g,[`${c}-item-disabled`]:I,[`${c}-no-arrow`]:!m,[`${i.class}`]:!!i.class});let K=f("i",{class:"arrow"},null);m&&typeof t=="function"&&(K=t(n));const _=ve(f(Ie,{prefixCls:c,isActive:g,forceRender:A,role:y?"tabpanel":null},{default:a.default}),[[$e,g]]),D=w({appear:!1,css:!1},o);return f("div",R(R({},i),{},{class:T}),[f("div",{class:P,onClick:()=>!["header","icon"].includes(r)&&l(),role:y?"tab":"button",tabindex:I?-1:0,"aria-expanded":g,onKeypress:u},[m&&K,f("span",{onClick:()=>r==="header"&&l(),class:`${c}-header-text`},[h]),s&&f("div",{class:`${c}-extra`},[s])]),f(ge,D,{default:()=>[!C||g?_:null]})])}}});export{Pe as A,Se as C}; -//# sourceMappingURL=CollapsePanel.56bdec23.js.map + `]:{borderRadius:0},[`> ${e}-item:last-child`]:{borderBottom:0},[`> ${e}-item > ${e}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${e}-item > ${e}-content > ${e}-content-box`]:{paddingTop:p}}}},Ce=n=>{const{componentCls:e,paddingSM:o}=n;return{[`${e}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${e}-item`]:{borderBottom:0,[`> ${e}-content`]:{backgroundColor:"transparent",border:0,[`> ${e}-content-box`]:{paddingBlock:o}}}}}},Ae=Z("Collapse",n=>{const e=q(n,{collapseContentBg:n.colorBgContainer,collapseHeaderBg:n.colorFillAlter,collapseHeaderPadding:`${n.paddingSM}px ${n.padding}px`,collapsePanelBorderRadius:n.borderRadiusLG,collapseContentPaddingHorizontal:16});return[ye(e),xe(e),Ce(e),he(e),J(e)]});function U(n){let e=n;if(!Array.isArray(e)){const o=typeof e;e=o==="number"||o==="string"?[e]:[]}return e.map(o=>String(o))}const Se=z({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:X(me(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup(n,e){let{attrs:o,slots:p,emit:i}=e;const d=ae(U(oe([n.activeKey,n.defaultActiveKey])));te(()=>n.activeKey,()=>{d.value=U(n.activeKey)},{deep:!0});const{prefixCls:l,direction:u,rootPrefixCls:b}=G("collapse",n),[$,h]=Ae(l),x=le(()=>{const{expandIconPosition:a}=n;return a!==void 0?a:u.value==="rtl"?"end":"start"}),g=a=>{const{expandIcon:t=p.expandIcon}=n,s=t?t(a):f(ce,{rotate:a.isActive?90:void 0},null);return f("div",{class:[`${l.value}-expand-icon`,h.value],onClick:()=>["header","icon"].includes(n.collapsible)&&C(a.panelKey)},[pe(Array.isArray(t)?s[0]:s)?W(s,{class:`${l.value}-arrow`},!1):s])},m=a=>{n.activeKey===void 0&&(d.value=a);const t=n.accordion?a[0]:a;i("update:activeKey",t),i("change",t)},C=a=>{let t=d.value;if(n.accordion)t=t[0]===a?[]:[a];else{t=[...t];const s=t.indexOf(a);s>-1?t.splice(s,1):t.push(a)}m(t)},y=(a,t)=>{var s,r,I;if(ie(a))return;const c=d.value,{accordion:P,destroyInactivePanel:T,collapsible:K,openAnimation:_}=n,D=_||de(`${b.value}-motion-collapse`),B=String((s=a.key)!==null&&s!==void 0?s:t),{header:F=(I=(r=a.children)===null||r===void 0?void 0:r.header)===null||I===void 0?void 0:I.call(r),headerClass:Q,collapsible:H,disabled:V}=a.props||{};let M=!1;P?M=c[0]===B:M=c.indexOf(B)>-1;let N=H!=null?H:K;(V||V==="")&&(N="disabled");const Y={key:B,panelKey:B,header:F,headerClass:Q,isActive:M,prefixCls:l.value,destroyInactivePanel:T,openAnimation:D,accordion:P,onItemClick:N==="disabled"?null:C,expandIcon:g,collapsible:N};return W(a,Y)},A=()=>{var a;return re((a=p.default)===null||a===void 0?void 0:a.call(p)).map(y)};return()=>{const{accordion:a,bordered:t,ghost:s}=n,r=E(l.value,{[`${l.value}-borderless`]:!t,[`${l.value}-icon-position-${x.value}`]:!0,[`${l.value}-rtl`]:u.value==="rtl",[`${l.value}-ghost`]:!!s,[o.class]:!!o.class},h.value);return $(f("div",R(R({class:r},se(o)),{},{style:o.style,role:a?"tablist":null}),[A()]))}}}),Ie=z({compatConfig:{MODE:3},name:"PanelContent",props:L(),setup(n,e){let{slots:o}=e;const p=ue(!1);return fe(()=>{(n.isActive||n.forceRender)&&(p.value=!0)}),()=>{var i;if(!p.value)return null;const{prefixCls:d,isActive:l,role:u}=n;return f("div",{class:E(`${d}-content`,{[`${d}-content-active`]:l,[`${d}-content-inactive`]:!l}),role:u},[f("div",{class:`${d}-content-box`},[(i=o.default)===null||i===void 0?void 0:i.call(o)])])}}}),Pe=z({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:X(L(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup(n,e){let{slots:o,emit:p,attrs:i}=e;be(n.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:d}=G("collapse",n),l=()=>{p("itemClick",n.panelKey)},u=b=>{(b.key==="Enter"||b.keyCode===13||b.which===13)&&l()};return()=>{var b,$;const{header:h=(b=o.header)===null||b===void 0?void 0:b.call(o),headerClass:x,isActive:g,showArrow:m,destroyInactivePanel:C,accordion:y,forceRender:A,openAnimation:a,expandIcon:t=o.expandIcon,extra:s=($=o.extra)===null||$===void 0?void 0:$.call(o),collapsible:r}=n,I=r==="disabled",c=d.value,P=E(`${c}-header`,{[x]:x,[`${c}-header-collapsible-only`]:r==="header",[`${c}-icon-collapsible-only`]:r==="icon"}),T=E({[`${c}-item`]:!0,[`${c}-item-active`]:g,[`${c}-item-disabled`]:I,[`${c}-no-arrow`]:!m,[`${i.class}`]:!!i.class});let K=f("i",{class:"arrow"},null);m&&typeof t=="function"&&(K=t(n));const _=ve(f(Ie,{prefixCls:c,isActive:g,forceRender:A,role:y?"tabpanel":null},{default:o.default}),[[$e,g]]),D=w({appear:!1,css:!1},a);return f("div",R(R({},i),{},{class:T}),[f("div",{class:P,onClick:()=>!["header","icon"].includes(r)&&l(),role:y?"tab":"button",tabindex:I?-1:0,"aria-expanded":g,onKeypress:u},[m&&K,f("span",{onClick:()=>r==="header"&&l(),class:`${c}-header-text`},[h]),s&&f("div",{class:`${c}-extra`},[s])]),f(ge,D,{default:()=>[!C||g?_:null]})])}}});export{Pe as A,Se as C}; +//# sourceMappingURL=CollapsePanel.ce95f921.js.map diff --git a/abstra_statics/dist/assets/ConnectorsView.d2fcad20.js b/abstra_statics/dist/assets/ConnectorsView.5ec3c0b4.js similarity index 91% rename from abstra_statics/dist/assets/ConnectorsView.d2fcad20.js rename to abstra_statics/dist/assets/ConnectorsView.5ec3c0b4.js index 79dfcf6b66..c683555d71 100644 --- a/abstra_statics/dist/assets/ConnectorsView.d2fcad20.js +++ b/abstra_statics/dist/assets/ConnectorsView.5ec3c0b4.js @@ -1,2 +1,2 @@ -var M=Object.defineProperty;var B=(l,e,o)=>e in l?M(l,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[e]=o;var p=(l,e,o)=>(B(l,typeof e!="symbol"?e+"":e,o),o);import{_ as R}from"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import{_ as q}from"./AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js";import{e as z,f as x,cH as I,d as D,o as r,c as C,w as a,b as i,u as t,dd as d,d1 as O,aF as c,R as w,d8 as m,e9 as b,ed as P,$ as U,ea as F,X as v,aR as _,d9 as $,d7 as N,eb as j,bN as G,by as H,bw as S,a as V,bH as X,cT as Y,eV as J,em as K,en as Q}from"./vue-router.33f35a18.js";import{G as W}from"./PhDotsThreeVertical.vue.756b56ff.js";import{C as y}from"./gateway.a5388860.js";import{C as Z}from"./router.cbdfe37b.js";import{A as E}from"./Avatar.dcb46dd7.js";import{C as L}from"./Card.639eca4a.js";import{A as ee}from"./index.241ee38a.js";import"./BookOutlined.767e0e7a.js";import"./popupNotifcation.7fc1aee0.js";import"./TabPane.1080fde7.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="c398a0f8-b22e-4f29-a003-e138ebf55473",l._sentryDebugIdIdentifier="sentry-dbid-c398a0f8-b22e-4f29-a003-e138ebf55473")}catch{}})();class te{async getLoginUrl(e,o,n,u){return y.get(`projects/${e}/connectors/${n}/connections/${o}/login-url`,{scopeIds:u.join(",")})}async listConnectors(e){return y.get(`projects/${e}/connectors`)}async listConnections(e){return y.get(`projects/${e}/connections`)}async deleteConnection(e){const{projectId:o,connectionName:n,connectorType:u}=e;return y.delete(`projects/${o}/connectors/${u}/connections/${n}`)}async renameConnection(e){const{projectId:o,connectionName:n,connectorType:u,newConnectionName:h}=e;return y.patch(`projects/${o}/connectors/${u}/connections/${n}`,{newConnectionName:h})}}class ne{constructor(e,o){p(this,"state");p(this,"hasChanges",x(()=>!!this.state.value.editingConnection&&this.state.value.editingConnection.name!==this.state.value.editingConnection.newName));p(this,"handleDeletionClick",async e=>{I.confirm({title:"Delete connection",content:"Are you sure you want to delete this connection?",onOk:()=>this.handleDeleteConnection(e)})});p(this,"handleDeleteConnection",async e=>{await this.api.deleteConnection({projectId:this.projectId,connectionName:e.name,connectorType:e.connectorType}),this.state.value.editingConnection=null,await this.refetchConnections()});p(this,"handleAddConnectionSubmit",async()=>{var u,h;const e=(u=this.state.value.addingConnection)==null?void 0:u.connector.type,o=(h=this.state.value.addingConnection)==null?void 0:h.selectedScopeIds;if(!e||!o)throw new Error("No connector or scope selected");const{url:n}=await this.getLoginUrl(e,this.getUniqueName(e),o);window.location.href=n});p(this,"renameConnection",async()=>{const{editingConnection:e}=this.state.value;if(!e)throw new Error("No connection is being edited");const o=async()=>{await this.api.renameConnection({projectId:this.projectId,connectionName:e.name,connectorType:e.connectorType,newConnectionName:e.newName}),await this.refetchConnections(),this.state.value.editingConnection=null};I.confirm({title:"Rename connection",content:"Are you sure you want to rename this connection? This will break any existing references to the old name.",onOk:o})});p(this,"showAddConfirmationModal",e=>{this.state.value.addingConnection={selectedScopeIds:e.scopes.map(o=>o.id),connector:e}});p(this,"handleScopeToggle",(e,o)=>{o?this.state.value.addingConnection.selectedScopeIds.push(e):this.state.value.addingConnection.selectedScopeIds=this.state.value.addingConnection.selectedScopeIds.filter(n=>n!==e)});this.projectId=e,this.api=o,this.state=z({connectors:[],connections:[],addingConnection:null,editingConnection:null})}async fetchConnectors(){this.state.value.connectors=await this.api.listConnectors(this.projectId)}async fetchInitialState(){await this.fetchConnectors(),await this.refetchConnections()}async refetchConnections(){this.state.value.connections=(await this.api.listConnections(this.projectId)).map(e=>{const o=this.state.value.connectors.find(n=>n.type===e.connectorType);if(!o)throw new Error(`Unknown connector type: ${e.connectorType}`);return{name:e.name,connectorTitle:o.title,connectorType:e.connectorType,icon:o.logoUrl}})}handleEditConnectionClick(e){this.state.value.editingConnection={...e,newName:e.name}}async getLoginUrl(e,o,n){return this.api.getLoginUrl(this.projectId,o,e,n)}slugify(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-")}getUniqueName(e){const o=this.state.value.connections.filter(n=>n.connectorType===e).length;return o===0?e:`${e}-${o}`}}const oe=D({__name:"ConnectorCard",props:{title:{},logoUrl:{},description:{},unavailable:{type:Boolean}},setup(l){return(e,o)=>(r(),C(t(L),{class:P({"connector-card":!0,unavailable:e.unavailable})},{default:a(()=>[i(t(d),{style:{width:"100%"},vertical:"",gap:12},{default:a(()=>[i(t(d),{justify:"space-between"},{default:a(()=>[i(t(E),{src:e.logoUrl,shape:"square",size:"large"},null,8,["src"]),e.unavailable?(r(),C(t(O),{key:0,style:{height:"fit-content"}},{default:a(()=>[c("Talk to us")]),_:1})):w("",!0)]),_:1}),i(t(d),{vertical:""},{default:a(()=>[i(t(m),{strong:""},{default:a(()=>[c(b(e.title),1)]),_:1}),i(t(m),{type:"secondary"},{default:a(()=>[c(b(e.description),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]))}});const ae=U(oe,[["__scopeId","data-v-e3719550"]]),ie=l=>(K("data-v-40b20da6"),l=l(),Q(),l),se=ie(()=>V("div",{style:{"flex-grow":"1"}},null,-1)),le={class:"connectors-grid"},ce=D({__name:"ConnectorsView",setup(l){const o=F().params.projectId,n=new ne(o,new te),u=x(()=>[...n.state.value.connectors.filter(f=>!f.unavailable),...n.state.value.connectors.filter(f=>f.unavailable)]);n.fetchInitialState();function h(f){f.unavailable?Z.showNewMessage(J.translate("i18n_connectors_ask_for_access",null,f.title)):n.showAddConfirmationModal(f)}return(f,g)=>{var A,T;return r(),v(_,null,[i(t(ee),{direction:"vertical",style:{width:"100%","margin-bottom":"30px"}},{default:a(()=>[i(t(d),{align:"center",justify:"space-between"},{default:a(()=>[i(t($),null,{default:a(()=>[c("Connectors")]),_:1})]),_:1}),i(t(N),null,{default:a(()=>[c(" Add and manage external integrations to your project. "),i(R)]),_:1}),t(n).state.value.connections.length?(r(),C(t(d),{key:0,vertical:""},{default:a(()=>[i(t($),{level:2},{default:a(()=>[c("Installed")]),_:1}),i(t(d),{vertical:"",gap:10},{default:a(()=>[(r(!0),v(_,null,j(t(n).state.value.connections,s=>(r(),C(t(L),{key:s.name},{default:a(()=>[i(t(d),{align:"center",gap:20},{default:a(()=>[i(t(E),{src:s.icon,height:"40px",shape:"square"},null,8,["src"]),i(t(m),{strong:""},{default:a(()=>[c(b(s.connectorTitle),1)]),_:2},1024),se,i(t(m),{content:s.name,copyable:"",code:""},null,8,["content"]),i(t(G),null,{overlay:a(()=>[i(t(H),null,{default:a(()=>[i(t(S),{onClick:k=>t(n).handleEditConnectionClick(s)},{default:a(()=>[c(" Rename ")]),_:2},1032,["onClick"]),i(t(S),{danger:"",onClick:k=>t(n).handleDeletionClick(s)},{default:a(()=>[c(" Delete ")]),_:2},1032,["onClick"])]),_:2},1024)]),default:a(()=>[i(t(W))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),i(t(d),{vertical:""},{default:a(()=>[t(n).state.value.connections.length?(r(),C(t($),{key:0,level:2},{default:a(()=>[c("Available")]),_:1})):w("",!0),V("div",le,[(r(!0),v(_,null,j(u.value,s=>(r(),C(ae,{key:s.type,title:s.title,"logo-url":s.logoUrl,description:s.description,unavailable:s.unavailable,onClick:k=>h(s)},null,8,["title","logo-url","description","unavailable","onClick"]))),128))])]),_:1})]),_:1}),i(t(I),{open:!!t(n).state.value.editingConnection,title:`${(A=t(n).state.value.editingConnection)==null?void 0:A.connectorTitle} Connection`,onCancel:g[2]||(g[2]=s=>t(n).state.value.editingConnection=null)},{footer:a(()=>[i(t(d),{justify:"end"},{default:a(()=>[i(q,{disabled:!t(n).hasChanges.value,onClick:g[1]||(g[1]=s=>t(n).renameConnection())},{default:a(()=>[c(" Save ")]),_:1},8,["disabled"])]),_:1})]),default:a(()=>[t(n).state.value.editingConnection?(r(),C(t(X),{key:0,value:t(n).state.value.editingConnection.newName,"onUpdate:value":g[0]||(g[0]=s=>t(n).state.value.editingConnection.newName=s)},null,8,["value"])):w("",!0)]),_:1},8,["open","title"]),i(t(I),{open:!!t(n).state.value.addingConnection,title:`Add ${(T=t(n).state.value.addingConnection)==null?void 0:T.connector.title} Connection`,"ok-text":"Authorize","wrap-class-name":"full-modal",onCancel:g[3]||(g[3]=s=>t(n).state.value.addingConnection=null),onOk:t(n).handleAddConnectionSubmit},{default:a(()=>[t(n).state.value.addingConnection?(r(),v(_,{key:0},[i(t(N),null,{default:a(()=>[c(" Please select the scopes you want to authorize for this connection. You can change these later by deleting and re-adding the connection. ")]),_:1}),i(t(d),{vertical:"",gap:"10",style:{margin:"30px 0px"}},{default:a(()=>[(r(!0),v(_,null,j(t(n).state.value.addingConnection.connector.scopes,s=>(r(),C(t(d),{key:s.id,justify:"space-between",align:"center"},{default:a(()=>[i(t(d),{vertical:""},{default:a(()=>[i(t(m),null,{default:a(()=>[c(b(s.description),1)]),_:2},1024),i(t(m),{type:"secondary"},{default:a(()=>[c(b(s.id),1)]),_:2},1024)]),_:2},1024),i(t(Y),{checked:t(n).state.value.addingConnection.selectedScopeIds.includes(s.id),onChange:k=>t(n).handleScopeToggle(s.id,k)},null,8,["checked","onChange"])]),_:2},1024))),128))]),_:1})],64)):w("",!0)]),_:1},8,["open","title","onOk"])],64)}}});const be=U(ce,[["__scopeId","data-v-40b20da6"]]);export{be as default}; -//# sourceMappingURL=ConnectorsView.d2fcad20.js.map +var M=Object.defineProperty;var B=(l,e,o)=>e in l?M(l,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[e]=o;var p=(l,e,o)=>(B(l,typeof e!="symbol"?e+"":e,o),o);import{_ as R}from"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import{_ as q}from"./AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js";import{e as z,f as x,cH as I,d as D,o as r,c as C,w as a,b as i,u as t,dd as d,d1 as O,aF as c,R as w,d8 as m,e9 as b,ed as P,$ as U,ea as F,X as v,aR as _,d9 as $,d7 as N,eb as j,bN as G,by as H,bw as S,a as V,bH as X,cT as Y,eV as J,em as K,en as Q}from"./vue-router.324eaed2.js";import{G as W}from"./PhDotsThreeVertical.vue.766b7c1d.js";import{C as y}from"./gateway.edd4374b.js";import{C as Z}from"./router.0c18ec5d.js";import{A as E}from"./Avatar.4c029798.js";import{C as L}from"./Card.1902bdb7.js";import{A as ee}from"./index.7d758831.js";import"./BookOutlined.789cce39.js";import"./popupNotifcation.5a82bc93.js";import"./TabPane.caed57de.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="aa4d3e74-23ef-452c-89a8-b31804785930",l._sentryDebugIdIdentifier="sentry-dbid-aa4d3e74-23ef-452c-89a8-b31804785930")}catch{}})();class te{async getLoginUrl(e,o,n,u){return y.get(`projects/${e}/connectors/${n}/connections/${o}/login-url`,{scopeIds:u.join(",")})}async listConnectors(e){return y.get(`projects/${e}/connectors`)}async listConnections(e){return y.get(`projects/${e}/connections`)}async deleteConnection(e){const{projectId:o,connectionName:n,connectorType:u}=e;return y.delete(`projects/${o}/connectors/${u}/connections/${n}`)}async renameConnection(e){const{projectId:o,connectionName:n,connectorType:u,newConnectionName:h}=e;return y.patch(`projects/${o}/connectors/${u}/connections/${n}`,{newConnectionName:h})}}class ne{constructor(e,o){p(this,"state");p(this,"hasChanges",x(()=>!!this.state.value.editingConnection&&this.state.value.editingConnection.name!==this.state.value.editingConnection.newName));p(this,"handleDeletionClick",async e=>{I.confirm({title:"Delete connection",content:"Are you sure you want to delete this connection?",onOk:()=>this.handleDeleteConnection(e)})});p(this,"handleDeleteConnection",async e=>{await this.api.deleteConnection({projectId:this.projectId,connectionName:e.name,connectorType:e.connectorType}),this.state.value.editingConnection=null,await this.refetchConnections()});p(this,"handleAddConnectionSubmit",async()=>{var u,h;const e=(u=this.state.value.addingConnection)==null?void 0:u.connector.type,o=(h=this.state.value.addingConnection)==null?void 0:h.selectedScopeIds;if(!e||!o)throw new Error("No connector or scope selected");const{url:n}=await this.getLoginUrl(e,this.getUniqueName(e),o);window.location.href=n});p(this,"renameConnection",async()=>{const{editingConnection:e}=this.state.value;if(!e)throw new Error("No connection is being edited");const o=async()=>{await this.api.renameConnection({projectId:this.projectId,connectionName:e.name,connectorType:e.connectorType,newConnectionName:e.newName}),await this.refetchConnections(),this.state.value.editingConnection=null};I.confirm({title:"Rename connection",content:"Are you sure you want to rename this connection? This will break any existing references to the old name.",onOk:o})});p(this,"showAddConfirmationModal",e=>{this.state.value.addingConnection={selectedScopeIds:e.scopes.map(o=>o.id),connector:e}});p(this,"handleScopeToggle",(e,o)=>{o?this.state.value.addingConnection.selectedScopeIds.push(e):this.state.value.addingConnection.selectedScopeIds=this.state.value.addingConnection.selectedScopeIds.filter(n=>n!==e)});this.projectId=e,this.api=o,this.state=z({connectors:[],connections:[],addingConnection:null,editingConnection:null})}async fetchConnectors(){this.state.value.connectors=await this.api.listConnectors(this.projectId)}async fetchInitialState(){await this.fetchConnectors(),await this.refetchConnections()}async refetchConnections(){this.state.value.connections=(await this.api.listConnections(this.projectId)).map(e=>{const o=this.state.value.connectors.find(n=>n.type===e.connectorType);if(!o)throw new Error(`Unknown connector type: ${e.connectorType}`);return{name:e.name,connectorTitle:o.title,connectorType:e.connectorType,icon:o.logoUrl}})}handleEditConnectionClick(e){this.state.value.editingConnection={...e,newName:e.name}}async getLoginUrl(e,o,n){return this.api.getLoginUrl(this.projectId,o,e,n)}slugify(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-")}getUniqueName(e){const o=this.state.value.connections.filter(n=>n.connectorType===e).length;return o===0?e:`${e}-${o}`}}const oe=D({__name:"ConnectorCard",props:{title:{},logoUrl:{},description:{},unavailable:{type:Boolean}},setup(l){return(e,o)=>(r(),C(t(L),{class:P({"connector-card":!0,unavailable:e.unavailable})},{default:a(()=>[i(t(d),{style:{width:"100%"},vertical:"",gap:12},{default:a(()=>[i(t(d),{justify:"space-between"},{default:a(()=>[i(t(E),{src:e.logoUrl,shape:"square",size:"large"},null,8,["src"]),e.unavailable?(r(),C(t(O),{key:0,style:{height:"fit-content"}},{default:a(()=>[c("Talk to us")]),_:1})):w("",!0)]),_:1}),i(t(d),{vertical:""},{default:a(()=>[i(t(m),{strong:""},{default:a(()=>[c(b(e.title),1)]),_:1}),i(t(m),{type:"secondary"},{default:a(()=>[c(b(e.description),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]))}});const ae=U(oe,[["__scopeId","data-v-e3719550"]]),ie=l=>(K("data-v-40b20da6"),l=l(),Q(),l),se=ie(()=>V("div",{style:{"flex-grow":"1"}},null,-1)),le={class:"connectors-grid"},ce=D({__name:"ConnectorsView",setup(l){const o=F().params.projectId,n=new ne(o,new te),u=x(()=>[...n.state.value.connectors.filter(f=>!f.unavailable),...n.state.value.connectors.filter(f=>f.unavailable)]);n.fetchInitialState();function h(f){f.unavailable?Z.showNewMessage(J.translate("i18n_connectors_ask_for_access",null,f.title)):n.showAddConfirmationModal(f)}return(f,g)=>{var A,T;return r(),v(_,null,[i(t(ee),{direction:"vertical",style:{width:"100%","margin-bottom":"30px"}},{default:a(()=>[i(t(d),{align:"center",justify:"space-between"},{default:a(()=>[i(t($),null,{default:a(()=>[c("Connectors")]),_:1})]),_:1}),i(t(N),null,{default:a(()=>[c(" Add and manage external integrations to your project. "),i(R)]),_:1}),t(n).state.value.connections.length?(r(),C(t(d),{key:0,vertical:""},{default:a(()=>[i(t($),{level:2},{default:a(()=>[c("Installed")]),_:1}),i(t(d),{vertical:"",gap:10},{default:a(()=>[(r(!0),v(_,null,j(t(n).state.value.connections,s=>(r(),C(t(L),{key:s.name},{default:a(()=>[i(t(d),{align:"center",gap:20},{default:a(()=>[i(t(E),{src:s.icon,height:"40px",shape:"square"},null,8,["src"]),i(t(m),{strong:""},{default:a(()=>[c(b(s.connectorTitle),1)]),_:2},1024),se,i(t(m),{content:s.name,copyable:"",code:""},null,8,["content"]),i(t(G),null,{overlay:a(()=>[i(t(H),null,{default:a(()=>[i(t(S),{onClick:k=>t(n).handleEditConnectionClick(s)},{default:a(()=>[c(" Rename ")]),_:2},1032,["onClick"]),i(t(S),{danger:"",onClick:k=>t(n).handleDeletionClick(s)},{default:a(()=>[c(" Delete ")]),_:2},1032,["onClick"])]),_:2},1024)]),default:a(()=>[i(t(W))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),i(t(d),{vertical:""},{default:a(()=>[t(n).state.value.connections.length?(r(),C(t($),{key:0,level:2},{default:a(()=>[c("Available")]),_:1})):w("",!0),V("div",le,[(r(!0),v(_,null,j(u.value,s=>(r(),C(ae,{key:s.type,title:s.title,"logo-url":s.logoUrl,description:s.description,unavailable:s.unavailable,onClick:k=>h(s)},null,8,["title","logo-url","description","unavailable","onClick"]))),128))])]),_:1})]),_:1}),i(t(I),{open:!!t(n).state.value.editingConnection,title:`${(A=t(n).state.value.editingConnection)==null?void 0:A.connectorTitle} Connection`,onCancel:g[2]||(g[2]=s=>t(n).state.value.editingConnection=null)},{footer:a(()=>[i(t(d),{justify:"end"},{default:a(()=>[i(q,{disabled:!t(n).hasChanges.value,onClick:g[1]||(g[1]=s=>t(n).renameConnection())},{default:a(()=>[c(" Save ")]),_:1},8,["disabled"])]),_:1})]),default:a(()=>[t(n).state.value.editingConnection?(r(),C(t(X),{key:0,value:t(n).state.value.editingConnection.newName,"onUpdate:value":g[0]||(g[0]=s=>t(n).state.value.editingConnection.newName=s)},null,8,["value"])):w("",!0)]),_:1},8,["open","title"]),i(t(I),{open:!!t(n).state.value.addingConnection,title:`Add ${(T=t(n).state.value.addingConnection)==null?void 0:T.connector.title} Connection`,"ok-text":"Authorize","wrap-class-name":"full-modal",onCancel:g[3]||(g[3]=s=>t(n).state.value.addingConnection=null),onOk:t(n).handleAddConnectionSubmit},{default:a(()=>[t(n).state.value.addingConnection?(r(),v(_,{key:0},[i(t(N),null,{default:a(()=>[c(" Please select the scopes you want to authorize for this connection. You can change these later by deleting and re-adding the connection. ")]),_:1}),i(t(d),{vertical:"",gap:"10",style:{margin:"30px 0px"}},{default:a(()=>[(r(!0),v(_,null,j(t(n).state.value.addingConnection.connector.scopes,s=>(r(),C(t(d),{key:s.id,justify:"space-between",align:"center"},{default:a(()=>[i(t(d),{vertical:""},{default:a(()=>[i(t(m),null,{default:a(()=>[c(b(s.description),1)]),_:2},1024),i(t(m),{type:"secondary"},{default:a(()=>[c(b(s.id),1)]),_:2},1024)]),_:2},1024),i(t(Y),{checked:t(n).state.value.addingConnection.selectedScopeIds.includes(s.id),onChange:k=>t(n).handleScopeToggle(s.id,k)},null,8,["checked","onChange"])]),_:2},1024))),128))]),_:1})],64)):w("",!0)]),_:1},8,["open","title","onOk"])],64)}}});const be=U(ce,[["__scopeId","data-v-40b20da6"]]);export{be as default}; +//# sourceMappingURL=ConnectorsView.5ec3c0b4.js.map diff --git a/abstra_statics/dist/assets/ContentLayout.5465dc16.js b/abstra_statics/dist/assets/ContentLayout.5465dc16.js new file mode 100644 index 0000000000..8e22e31d44 --- /dev/null +++ b/abstra_statics/dist/assets/ContentLayout.5465dc16.js @@ -0,0 +1,2 @@ +import{d as n,o as s,X as a,a as d,Z as r,ed as l,$ as c}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a5844f04-ce55-46f7-ae72-c0a4f062dd69",e._sentryDebugIdIdentifier="sentry-dbid-a5844f04-ce55-46f7-ae72-c0a4f062dd69")}catch{}})();const _={class:"content-layout"},f=n({__name:"ContentLayout",props:{fullWidth:{type:Boolean}},setup(e){return(t,o)=>(s(),a("div",_,[d("div",{class:l(["centered-layout",{"full-width":t.fullWidth}])},[r(t.$slots,"default",{},void 0,!0)],2)]))}});const i=c(f,[["__scopeId","data-v-6397d501"]]);export{i as C}; +//# sourceMappingURL=ContentLayout.5465dc16.js.map diff --git a/abstra_statics/dist/assets/ContentLayout.d691ad7a.js b/abstra_statics/dist/assets/ContentLayout.d691ad7a.js deleted file mode 100644 index ece7115e69..0000000000 --- a/abstra_statics/dist/assets/ContentLayout.d691ad7a.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as n,o as a,X as s,a as d,Z as r,ed as c,$ as l}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="22f4449a-08ca-4488-af9a-1b04cefb17c7",e._sentryDebugIdIdentifier="sentry-dbid-22f4449a-08ca-4488-af9a-1b04cefb17c7")}catch{}})();const _={class:"content-layout"},f=n({__name:"ContentLayout",props:{fullWidth:{type:Boolean}},setup(e){return(t,o)=>(a(),s("div",_,[d("div",{class:c(["centered-layout",{"full-width":t.fullWidth}])},[r(t.$slots,"default",{},void 0,!0)],2)]))}});const i=l(f,[["__scopeId","data-v-6397d501"]]);export{i as C}; -//# sourceMappingURL=ContentLayout.d691ad7a.js.map diff --git a/abstra_statics/dist/assets/CrudView.3c2a3663.js b/abstra_statics/dist/assets/CrudView.0b1b90a7.js similarity index 55% rename from abstra_statics/dist/assets/CrudView.3c2a3663.js rename to abstra_statics/dist/assets/CrudView.0b1b90a7.js index 98431fb5e6..2532c6c661 100644 --- a/abstra_statics/dist/assets/CrudView.3c2a3663.js +++ b/abstra_statics/dist/assets/CrudView.0b1b90a7.js @@ -1,2 +1,2 @@ -import{A as U,a as M,r as z}from"./router.cbdfe37b.js";import{_ as O}from"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import{i as E}from"./url.b6644346.js";import{G as L}from"./PhDotsThreeVertical.vue.756b56ff.js";import{d as P,D as j,e as $,o,c as r,w as n,u as s,cI as x,b as p,aF as d,e9 as y,d7 as N,X as V,eb as S,cv as H,bH as Y,cA as G,aA as Q,aR as B,cQ as X,R as m,cu as Z,cH as q,f as J,r as W,dd as R,d9 as K,Z as w,bP as ee,cU as te,Y as ae,d8 as A,d1 as le,bN as ne,by as se,bw as oe,a as ue,ec as re,cK as ce,bx as ie,$ as pe}from"./vue-router.33f35a18.js";import{B as de}from"./Badge.71fee936.js";import{A as ye}from"./index.241ee38a.js";(function(){try{var v=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new Error().stack;f&&(v._sentryDebugIds=v._sentryDebugIds||{},v._sentryDebugIds[f]="c386c364-5d87-4d88-9c12-330fce6acfdc",v._sentryDebugIdIdentifier="sentry-dbid-c386c364-5d87-4d88-9c12-330fce6acfdc")}catch{}})();const fe=P({__name:"CreationModal",props:{entityName:{},fields:{},create:{type:Function}},setup(v,{expose:f}){const b=v,I=`Create a new ${b.entityName}`,c=j({inputValue:{}}),g=$(!1),T=()=>g.value=!0,e=()=>{g.value=!1,c.inputValue={}},C=async()=>{try{await b.create(c.inputValue),e()}catch(a){a instanceof Error&&x.error({message:"Failed to create",description:a.message})}},k=(a,l)=>{const t=a.target.value,i=b.fields.find(_=>_.key===l);i!=null&&i.format?c.inputValue[l]=i.format(t):c.inputValue[l]=t},h=(a,l)=>{const t=a.target.value,i=b.fields.find(_=>_.key===l);i!=null&&i.blur?c.inputValue[l]=i.blur(t):c.inputValue[l]=t};return f({open:T,close:e}),(a,l)=>(o(),r(s(q),{open:g.value,title:I,onCancel:e,onOk:C},{default:n(()=>[p(s(N),null,{default:n(()=>[d(" You may edit the "+y(a.entityName)+" name afterwards at Settings. ",1)]),_:1}),p(s(Z),{layout:"vertical"},{default:n(()=>[(o(!0),V(B,null,S(a.fields,t=>{var i;return o(),r(s(H),{key:t.key,label:t.label,help:(i=t.hint)==null?void 0:i.call(t,c.inputValue[t.key])},{default:n(()=>{var _,D,F;return[!t.type||t.type==="text"||t.type==="password"?(o(),r(s(Y),{key:0,value:c.inputValue[t.key],"onUpdate:value":u=>c.inputValue[t.key]=u,placeholder:(_=t.placeholder)!=null?_:"",type:(D=t.type)!=null?D:"text",onInput:u=>k(u,t.key),onBlur:u=>h(u,t.key)},null,8,["value","onUpdate:value","placeholder","type","onInput","onBlur"])):t.type==="multiline-text"?(o(),r(s(G),{key:1,value:c.inputValue[t.key],"onUpdate:value":u=>c.inputValue[t.key]=u,placeholder:(F=t.placeholder)!=null?F:"",onInput:u=>k(u,t.key),onBlur:u=>h(u,t.key)},null,8,["value","onUpdate:value","placeholder","onInput","onBlur"])):Array.isArray(t.type)?(o(),r(s(Q),{key:2,value:c.inputValue[t.key],"onUpdate:value":u=>c.inputValue[t.key]=u},{default:n(()=>[(o(!0),V(B,null,S(t.type,u=>(o(),r(s(X),{key:typeof u=="string"?u:u.value,value:typeof u=="string"?u:u.value},{default:n(()=>[d(y(typeof u=="string"?u:u.label),1)]),_:2},1032,["value"]))),128))]),_:2},1032,["value","onUpdate:value"])):m("",!0)]}),_:2},1032,["label","help"])}),128))]),_:1})]),_:1},8,["open"]))}}),me={class:"action-item"},ve=P({__name:"CrudView",props:{table:{},loading:{type:Boolean},title:{},emptyTitle:{},entityName:{},description:{},create:{type:Function},createButtonText:{},docsPath:{},live:{type:Boolean},fields:{}},setup(v){const f=v,b=$(null),I=async()=>{var e;f.fields?(e=b.value)==null||e.open():f.create&&await f.create({})},c=$(!1);async function g(e,C){var k;if(!c.value){c.value=!0;try{"onClick"in e?await((k=e.onClick)==null?void 0:k.call(e,{key:C.key})):"link"in e&&(typeof e.link=="string"&&E(e.link)?open(e.link,"_blank"):z.push(e.link))}finally{c.value=!1}}}const T=J(()=>({"--columnCount":`${f.table.columns.length}`}));return(e,C)=>{const k=W("RouterLink");return o(),V(B,null,[p(s(ye),{direction:"vertical",class:"crud-view"},{default:n(()=>{var h;return[p(s(R),{align:"center",justify:"space-between"},{default:n(()=>[e.title?(o(),r(s(K),{key:0},{default:n(()=>[d(y(e.title),1)]),_:1})):m("",!0),w(e.$slots,"more",{},void 0,!0)]),_:3}),e.description?(o(),r(s(N),{key:0},{default:n(()=>[d(y(e.description)+" ",1),w(e.$slots,"description",{},void 0,!0),e.docsPath?(o(),r(O,{key:0,path:e.docsPath},null,8,["path"])):m("",!0)]),_:3})):m("",!0),p(s(R),{gap:"middle"},{default:n(()=>[e.createButtonText?(o(),r(s(ee),{key:0,type:"primary",onClick:I},{default:n(()=>[d(y(e.createButtonText),1)]),_:1})):m("",!0),w(e.$slots,"secondary",{},void 0,!0)]),_:3}),w(e.$slots,"extra",{},void 0,!0),p(s(te),{size:"small",style:ae(T.value),"data-source":e.table.rows,loading:c.value||e.loading&&!e.live,height:400,columns:(h=e.table.columns)==null?void 0:h.map(({name:a,align:l},t,i)=>({title:a,key:t,align:l!=null?l:"center"}))},{emptyText:n(()=>[d(y(e.emptyTitle),1)]),headerCell:n(a=>[d(y(a.title),1)]),bodyCell:n(({column:{key:a},record:l})=>[l.cells[a].type==="slot"?w(e.$slots,l.cells[a].key,{key:0,payload:l.cells[a].payload},void 0,!0):(o(),r(s(ce),{key:1,open:l.cells[a].hover?void 0:!1},{content:n(()=>[p(s(N),{style:{width:"300px",overflow:"auto","font-family":"monospace"},copyable:"",content:l.cells[a].hover},null,8,["content"])]),default:n(()=>[l.cells[a].type==="text"?(o(),r(s(A),{key:0,secondary:l.cells[a].secondary,code:l.cells[a].code},{default:n(()=>[p(s(de),{dot:l.cells[a].contentType==="warning",color:"#faad14"},{default:n(()=>[d(y(l.cells[a].text),1)]),_:2},1032,["dot"])]),_:2},1032,["secondary","code"])):l.cells[a].type==="secret"?(o(),r(s(A),{key:1,copyable:{text:l.cells[a].text}},{default:n(()=>[d(" ******** ")]),_:2},1032,["copyable"])):l.cells[a].type==="tag"?(o(),r(s(le),{key:2,color:l.cells[a].tagColor},{default:n(()=>[d(y(l.cells[a].text),1)]),_:2},1032,["color"])):l.cells[a].type==="link"?(o(),r(k,{key:3,to:l.cells[a].to},{default:n(()=>[d(y(l.cells[a].text),1)]),_:2},1032,["to"])):l.cells[a].type==="actions"?(o(),r(s(ne),{key:4},{overlay:n(()=>[p(s(se),{disabled:c.value},{default:n(()=>[(o(!0),V(B,null,S(l.cells[a].actions.filter(t=>!t.hide),(t,i)=>(o(),r(s(oe),{key:i,danger:t.dangerous,onClick:_=>g(t,l)},{default:n(()=>[ue("div",me,[t.icon?(o(),r(re(t.icon),{key:0})):m("",!0),p(s(A),null,{default:n(()=>[d(y(t.label),1)]),_:2},1024)])]),_:2},1032,["danger","onClick"]))),128))]),_:2},1032,["disabled"])]),default:n(()=>[p(s(L),{style:{cursor:"pointer"},size:"25px"})]),_:2},1024)):m("",!0)]),_:2},1032,["open"]))]),footer:n(()=>[e.live?(o(),r(s(M),{key:0,justify:"end",gutter:10},{default:n(()=>[p(s(U),null,{default:n(()=>[p(s(ie),{size:"small"})]),_:1}),p(s(U),null,{default:n(()=>[p(s(A),null,{default:n(()=>[d(" auto updating ")]),_:1})]),_:1})]),_:1})):m("",!0)]),_:3},8,["style","data-source","loading","columns"])]}),_:3}),e.fields&&e.create?(o(),r(fe,{key:0,ref_key:"modalRef",ref:b,fields:e.fields,"entity-name":e.entityName,create:e.create},null,8,["fields","entity-name","create"])):m("",!0)],64)}}});const Ae=pe(ve,[["__scopeId","data-v-b4e4eb05"]]);export{Ae as C}; -//# sourceMappingURL=CrudView.3c2a3663.js.map +import{A as U,a as M,r as z}from"./router.0c18ec5d.js";import{_ as O}from"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import{i as E}from"./url.1a1c4e74.js";import{G as L}from"./PhDotsThreeVertical.vue.766b7c1d.js";import{d as P,D as j,e as $,o,c as r,w as n,u as s,cI as x,b as c,aF as d,e9 as y,d7 as N,X as V,eb as S,cv as H,bH as Y,cA as G,aA as Q,aR as B,cQ as X,R as m,cu as Z,cH as q,f as J,r as W,dd as R,d9 as K,Z as w,bP as ee,cU as te,Y as ae,d8 as A,d1 as le,bN as ne,by as se,bw as oe,a as ue,ec as re,cK as ie,bx as pe,$ as ce}from"./vue-router.324eaed2.js";import{B as de}from"./Badge.9808092c.js";import{A as ye}from"./index.7d758831.js";(function(){try{var v=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new Error().stack;f&&(v._sentryDebugIds=v._sentryDebugIds||{},v._sentryDebugIds[f]="537413dd-2414-4e24-bf88-98338eede5cf",v._sentryDebugIdIdentifier="sentry-dbid-537413dd-2414-4e24-bf88-98338eede5cf")}catch{}})();const fe=P({__name:"CreationModal",props:{entityName:{},fields:{},create:{type:Function}},setup(v,{expose:f}){const b=v,I=`Create a new ${b.entityName}`,i=j({inputValue:{}}),g=$(!1),T=()=>g.value=!0,e=()=>{g.value=!1,i.inputValue={}},C=async()=>{try{await b.create(i.inputValue),e()}catch(a){a instanceof Error&&x.error({message:"Failed to create",description:a.message})}},k=(a,l)=>{const t=a.target.value,p=b.fields.find(_=>_.key===l);p!=null&&p.format?i.inputValue[l]=p.format(t):i.inputValue[l]=t},h=(a,l)=>{const t=a.target.value,p=b.fields.find(_=>_.key===l);p!=null&&p.blur?i.inputValue[l]=p.blur(t):i.inputValue[l]=t};return f({open:T,close:e}),(a,l)=>(o(),r(s(q),{open:g.value,title:I,onCancel:e,onOk:C},{default:n(()=>[c(s(N),null,{default:n(()=>[d(" You may edit the "+y(a.entityName)+" name afterwards at Settings. ",1)]),_:1}),c(s(Z),{layout:"vertical"},{default:n(()=>[(o(!0),V(B,null,S(a.fields,t=>{var p;return o(),r(s(H),{key:t.key,label:t.label,help:(p=t.hint)==null?void 0:p.call(t,i.inputValue[t.key])},{default:n(()=>{var _,D,F;return[!t.type||t.type==="text"||t.type==="password"?(o(),r(s(Y),{key:0,value:i.inputValue[t.key],"onUpdate:value":u=>i.inputValue[t.key]=u,placeholder:(_=t.placeholder)!=null?_:"",type:(D=t.type)!=null?D:"text",onInput:u=>k(u,t.key),onBlur:u=>h(u,t.key)},null,8,["value","onUpdate:value","placeholder","type","onInput","onBlur"])):t.type==="multiline-text"?(o(),r(s(G),{key:1,value:i.inputValue[t.key],"onUpdate:value":u=>i.inputValue[t.key]=u,placeholder:(F=t.placeholder)!=null?F:"",onInput:u=>k(u,t.key),onBlur:u=>h(u,t.key)},null,8,["value","onUpdate:value","placeholder","onInput","onBlur"])):Array.isArray(t.type)?(o(),r(s(Q),{key:2,value:i.inputValue[t.key],"onUpdate:value":u=>i.inputValue[t.key]=u},{default:n(()=>[(o(!0),V(B,null,S(t.type,u=>(o(),r(s(X),{key:typeof u=="string"?u:u.value,value:typeof u=="string"?u:u.value},{default:n(()=>[d(y(typeof u=="string"?u:u.label),1)]),_:2},1032,["value"]))),128))]),_:2},1032,["value","onUpdate:value"])):m("",!0)]}),_:2},1032,["label","help"])}),128))]),_:1})]),_:1},8,["open"]))}}),me={class:"action-item"},ve=P({__name:"CrudView",props:{table:{},loading:{type:Boolean},title:{},emptyTitle:{},entityName:{},description:{},create:{type:Function},createButtonText:{},docsPath:{},live:{type:Boolean},fields:{}},setup(v){const f=v,b=$(null),I=async()=>{var e;f.fields?(e=b.value)==null||e.open():f.create&&await f.create({})},i=$(!1);async function g(e,C){var k;if(!i.value){i.value=!0;try{"onClick"in e?await((k=e.onClick)==null?void 0:k.call(e,{key:C.key})):"link"in e&&(typeof e.link=="string"&&E(e.link)?open(e.link,"_blank"):z.push(e.link))}finally{i.value=!1}}}const T=J(()=>({"--columnCount":`${f.table.columns.length}`}));return(e,C)=>{const k=W("RouterLink");return o(),V(B,null,[c(s(ye),{direction:"vertical",class:"crud-view"},{default:n(()=>{var h;return[c(s(R),{align:"center",justify:"space-between"},{default:n(()=>[e.title?(o(),r(s(K),{key:0},{default:n(()=>[d(y(e.title),1)]),_:1})):m("",!0),w(e.$slots,"more",{},void 0,!0)]),_:3}),e.description?(o(),r(s(N),{key:0},{default:n(()=>[d(y(e.description)+" ",1),w(e.$slots,"description",{},void 0,!0),e.docsPath?(o(),r(O,{key:0,path:e.docsPath},null,8,["path"])):m("",!0)]),_:3})):m("",!0),c(s(R),{gap:"middle"},{default:n(()=>[e.createButtonText?(o(),r(s(ee),{key:0,type:"primary",onClick:I},{default:n(()=>[d(y(e.createButtonText),1)]),_:1})):m("",!0),w(e.$slots,"secondary",{},void 0,!0)]),_:3}),w(e.$slots,"extra",{},void 0,!0),c(s(te),{size:"small",style:ae(T.value),"data-source":e.table.rows,loading:i.value||e.loading&&!e.live,height:400,columns:(h=e.table.columns)==null?void 0:h.map(({name:a,align:l},t,p)=>({title:a,key:t,align:l!=null?l:"center"}))},{emptyText:n(()=>[d(y(e.emptyTitle),1)]),headerCell:n(a=>[d(y(a.title),1)]),bodyCell:n(({column:{key:a},record:l})=>[l.cells[a].type==="slot"?w(e.$slots,l.cells[a].key,{key:0,payload:l.cells[a].payload},void 0,!0):(o(),r(s(ie),{key:1,open:l.cells[a].hover?void 0:!1},{content:n(()=>[c(s(N),{style:{width:"300px",overflow:"auto","font-family":"monospace"},copyable:"",content:l.cells[a].hover},null,8,["content"])]),default:n(()=>[l.cells[a].type==="text"?(o(),r(s(A),{key:0,secondary:l.cells[a].secondary,code:l.cells[a].code},{default:n(()=>[c(s(de),{dot:l.cells[a].contentType==="warning",color:"#faad14"},{default:n(()=>[d(y(l.cells[a].text),1)]),_:2},1032,["dot"])]),_:2},1032,["secondary","code"])):l.cells[a].type==="secret"?(o(),r(s(A),{key:1,copyable:{text:l.cells[a].text}},{default:n(()=>[d(" ******** ")]),_:2},1032,["copyable"])):l.cells[a].type==="tag"?(o(),r(s(le),{key:2,color:l.cells[a].tagColor},{default:n(()=>[d(y(l.cells[a].text),1)]),_:2},1032,["color"])):l.cells[a].type==="link"?(o(),r(k,{key:3,to:l.cells[a].to},{default:n(()=>[d(y(l.cells[a].text),1)]),_:2},1032,["to"])):l.cells[a].type==="actions"?(o(),r(s(ne),{key:4},{overlay:n(()=>[c(s(se),{disabled:i.value},{default:n(()=>[(o(!0),V(B,null,S(l.cells[a].actions.filter(t=>!t.hide),(t,p)=>(o(),r(s(oe),{key:p,danger:t.dangerous,onClick:_=>g(t,l)},{default:n(()=>[ue("div",me,[t.icon?(o(),r(re(t.icon),{key:0})):m("",!0),c(s(A),null,{default:n(()=>[d(y(t.label),1)]),_:2},1024)])]),_:2},1032,["danger","onClick"]))),128))]),_:2},1032,["disabled"])]),default:n(()=>[c(s(L),{style:{cursor:"pointer"},size:"25px"})]),_:2},1024)):m("",!0)]),_:2},1032,["open"]))]),footer:n(()=>[e.live?(o(),r(s(M),{key:0,justify:"end",gutter:10},{default:n(()=>[c(s(U),null,{default:n(()=>[c(s(pe),{size:"small"})]),_:1}),c(s(U),null,{default:n(()=>[c(s(A),null,{default:n(()=>[d(" auto updating ")]),_:1})]),_:1})]),_:1})):m("",!0)]),_:3},8,["style","data-source","loading","columns"])]}),_:3}),e.fields&&e.create?(o(),r(fe,{key:0,ref_key:"modalRef",ref:b,fields:e.fields,"entity-name":e.entityName,create:e.create},null,8,["fields","entity-name","create"])):m("",!0)],64)}}});const Ae=ce(ve,[["__scopeId","data-v-b4e4eb05"]]);export{Ae as C}; +//# sourceMappingURL=CrudView.0b1b90a7.js.map diff --git a/abstra_statics/dist/assets/DeleteOutlined.618a8e2f.js b/abstra_statics/dist/assets/DeleteOutlined.618a8e2f.js new file mode 100644 index 0000000000..47ba33731e --- /dev/null +++ b/abstra_statics/dist/assets/DeleteOutlined.618a8e2f.js @@ -0,0 +1,2 @@ +import{b as l,ee as u,eO as a}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d8e8f09-0f7e-4739-aff3-f474dfd7cdd6",e._sentryDebugIdIdentifier="sentry-dbid-5d8e8f09-0f7e-4739-aff3-f474dfd7cdd6")}catch{}})();function i(e){for(var t=1;t{var a;return s(),f(n(y),{class:"docs-button",href:`https://docs.abstra.io/${(a=e.path)!=null?a:""}`,target:"_blank",type:"text",size:"small"},{icon:o(()=>[l(n(c))]),default:o(()=>[e.$slots.default?u(e.$slots,"default",{key:0}):(s(),i(b,{key:1},[p("Docs")],64))]),_:3},8,["href"])}}});export{g as _}; -//# sourceMappingURL=DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js.map diff --git a/abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js b/abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js new file mode 100644 index 0000000000..4c3628c32c --- /dev/null +++ b/abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js @@ -0,0 +1,2 @@ +import{B as d}from"./BookOutlined.789cce39.js";import{d as f,o as a,c,w as o,b as l,u as n,Z as u,X as i,aF as p,aR as b,bP as y}from"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d47f6e76-8d2c-48f6-915e-6bfe55d4a75c",t._sentryDebugIdIdentifier="sentry-dbid-d47f6e76-8d2c-48f6-915e-6bfe55d4a75c")}catch{}})();const g=f({__name:"DocsButton",props:{path:{}},setup(t){return(e,r)=>{var s;return a(),c(n(y),{class:"docs-button",href:`https://docs.abstra.io/${(s=e.path)!=null?s:""}`,target:"_blank",type:"text",size:"small"},{icon:o(()=>[l(n(d))]),default:o(()=>[e.$slots.default?u(e.$slots,"default",{key:0}):(a(),i(b,{key:1},[p("Docs")],64))]),_:3},8,["href"])}}});export{g as _}; +//# sourceMappingURL=DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js.map diff --git a/abstra_statics/dist/assets/EditorLogin.c4b4f37d.js b/abstra_statics/dist/assets/EditorLogin.2d3ab2ca.js similarity index 67% rename from abstra_statics/dist/assets/EditorLogin.c4b4f37d.js rename to abstra_statics/dist/assets/EditorLogin.2d3ab2ca.js index d2192d311f..35cf082d28 100644 --- a/abstra_statics/dist/assets/EditorLogin.c4b4f37d.js +++ b/abstra_statics/dist/assets/EditorLogin.2d3ab2ca.js @@ -1,2 +1,2 @@ -import{N as Z}from"./Navbar.ccb4b57b.js";import{a as A}from"./asyncComputed.c677c545.js";import{m as H}from"./url.b6644346.js";import{d as X,f as y,e as k,ea as $,o as r,X as h,b as c,a as ee,u as a,c as s,w as i,bx as C,aF as u,e9 as p,eV as l,d9 as ae,aA as K,cP as f,cQ as m,aR as R,eb as V,R as z,cv as g,bH as D,eg as te,bP as ne,cu as oe,$ as ie}from"./vue-router.33f35a18.js";import{A as re}from"./apiKey.c5bb4529.js";import"./gateway.a5388860.js";import{O as T}from"./organization.efcc2606.js";import{P as B}from"./project.0040997f.js";import"./tables.8d6766f6.js";import"./PhChats.vue.b6dd7b5a.js";import"./PhSignOut.vue.b806976f.js";import"./router.cbdfe37b.js";import"./index.241ee38a.js";import"./Avatar.dcb46dd7.js";import"./index.6db53852.js";import"./index.8f5819bb.js";import"./BookOutlined.767e0e7a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_=new Error().stack;_&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[_]="1914ceb6-ebfe-4aed-8820-5873da77721a",d._sentryDebugIdIdentifier="sentry-dbid-1914ceb6-ebfe-4aed-8820-5873da77721a")}catch{}})();const le={class:"container"},se={class:"content"},N="NEW_ORGANIZATION_KEY",I="NEW_PROJECT_KEY",ce=X({__name:"EditorLogin",setup(d){const{result:_,loading:E}=A(()=>T.list()),{result:F,loading:j,refetch:L}=A(async()=>{const t=e.value;return t.type!=="selected-organization"?[]:B.list(t.organizationId)}),x=y(()=>{var t,n;return(n=(t=_.value)==null?void 0:t.map(o=>({key:o.id,label:o.name})))!=null?n:[]}),O=y(()=>{var t,n;return(n=(t=F.value)==null?void 0:t.map(o=>({key:o.id,label:o.name})))!=null?n:[]}),U=y(()=>e.value.type==="initial"?!0:e.value.type==="new-organization"?!e.value.organizationName||!e.value.project.projectName:e.value.type==="selected-organization"&&e.value.project.type==="new"?!e.value.project.projectName:e.value.type==="selected-organization"&&e.value.project.type==="initial"),W=async t=>await T.create(t.name),P=async(t,n)=>await B.create({organizationId:n,name:t.name}),b=async t=>await re.create({projectId:t,name:"default"}),e=k({type:"initial"}),Y=y(()=>{if(e.value.type!=="initial")return e.value.type==="new-organization"?N:e.value.organizationId}),G=y(()=>e.value.type==="selected-organization"&&e.value.project.type==="new"?I:e.value.type==="selected-organization"&&e.value.project.type==="selected"?e.value.project.projectId:void 0);function M(t){t||(e.value={type:"initial"}),t===N?e.value={type:"new-organization",organizationName:"",project:{type:"new",projectName:""}}:(e.value={type:"selected-organization",organizationId:String(t),project:{type:"initial"}},L())}function q(t){e.value.type==="selected-organization"&&(t||(e.value={type:"selected-organization",organizationId:e.value.organizationId,project:{type:"initial"}}),t===I?e.value={type:"selected-organization",organizationId:e.value.organizationId,project:{type:"new",projectName:""}}:e.value={type:"selected-organization",organizationId:e.value.organizationId,project:{type:"selected",projectId:String(t)}})}const v=k(!1);async function J(){if(!v.value){v.value=!0;try{if(e.value.type==="initial")return;if(e.value.type==="new-organization"){const t=await W({name:e.value.organizationName}),n=await P({name:e.value.project.projectName},t.id),o=await b(n.id);o.value&&w(o.value)}if(e.value.type==="selected-organization"&&e.value.project.type==="new"){const t=await P({name:e.value.project.projectName},e.value.organizationId),n=await b(t.id);n.value&&w(n.value)}if(e.value.type==="selected-organization"&&e.value.project.type==="selected"){const t=await b(e.value.project.projectId);t.value&&w(t.value)}}finally{v.value=!1}}}const S=$(),Q=k(null);async function w(t){if(S.query.redirect){const n=S.query.redirect;if(!n.match(/http:\/\/localhost:\d+/))throw new Error("Invalid redirect");const o=decodeURIComponent(n);location.href=H(o,{"api-key":t})}else Q.value=t}return(t,n)=>(r(),h("div",le,[c(Z),ee("div",se,[a(E)||!a(_)?(r(),s(a(C),{key:0})):(r(),s(a(oe),{key:1,layout:"vertical",class:"card"},{default:i(()=>[c(a(ae),{level:3,style:{padding:"0px",margin:"0px","margin-bottom":"30px"}},{default:i(()=>[u(p(a(l).translate("i18n_create_or_choose_project")),1)]),_:1}),c(a(g),{label:a(l).translate("i18n_get_api_key_organization")},{default:i(()=>[c(a(K),{style:{width:"100%"},placeholder:a(l).translate("i18n_get_api_key_choose_organization"),size:"large",value:Y.value,"onUpdate:value":M},{default:i(()=>[c(a(f),{label:a(l).translate("i18n_get_api_key_new_organization")},{default:i(()=>[(r(),s(a(m),{key:N},{default:i(()=>[u(p(a(l).translate("i18n_get_api_key_create_new_organization")),1)]),_:1}))]),_:1},8,["label"]),x.value.length>0?(r(),s(a(f),{key:0,label:a(l).translate("i18n_get_api_key_existing_organizations")},{default:i(()=>[(r(!0),h(R,null,V(x.value,o=>(r(),s(a(m),{key:o.key},{default:i(()=>[u(p(o.label),1)]),_:2},1024))),128))]),_:1},8,["label"])):z("",!0)]),_:1},8,["placeholder","value"])]),_:1},8,["label"]),e.value.type=="new-organization"?(r(),s(a(g),{key:0,label:a(l).translate("i18n_get_api_key_organization_name")},{default:i(()=>[c(a(D),{value:e.value.organizationName,"onUpdate:value":n[0]||(n[0]=o=>e.value.organizationName=o),placeholder:a(l).translate("i18n_get_api_key_choose_organization_name"),size:"large"},null,8,["value","placeholder"])]),_:1},8,["label"])):(r(),s(a(g),{key:1,label:a(l).translate("i18n_get_api_key_project")},{default:i(()=>[c(a(K),{style:{width:"100%"},disabled:e.value.type!="selected-organization",placeholder:a(l).translate("i18n_get_api_key_choose_project"),size:"large",value:G.value,"onUpdate:value":q},te({default:i(()=>[a(j)?z("",!0):(r(),s(a(f),{key:0,label:a(l).translate("i18n_get_api_key_new_project")},{default:i(()=>[(r(),s(a(m),{key:I},{default:i(()=>[u(p(a(l).translate("i18n_get_api_key_create_new_project")),1)]),_:1}))]),_:1},8,["label"])),O.value.length>0&&!a(j)?(r(),s(a(f),{key:1,label:a(l).translate("i18n_get_api_key_existing_projects")},{default:i(()=>[(r(!0),h(R,null,V(O.value,o=>(r(),s(a(m),{key:o.key},{default:i(()=>[u(p(o.label),1)]),_:2},1024))),128))]),_:1},8,["label"])):z("",!0)]),_:2},[a(j)?{name:"notFoundContent",fn:i(()=>[c(a(C),{size:"small"})]),key:"0"}:void 0]),1032,["disabled","placeholder","value"])]),_:1},8,["label"])),(e.value.type=="new-organization"||e.value.type=="selected-organization")&&e.value.project.type=="new"?(r(),s(a(g),{key:2,label:"Project name"},{default:i(()=>[c(a(D),{value:e.value.project.projectName,"onUpdate:value":n[1]||(n[1]=o=>e.value.project.projectName=o),placeholder:a(l).translate("i18n_get_api_key_choose_project_name"),size:"large"},null,8,["value","placeholder"])]),_:1})):z("",!0),c(a(g),{style:{"margin-top":"40px"}},{default:i(()=>[c(a(ne),{type:"primary",disabled:U.value,loading:v.value,style:{width:"100%"},onClick:J},{default:i(()=>[u(p(a(l).translate("i18n_login_with_this_project")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:1}))])]))}});const Pe=ie(ce,[["__scopeId","data-v-11f078da"]]);export{Pe as default}; -//# sourceMappingURL=EditorLogin.c4b4f37d.js.map +import{N as Z}from"./Navbar.b51dae48.js";import{a as A}from"./asyncComputed.3916dfed.js";import{m as H}from"./url.1a1c4e74.js";import{d as X,f as y,e as k,ea as $,o as r,X as h,b as u,a as ee,u as a,c as s,w as i,bx as C,aF as c,e9 as p,eV as l,d9 as ae,aA as K,cP as f,cQ as m,aR as R,eb as V,R as z,cv as g,bH as D,eg as te,bP as ne,cu as oe,$ as ie}from"./vue-router.324eaed2.js";import{A as re}from"./apiKey.084f4c6e.js";import"./gateway.edd4374b.js";import{O as T}from"./organization.0ae7dfed.js";import{P as B}from"./project.a5f62f99.js";import"./tables.842b993f.js";import"./PhChats.vue.42699894.js";import"./PhSignOut.vue.d965d159.js";import"./router.0c18ec5d.js";import"./index.7d758831.js";import"./Avatar.4c029798.js";import"./index.51467614.js";import"./index.ea51f4a9.js";import"./BookOutlined.789cce39.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_=new Error().stack;_&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[_]="30a4e46e-33bb-4328-a809-4717b59b71e0",d._sentryDebugIdIdentifier="sentry-dbid-30a4e46e-33bb-4328-a809-4717b59b71e0")}catch{}})();const le={class:"container"},se={class:"content"},N="NEW_ORGANIZATION_KEY",I="NEW_PROJECT_KEY",ue=X({__name:"EditorLogin",setup(d){const{result:_,loading:E}=A(()=>T.list()),{result:F,loading:j,refetch:L}=A(async()=>{const t=e.value;return t.type!=="selected-organization"?[]:B.list(t.organizationId)}),x=y(()=>{var t,n;return(n=(t=_.value)==null?void 0:t.map(o=>({key:o.id,label:o.name})))!=null?n:[]}),O=y(()=>{var t,n;return(n=(t=F.value)==null?void 0:t.map(o=>({key:o.id,label:o.name})))!=null?n:[]}),U=y(()=>e.value.type==="initial"?!0:e.value.type==="new-organization"?!e.value.organizationName||!e.value.project.projectName:e.value.type==="selected-organization"&&e.value.project.type==="new"?!e.value.project.projectName:e.value.type==="selected-organization"&&e.value.project.type==="initial"),W=async t=>await T.create(t.name),P=async(t,n)=>await B.create({organizationId:n,name:t.name}),b=async t=>await re.create({projectId:t,name:"default"}),e=k({type:"initial"}),Y=y(()=>{if(e.value.type!=="initial")return e.value.type==="new-organization"?N:e.value.organizationId}),G=y(()=>e.value.type==="selected-organization"&&e.value.project.type==="new"?I:e.value.type==="selected-organization"&&e.value.project.type==="selected"?e.value.project.projectId:void 0);function M(t){t||(e.value={type:"initial"}),t===N?e.value={type:"new-organization",organizationName:"",project:{type:"new",projectName:""}}:(e.value={type:"selected-organization",organizationId:String(t),project:{type:"initial"}},L())}function q(t){e.value.type==="selected-organization"&&(t||(e.value={type:"selected-organization",organizationId:e.value.organizationId,project:{type:"initial"}}),t===I?e.value={type:"selected-organization",organizationId:e.value.organizationId,project:{type:"new",projectName:""}}:e.value={type:"selected-organization",organizationId:e.value.organizationId,project:{type:"selected",projectId:String(t)}})}const v=k(!1);async function J(){if(!v.value){v.value=!0;try{if(e.value.type==="initial")return;if(e.value.type==="new-organization"){const t=await W({name:e.value.organizationName}),n=await P({name:e.value.project.projectName},t.id),o=await b(n.id);o.value&&w(o.value)}if(e.value.type==="selected-organization"&&e.value.project.type==="new"){const t=await P({name:e.value.project.projectName},e.value.organizationId),n=await b(t.id);n.value&&w(n.value)}if(e.value.type==="selected-organization"&&e.value.project.type==="selected"){const t=await b(e.value.project.projectId);t.value&&w(t.value)}}finally{v.value=!1}}}const S=$(),Q=k(null);async function w(t){if(S.query.redirect){const n=S.query.redirect;if(!n.match(/http:\/\/localhost:\d+/))throw new Error("Invalid redirect");const o=decodeURIComponent(n);location.href=H(o,{"api-key":t})}else Q.value=t}return(t,n)=>(r(),h("div",le,[u(Z),ee("div",se,[a(E)||!a(_)?(r(),s(a(C),{key:0})):(r(),s(a(oe),{key:1,layout:"vertical",class:"card"},{default:i(()=>[u(a(ae),{level:3,style:{padding:"0px",margin:"0px","margin-bottom":"30px"}},{default:i(()=>[c(p(a(l).translate("i18n_create_or_choose_project")),1)]),_:1}),u(a(g),{label:a(l).translate("i18n_get_api_key_organization")},{default:i(()=>[u(a(K),{style:{width:"100%"},placeholder:a(l).translate("i18n_get_api_key_choose_organization"),size:"large",value:Y.value,"onUpdate:value":M},{default:i(()=>[u(a(f),{label:a(l).translate("i18n_get_api_key_new_organization")},{default:i(()=>[(r(),s(a(m),{key:N},{default:i(()=>[c(p(a(l).translate("i18n_get_api_key_create_new_organization")),1)]),_:1}))]),_:1},8,["label"]),x.value.length>0?(r(),s(a(f),{key:0,label:a(l).translate("i18n_get_api_key_existing_organizations")},{default:i(()=>[(r(!0),h(R,null,V(x.value,o=>(r(),s(a(m),{key:o.key},{default:i(()=>[c(p(o.label),1)]),_:2},1024))),128))]),_:1},8,["label"])):z("",!0)]),_:1},8,["placeholder","value"])]),_:1},8,["label"]),e.value.type=="new-organization"?(r(),s(a(g),{key:0,label:a(l).translate("i18n_get_api_key_organization_name")},{default:i(()=>[u(a(D),{value:e.value.organizationName,"onUpdate:value":n[0]||(n[0]=o=>e.value.organizationName=o),placeholder:a(l).translate("i18n_get_api_key_choose_organization_name"),size:"large"},null,8,["value","placeholder"])]),_:1},8,["label"])):(r(),s(a(g),{key:1,label:a(l).translate("i18n_get_api_key_project")},{default:i(()=>[u(a(K),{style:{width:"100%"},disabled:e.value.type!="selected-organization",placeholder:a(l).translate("i18n_get_api_key_choose_project"),size:"large",value:G.value,"onUpdate:value":q},te({default:i(()=>[a(j)?z("",!0):(r(),s(a(f),{key:0,label:a(l).translate("i18n_get_api_key_new_project")},{default:i(()=>[(r(),s(a(m),{key:I},{default:i(()=>[c(p(a(l).translate("i18n_get_api_key_create_new_project")),1)]),_:1}))]),_:1},8,["label"])),O.value.length>0&&!a(j)?(r(),s(a(f),{key:1,label:a(l).translate("i18n_get_api_key_existing_projects")},{default:i(()=>[(r(!0),h(R,null,V(O.value,o=>(r(),s(a(m),{key:o.key},{default:i(()=>[c(p(o.label),1)]),_:2},1024))),128))]),_:1},8,["label"])):z("",!0)]),_:2},[a(j)?{name:"notFoundContent",fn:i(()=>[u(a(C),{size:"small"})]),key:"0"}:void 0]),1032,["disabled","placeholder","value"])]),_:1},8,["label"])),(e.value.type=="new-organization"||e.value.type=="selected-organization")&&e.value.project.type=="new"?(r(),s(a(g),{key:2,label:"Project name"},{default:i(()=>[u(a(D),{value:e.value.project.projectName,"onUpdate:value":n[1]||(n[1]=o=>e.value.project.projectName=o),placeholder:a(l).translate("i18n_get_api_key_choose_project_name"),size:"large"},null,8,["value","placeholder"])]),_:1})):z("",!0),u(a(g),{style:{"margin-top":"40px"}},{default:i(()=>[u(a(ne),{type:"primary",disabled:U.value,loading:v.value,style:{width:"100%"},onClick:J},{default:i(()=>[c(p(a(l).translate("i18n_login_with_this_project")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:1}))])]))}});const Pe=ie(ue,[["__scopeId","data-v-11f078da"]]);export{Pe as default}; +//# sourceMappingURL=EditorLogin.2d3ab2ca.js.map diff --git a/abstra_statics/dist/assets/Editors.4b67db49.js b/abstra_statics/dist/assets/Editors.4b67db49.js deleted file mode 100644 index 8a0e5d8d96..0000000000 --- a/abstra_statics/dist/assets/Editors.4b67db49.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as b}from"./CrudView.3c2a3663.js";import{a as c}from"./ant-design.51753590.js";import{a as g}from"./asyncComputed.c677c545.js";import{d as w,ea as _,eo as h,f as I,o as k,c as v,u as x,ep as z}from"./vue-router.33f35a18.js";import{a as C}from"./gateway.a5388860.js";import{M as n}from"./member.65b6f588.js";import"./tables.8d6766f6.js";import"./router.cbdfe37b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="79cf2514-23df-4e36-b042-dbeadd0177bd",o._sentryDebugIdIdentifier="sentry-dbid-79cf2514-23df-4e36-b042-dbeadd0177bd")}catch{}})();const P=w({__name:"Editors",setup(o){const a=_(),s=h(),r=a.params.organizationId,m=[{key:"email",label:"Email"}],l=async e=>{await n.create(r,e.email),d()};async function u(e){var t;if(((t=C.getAuthor())==null?void 0:t.claims.email)===e.email&&await c("You are about to remove your own access. You won't be able to access this organization anymore. Are you sure?")){await n.delete(r,e.authorId),await s.push({name:"organizations"});return}await c("Are you sure you want to remove this member's access?")&&(await n.delete(r,e.authorId),d())}const{loading:f,result:p,refetch:d}=g(()=>n.list(r)),y=I(()=>{var e,i;return{columns:[{name:"Email",align:"left"},{name:"Role"},{name:"",align:"right"}],rows:(i=(e=p.value)==null?void 0:e.map(t=>({key:t.email,cells:[{type:"text",text:t.email},{type:"text",text:t.role},{type:"actions",actions:[{icon:z,label:"Remove access",onClick:()=>u(t),dangerous:!0}]}]})))!=null?i:[]}});return(e,i)=>(k(),v(b,{"entity-name":"editors",loading:x(f),title:"Organization editors",description:"List all organization editors.","empty-title":"No editors yet",table:y.value,"create-button-text":"Add editors",fields:m,create:l},null,8,["loading","table"]))}});export{P as default}; -//# sourceMappingURL=Editors.4b67db49.js.map diff --git a/abstra_statics/dist/assets/Editors.8a53904a.js b/abstra_statics/dist/assets/Editors.8a53904a.js new file mode 100644 index 0000000000..0513e36b13 --- /dev/null +++ b/abstra_statics/dist/assets/Editors.8a53904a.js @@ -0,0 +1,2 @@ +import{C as g}from"./CrudView.0b1b90a7.js";import{a as d}from"./ant-design.48401d91.js";import{a as b}from"./asyncComputed.3916dfed.js";import{d as w,ea as _,eo as h,f as I,o as k,c as v,u as x,ep as z}from"./vue-router.324eaed2.js";import{a as C}from"./gateway.edd4374b.js";import{M as n}from"./member.972d243d.js";import"./tables.842b993f.js";import"./router.0c18ec5d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="c2ebc4af-c9d2-4a2d-ac73-4a4517ce15db",o._sentryDebugIdIdentifier="sentry-dbid-c2ebc4af-c9d2-4a2d-ac73-4a4517ce15db")}catch{}})();const P=w({__name:"Editors",setup(o){const a=_(),s=h(),r=a.params.organizationId,m=[{key:"email",label:"Email"}],l=async e=>{await n.create(r,e.email),c()};async function u(e){var t;if(((t=C.getAuthor())==null?void 0:t.claims.email)===e.email&&await d("You are about to remove your own access. You won't be able to access this organization anymore. Are you sure?")){await n.delete(r,e.authorId),await s.push({name:"organizations"});return}await d("Are you sure you want to remove this member's access?")&&(await n.delete(r,e.authorId),c())}const{loading:p,result:f,refetch:c}=b(()=>n.list(r)),y=I(()=>{var e,i;return{columns:[{name:"Email",align:"left"},{name:"Role"},{name:"",align:"right"}],rows:(i=(e=f.value)==null?void 0:e.map(t=>({key:t.email,cells:[{type:"text",text:t.email},{type:"text",text:t.role},{type:"actions",actions:[{icon:z,label:"Remove access",onClick:()=>u(t),dangerous:!0}]}]})))!=null?i:[]}});return(e,i)=>(k(),v(g,{"entity-name":"editors",loading:x(p),title:"Organization editors",description:"List all organization editors.","empty-title":"No editors yet",table:y.value,"create-button-text":"Add editors",fields:m,create:l},null,8,["loading","table"]))}});export{P as default}; +//# sourceMappingURL=Editors.8a53904a.js.map diff --git a/abstra_statics/dist/assets/EnvVars.20bbef6f.js b/abstra_statics/dist/assets/EnvVars.20bbef6f.js deleted file mode 100644 index 75a813cea8..0000000000 --- a/abstra_statics/dist/assets/EnvVars.20bbef6f.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as n,C as p}from"./View.vue_vue_type_script_setup_true_lang.bbce7f6a.js";import{d as i,ea as s,o as a,c as f,u as m}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import"./popupNotifcation.7fc1aee0.js";import"./fetch.3971ea84.js";import"./record.075b7d45.js";import"./SaveButton.dae129ff.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./CrudView.3c2a3663.js";import"./router.cbdfe37b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./asyncComputed.c677c545.js";import"./polling.3587342a.js";import"./PhPencil.vue.2def7849.js";import"./index.f014adef.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="c1f9e0fa-09f3-4a79-a9df-a329fc30f450",o._sentryDebugIdIdentifier="sentry-dbid-c1f9e0fa-09f3-4a79-a9df-a329fc30f450")}catch{}})();const z=i({__name:"EnvVars",setup(o){const e=s().params.projectId,t=new p(e);return(c,d)=>(a(),f(n,{"env-var-repository":m(t),mode:"console"},null,8,["env-var-repository"]))}});export{z as default}; -//# sourceMappingURL=EnvVars.20bbef6f.js.map diff --git a/abstra_statics/dist/assets/EnvVars.f9b39c83.js b/abstra_statics/dist/assets/EnvVars.f9b39c83.js new file mode 100644 index 0000000000..dba9fc5443 --- /dev/null +++ b/abstra_statics/dist/assets/EnvVars.f9b39c83.js @@ -0,0 +1,2 @@ +import{_ as n,C as p}from"./View.vue_vue_type_script_setup_true_lang.4883471d.js";import{d as i,ea as s,o as a,c as m,u as c}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import"./popupNotifcation.5a82bc93.js";import"./fetch.42a41b34.js";import"./record.cff1707c.js";import"./SaveButton.17e88f21.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./CrudView.0b1b90a7.js";import"./router.0c18ec5d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./asyncComputed.3916dfed.js";import"./polling.72e5a2f8.js";import"./PhPencil.vue.91f72c2e.js";import"./index.0887bacc.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="e755c531-2b3a-448b-b777-9b8a6c00695d",o._sentryDebugIdIdentifier="sentry-dbid-e755c531-2b3a-448b-b777-9b8a6c00695d")}catch{}})();const z=i({__name:"EnvVars",setup(o){const e=s().params.projectId,t=new p(e);return(d,u)=>(a(),m(n,{"env-var-repository":c(t),mode:"console"},null,8,["env-var-repository"]))}});export{z as default}; +//# sourceMappingURL=EnvVars.f9b39c83.js.map diff --git a/abstra_statics/dist/assets/EnvVarsEditor.bff58a68.js b/abstra_statics/dist/assets/EnvVarsEditor.bff58a68.js deleted file mode 100644 index 801b8fc379..0000000000 --- a/abstra_statics/dist/assets/EnvVarsEditor.bff58a68.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as i,o as p,c as n,w as m,b as a,u as t}from"./vue-router.33f35a18.js";import"./editor.c70395a0.js";import{W as s}from"./workspaces.91ed8c72.js";import{C as d}from"./ContentLayout.d691ad7a.js";import{_ as f,E as c}from"./View.vue_vue_type_script_setup_true_lang.bbce7f6a.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./asyncComputed.c677c545.js";import"./record.075b7d45.js";import"./gateway.a5388860.js";import"./popupNotifcation.7fc1aee0.js";import"./fetch.3971ea84.js";import"./SaveButton.dae129ff.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./CrudView.3c2a3663.js";import"./router.cbdfe37b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./polling.3587342a.js";import"./PhPencil.vue.2def7849.js";import"./index.f014adef.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="dbc24490-f3c7-4da1-94fc-084da575e795",o._sentryDebugIdIdentifier="sentry-dbid-dbc24490-f3c7-4da1-94fc-084da575e795")}catch{}})();const F=i({__name:"EnvVarsEditor",setup(o){const r=new c;return(e,u)=>(p(),n(d,null,{default:m(()=>[a(f,{"env-var-repository":t(r),mode:"editor","file-opener":t(s)},null,8,["env-var-repository","file-opener"])]),_:1}))}});export{F as default}; -//# sourceMappingURL=EnvVarsEditor.bff58a68.js.map diff --git a/abstra_statics/dist/assets/EnvVarsEditor.c191ac4a.js b/abstra_statics/dist/assets/EnvVarsEditor.c191ac4a.js new file mode 100644 index 0000000000..e45badd249 --- /dev/null +++ b/abstra_statics/dist/assets/EnvVarsEditor.c191ac4a.js @@ -0,0 +1,2 @@ +import{d as i,o as p,c as n,w as m,b as a,u as t}from"./vue-router.324eaed2.js";import"./editor.1b3b164b.js";import{W as s}from"./workspaces.a34621fe.js";import{C as d}from"./ContentLayout.5465dc16.js";import{_ as f,E as u}from"./View.vue_vue_type_script_setup_true_lang.4883471d.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./asyncComputed.3916dfed.js";import"./record.cff1707c.js";import"./gateway.edd4374b.js";import"./popupNotifcation.5a82bc93.js";import"./fetch.42a41b34.js";import"./SaveButton.17e88f21.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./CrudView.0b1b90a7.js";import"./router.0c18ec5d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./polling.72e5a2f8.js";import"./PhPencil.vue.91f72c2e.js";import"./index.0887bacc.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="61ad7b21-b620-4417-9327-67fe8e17a6d2",o._sentryDebugIdIdentifier="sentry-dbid-61ad7b21-b620-4417-9327-67fe8e17a6d2")}catch{}})();const F=i({__name:"EnvVarsEditor",setup(o){const r=new u;return(e,c)=>(p(),n(d,null,{default:m(()=>[a(f,{"env-var-repository":t(r),mode:"editor","file-opener":t(s)},null,8,["env-var-repository","file-opener"])]),_:1}))}});export{F as default}; +//# sourceMappingURL=EnvVarsEditor.c191ac4a.js.map diff --git a/abstra_statics/dist/assets/Error.00fd5d28.js b/abstra_statics/dist/assets/Error.b5ae2aeb.js similarity index 79% rename from abstra_statics/dist/assets/Error.00fd5d28.js rename to abstra_statics/dist/assets/Error.b5ae2aeb.js index ba746055fc..cf56bc1cd2 100644 --- a/abstra_statics/dist/assets/Error.00fd5d28.js +++ b/abstra_statics/dist/assets/Error.b5ae2aeb.js @@ -1,2 +1,2 @@ -import{_ as k}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import{d as v,ea as A,eo as x,f as w,o as i,X as I,b as c,w as a,u as e,c as f,R as p,aF as s,e9 as l,d9 as C,d5 as m,bP as N,a as B,d6 as D,eV as o,$ as T}from"./vue-router.33f35a18.js";import{u as V}from"./workspaceStore.be837912.js";import{C as E}from"./Card.639eca4a.js";import"./Logo.389f375b.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./TabPane.1080fde7.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new H().stack;d&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[d]="ef6db44e-71cf-439a-a91b-00a678f14d1e",r._sentryDebugIdIdentifier="sentry-dbid-ef6db44e-71cf-439a-a91b-00a678f14d1e")}catch{}})();const R={class:"inner-content"},S={class:"card-content"},$=v({__name:"Error",setup(r){const d=A(),g=x(),u=V(),b=w(()=>{var t,_,y;return(y=(t=u.state.workspace)==null?void 0:t.name)!=null?y:(_=u.state.workspace)==null?void 0:_.brandName}),n=w(()=>{const{status:t}=d.params;switch(t){case"404":return{status:t,title:o.translate("i18n_page_not_found"),message:o.translate("i18n_page_not_found_message"),showAd:!1};case"403":return{status:t,title:o.translate("i18n_access_denied"),message:o.translate("i18n_access_denied_message"),action:"Go back to home",showAd:!0};default:return{status:"500",title:o.translate("i18n_internal_error"),message:o.translate("i18n_internal_error_message"),showAd:!1}}}),h=()=>{g.push({name:"playerHome"})};return(t,_)=>(i(),I("div",R,[c(e(C),null,{default:a(()=>[s(l(n.value.title),1)]),_:1}),c(e(m),{class:"message"},{default:a(()=>[s(l(n.value.message),1)]),_:1}),n.value.action?(i(),f(e(N),{key:0,type:"link",onClick:h},{default:a(()=>[s(l(n.value.action),1)]),_:1})):p("",!0),n.value.showAd?(i(),f(e(E),{key:1,bordered:!1,class:"card"},{default:a(()=>[B("div",S,[c(k,{style:{"margin-bottom":"10px"}}),c(e(m),null,{default:a(()=>[s("This page is part of "+l(b.value?`the ${b.value}`:"a")+" workflow, built with Abstra.",1)]),_:1}),e(u).state.workspace?(i(),f(e(m),{key:0},{default:a(()=>[s("Automate your own processes by getting started "),c(e(D),{href:"https://abstra.io"},{default:a(()=>[s("here")]),_:1}),s(".")]),_:1})):p("",!0)])]),_:1})):p("",!0)]))}});const H=T($,[["__scopeId","data-v-f16a0b67"]]);export{H as default}; -//# sourceMappingURL=Error.00fd5d28.js.map +import{_ as k}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import{d as v,ea as A,eo as x,f as w,o as i,X as I,b as c,w as a,u as e,c as f,R as p,aF as s,e9 as l,d9 as C,d5 as m,bP as N,a as B,d6 as D,eV as o,$ as T}from"./vue-router.324eaed2.js";import{u as V}from"./workspaceStore.5977d9e8.js";import{C as E}from"./Card.1902bdb7.js";import"./Logo.bfb8cf31.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./TabPane.caed57de.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new H().stack;d&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[d]="423a4e18-dc27-40eb-8acf-1eefd9a3b48a",r._sentryDebugIdIdentifier="sentry-dbid-423a4e18-dc27-40eb-8acf-1eefd9a3b48a")}catch{}})();const R={class:"inner-content"},S={class:"card-content"},$=v({__name:"Error",setup(r){const d=A(),g=x(),u=V(),b=w(()=>{var t,_,y;return(y=(t=u.state.workspace)==null?void 0:t.name)!=null?y:(_=u.state.workspace)==null?void 0:_.brandName}),n=w(()=>{const{status:t}=d.params;switch(t){case"404":return{status:t,title:o.translate("i18n_page_not_found"),message:o.translate("i18n_page_not_found_message"),showAd:!1};case"403":return{status:t,title:o.translate("i18n_access_denied"),message:o.translate("i18n_access_denied_message"),action:"Go back to home",showAd:!0};default:return{status:"500",title:o.translate("i18n_internal_error"),message:o.translate("i18n_internal_error_message"),showAd:!1}}}),h=()=>{g.push({name:"playerHome"})};return(t,_)=>(i(),I("div",R,[c(e(C),null,{default:a(()=>[s(l(n.value.title),1)]),_:1}),c(e(m),{class:"message"},{default:a(()=>[s(l(n.value.message),1)]),_:1}),n.value.action?(i(),f(e(N),{key:0,type:"link",onClick:h},{default:a(()=>[s(l(n.value.action),1)]),_:1})):p("",!0),n.value.showAd?(i(),f(e(E),{key:1,bordered:!1,class:"card"},{default:a(()=>[B("div",S,[c(k,{style:{"margin-bottom":"10px"}}),c(e(m),null,{default:a(()=>[s("This page is part of "+l(b.value?`the ${b.value}`:"a")+" workflow, built with Abstra.",1)]),_:1}),e(u).state.workspace?(i(),f(e(m),{key:0},{default:a(()=>[s("Automate your own processes by getting started "),c(e(D),{href:"https://abstra.io"},{default:a(()=>[s("here")]),_:1}),s(".")]),_:1})):p("",!0)])]),_:1})):p("",!0)]))}});const H=T($,[["__scopeId","data-v-f16a0b67"]]);export{H as default}; +//# sourceMappingURL=Error.b5ae2aeb.js.map diff --git a/abstra_statics/dist/assets/ExclamationCircleOutlined.6541b8d4.js b/abstra_statics/dist/assets/ExclamationCircleOutlined.6541b8d4.js new file mode 100644 index 0000000000..036f1d7e03 --- /dev/null +++ b/abstra_statics/dist/assets/ExclamationCircleOutlined.6541b8d4.js @@ -0,0 +1,2 @@ +import{b as l,ee as f,eD as o}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4dfa4f82-ffc7-4cc1-a23d-dc4183117635",e._sentryDebugIdIdentifier="sentry-dbid-4dfa4f82-ffc7-4cc1-a23d-dc4183117635")}catch{}})();function i(e){for(var t=1;tn[i]===void 0&&delete n[i]);const s=await l.get(`projects/${e}/executions`,n);return{executions:s.executions.map(i=>m.from(i)),totalCount:s.totalCount}}async fetchLogs(e,t){const n=await l.get(`projects/${e}/executions/${t}/logs`);return b.from(n)}async fetchThreadData(e,t){return(await l.get(`projects/${e}/executions/${t}/thread-data`)).response}}class b{constructor(e){this.dto=e}static from(e){return new b(e)}get entries(){return this.dto.sort((e,t)=>e.sequence-t.sequence).filter(e=>e.event!=="form-message")}}class m{constructor(e){this.dto=e}static from(e){return new m(e)}get id(){return this.dto.id}get shortId(){return this.dto.id.slice(0,8)}get createdAt(){return new Date(this.dto.createdAt)}get updatedAt(){return new Date(this.dto.updatedAt)}get status(){return this.dto.status}get context(){return this.dto.context}get buildId(){return this.dto.buildId}get stageId(){return this.dto.stageId}get duration_seconds(){return this.status==="running"?"-":`${(this.updatedAt.getTime()-this.createdAt.getTime())/1e3} s`}get stageRunId(){return this.dto.stageRunId}get projectId(){return this.dto.projectId}}const T=j({__name:"ExecutionStatusIcon",props:{status:{}},setup(r){return(e,t)=>e.status==="finished"?(o(),a(c($),{key:0,style:{color:"#33b891"}})):e.status==="failed"?(o(),a(c(k),{key:1,style:{color:"#fa675c"}})):e.status==="abandoned"||e.status==="lock-failed"?(o(),a(c(E),{key:2,style:{color:"#f69220"}})):e.status==="running"?(o(),a(c(P),{key:3})):S("",!0)}});export{L as E,T as _,B as e}; +//# sourceMappingURL=ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.2f7085a2.js.map diff --git a/abstra_statics/dist/assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js b/abstra_statics/dist/assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js deleted file mode 100644 index 3f6ef840da..0000000000 --- a/abstra_statics/dist/assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as l}from"./gateway.a5388860.js";import{b as u,ee as d,f2 as w,f3 as I,d as j,o,c,u as a,R as S}from"./vue-router.33f35a18.js";import{L as P}from"./LoadingOutlined.64419cb9.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="cc9bf590-19c7-4d91-8c31-6abedcd257fe",r._sentryDebugIdIdentifier="sentry-dbid-cc9bf590-19c7-4d91-8c31-6abedcd257fe")}catch{}})();var F={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"};const _=F;function C(r){for(var e=1;en[i]===void 0&&delete n[i]);const s=await l.get(`projects/${e}/executions`,n);return{executions:s.executions.map(i=>b.from(i)),totalCount:s.totalCount}}async fetchLogs(e,t){const n=await l.get(`projects/${e}/executions/${t}/logs`);return m.from(n)}async fetchThreadData(e,t){return(await l.get(`projects/${e}/executions/${t}/thread-data`)).response}}class m{constructor(e){this.dto=e}static from(e){return new m(e)}get entries(){return this.dto.sort((e,t)=>e.sequence-t.sequence).filter(e=>e.event!=="form-message")}}class b{constructor(e){this.dto=e}static from(e){return new b(e)}get id(){return this.dto.id}get shortId(){return this.dto.id.slice(0,8)}get createdAt(){return new Date(this.dto.createdAt)}get updatedAt(){return new Date(this.dto.updatedAt)}get status(){return this.dto.status}get context(){return this.dto.context}get buildId(){return this.dto.buildId}get stageId(){return this.dto.stageId}get duration_seconds(){return this.status==="running"?"-":`${(this.updatedAt.getTime()-this.createdAt.getTime())/1e3} s`}get stageRunId(){return this.dto.stageRunId}get projectId(){return this.dto.projectId}}const T=j({__name:"ExecutionStatusIcon",props:{status:{}},setup(r){return(e,t)=>e.status==="finished"?(o(),c(a($),{key:0,style:{color:"#33b891"}})):e.status==="failed"?(o(),c(a(k),{key:1,style:{color:"#fa675c"}})):e.status==="abandoned"||e.status==="lock-failed"?(o(),c(a(E),{key:2,style:{color:"#f69220"}})):e.status==="running"?(o(),c(a(P),{key:3})):S("",!0)}});export{L as E,T as _,B as e}; -//# sourceMappingURL=ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js.map diff --git a/abstra_statics/dist/assets/Files.4b7a0c53.js b/abstra_statics/dist/assets/Files.710036f9.js similarity index 90% rename from abstra_statics/dist/assets/Files.4b7a0c53.js rename to abstra_statics/dist/assets/Files.710036f9.js index f36a04a956..a5fe878bfb 100644 --- a/abstra_statics/dist/assets/Files.4b7a0c53.js +++ b/abstra_statics/dist/assets/Files.710036f9.js @@ -1,2 +1,2 @@ -import{_ as q}from"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import{C as W}from"./ContentLayout.d691ad7a.js";import{p as X}from"./popupNotifcation.7fc1aee0.js";import{a as J}from"./ant-design.51753590.js";import{a as Q}from"./asyncComputed.c677c545.js";import{d as R,B as I,f as A,o as d,X as g,Z as T,R as w,e8 as Y,a as f,b as i,ee as L,f6 as K,ea as ee,e as te,c as b,w as s,aF as _,u as o,d9 as ae,d7 as x,bP as $,e9 as M,d0 as ne,bN as oe,by as re,bw as N,d8 as z,ct as le,em as ie,en as se,$ as de}from"./vue-router.33f35a18.js";import{C as k}from"./gateway.a5388860.js";import"./tables.8d6766f6.js";import{D as B}from"./DeleteOutlined.d8e8cfb3.js";import{C as ue}from"./Card.639eca4a.js";import"./BookOutlined.767e0e7a.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./TabPane.1080fde7.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="463605f5-72e6-428b-9200-aaaefda5d2a6",a._sentryDebugIdIdentifier="sentry-dbid-463605f5-72e6-428b-9200-aaaefda5d2a6")}catch{}})();var ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const pe=ce,fe=["width","height","fill","transform"],me={key:0},ye=f("path",{d:"M144,128a16,16,0,1,1-16-16A16,16,0,0,1,144,128ZM60,112a16,16,0,1,0,16,16A16,16,0,0,0,60,112Zm136,0a16,16,0,1,0,16,16A16,16,0,0,0,196,112Z"},null,-1),he=[ye],ge={key:1},ve=f("path",{d:"M240,96v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V96A16,16,0,0,1,32,80H224A16,16,0,0,1,240,96Z",opacity:"0.2"},null,-1),_e=f("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"},null,-1),be=[ve,_e],we={key:2},Ae=f("path",{d:"M224,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V96A16,16,0,0,0,224,80ZM60,140a12,12,0,1,1,12-12A12,12,0,0,1,60,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,196,140Z"},null,-1),Oe=[Ae],ke={key:3},Ce=f("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM60,118a10,10,0,1,0,10,10A10,10,0,0,0,60,118Zm136,0a10,10,0,1,0,10,10A10,10,0,0,0,196,118Z"},null,-1),je=[Ce],Ie={key:4},Ze=f("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"},null,-1),$e=[Ze],Me={key:5},De=f("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-76-8a8,8,0,1,0,8,8A8,8,0,0,0,60,120Zm136,0a8,8,0,1,0,8,8A8,8,0,0,0,196,120Z"},null,-1),Pe=[De],Se={name:"PhDotsThree"},Ue=R({...Se,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,n=I("weight","regular"),r=I("size","1em"),p=I("color","currentColor"),Z=I("mirrored",!1),m=A(()=>{var u;return(u=e.weight)!=null?u:n}),O=A(()=>{var u;return(u=e.size)!=null?u:r}),y=A(()=>{var u;return(u=e.color)!=null?u:p}),C=A(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:Z?"scale(-1, 1)":void 0);return(u,j)=>(d(),g("svg",Y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:O.value,height:O.value,fill:y.value,transform:C.value},u.$attrs),[T(u.$slots,"default"),m.value==="bold"?(d(),g("g",me,he)):m.value==="duotone"?(d(),g("g",ge,be)):m.value==="fill"?(d(),g("g",we,Oe)):m.value==="light"?(d(),g("g",ke,je)):m.value==="regular"?(d(),g("g",Ie,$e)):m.value==="thin"?(d(),g("g",Me,Pe)):w("",!0)],16,fe))}});function V(a){for(var e=1;e(ie("data-v-048030b3"),a=a(),se(),a),Be=ze(()=>f("br",null,null,-1)),Ve={key:0},Ee={key:0,class:"file-size"},He={class:"action-item"},Re={class:"action-item"},Te=R({__name:"Files",setup(a){const n=ee().params.projectId,r=S.fromProjectId(n),{loading:p,result:Z,refetch:m}=Q(()=>r.list());function O(t){var l,c;return{key:t.path,title:t.name,isLeaf:t.type==="file",file:t,children:t.type==="file"?[]:(c=(l=t.children)==null?void 0:l.map(O))!=null?c:[]}}const y=A(()=>{var t;return(t=Z.value)==null?void 0:t.map(O)}),C=t=>{var l,c;return t.isLeaf?1:(c=(l=t.children)==null?void 0:l.reduce((h,v)=>h+C(v),0))!=null?c:0},u=A(()=>y.value?y==null?void 0:y.value.reduce((t,l)=>t+C(l),0):0),j=te(!1);function U(t){if(t&&t.type==="file")return;const l=document.createElement("input");l.type="file",l.onchange=async()=>{var h;const c=(h=l.files)==null?void 0:h[0];if(!!c)try{j.value=!0,await r.upload(c,t==null?void 0:t.path),await m()}catch{X("Failed to upload file","File already exists")}finally{j.value=!1}},l.click()}async function G(t){if(!t)return;const l=await r.download(t.path),c=document.createElement("a");c.href=URL.createObjectURL(l),c.download=t.name,c.click()}async function F(t){if(!t)return;const l="Are you sure you want to delete this "+(t.type==="file"?"file":"directory and all its contents")+"?";await J(l)&&(await r.delete(t.path),await m())}return(t,l)=>(d(),b(W,null,{default:s(()=>[i(o(ae),null,{default:s(()=>[_("Files")]),_:1}),i(o(x),null,{default:s(()=>[_(" Here you can upload, download and delete files in your persistent dir."),Be,_(" Files can be used in your scripts. "),i(q,{path:"cloud/files"}),T(t.$slots,"description",{},void 0,!0)]),_:3}),i(o($),{type:"primary",loading:j.value,onClick:l[0]||(l[0]=c=>U())},{default:s(()=>[i(o(H)),_(" Upload ")]),_:1},8,["loading"]),i(o(ue),{class:"files"},{default:s(()=>[u.value>0?(d(),b(o(x),{key:0},{default:s(()=>[f("b",null,[_(M(u.value)+" file",1),u.value!==1?(d(),g("span",Ve,"s")):w("",!0)])]),_:1})):w("",!0),y.value&&y.value.length>0?(d(),b(o(ne),{key:1,"tree-data":y.value,selectable:!1},{title:s(({title:c,isLeaf:h,file:v})=>[f("span",null,[_(M(c)+" ",1),h?(d(),g("span",Ee,"("+M(v.size)+")",1)):w("",!0)]),h?(d(),b(o($),{key:0,type:"text",size:"small",style:{float:"inline-end"},onClick:()=>G(v)},{default:s(()=>[i(o(xe))]),_:2},1032,["onClick"])):w("",!0),h?(d(),b(o($),{key:1,type:"text",size:"small",style:{float:"inline-end"},onClick:()=>F(v)},{default:s(()=>[i(o(B))]),_:2},1032,["onClick"])):w("",!0),h?w("",!0):(d(),b(o(oe),{key:2},{overlay:s(()=>[i(o(re),{disabled:o(p)},{default:s(()=>[i(o(N),{danger:!1,onClick:()=>U(v)},{default:s(()=>[f("div",He,[i(o(H)),i(o(z),null,{default:s(()=>[_(" Upload ")]),_:1})])]),_:2},1032,["onClick"]),i(o(N),{danger:!1,onClick:()=>F(v)},{default:s(()=>[f("div",Re,[i(o(B)),i(o(z),null,{default:s(()=>[_(" Delete ")]),_:1})])]),_:2},1032,["onClick"])]),_:2},1032,["disabled"])]),default:s(()=>[i(o(Ue),{style:{cursor:"pointer",float:"inline-end"},size:"25px"})]),_:2},1024))]),_:1},8,["tree-data"])):(d(),b(o(le),{key:2,description:o(p)?"Loading...":"No files"},null,8,["description"]))]),_:1})]),_:3}))}});const rt=de(Te,[["__scopeId","data-v-048030b3"]]);export{rt as default}; -//# sourceMappingURL=Files.4b7a0c53.js.map +import{_ as q}from"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import{C as W}from"./ContentLayout.5465dc16.js";import{p as X}from"./popupNotifcation.5a82bc93.js";import{a as J}from"./ant-design.48401d91.js";import{a as Q}from"./asyncComputed.3916dfed.js";import{d as R,B as I,f as A,o as d,X as g,Z as T,R as w,e8 as Y,a as f,b as i,ee as L,f6 as K,ea as ee,e as te,c as b,w as s,aF as _,u as o,d9 as ae,d7 as x,bP as $,e9 as M,d0 as ne,bN as oe,by as re,bw as N,d8 as z,ct as le,em as ie,en as se,$ as de}from"./vue-router.324eaed2.js";import{C as k}from"./gateway.edd4374b.js";import"./tables.842b993f.js";import{D as B}from"./DeleteOutlined.618a8e2f.js";import{C as ue}from"./Card.1902bdb7.js";import"./BookOutlined.789cce39.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./TabPane.caed57de.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="de389a16-552a-4fb9-8f47-6ca42dc2b7b1",a._sentryDebugIdIdentifier="sentry-dbid-de389a16-552a-4fb9-8f47-6ca42dc2b7b1")}catch{}})();var ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const pe=ce,fe=["width","height","fill","transform"],me={key:0},ye=f("path",{d:"M144,128a16,16,0,1,1-16-16A16,16,0,0,1,144,128ZM60,112a16,16,0,1,0,16,16A16,16,0,0,0,60,112Zm136,0a16,16,0,1,0,16,16A16,16,0,0,0,196,112Z"},null,-1),he=[ye],ge={key:1},ve=f("path",{d:"M240,96v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V96A16,16,0,0,1,32,80H224A16,16,0,0,1,240,96Z",opacity:"0.2"},null,-1),_e=f("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"},null,-1),be=[ve,_e],we={key:2},Ae=f("path",{d:"M224,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V96A16,16,0,0,0,224,80ZM60,140a12,12,0,1,1,12-12A12,12,0,0,1,60,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,196,140Z"},null,-1),Oe=[Ae],ke={key:3},Ce=f("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM60,118a10,10,0,1,0,10,10A10,10,0,0,0,60,118Zm136,0a10,10,0,1,0,10,10A10,10,0,0,0,196,118Z"},null,-1),je=[Ce],Ie={key:4},Ze=f("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"},null,-1),$e=[Ze],Me={key:5},De=f("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-76-8a8,8,0,1,0,8,8A8,8,0,0,0,60,120Zm136,0a8,8,0,1,0,8,8A8,8,0,0,0,196,120Z"},null,-1),Pe=[De],Se={name:"PhDotsThree"},Ue=R({...Se,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,n=I("weight","regular"),r=I("size","1em"),p=I("color","currentColor"),Z=I("mirrored",!1),m=A(()=>{var u;return(u=e.weight)!=null?u:n}),O=A(()=>{var u;return(u=e.size)!=null?u:r}),y=A(()=>{var u;return(u=e.color)!=null?u:p}),C=A(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:Z?"scale(-1, 1)":void 0);return(u,j)=>(d(),g("svg",Y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:O.value,height:O.value,fill:y.value,transform:C.value},u.$attrs),[T(u.$slots,"default"),m.value==="bold"?(d(),g("g",me,he)):m.value==="duotone"?(d(),g("g",ge,be)):m.value==="fill"?(d(),g("g",we,Oe)):m.value==="light"?(d(),g("g",ke,je)):m.value==="regular"?(d(),g("g",Ie,$e)):m.value==="thin"?(d(),g("g",Me,Pe)):w("",!0)],16,fe))}});function V(a){for(var e=1;e(ie("data-v-048030b3"),a=a(),se(),a),Be=ze(()=>f("br",null,null,-1)),Ve={key:0},Ee={key:0,class:"file-size"},He={class:"action-item"},Re={class:"action-item"},Te=R({__name:"Files",setup(a){const n=ee().params.projectId,r=S.fromProjectId(n),{loading:p,result:Z,refetch:m}=Q(()=>r.list());function O(t){var l,c;return{key:t.path,title:t.name,isLeaf:t.type==="file",file:t,children:t.type==="file"?[]:(c=(l=t.children)==null?void 0:l.map(O))!=null?c:[]}}const y=A(()=>{var t;return(t=Z.value)==null?void 0:t.map(O)}),C=t=>{var l,c;return t.isLeaf?1:(c=(l=t.children)==null?void 0:l.reduce((h,v)=>h+C(v),0))!=null?c:0},u=A(()=>y.value?y==null?void 0:y.value.reduce((t,l)=>t+C(l),0):0),j=te(!1);function U(t){if(t&&t.type==="file")return;const l=document.createElement("input");l.type="file",l.onchange=async()=>{var h;const c=(h=l.files)==null?void 0:h[0];if(!!c)try{j.value=!0,await r.upload(c,t==null?void 0:t.path),await m()}catch{X("Failed to upload file","File already exists")}finally{j.value=!1}},l.click()}async function G(t){if(!t)return;const l=await r.download(t.path),c=document.createElement("a");c.href=URL.createObjectURL(l),c.download=t.name,c.click()}async function F(t){if(!t)return;const l="Are you sure you want to delete this "+(t.type==="file"?"file":"directory and all its contents")+"?";await J(l)&&(await r.delete(t.path),await m())}return(t,l)=>(d(),b(W,null,{default:s(()=>[i(o(ae),null,{default:s(()=>[_("Files")]),_:1}),i(o(x),null,{default:s(()=>[_(" Here you can upload, download and delete files in your persistent dir."),Be,_(" Files can be used in your scripts. "),i(q,{path:"cloud/files"}),T(t.$slots,"description",{},void 0,!0)]),_:3}),i(o($),{type:"primary",loading:j.value,onClick:l[0]||(l[0]=c=>U())},{default:s(()=>[i(o(H)),_(" Upload ")]),_:1},8,["loading"]),i(o(ue),{class:"files"},{default:s(()=>[u.value>0?(d(),b(o(x),{key:0},{default:s(()=>[f("b",null,[_(M(u.value)+" file",1),u.value!==1?(d(),g("span",Ve,"s")):w("",!0)])]),_:1})):w("",!0),y.value&&y.value.length>0?(d(),b(o(ne),{key:1,"tree-data":y.value,selectable:!1},{title:s(({title:c,isLeaf:h,file:v})=>[f("span",null,[_(M(c)+" ",1),h?(d(),g("span",Ee,"("+M(v.size)+")",1)):w("",!0)]),h?(d(),b(o($),{key:0,type:"text",size:"small",style:{float:"inline-end"},onClick:()=>G(v)},{default:s(()=>[i(o(xe))]),_:2},1032,["onClick"])):w("",!0),h?(d(),b(o($),{key:1,type:"text",size:"small",style:{float:"inline-end"},onClick:()=>F(v)},{default:s(()=>[i(o(B))]),_:2},1032,["onClick"])):w("",!0),h?w("",!0):(d(),b(o(oe),{key:2},{overlay:s(()=>[i(o(re),{disabled:o(p)},{default:s(()=>[i(o(N),{danger:!1,onClick:()=>U(v)},{default:s(()=>[f("div",He,[i(o(H)),i(o(z),null,{default:s(()=>[_(" Upload ")]),_:1})])]),_:2},1032,["onClick"]),i(o(N),{danger:!1,onClick:()=>F(v)},{default:s(()=>[f("div",Re,[i(o(B)),i(o(z),null,{default:s(()=>[_(" Delete ")]),_:1})])]),_:2},1032,["onClick"])]),_:2},1032,["disabled"])]),default:s(()=>[i(o(Ue),{style:{cursor:"pointer",float:"inline-end"},size:"25px"})]),_:2},1024))]),_:1},8,["tree-data"])):(d(),b(o(le),{key:2,description:o(p)?"Loading...":"No files"},null,8,["description"]))]),_:1})]),_:3}))}});const rt=de(Te,[["__scopeId","data-v-048030b3"]]);export{rt as default}; +//# sourceMappingURL=Files.710036f9.js.map diff --git a/abstra_statics/dist/assets/Form.9bca0303.js b/abstra_statics/dist/assets/Form.9bca0303.js new file mode 100644 index 0000000000..8821790508 --- /dev/null +++ b/abstra_statics/dist/assets/Form.9bca0303.js @@ -0,0 +1,2 @@ +import{A as S}from"./api.bbc4c8cb.js";import{b as I,j as U}from"./workspaceStore.5977d9e8.js";import{b as A,r as T,c as x,d as W}from"./FormRunner.514c3468.js";import{d as L,ea as V,eo as K,D as N,e as w,g as B,f as M,aK as q,W as j,ag as G,u as t,o as p,X as P,b as y,c as D,w as _,R as X,aF as R,d9 as $,d5 as z,dd as H,$ as J}from"./vue-router.324eaed2.js";import{a as O}from"./asyncComputed.3916dfed.js";import{u as k}from"./uuid.a06fb10a.js";import{L as Q}from"./CircularLoading.08cb4e45.js";import"./fetch.42a41b34.js";import"./metadata.4c5c5434.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./Login.vue_vue_type_script_setup_true_lang.88412b2f.js";import"./Logo.bfb8cf31.js";import"./string.d698465c.js";import"./index.40f13cf1.js";import"./index.0887bacc.js";import"./Steps.f9a5ddf6.js";import"./index.0b1755c2.js";import"./Watermark.de74448d.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[o]="3ba0b81b-65f7-45a2-b51c-9f751ea1d2f1",l._sentryDebugIdIdentifier="sentry-dbid-3ba0b81b-65f7-45a2-b51c-9f751ea1d2f1")}catch{}})();const Y={key:0,class:"loading"},Z=L({__name:"Form",setup(l){const o=V(),c=K(),h=N({playerKey:k()}),E=I(),u=w(null),v=w(!1);B(o,()=>{o.name==="form"&&C()});const{loading:m,result:r,error:g,refetch:C}=O(async()=>{h.playerKey=k();const a=o.path.slice(1),e=await U(a);if(!e){c.push({name:"error",params:{status:"404"}});return}const n=o.query[S];if(!e.isInitial&&!n){v.value=!0;return}const s=new x({formRunnerData:e,logService:null,connectionManager:new W(e.id,"player",o.query),onRedirect:b,onFormStart:()=>{},onFormEnd:()=>{},onStackTraceUpdate:null,onStateUpdate:d=>u.value=d}),i=s.getState();return u.value=i.formState,{runnerData:e,controller:s}}),F=M(()=>{const a=!m,e=!!g,n=!r||u.value===null;return a&&(e||n)});q(()=>{var a,e,n,s,i;F.value&&c.push({name:"error",params:{status:"500"}}),!!((a=r.value)!=null&&a.runnerData)&&(e=r.value)!=null&&e.runnerData&&(document.title=(i=(n=r.value)==null?void 0:n.runnerData.welcomeTitle)!=null?i:(s=r.value)==null?void 0:s.runnerData.title)});function b(a,e){window.removeEventListener("beforeunload",f),T("player",c,a,e)}j(async()=>{window.addEventListener("beforeunload",f)}),G(()=>{window.removeEventListener("beforeunload",f)});const f=a=>{var e;if((e=r.value)!=null&&e.controller.handleCloseAttempt())return a.preventDefault(),""};return(a,e)=>{var n,s,i,d;return t(m)?(p(),P("div",Y,[y(Q)])):v.value?(p(),D(t(H),{key:1,class:"unset-thread-container",vertical:""},{default:_(()=>[y(t($),null,{default:_(()=>[R("Cannot open this link directly")]),_:1}),y(t(z),{class:"message"},{default:_(()=>[R(" This form must be accessed within a thread, either by clicking on it by notification email or the Kanban board ")]),_:1})]),_:1})):t(r)&&t(r).runnerData&&u.value&&!t(g)&&!t(m)?(p(),D(A,{key:h.playerKey,"form-runner-data":t(r).runnerData,"form-state":u.value,"is-preview":!1,"user-email":(n=t(E).user)==null?void 0:n.claims.email,onRedirect:b,onActionClicked:(s=t(r))==null?void 0:s.controller.handleActionClick,onUpdateWidgetErrors:(i=t(r))==null?void 0:i.controller.updateWidgetFrontendErrors,onUpdateWidgetValue:(d=t(r))==null?void 0:d.controller.updateWidgetValue},null,8,["form-runner-data","form-state","user-email","onActionClicked","onUpdateWidgetErrors","onUpdateWidgetValue"])):X("",!0)}}});const Re=J(Z,[["__scopeId","data-v-22706e2c"]]);export{Re as default}; +//# sourceMappingURL=Form.9bca0303.js.map diff --git a/abstra_statics/dist/assets/Form.f5986747.js b/abstra_statics/dist/assets/Form.f5986747.js deleted file mode 100644 index 42bb5eea31..0000000000 --- a/abstra_statics/dist/assets/Form.f5986747.js +++ /dev/null @@ -1,2 +0,0 @@ -import{A as S}from"./api.9a4e5329.js";import{b as I,j as U}from"./workspaceStore.be837912.js";import{b as A,r as T,c as x,d as W}from"./FormRunner.1bcfb465.js";import{d as L,ea as V,eo as K,D as N,e as b,g as B,f as M,aK as q,W as j,ag as G,u as t,o as p,X as P,b as y,c as D,w as _,R as X,aF as R,d9 as $,d5 as z,dd as H,$ as J}from"./vue-router.33f35a18.js";import{a as O}from"./asyncComputed.c677c545.js";import{u as k}from"./uuid.0acc5368.js";import{L as Q}from"./CircularLoading.1c6a1f61.js";import"./fetch.3971ea84.js";import"./metadata.bccf44f5.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./Login.vue_vue_type_script_setup_true_lang.66951764.js";import"./Logo.389f375b.js";import"./string.44188c83.js";import"./index.dec2a631.js";import"./index.f014adef.js";import"./Steps.677c01d2.js";import"./index.b3a210ed.js";import"./Watermark.0dce85a3.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[o]="110d726a-26dd-432f-9364-0fed38ccdfc5",d._sentryDebugIdIdentifier="sentry-dbid-110d726a-26dd-432f-9364-0fed38ccdfc5")}catch{}})();const Y={key:0,class:"loading"},Z=L({__name:"Form",setup(d){const o=V(),u=K(),h=N({playerKey:k()}),E=I(),l=b(null),v=b(!1);B(o,()=>{o.name==="form"&&C()});const{loading:m,result:r,error:g,refetch:C}=O(async()=>{h.playerKey=k();const a=o.path.slice(1),e=await U(a);if(!e){u.push({name:"error",params:{status:"404"}});return}const n=o.query[S];if(!e.isInitial&&!n){v.value=!0;return}const s=new x({formRunnerData:e,logService:null,connectionManager:new W(e.id,"player",o.query),onRedirect:w,onFormStart:()=>{},onFormEnd:()=>{},onStackTraceUpdate:null,onStateUpdate:c=>l.value=c}),i=s.getState();return l.value=i.formState,{runnerData:e,controller:s}}),F=M(()=>{const a=!m,e=!!g,n=!r||l.value===null;return a&&(e||n)});q(()=>{var a,e,n,s,i;F.value&&u.push({name:"error",params:{status:"500"}}),!!((a=r.value)!=null&&a.runnerData)&&(e=r.value)!=null&&e.runnerData&&(document.title=(i=(n=r.value)==null?void 0:n.runnerData.welcomeTitle)!=null?i:(s=r.value)==null?void 0:s.runnerData.title)});function w(a,e){window.removeEventListener("beforeunload",f),T("player",u,a,e)}j(async()=>{window.addEventListener("beforeunload",f)}),G(()=>{window.removeEventListener("beforeunload",f)});const f=a=>{var e;if((e=r.value)!=null&&e.controller.handleCloseAttempt())return a.preventDefault(),""};return(a,e)=>{var n,s,i,c;return t(m)?(p(),P("div",Y,[y(Q)])):v.value?(p(),D(t(H),{key:1,class:"unset-thread-container",vertical:""},{default:_(()=>[y(t($),null,{default:_(()=>[R("Cannot open this link directly")]),_:1}),y(t(z),{class:"message"},{default:_(()=>[R(" This form must be accessed within a thread, either by clicking on it by notification email or the Kanban board ")]),_:1})]),_:1})):t(r)&&t(r).runnerData&&l.value&&!t(g)&&!t(m)?(p(),D(A,{key:h.playerKey,"form-runner-data":t(r).runnerData,"form-state":l.value,"is-preview":!1,"user-email":(n=t(E).user)==null?void 0:n.claims.email,onRedirect:w,onActionClicked:(s=t(r))==null?void 0:s.controller.handleActionClick,onUpdateWidgetErrors:(i=t(r))==null?void 0:i.controller.updateWidgetFrontendErrors,onUpdateWidgetValue:(c=t(r))==null?void 0:c.controller.updateWidgetValue},null,8,["form-runner-data","form-state","user-email","onActionClicked","onUpdateWidgetErrors","onUpdateWidgetValue"])):X("",!0)}}});const Re=J(Z,[["__scopeId","data-v-22706e2c"]]);export{Re as default}; -//# sourceMappingURL=Form.f5986747.js.map diff --git a/abstra_statics/dist/assets/FormEditor.8f8cac41.js b/abstra_statics/dist/assets/FormEditor.dbea5a50.js similarity index 87% rename from abstra_statics/dist/assets/FormEditor.8f8cac41.js rename to abstra_statics/dist/assets/FormEditor.dbea5a50.js index 191c61a560..197ea2f0d6 100644 --- a/abstra_statics/dist/assets/FormEditor.8f8cac41.js +++ b/abstra_statics/dist/assets/FormEditor.dbea5a50.js @@ -1,2 +1,2 @@ -import{A as K}from"./api.9a4e5329.js";import{P as Te}from"./PlayerNavbar.c92a19bc.js";import{b as Fe,u as Me}from"./workspaceStore.be837912.js";import{B as Ie}from"./BaseLayout.4967fc3d.js";import{R as Re,S as Ue,E as Ee,a as Ve,I as Le,L as He}from"./SourceCode.9682eb82.js";import{S as Be}from"./SaveButton.dae129ff.js";import{F as $,a as $e,b as De,c as Ne,d as Pe,r as We}from"./FormRunner.1bcfb465.js";import{d as H,B as D,f as U,o as i,X as A,Z as Ze,R as w,e8 as ze,a as F,W as Oe,D as je,c as _,w as t,b as a,u as e,cH as ne,$ as W,e as S,d9 as B,aF as f,cT as se,d5 as L,cv as C,bH as T,cu as ue,aR as ie,em as de,en as pe,bK as oe,bP as I,eb as Qe,dd as P,eo as qe,ea as Ke,aK as Ge,g as re,L as Je,N as Xe,eg as Ye,y as ea,e9 as Q,bx as aa,cK as ta,d6 as la,aV as N,eS as oa}from"./vue-router.33f35a18.js";import{a as ra}from"./asyncComputed.c677c545.js";import{W as na}from"./PlayerConfigProvider.90e436c2.js";import{F as sa}from"./PhArrowSquareOut.vue.03bd374b.js";import{G as ua}from"./PhFlowArrow.vue.9bde0f49.js";import{F as ia}from"./metadata.bccf44f5.js";import{F as da}from"./forms.b83627f1.js";import"./editor.c70395a0.js";import{W as G}from"./workspaces.91ed8c72.js";import{T as pa}from"./ThreadSelector.2b29a84a.js";import{A as ca}from"./index.f014adef.js";import{A as ma}from"./index.241ee38a.js";import{N as va}from"./NavbarControls.948aa1fc.js";import{b as fa}from"./index.6db53852.js";import{A as q,T as ga}from"./TabPane.1080fde7.js";import{B as ha}from"./Badge.71fee936.js";import{A as ya}from"./index.2fc2bb22.js";import{C as ba}from"./Card.639eca4a.js";import"./fetch.3971ea84.js";import"./LoadingOutlined.64419cb9.js";import"./PhSignOut.vue.b806976f.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./uuid.0acc5368.js";import"./scripts.cc2cce9b.js";import"./record.075b7d45.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./PhCopy.vue.edaabc1e.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhCopySimple.vue.b5d1b25b.js";import"./PhCaretRight.vue.d23111f3.js";import"./PhBug.vue.ea49dd1b.js";import"./PhQuestion.vue.020af0e7.js";import"./polling.3587342a.js";import"./PhPencil.vue.2def7849.js";import"./toggleHighContrast.aa328f74.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./Login.vue_vue_type_script_setup_true_lang.66951764.js";import"./Logo.389f375b.js";import"./CircularLoading.1c6a1f61.js";import"./index.dec2a631.js";import"./Steps.677c01d2.js";import"./index.b3a210ed.js";import"./Watermark.0dce85a3.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./index.46373660.js";import"./CloseCircleOutlined.1d6fe2b1.js";import"./popupNotifcation.7fc1aee0.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./PhChats.vue.b6dd7b5a.js";(function(){try{var g=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},h=new Error().stack;h&&(g._sentryDebugIds=g._sentryDebugIds||{},g._sentryDebugIds[h]="0de8c138-c51b-4f01-8cde-59642eaa5c9d",g._sentryDebugIdIdentifier="sentry-dbid-0de8c138-c51b-4f01-8cde-59642eaa5c9d")}catch{}})();const _a=["width","height","fill","transform"],ka={key:0},wa=F("path",{d:"M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"},null,-1),Sa=[wa],xa={key:1},Ca=F("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Aa=F("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"},null,-1),Ta=[Ca,Aa],Fa={key:2},Ma=F("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"},null,-1),Ia=[Ma],Ra={key:3},Ua=F("path",{d:"M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"},null,-1),Ea=[Ua],Va={key:4},La=F("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"},null,-1),Ha=[La],Ba={key:5},$a=F("path",{d:"M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"},null,-1),Da=[$a],Na={name:"PhArrowsClockwise"},Pa=H({...Na,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(g){const h=g,r=D("weight","regular"),k=D("size","1em"),s=D("color","currentColor"),o=D("mirrored",!1),v=U(()=>{var p;return(p=h.weight)!=null?p:r}),x=U(()=>{var p;return(p=h.size)!=null?p:k}),b=U(()=>{var p;return(p=h.color)!=null?p:s}),d=U(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(p,y)=>(i(),A("svg",ze({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:x.value,height:x.value,fill:b.value,transform:d.value},p.$attrs),[Ze(p.$slots,"default"),v.value==="bold"?(i(),A("g",ka,Sa)):v.value==="duotone"?(i(),A("g",xa,Ta)):v.value==="fill"?(i(),A("g",Fa,Ia)):v.value==="light"?(i(),A("g",Ra,Ea)):v.value==="regular"?(i(),A("g",Va,Ha)):v.value==="thin"?(i(),A("g",Ba,Da)):w("",!0)],16,_a))}}),Wa=H({__name:"ThreadSelectorModal",props:{showThreadModal:{type:Boolean},stage:{},executionConfig:{}},emits:["fix-invalid-json","update:execution-config","update:show-thread-modal"],setup(g,{emit:h}){const r=()=>{h("update:show-thread-modal",!1),G.writeTestData(k.threadData)};Oe(async()=>k.threadData=await G.readTestData());const k=je({threadData:"{}"});return(s,o)=>(i(),_(e(ne),{open:s.showThreadModal,footer:null,onCancel:r},{default:t(()=>[a(pa,{stage:s.stage,"execution-config":s.executionConfig,"onUpdate:executionConfig":o[0]||(o[0]=v=>h("update:execution-config",v)),"onUpdate:showThreadModal":o[1]||(o[1]=v=>h("update:show-thread-modal",v)),onFixInvalidJson:o[2]||(o[2]=v=>h("fix-invalid-json",v,v))},null,8,["stage","execution-config"])]),_:1},8,["open"]))}});const Za=W(Wa,[["__scopeId","data-v-24845f55"]]),ce=g=>(de("data-v-b2ed6a6d"),g=g(),pe(),g),za=ce(()=>F("i",null,"string",-1)),Oa=ce(()=>F("i",null,"string list",-1)),ja=H({__name:"FormNotificationSettings",props:{form:{}},setup(g){const r=S(g.form);return(k,s)=>(i(),A(ie,null,[a(e(ue),{layout:"vertical"},{default:t(()=>[a(e(B),{level:4,width:"100%",height:"30px",style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"0px"}},{default:t(()=>[f(" Thread waiting "),a(e(se),{checked:r.value.notificationTrigger.enabled,"onUpdate:checked":s[0]||(s[0]=o=>r.value.notificationTrigger.enabled=o)},{default:t(()=>[f(" Enabled ")]),_:1},8,["checked"])]),_:1}),a(e(L),{class:"description",style:{fontStyle:"italic",marginBottom:"20px"}},{default:t(()=>[f(" Send emails when the thread is waiting for the form to be filled ")]),_:1}),a(e(C),{label:"Variable name"},{default:t(()=>[a(e(T),{value:r.value.notificationTrigger.variable_name,"onUpdate:value":s[1]||(s[1]=o=>r.value.notificationTrigger.variable_name=o),disabled:!r.value.notificationTrigger.enabled,type:"text",placeholder:"variable_name"},null,8,["value","disabled"])]),_:1})]),_:1}),a(e(ca),{type:"info"},{message:t(()=>[a(e(L),null,{default:t(()=>[f(" Notifications are sent to the emails specified in the thread variables set here. The variables should contain a "),za,f(" or a "),Oa,f(". ")]),_:1})]),_:1})],64))}});const Qa=W(ja,[["__scopeId","data-v-b2ed6a6d"]]),qa=H({__name:"FormSettings",props:{form:{}},setup(g){const r=S(g.form);return(k,s)=>(i(),_(e(ue),{layout:"vertical",class:"form-settings"},{default:t(()=>[a(Re,{runtime:r.value},null,8,["runtime"]),a(e(C),{label:"Form name"},{default:t(()=>[a(e(T),{value:r.value.title,"onUpdate:value":s[0]||(s[0]=o=>r.value.title=o),type:"text",onChange:s[1]||(s[1]=o=>{var v;return r.value.title=(v=o.target.value)!=null?v:""})},null,8,["value"])]),_:1}),a(e(B),{level:3},{default:t(()=>[f(" Texts ")]),_:1}),a(e(B),{level:4},{default:t(()=>[f(" Welcome Screen ")]),_:1}),a(e(C),{label:"Title"},{default:t(()=>[a(e(T),{value:r.value.welcomeTitle,"onUpdate:value":s[2]||(s[2]=o=>r.value.welcomeTitle=o),type:"text",placeholder:r.value.title,disabled:r.value.autoStart},null,8,["value","placeholder","disabled"])]),_:1}),a(e(C),{label:"Description"},{default:t(()=>[a(e(T),{value:r.value.startMessage,"onUpdate:value":s[3]||(s[3]=o=>r.value.startMessage=o),type:"text",disabled:r.value.autoStart},null,8,["value","disabled"])]),_:1}),a(e(C),{label:"Start button label"},{default:t(()=>[a(e(T),{value:r.value.startButtonText,"onUpdate:value":s[4]||(s[4]=o=>r.value.startButtonText=o),type:"text",placeholder:"Start",disabled:r.value.autoStart},null,8,["value","disabled"])]),_:1}),a(e(C),null,{default:t(()=>[a(e(oe),{checked:r.value.autoStart,"onUpdate:checked":s[5]||(s[5]=o=>r.value.autoStart=o)},{default:t(()=>[f("Skip welcome screen")]),_:1},8,["checked"])]),_:1}),a(e(B),{level:4},{default:t(()=>[f(" End Screen ")]),_:1}),a(e(C),{label:"End text"},{default:t(()=>[a(e(T),{value:r.value.endMessage,"onUpdate:value":s[6]||(s[6]=o=>r.value.endMessage=o),type:"text",placeholder:"Thank you"},null,8,["value"])]),_:1}),a(e(C),{label:"Restart button label"},{default:t(()=>[a(e(T),{value:r.value.restartButtonText,"onUpdate:value":s[7]||(s[7]=o=>r.value.restartButtonText=o),placeholder:"Restart",type:"text",disabled:!r.value.allowRestart},null,8,["value","disabled"])]),_:1}),a(e(C),{help:!r.value.isInitial&&"Only initial forms can be restarted"},{default:t(()=>[a(e(oe),{checked:r.value.allowRestart,"onUpdate:checked":s[8]||(s[8]=o=>r.value.allowRestart=o),disabled:!r.value.isInitial},{default:t(()=>[f("Show restart button at the end")]),_:1},8,["checked","disabled"])]),_:1},8,["help"]),a(e(B),{level:4},{default:t(()=>[f(" Alert Messages ")]),_:1}),a(e(C),{label:"Error message"},{default:t(()=>[a(e(T),{value:r.value.errorMessage,"onUpdate:value":s[9]||(s[9]=o=>r.value.errorMessage=o),type:"text",placeholder:"Something went wrong"},null,8,["value"])]),_:1})]),_:1}))}});const Ka=W(qa,[["__scopeId","data-v-aff64cb2"]]),Ga=H({__name:"QueryParamsModal",props:{open:{type:Boolean},close:{type:Function},queryParams:{}},emits:["update:query-params"],setup(g,{emit:h}){const k=S(s(g.queryParams));function s(d){return Object.entries(d).map(([p,y])=>({key:p,value:y,id:Math.random().toString()}))}function o(){const d={};return k.value.forEach(({key:p,value:y})=>{d[p]=y}),d}const v=(d,p,y)=>{k.value[d]={key:p,value:y},h("update:query-params",o())},x=()=>{const d=k.value.length;k.value.push({key:`param-${d}`,value:"value"}),h("update:query-params",o())},b=d=>{k.value.splice(d,1),h("update:query-params",o())};return(d,p)=>(i(),_(e(ne),{open:d.open,onCancel:d.close},{footer:t(()=>[a(e(I),{type:"primary",onClick:d.close},{default:t(()=>[f("OK")]),_:1},8,["onClick"])]),default:t(()=>[a(e(P),{vertical:"",gap:"20"},{default:t(()=>[a(e(L),null,{default:t(()=>[f("Query params")]),_:1}),(i(!0),A(ie,null,Qe(k.value,(y,E)=>(i(),_(e(C),{key:E},{default:t(()=>[a(e(ma),null,{default:t(()=>[a(e(T),{value:y.key,"onUpdate:value":c=>y.key=c,type:"text",placeholder:"name",onChange:()=>v(E,y.key,y.value)},null,8,["value","onUpdate:value","onChange"]),a(e(T),{value:y.value,"onUpdate:value":c=>y.value=c,type:"text",placeholder:"value",disabled:y.key===e(K),onChange:()=>v(E,y.key,y.value)},null,8,["value","onUpdate:value","disabled","onChange"]),a(e(I),{danger:"",onClick:c=>b(E)},{default:t(()=>[f("remove")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),a(e(C),null,{default:t(()=>[a(e(I),{type:"dashed",style:{width:"100%"},onClick:x},{default:t(()=>[f(" Add Query Param ")]),_:1})]),_:1})]),_:1})]),_:1},8,["open","onCancel"]))}}),Ja=g=>(de("data-v-7bfe9254"),g=g(),pe(),g),Xa={key:0},Ya={key:1},et=Ja(()=>F("br",null,null,-1)),at={class:"form-preview-container"},tt=H({__name:"FormEditor",setup(g){var ae;const h=qe(),r=Ke(),k=Fe(),s=Me(),o=S(null),v=S("source-code"),x=S(null),b=S(null),d=S(null),p=S({}),y=S(!1),E=n=>c.value={...c.value,attached:!!n},c=S({attached:!1,stageRunId:null,isInitial:!1}),V=U(()=>{var n;return(n=m.value)!=null&&n.form.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:!c.value.isInitial&&c.value.attached&&!c.value.stageRunId?{title:"No thread selected",message:"Select a thread to run the workflow"}:null}),me=(n,l)=>{var u;(u=o.value)==null||u.setHighlight(n,l)},ve=()=>{var n,l;(n=o.value)==null||n.restartEditor(),(l=o.value)==null||l.startPreviewMode()},fe=U(()=>!c.value.isInitial&&c.value.attached&&!c.value.stageRunId);Ge(()=>c.value.stageRunId?p.value={...p.value,[K]:c.value.stageRunId}:null);const{result:m,loading:ge,refetch:he}=ra(async()=>{const[n,l]=await Promise.all([da.get(r.params.id),G.get()]);return c.value.isInitial=n.isInitial,ea({form:n,workspace:l})});re([()=>c.value.attached,p,m],()=>{J()});function ye(){var l;if(!m.value)return;const n=m.value.form.codeContent;(l=o.value)==null||l.updateLocalEditorCode(n),J()}function J(){if(!m.value)return;const n=!c.value.attached;d.value=m.value.form.makeRunnerData(m.value.workspace),x.value=new Ne({formRunnerData:d.value,logService:Y,connectionManager:new Pe(m.value.form.id,"editor",p.value,n),onFormStart:ve,onFormEnd:be,onRedirect:Se,onStateUpdate:u=>b.value=u,onStackTraceUpdate:me});const l=x.value.getState();b.value=l.formState}const be=()=>{var n,l,u;c.value={attached:!1,stageRunId:null,isInitial:(l=(n=m.value)==null?void 0:n.form.isInitial)!=null?l:!1},(u=o.value)==null||u.restartEditor()};function _e(){var n,l;(n=Z.value)==null||n.closeConsole(),(l=x.value)==null||l.start()}function X(){var n,l;(n=o.value)==null||n.restartEditor(),(l=x.value)==null||l.resetForm()}function ke(){h.push({name:"stages"})}const Z=S(null),we=n=>{!m.value||(m.value.form.file=n)},Y=He.create();function Se(n,l){We("editor",h,n,l)}const xe=()=>{var u;let n=`/${(u=m.value)==null?void 0:u.form.path}`;const l=new URLSearchParams(p.value);c.value.attached&&c.value.stageRunId&&l.set(K,c.value.stageRunId),window.open(`${n}?${l.toString()}`,"_blank")},z=S(!1),Ce=U(()=>{if(!d.value)return"";const n=Object.entries(p.value),l="?"+n.map(([M,R])=>`${M}=${R}`).join("&"),u=n.length?l:"";return`/${d.value.path}${u}`}),ee=new Je(Xe.boolean(),"dontShowReloadHelper"),O=S((ae=ee.get())!=null?ae:!1),Ae=()=>{ee.set(!0),O.value=!0};re(()=>r.params.id,()=>{he()});const j=n=>{var l;return n!==v.value&&((l=m.value)==null?void 0:l.form.hasChanges())};return(n,l)=>(i(),_(Ie,null,Ye({navbar:t(()=>[e(m)?(i(),_(e(fa),{key:0,title:e(m).form.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:ke},{extra:t(()=>[a(va,{"docs-path":"concepts/forms","editing-model":e(m).form},null,8,["editing-model"])]),_:1},8,["title"])):w("",!0)]),content:t(()=>[e(m)?(i(),_(Ee,{key:0},{left:t(()=>[a(e(ga),{"active-key":v.value,"onUpdate:activeKey":l[0]||(l[0]=u=>v.value=u)},{rightExtra:t(()=>[a(Be,{model:e(m).form,onSave:ye},null,8,["model"])]),default:t(()=>[a(e(q),{key:"source-code",tab:"Source code",disabled:j("source-code")},null,8,["disabled"]),a(e(q),{key:"settings",tab:"Settings",disabled:j("settings")},null,8,["disabled"]),a(e(q),{key:"notifications",tab:"Notifications",disabled:j("notifications")},null,8,["disabled"])]),_:1},8,["active-key"]),v.value==="source-code"?(i(),_(Ve,{key:0,ref_key:"code",ref:o,script:e(m).form,workspace:e(m).workspace,onUpdateFile:we},null,8,["script","workspace"])):w("",!0),v.value==="settings"?(i(),_(Ka,{key:1,form:e(m).form},null,8,["form"])):w("",!0),v.value==="notifications"?(i(),_(Qa,{key:2,form:e(m).form},null,8,["form"])):w("",!0),y.value?(i(),_(Za,{key:3,"execution-config":c.value,"onUpdate:executionConfig":l[1]||(l[1]=u=>c.value=u),"show-thread-modal":y.value,"onUpdate:showThreadModal":l[2]||(l[2]=u=>y.value=u),stage:e(m).form,onFixInvalidJson:l[3]||(l[3]=(u,M)=>{var R;return(R=Z.value)==null?void 0:R.fixJson(u,M)})},null,8,["execution-config","show-thread-modal","stage"])):w("",!0)]),right:t(()=>[a(e(P),{gap:"10",align:"center",justify:"right",style:{"margin-top":"6px"}},{default:t(()=>{var u;return[a(e(L),null,{default:t(()=>[f(Q(c.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),a(e(se),{disabled:!!b.value&&e($).includes((u=b.value)==null?void 0:u.type),checked:c.value.attached,"onUpdate:checked":E},null,8,["disabled","checked"]),a(e(ha),{dot:fe.value},{default:t(()=>{var M;return[a(e(I),{disabled:!!b.value&&e($).includes((M=b.value)==null?void 0:M.type),style:{display:"flex",gap:"5px"},onClick:l[4]||(l[4]=R=>y.value=!0)},{icon:t(()=>[a(e(ua),{size:"20"})]),default:t(()=>[f("Thread")]),_:1},8,["disabled"])]}),_:1},8,["dot"])]}),_:1}),a(e(ya),{style:{margin:"7px 0px 16px"}}),e(ge)||!d.value||!b.value?(i(),_(e(aa),{key:0})):w("",!0),b.value&&d.value?(i(),_(e(P),{key:1,vertical:"",gap:"10",style:{height:"100%",overflow:"hidden"}},{default:t(()=>[a(e(P),{gap:"small"},{default:t(()=>[b.value.type&&e($e).includes(b.value.type)?(i(),_(e(ta),{key:0,placement:"bottom",open:O.value?void 0:!0},{content:t(()=>[O.value?(i(),A("span",Xa,"Reload form")):(i(),A("span",Ya,[f(" You can reload the form here"),et,a(e(la),{onClick:Ae},{default:t(()=>[f("Don't show this again")]),_:1})]))]),default:t(()=>[a(e(I),{disabled:!!V.value,onClick:X},{default:t(()=>[a(e(Pa),{size:"20"})]),_:1},8,["disabled"])]),_:1},8,["open"])):w("",!0),e($).includes(b.value.type)?(i(),_(e(N),{key:1,placement:"bottom"},{title:t(()=>[f("Stop form")]),default:t(()=>[a(e(I),{onClick:X},{default:t(()=>[a(e(Le),{size:"20"})]),_:1})]),_:1})):w("",!0),b.value.type==="waiting"?(i(),_(e(N),{key:2,placement:"bottom"},{title:t(()=>[f("Start form")]),default:t(()=>[a(e(I),{disabled:!!V.value,onClick:_e},{default:t(()=>[a(e(oa),{size:"20"})]),_:1},8,["disabled"])]),_:1})):w("",!0),a(e(T),{disabled:"",value:Ce.value},null,8,["value"]),a(e(N),{placement:"bottom"},{title:t(()=>[f("Edit query params")]),default:t(()=>{var u;return[a(e(I),{disabled:!!b.value&&e($).includes((u=b.value)==null?void 0:u.type),onClick:l[5]||(l[5]=M=>z.value=!0)},{default:t(()=>[a(e(ia),{size:"20"})]),_:1},8,["disabled"])]}),_:1}),a(e(N),{placement:"bottom"},{title:t(()=>[f("Open in Full Screen")]),default:t(()=>[a(e(I),{target:"_blank","aria-label":"Open in Full Screen","aria-describedby":"sss",disabled:!c.value.attached,onClick:xe},{default:t(()=>[a(e(sa),{size:"20"})]),_:1},8,["disabled"])]),_:1})]),_:1}),F("div",at,[V.value?(i(),_(e(ba),{key:0,class:"unsaved-changes"},{default:t(()=>[a(e(L),{style:{"font-size":"18px","font-weight":"500"}},{default:t(()=>[f(Q(V.value.title),1)]),_:1}),a(e(L),{style:{"margin-bottom":"6px"}},{default:t(()=>[f(Q(V.value.message),1)]),_:1})]),_:1})):w("",!0),a(na,{class:"center","main-color":d.value.mainColor,background:d.value.theme,"font-family":d.value.fontFamily,locale:d.value.language},{default:t(()=>{var u,M,R,te,le;return[e(s).state.workspace?(i(),_(Te,{key:0,"current-path":e(m).form.path,"hide-login":!0,"runner-data":e(s).state.workspace},null,8,["current-path","runner-data"])):w("",!0),a(De,{"is-preview":"",class:"runner","form-runner-data":d.value,"form-state":b.value,disabled:!!V.value,"user-email":(u=e(k).user)==null?void 0:u.claims.email,onUpdateWidgetErrors:(M=x.value)==null?void 0:M.updateWidgetFrontendErrors,onUpdateWidgetValue:(R=x.value)==null?void 0:R.updateWidgetValue,onActionClicked:(te=x.value)==null?void 0:te.handleActionClick,onAutoFillClicked:(le=x.value)==null?void 0:le.handleAutofillClick},null,8,["form-runner-data","form-state","disabled","user-email","onUpdateWidgetErrors","onUpdateWidgetValue","onActionClicked","onAutoFillClicked"])]}),_:1},8,["main-color","background","font-family","locale"])])]),_:1})):w("",!0),a(Ga,{"query-params":p.value,"onUpdate:queryParams":l[6]||(l[6]=u=>p.value=u),open:z.value,close:()=>z.value=!1},null,8,["query-params","open","close"])]),_:1})):w("",!0)]),_:2},[e(m)?{name:"footer",fn:t(()=>[a(Ue,{ref_key:"smartConsole",ref:Z,"stage-type":"forms",stage:e(m).form,"log-service":e(Y),workspace:e(m).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});const cl=W(tt,[["__scopeId","data-v-7bfe9254"]]);export{cl as default}; -//# sourceMappingURL=FormEditor.8f8cac41.js.map +import{A as K}from"./api.bbc4c8cb.js";import{P as Te}from"./PlayerNavbar.0bdb1677.js";import{b as Fe,u as Me}from"./workspaceStore.5977d9e8.js";import{B as Ie}from"./BaseLayout.577165c3.js";import{R as Re,S as Ue,E as Ee,a as Ve,I as Le,L as He}from"./SourceCode.b049bbd7.js";import{S as Be}from"./SaveButton.17e88f21.js";import{F as $,a as $e,b as De,c as Ne,d as Pe,r as We}from"./FormRunner.514c3468.js";import{d as H,B as D,f as U,o as i,X as A,Z as Ze,R as w,e8 as ze,a as F,W as Oe,D as je,c as _,w as t,b as a,u as e,cH as ne,$ as W,e as S,d9 as B,aF as f,cT as se,d5 as L,cv as C,bH as T,cu as ue,aR as ie,em as de,en as pe,bK as oe,bP as I,eb as Qe,dd as P,eo as qe,ea as Ke,aK as Ge,g as re,L as Je,N as Xe,eg as Ye,y as ea,e9 as Q,bx as aa,cK as ta,d6 as la,aV as N,eS as oa}from"./vue-router.324eaed2.js";import{a as ra}from"./asyncComputed.3916dfed.js";import{W as na}from"./PlayerConfigProvider.8618ed20.js";import{F as sa}from"./PhArrowSquareOut.vue.2a1b339b.js";import{G as ua}from"./PhFlowArrow.vue.a7015891.js";import{F as ia}from"./metadata.4c5c5434.js";import{F as da}from"./forms.32a04fb9.js";import"./editor.1b3b164b.js";import{W as G}from"./workspaces.a34621fe.js";import{T as pa}from"./ThreadSelector.d62fadec.js";import{A as ca}from"./index.0887bacc.js";import{A as ma}from"./index.7d758831.js";import{N as va}from"./NavbarControls.414bdd58.js";import{b as fa}from"./index.51467614.js";import{A as q,T as ga}from"./TabPane.caed57de.js";import{B as ha}from"./Badge.9808092c.js";import{A as ya}from"./index.341662d4.js";import{C as ba}from"./Card.1902bdb7.js";import"./fetch.42a41b34.js";import"./LoadingOutlined.09a06334.js";import"./PhSignOut.vue.d965d159.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./uuid.a06fb10a.js";import"./scripts.c1b9be98.js";import"./record.cff1707c.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./PhCopy.vue.b2238e41.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhCopySimple.vue.d9faf509.js";import"./PhCaretRight.vue.70c5f54b.js";import"./PhBug.vue.ac4a72e0.js";import"./PhQuestion.vue.6a6a9376.js";import"./polling.72e5a2f8.js";import"./PhPencil.vue.91f72c2e.js";import"./toggleHighContrast.4c55b574.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./Login.vue_vue_type_script_setup_true_lang.88412b2f.js";import"./Logo.bfb8cf31.js";import"./CircularLoading.08cb4e45.js";import"./index.40f13cf1.js";import"./Steps.f9a5ddf6.js";import"./index.0b1755c2.js";import"./Watermark.de74448d.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./index.520f8c66.js";import"./CloseCircleOutlined.6d0d12eb.js";import"./popupNotifcation.5a82bc93.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./PhChats.vue.42699894.js";(function(){try{var g=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},h=new Error().stack;h&&(g._sentryDebugIds=g._sentryDebugIds||{},g._sentryDebugIds[h]="5ee853de-555d-48ea-b671-aa2d493ff64d",g._sentryDebugIdIdentifier="sentry-dbid-5ee853de-555d-48ea-b671-aa2d493ff64d")}catch{}})();const _a=["width","height","fill","transform"],ka={key:0},wa=F("path",{d:"M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"},null,-1),Sa=[wa],xa={key:1},Ca=F("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Aa=F("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"},null,-1),Ta=[Ca,Aa],Fa={key:2},Ma=F("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"},null,-1),Ia=[Ma],Ra={key:3},Ua=F("path",{d:"M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"},null,-1),Ea=[Ua],Va={key:4},La=F("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"},null,-1),Ha=[La],Ba={key:5},$a=F("path",{d:"M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"},null,-1),Da=[$a],Na={name:"PhArrowsClockwise"},Pa=H({...Na,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(g){const h=g,r=D("weight","regular"),k=D("size","1em"),s=D("color","currentColor"),o=D("mirrored",!1),v=U(()=>{var p;return(p=h.weight)!=null?p:r}),x=U(()=>{var p;return(p=h.size)!=null?p:k}),b=U(()=>{var p;return(p=h.color)!=null?p:s}),d=U(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(p,y)=>(i(),A("svg",ze({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:x.value,height:x.value,fill:b.value,transform:d.value},p.$attrs),[Ze(p.$slots,"default"),v.value==="bold"?(i(),A("g",ka,Sa)):v.value==="duotone"?(i(),A("g",xa,Ta)):v.value==="fill"?(i(),A("g",Fa,Ia)):v.value==="light"?(i(),A("g",Ra,Ea)):v.value==="regular"?(i(),A("g",Va,Ha)):v.value==="thin"?(i(),A("g",Ba,Da)):w("",!0)],16,_a))}}),Wa=H({__name:"ThreadSelectorModal",props:{showThreadModal:{type:Boolean},stage:{},executionConfig:{}},emits:["fix-invalid-json","update:execution-config","update:show-thread-modal"],setup(g,{emit:h}){const r=()=>{h("update:show-thread-modal",!1),G.writeTestData(k.threadData)};Oe(async()=>k.threadData=await G.readTestData());const k=je({threadData:"{}"});return(s,o)=>(i(),_(e(ne),{open:s.showThreadModal,footer:null,onCancel:r},{default:t(()=>[a(pa,{stage:s.stage,"execution-config":s.executionConfig,"onUpdate:executionConfig":o[0]||(o[0]=v=>h("update:execution-config",v)),"onUpdate:showThreadModal":o[1]||(o[1]=v=>h("update:show-thread-modal",v)),onFixInvalidJson:o[2]||(o[2]=v=>h("fix-invalid-json",v,v))},null,8,["stage","execution-config"])]),_:1},8,["open"]))}});const Za=W(Wa,[["__scopeId","data-v-24845f55"]]),ce=g=>(de("data-v-b2ed6a6d"),g=g(),pe(),g),za=ce(()=>F("i",null,"string",-1)),Oa=ce(()=>F("i",null,"string list",-1)),ja=H({__name:"FormNotificationSettings",props:{form:{}},setup(g){const r=S(g.form);return(k,s)=>(i(),A(ie,null,[a(e(ue),{layout:"vertical"},{default:t(()=>[a(e(B),{level:4,width:"100%",height:"30px",style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"0px"}},{default:t(()=>[f(" Thread waiting "),a(e(se),{checked:r.value.notificationTrigger.enabled,"onUpdate:checked":s[0]||(s[0]=o=>r.value.notificationTrigger.enabled=o)},{default:t(()=>[f(" Enabled ")]),_:1},8,["checked"])]),_:1}),a(e(L),{class:"description",style:{fontStyle:"italic",marginBottom:"20px"}},{default:t(()=>[f(" Send emails when the thread is waiting for the form to be filled ")]),_:1}),a(e(C),{label:"Variable name"},{default:t(()=>[a(e(T),{value:r.value.notificationTrigger.variable_name,"onUpdate:value":s[1]||(s[1]=o=>r.value.notificationTrigger.variable_name=o),disabled:!r.value.notificationTrigger.enabled,type:"text",placeholder:"variable_name"},null,8,["value","disabled"])]),_:1})]),_:1}),a(e(ca),{type:"info"},{message:t(()=>[a(e(L),null,{default:t(()=>[f(" Notifications are sent to the emails specified in the thread variables set here. The variables should contain a "),za,f(" or a "),Oa,f(". ")]),_:1})]),_:1})],64))}});const Qa=W(ja,[["__scopeId","data-v-b2ed6a6d"]]),qa=H({__name:"FormSettings",props:{form:{}},setup(g){const r=S(g.form);return(k,s)=>(i(),_(e(ue),{layout:"vertical",class:"form-settings"},{default:t(()=>[a(Re,{runtime:r.value},null,8,["runtime"]),a(e(C),{label:"Form name"},{default:t(()=>[a(e(T),{value:r.value.title,"onUpdate:value":s[0]||(s[0]=o=>r.value.title=o),type:"text",onChange:s[1]||(s[1]=o=>{var v;return r.value.title=(v=o.target.value)!=null?v:""})},null,8,["value"])]),_:1}),a(e(B),{level:3},{default:t(()=>[f(" Texts ")]),_:1}),a(e(B),{level:4},{default:t(()=>[f(" Welcome Screen ")]),_:1}),a(e(C),{label:"Title"},{default:t(()=>[a(e(T),{value:r.value.welcomeTitle,"onUpdate:value":s[2]||(s[2]=o=>r.value.welcomeTitle=o),type:"text",placeholder:r.value.title,disabled:r.value.autoStart},null,8,["value","placeholder","disabled"])]),_:1}),a(e(C),{label:"Description"},{default:t(()=>[a(e(T),{value:r.value.startMessage,"onUpdate:value":s[3]||(s[3]=o=>r.value.startMessage=o),type:"text",disabled:r.value.autoStart},null,8,["value","disabled"])]),_:1}),a(e(C),{label:"Start button label"},{default:t(()=>[a(e(T),{value:r.value.startButtonText,"onUpdate:value":s[4]||(s[4]=o=>r.value.startButtonText=o),type:"text",placeholder:"Start",disabled:r.value.autoStart},null,8,["value","disabled"])]),_:1}),a(e(C),null,{default:t(()=>[a(e(oe),{checked:r.value.autoStart,"onUpdate:checked":s[5]||(s[5]=o=>r.value.autoStart=o)},{default:t(()=>[f("Skip welcome screen")]),_:1},8,["checked"])]),_:1}),a(e(B),{level:4},{default:t(()=>[f(" End Screen ")]),_:1}),a(e(C),{label:"End text"},{default:t(()=>[a(e(T),{value:r.value.endMessage,"onUpdate:value":s[6]||(s[6]=o=>r.value.endMessage=o),type:"text",placeholder:"Thank you"},null,8,["value"])]),_:1}),a(e(C),{label:"Restart button label"},{default:t(()=>[a(e(T),{value:r.value.restartButtonText,"onUpdate:value":s[7]||(s[7]=o=>r.value.restartButtonText=o),placeholder:"Restart",type:"text",disabled:!r.value.allowRestart},null,8,["value","disabled"])]),_:1}),a(e(C),{help:!r.value.isInitial&&"Only initial forms can be restarted"},{default:t(()=>[a(e(oe),{checked:r.value.allowRestart,"onUpdate:checked":s[8]||(s[8]=o=>r.value.allowRestart=o),disabled:!r.value.isInitial},{default:t(()=>[f("Show restart button at the end")]),_:1},8,["checked","disabled"])]),_:1},8,["help"]),a(e(B),{level:4},{default:t(()=>[f(" Alert Messages ")]),_:1}),a(e(C),{label:"Error message"},{default:t(()=>[a(e(T),{value:r.value.errorMessage,"onUpdate:value":s[9]||(s[9]=o=>r.value.errorMessage=o),type:"text",placeholder:"Something went wrong"},null,8,["value"])]),_:1})]),_:1}))}});const Ka=W(qa,[["__scopeId","data-v-aff64cb2"]]),Ga=H({__name:"QueryParamsModal",props:{open:{type:Boolean},close:{type:Function},queryParams:{}},emits:["update:query-params"],setup(g,{emit:h}){const k=S(s(g.queryParams));function s(d){return Object.entries(d).map(([p,y])=>({key:p,value:y,id:Math.random().toString()}))}function o(){const d={};return k.value.forEach(({key:p,value:y})=>{d[p]=y}),d}const v=(d,p,y)=>{k.value[d]={key:p,value:y},h("update:query-params",o())},x=()=>{const d=k.value.length;k.value.push({key:`param-${d}`,value:"value"}),h("update:query-params",o())},b=d=>{k.value.splice(d,1),h("update:query-params",o())};return(d,p)=>(i(),_(e(ne),{open:d.open,onCancel:d.close},{footer:t(()=>[a(e(I),{type:"primary",onClick:d.close},{default:t(()=>[f("OK")]),_:1},8,["onClick"])]),default:t(()=>[a(e(P),{vertical:"",gap:"20"},{default:t(()=>[a(e(L),null,{default:t(()=>[f("Query params")]),_:1}),(i(!0),A(ie,null,Qe(k.value,(y,E)=>(i(),_(e(C),{key:E},{default:t(()=>[a(e(ma),null,{default:t(()=>[a(e(T),{value:y.key,"onUpdate:value":c=>y.key=c,type:"text",placeholder:"name",onChange:()=>v(E,y.key,y.value)},null,8,["value","onUpdate:value","onChange"]),a(e(T),{value:y.value,"onUpdate:value":c=>y.value=c,type:"text",placeholder:"value",disabled:y.key===e(K),onChange:()=>v(E,y.key,y.value)},null,8,["value","onUpdate:value","disabled","onChange"]),a(e(I),{danger:"",onClick:c=>b(E)},{default:t(()=>[f("remove")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),a(e(C),null,{default:t(()=>[a(e(I),{type:"dashed",style:{width:"100%"},onClick:x},{default:t(()=>[f(" Add Query Param ")]),_:1})]),_:1})]),_:1})]),_:1},8,["open","onCancel"]))}}),Ja=g=>(de("data-v-7bfe9254"),g=g(),pe(),g),Xa={key:0},Ya={key:1},et=Ja(()=>F("br",null,null,-1)),at={class:"form-preview-container"},tt=H({__name:"FormEditor",setup(g){var ae;const h=qe(),r=Ke(),k=Fe(),s=Me(),o=S(null),v=S("source-code"),x=S(null),b=S(null),d=S(null),p=S({}),y=S(!1),E=n=>c.value={...c.value,attached:!!n},c=S({attached:!1,stageRunId:null,isInitial:!1}),V=U(()=>{var n;return(n=m.value)!=null&&n.form.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:!c.value.isInitial&&c.value.attached&&!c.value.stageRunId?{title:"No thread selected",message:"Select a thread to run the workflow"}:null}),me=(n,l)=>{var u;(u=o.value)==null||u.setHighlight(n,l)},ve=()=>{var n,l;(n=o.value)==null||n.restartEditor(),(l=o.value)==null||l.startPreviewMode()},fe=U(()=>!c.value.isInitial&&c.value.attached&&!c.value.stageRunId);Ge(()=>c.value.stageRunId?p.value={...p.value,[K]:c.value.stageRunId}:null);const{result:m,loading:ge,refetch:he}=ra(async()=>{const[n,l]=await Promise.all([da.get(r.params.id),G.get()]);return c.value.isInitial=n.isInitial,ea({form:n,workspace:l})});re([()=>c.value.attached,p,m],()=>{J()});function ye(){var l;if(!m.value)return;const n=m.value.form.codeContent;(l=o.value)==null||l.updateLocalEditorCode(n),J()}function J(){if(!m.value)return;const n=!c.value.attached;d.value=m.value.form.makeRunnerData(m.value.workspace),x.value=new Ne({formRunnerData:d.value,logService:Y,connectionManager:new Pe(m.value.form.id,"editor",p.value,n),onFormStart:ve,onFormEnd:be,onRedirect:Se,onStateUpdate:u=>b.value=u,onStackTraceUpdate:me});const l=x.value.getState();b.value=l.formState}const be=()=>{var n,l,u;c.value={attached:!1,stageRunId:null,isInitial:(l=(n=m.value)==null?void 0:n.form.isInitial)!=null?l:!1},(u=o.value)==null||u.restartEditor()};function _e(){var n,l;(n=Z.value)==null||n.closeConsole(),(l=x.value)==null||l.start()}function X(){var n,l;(n=o.value)==null||n.restartEditor(),(l=x.value)==null||l.resetForm()}function ke(){h.push({name:"stages"})}const Z=S(null),we=n=>{!m.value||(m.value.form.file=n)},Y=He.create();function Se(n,l){We("editor",h,n,l)}const xe=()=>{var u;let n=`/${(u=m.value)==null?void 0:u.form.path}`;const l=new URLSearchParams(p.value);c.value.attached&&c.value.stageRunId&&l.set(K,c.value.stageRunId),window.open(`${n}?${l.toString()}`,"_blank")},z=S(!1),Ce=U(()=>{if(!d.value)return"";const n=Object.entries(p.value),l="?"+n.map(([M,R])=>`${M}=${R}`).join("&"),u=n.length?l:"";return`/${d.value.path}${u}`}),ee=new Je(Xe.boolean(),"dontShowReloadHelper"),O=S((ae=ee.get())!=null?ae:!1),Ae=()=>{ee.set(!0),O.value=!0};re(()=>r.params.id,()=>{he()});const j=n=>{var l;return n!==v.value&&((l=m.value)==null?void 0:l.form.hasChanges())};return(n,l)=>(i(),_(Ie,null,Ye({navbar:t(()=>[e(m)?(i(),_(e(fa),{key:0,title:e(m).form.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:ke},{extra:t(()=>[a(va,{"docs-path":"concepts/forms","editing-model":e(m).form},null,8,["editing-model"])]),_:1},8,["title"])):w("",!0)]),content:t(()=>[e(m)?(i(),_(Ee,{key:0},{left:t(()=>[a(e(ga),{"active-key":v.value,"onUpdate:activeKey":l[0]||(l[0]=u=>v.value=u)},{rightExtra:t(()=>[a(Be,{model:e(m).form,onSave:ye},null,8,["model"])]),default:t(()=>[a(e(q),{key:"source-code",tab:"Source code",disabled:j("source-code")},null,8,["disabled"]),a(e(q),{key:"settings",tab:"Settings",disabled:j("settings")},null,8,["disabled"]),a(e(q),{key:"notifications",tab:"Notifications",disabled:j("notifications")},null,8,["disabled"])]),_:1},8,["active-key"]),v.value==="source-code"?(i(),_(Ve,{key:0,ref_key:"code",ref:o,script:e(m).form,workspace:e(m).workspace,onUpdateFile:we},null,8,["script","workspace"])):w("",!0),v.value==="settings"?(i(),_(Ka,{key:1,form:e(m).form},null,8,["form"])):w("",!0),v.value==="notifications"?(i(),_(Qa,{key:2,form:e(m).form},null,8,["form"])):w("",!0),y.value?(i(),_(Za,{key:3,"execution-config":c.value,"onUpdate:executionConfig":l[1]||(l[1]=u=>c.value=u),"show-thread-modal":y.value,"onUpdate:showThreadModal":l[2]||(l[2]=u=>y.value=u),stage:e(m).form,onFixInvalidJson:l[3]||(l[3]=(u,M)=>{var R;return(R=Z.value)==null?void 0:R.fixJson(u,M)})},null,8,["execution-config","show-thread-modal","stage"])):w("",!0)]),right:t(()=>[a(e(P),{gap:"10",align:"center",justify:"right",style:{"margin-top":"6px"}},{default:t(()=>{var u;return[a(e(L),null,{default:t(()=>[f(Q(c.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),a(e(se),{disabled:!!b.value&&e($).includes((u=b.value)==null?void 0:u.type),checked:c.value.attached,"onUpdate:checked":E},null,8,["disabled","checked"]),a(e(ha),{dot:fe.value},{default:t(()=>{var M;return[a(e(I),{disabled:!!b.value&&e($).includes((M=b.value)==null?void 0:M.type),style:{display:"flex",gap:"5px"},onClick:l[4]||(l[4]=R=>y.value=!0)},{icon:t(()=>[a(e(ua),{size:"20"})]),default:t(()=>[f("Thread")]),_:1},8,["disabled"])]}),_:1},8,["dot"])]}),_:1}),a(e(ya),{style:{margin:"7px 0px 16px"}}),e(ge)||!d.value||!b.value?(i(),_(e(aa),{key:0})):w("",!0),b.value&&d.value?(i(),_(e(P),{key:1,vertical:"",gap:"10",style:{height:"100%",overflow:"hidden"}},{default:t(()=>[a(e(P),{gap:"small"},{default:t(()=>[b.value.type&&e($e).includes(b.value.type)?(i(),_(e(ta),{key:0,placement:"bottom",open:O.value?void 0:!0},{content:t(()=>[O.value?(i(),A("span",Xa,"Reload form")):(i(),A("span",Ya,[f(" You can reload the form here"),et,a(e(la),{onClick:Ae},{default:t(()=>[f("Don't show this again")]),_:1})]))]),default:t(()=>[a(e(I),{disabled:!!V.value,onClick:X},{default:t(()=>[a(e(Pa),{size:"20"})]),_:1},8,["disabled"])]),_:1},8,["open"])):w("",!0),e($).includes(b.value.type)?(i(),_(e(N),{key:1,placement:"bottom"},{title:t(()=>[f("Stop form")]),default:t(()=>[a(e(I),{onClick:X},{default:t(()=>[a(e(Le),{size:"20"})]),_:1})]),_:1})):w("",!0),b.value.type==="waiting"?(i(),_(e(N),{key:2,placement:"bottom"},{title:t(()=>[f("Start form")]),default:t(()=>[a(e(I),{disabled:!!V.value,onClick:_e},{default:t(()=>[a(e(oa),{size:"20"})]),_:1},8,["disabled"])]),_:1})):w("",!0),a(e(T),{disabled:"",value:Ce.value},null,8,["value"]),a(e(N),{placement:"bottom"},{title:t(()=>[f("Edit query params")]),default:t(()=>{var u;return[a(e(I),{disabled:!!b.value&&e($).includes((u=b.value)==null?void 0:u.type),onClick:l[5]||(l[5]=M=>z.value=!0)},{default:t(()=>[a(e(ia),{size:"20"})]),_:1},8,["disabled"])]}),_:1}),a(e(N),{placement:"bottom"},{title:t(()=>[f("Open in Full Screen")]),default:t(()=>[a(e(I),{target:"_blank","aria-label":"Open in Full Screen","aria-describedby":"sss",disabled:!c.value.attached,onClick:xe},{default:t(()=>[a(e(sa),{size:"20"})]),_:1},8,["disabled"])]),_:1})]),_:1}),F("div",at,[V.value?(i(),_(e(ba),{key:0,class:"unsaved-changes"},{default:t(()=>[a(e(L),{style:{"font-size":"18px","font-weight":"500"}},{default:t(()=>[f(Q(V.value.title),1)]),_:1}),a(e(L),{style:{"margin-bottom":"6px"}},{default:t(()=>[f(Q(V.value.message),1)]),_:1})]),_:1})):w("",!0),a(na,{class:"center","main-color":d.value.mainColor,background:d.value.theme,"font-family":d.value.fontFamily,locale:d.value.language},{default:t(()=>{var u,M,R,te,le;return[e(s).state.workspace?(i(),_(Te,{key:0,"current-path":e(m).form.path,"hide-login":!0,"runner-data":e(s).state.workspace},null,8,["current-path","runner-data"])):w("",!0),a(De,{"is-preview":"",class:"runner","form-runner-data":d.value,"form-state":b.value,disabled:!!V.value,"user-email":(u=e(k).user)==null?void 0:u.claims.email,onUpdateWidgetErrors:(M=x.value)==null?void 0:M.updateWidgetFrontendErrors,onUpdateWidgetValue:(R=x.value)==null?void 0:R.updateWidgetValue,onActionClicked:(te=x.value)==null?void 0:te.handleActionClick,onAutoFillClicked:(le=x.value)==null?void 0:le.handleAutofillClick},null,8,["form-runner-data","form-state","disabled","user-email","onUpdateWidgetErrors","onUpdateWidgetValue","onActionClicked","onAutoFillClicked"])]}),_:1},8,["main-color","background","font-family","locale"])])]),_:1})):w("",!0),a(Ga,{"query-params":p.value,"onUpdate:queryParams":l[6]||(l[6]=u=>p.value=u),open:z.value,close:()=>z.value=!1},null,8,["query-params","open","close"])]),_:1})):w("",!0)]),_:2},[e(m)?{name:"footer",fn:t(()=>[a(Ue,{ref_key:"smartConsole",ref:Z,"stage-type":"forms",stage:e(m).form,"log-service":e(Y),workspace:e(m).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});const cl=W(tt,[["__scopeId","data-v-7bfe9254"]]);export{cl as default}; +//# sourceMappingURL=FormEditor.dbea5a50.js.map diff --git a/abstra_statics/dist/assets/FormRunner.1bcfb465.js b/abstra_statics/dist/assets/FormRunner.514c3468.js similarity index 97% rename from abstra_statics/dist/assets/FormRunner.1bcfb465.js rename to abstra_statics/dist/assets/FormRunner.514c3468.js index c7e6f8708f..b8d9dde76e 100644 --- a/abstra_statics/dist/assets/FormRunner.1bcfb465.js +++ b/abstra_statics/dist/assets/FormRunner.514c3468.js @@ -1,2 +1,2 @@ -var R=Object.defineProperty;var A=(o,e,t)=>e in o?R(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var r=(o,e,t)=>(A(o,typeof e!="symbol"?e+"":e,t),t);import{i as isUrl}from"./url.b6644346.js";import{d as defineComponent,B as inject,f as computed,o as openBlock,X as createElementBlock,Z as renderSlot,R as createCommentVNode,e8 as mergeProps,a as createBaseVNode,g as watch,ej as lodash,eV as i18nProvider,e9 as toDisplayString,u as unref,c as createBlock,ec as resolveDynamicComponent,$ as _export_sfc,w as withCtx,aF as createTextVNode,e as ref,b as createVNode,ed as normalizeClass,eW as StartWidget,eX as EndWidget,eY as ErrorWidget,aR as Fragment,eb as renderList,eZ as StyleProvider,eU as withKeys,bP as Button}from"./vue-router.33f35a18.js";import{b as useUserStore}from"./workspaceStore.be837912.js";import{_ as _sfc_main$4}from"./Login.vue_vue_type_script_setup_true_lang.66951764.js";import{L as LoadingIndicator}from"./CircularLoading.1c6a1f61.js";import{S as Steps}from"./Steps.677c01d2.js";import{W as Watermark}from"./Watermark.0dce85a3.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="ae5d08dd-027b-4b90-bb49-80e7b375f689",o._sentryDebugIdIdentifier="sentry-dbid-ae5d08dd-027b-4b90-bb49-80e7b375f689")}catch{}})();const Z=["width","height","fill","transform"],g={key:0},m=createBaseVNode("path",{d:"M112,36a12,12,0,0,0-12,12V60H24A20,20,0,0,0,4,80v96a20,20,0,0,0,20,20h76v12a12,12,0,0,0,24,0V48A12,12,0,0,0,112,36ZM28,172V84h72v88ZM252,80v96a20,20,0,0,1-20,20H152a12,12,0,0,1,0-24h76V84H152a12,12,0,0,1,0-24h80A20,20,0,0,1,252,80ZM88,112a12,12,0,0,1-12,12v20a12,12,0,0,1-24,0V124a12,12,0,0,1,0-24H76A12,12,0,0,1,88,112Z"},null,-1),y=[m],f={key:1},w=createBaseVNode("path",{d:"M240,80v96a8,8,0,0,1-8,8H24a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H232A8,8,0,0,1,240,80Z",opacity:"0.2"},null,-1),k=createBaseVNode("path",{d:"M112,40a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80v96a16,16,0,0,0,16,16h80v16a8,8,0,0,0,16,0V48A8,8,0,0,0,112,40ZM24,176V80h80v96ZM248,80v96a16,16,0,0,1-16,16H144a8,8,0,0,1,0-16h88V80H144a8,8,0,0,1,0-16h88A16,16,0,0,1,248,80ZM88,112a8,8,0,0,1-8,8H72v24a8,8,0,0,1-16,0V120H48a8,8,0,0,1,0-16H80A8,8,0,0,1,88,112Z"},null,-1),x=[w,k],S={key:2},z=createBaseVNode("path",{d:"M248,80v96a16,16,0,0,1-16,16H140a4,4,0,0,1-4-4V68a4,4,0,0,1,4-4h92A16,16,0,0,1,248,80ZM120,48V208a8,8,0,0,1-16,0V192H24A16,16,0,0,1,8,176V80A16,16,0,0,1,24,64h80V48a8,8,0,0,1,16,0ZM88,112a8,8,0,0,0-8-8H48a8,8,0,0,0,0,16h8v24a8,8,0,0,0,16,0V120h8A8,8,0,0,0,88,112Z"},null,-1),C=[z],B={key:3},b=createBaseVNode("path",{d:"M112,42a6,6,0,0,0-6,6V66H24A14,14,0,0,0,10,80v96a14,14,0,0,0,14,14h82v18a6,6,0,0,0,12,0V48A6,6,0,0,0,112,42ZM24,178a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h82V178ZM246,80v96a14,14,0,0,1-14,14H144a6,6,0,0,1,0-12h88a2,2,0,0,0,2-2V80a2,2,0,0,0-2-2H144a6,6,0,0,1,0-12h88A14,14,0,0,1,246,80ZM86,112a6,6,0,0,1-6,6H70v26a6,6,0,0,1-12,0V118H48a6,6,0,0,1,0-12H80A6,6,0,0,1,86,112Z"},null,-1),N=[b],E={key:4},P=createBaseVNode("path",{d:"M112,40a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80v96a16,16,0,0,0,16,16h80v16a8,8,0,0,0,16,0V48A8,8,0,0,0,112,40ZM24,176V80h80v96ZM248,80v96a16,16,0,0,1-16,16H144a8,8,0,0,1,0-16h88V80H144a8,8,0,0,1,0-16h88A16,16,0,0,1,248,80ZM88,112a8,8,0,0,1-8,8H72v24a8,8,0,0,1-16,0V120H48a8,8,0,0,1,0-16H80A8,8,0,0,1,88,112Z"},null,-1),W=[P],$={key:5},j=createBaseVNode("path",{d:"M112,44a4,4,0,0,0-4,4V68H24A12,12,0,0,0,12,80v96a12,12,0,0,0,12,12h84v20a4,4,0,0,0,8,0V48A4,4,0,0,0,112,44ZM24,180a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h84V180ZM244,80v96a12,12,0,0,1-12,12H144a4,4,0,0,1,0-8h88a4,4,0,0,0,4-4V80a4,4,0,0,0-4-4H144a4,4,0,0,1,0-8h88A12,12,0,0,1,244,80ZM84,112a4,4,0,0,1-4,4H68v28a4,4,0,0,1-8,0V116H48a4,4,0,0,1,0-8H80A4,4,0,0,1,84,112Z"},null,-1),T=[j],q={name:"PhTextbox"},G=defineComponent({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,t=inject("weight","regular"),a=inject("size","1em"),s=inject("color","currentColor"),i=inject("mirrored",!1),d=computed(()=>{var u;return(u=e.weight)!=null?u:t}),n=computed(()=>{var u;return(u=e.size)!=null?u:a}),c=computed(()=>{var u;return(u=e.color)!=null?u:s}),h=computed(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(u,v)=>(openBlock(),createElementBlock("svg",mergeProps({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:c.value,transform:h.value},u.$attrs),[renderSlot(u.$slots,"default"),d.value==="bold"?(openBlock(),createElementBlock("g",g,y)):d.value==="duotone"?(openBlock(),createElementBlock("g",f,x)):d.value==="fill"?(openBlock(),createElementBlock("g",S,C)):d.value==="light"?(openBlock(),createElementBlock("g",B,N)):d.value==="regular"?(openBlock(),createElementBlock("g",E,W)):d.value==="thin"?(openBlock(),createElementBlock("g",$,T)):createCommentVNode("",!0)],16,Z))}});function normalizePath(o){return o.startsWith("/")?o.slice(1):o}async function redirect(o,e,t,a={}){if(isUrl(t)){const s=new URLSearchParams(a),i=new URL(t);i.search=s.toString(),window.location.href=i.toString()}else{const s=t.replace(/\/$/,"");if(o==="player")await e.push({path:"/"+normalizePath(s),query:a});else if(o==="editor")await e.push({name:"formEditor",params:{formPath:normalizePath(s)},query:a});else if(o==="preview")await e.push({name:"formPreview",params:{formPath:normalizePath(s)},query:a});else throw new Error("Invalid routing")}}const WS_CLOSING_STATES=[WebSocket.CLOSING,WebSocket.CLOSED],WS_CUSTOM_CLOSING_REASONS={FRONTEND_FORM_RESTART:4e3};class FormConnectionManager{constructor(e,t,a,s){r(this,"ws",null);r(this,"heartbeatInterval");r(this,"onOpen",null);r(this,"onMessage",null);r(this,"onClose",null);this.formId=e,this.environment=t,this.userQueryParams=a,this._detached=s}set detached(e){this._detached=e}get url(){const e=location.protocol==="https:"?"wss:":"ws:",t=this.environment=="editor"?"_editor/api/forms/socket":"_socket",a=new URLSearchParams({id:this.formId,detached:this._detached?"true":"false",...this.userQueryParams});return`${e}//${location.host}/${t}?${a}`}handleOpen(e){if(!this.onOpen)throw new Error("onOpen is not set");this.onOpen(),e()}handleClose(e){(e.code===1006||!e.wasClean)&&clearInterval(this.heartbeatInterval),this.onClose&&this.onClose(e)}handleMessage(e){if(!this.onMessage)throw new Error("onMessage is not set");const t=JSON.parse(e.data);this.onMessage(t)}sendHeartbeat(){!this.ws||this.ws.readyState!==this.ws.OPEN||this.send({type:"execution:heartbeat"})}async send(e){if(!this.ws)throw new Error(`[FormRunnerController] failed sending msg ${e.type}: websocket is not connected`);WS_CLOSING_STATES.includes(this.ws.readyState)&&await this.newConnection(),this.ws.send(JSON.stringify(e))}async close(e){this.ws&&this.ws.close(WS_CUSTOM_CLOSING_REASONS[e],e)}async newConnection(e=3,t){if(e!=0)return new Promise(a=>{clearInterval(this.heartbeatInterval),this.ws=new WebSocket(this.url,t),this.ws.onopen=()=>this.handleOpen(a),this.ws.onclose=s=>this.handleClose(s),this.ws.onmessage=s=>this.handleMessage(s),this.heartbeatInterval=setInterval(()=>this.sendHeartbeat(),2e3)}).catch(()=>{this.newConnection(e-1)})}isEditorConnection(){return this.environment==="editor"}}function isInputWidget(o){return"key"in o&&"value"in o&&"errors"in o}const executeCode=($context,code)=>{let evaluatedCode;try{evaluatedCode=eval(code)}catch(o){throw console.error(`[Error: execute_js]: ${o.message}, context: ${$context}`),o}return isSerializable(evaluatedCode)?evaluatedCode:null};async function executeJs(o){return{type:"execute-js:response",value:await executeCode(o.context,o.code)}}const isSerializable=o=>{try{return JSON.stringify(o),!0}catch{return!1}},FORM_END_STATES=["default-end","page-end","error","lock-failed"],FORM_RUNNING_STATES=["authenticating","page","loading"];class FormRunnerController{constructor({formRunnerData:e,logService:t,connectionManager:a,onFormStart:s,onFormEnd:i,onRedirect:d,onStateUpdate:n,onStackTraceUpdate:c}){r(this,"connectionManager");r(this,"logService");r(this,"formRunnerData");r(this,"formState");r(this,"messageSeq",0);r(this,"executionId",null);r(this,"onFormStart");r(this,"onFormEnd");r(this,"onRedirect");r(this,"onStackTraceUpdate");r(this,"onStateUpdate");r(this,"userStore");r(this,"responseHistory",[]);r(this,"lastResponseHistory",[]);r(this,"handlers",{"execution:lock-failed":[e=>this.handleExecutionLockFailedMessage(e)],"execution:started":[e=>this.handleExecutionStartedMessage(e)],"execution:ended":[e=>this.handleExecutionEndedMessage(e)],"form:mount-page":[e=>this.handleMountPageMessage(e)],"form:update-page":[e=>this.handleUpdatePageMessage(e)],"auth:require-info":[e=>this.handleAuthRequireInfoMessage(e)],"auth:invalid-jwt":[e=>this.handleAuthInvalidJWTMessage(e)],"auth:valid-jwt":[e=>this.handleAuthValidTokenMessage(e)],"redirect:request":[e=>this.handleRedirectRequestMessage(e)],"execute-js:request":[e=>this.handleExecuteJSRequestMessage(e)]});r(this,"start",async()=>{this.setFormState({type:"loading"}),await this.connectionManager.newConnection(3,this.userStore.wsAuthHeaders)});r(this,"resetForm",async()=>{var e;(e=this.logService)==null||e.log({type:"stdout",log:"[Form reloaded]"}),await this.connectionManager.close("FRONTEND_FORM_RESTART"),this.resetState()});r(this,"reconnect",async()=>{this.resetState(),await this.start()});r(this,"resetState",()=>{this.messageSeq=0,this.setFormState({type:"waiting",actions:[this.getStartAction()]})});r(this,"startPageLoading",()=>{if(this.formState.type!=="page")throw new Error("Can't start loading while not in render-page state");this.formState.actions.some(e=>e.loading)||this.setFormState({...this.formState,actions:this.formState.actions.map(e=>({...e,loading:!0}))})});r(this,"debouncedFinishPageLoading",lodash.exports.debounce(()=>{if(this.formState.type!=="page")throw new Error("Can't start loading while not in render-page state");this.setFormState({...this.formState,actions:this.formState.actions.map(e=>({...e,loading:!1}))})},500));r(this,"handleAuthEvent",e=>{if(!e){this.resetForm();return}this.formState.type==="authenticating"&&this.sendAuthSavedJWT(e)});r(this,"getStartAction",()=>this.actionFromMessage(this.formRunnerData.startButtonText||i18nProvider.translateIfFound("i18n_start_action",this.formRunnerData.language)));r(this,"getEndStateActions",()=>{const e=this.formRunnerData.restartButtonText||i18nProvider.translateIfFound("i18n_restart_action",this.formRunnerData.language);return this.formRunnerData.allowRestart?[this.actionFromMessage(e)]:[]});r(this,"getState",()=>({formState:this.formState,passwordlessUser:this.userStore.user}));r(this,"handleConnectionOpen",()=>{this.connectionManager.send({type:"execution:start"})});r(this,"widgetFromMessage",(e,t)=>{if(isInputWidget(e)){const a=e.errors.map(s=>i18nProvider.translateIfFound(s,this.formRunnerData.language,e));return{...e,input:!0,_pythonErrors:a,errors:a}}return{...e,input:!1,_pythonErrors:[],errors:[],key:e.type+t}});r(this,"actionFromMessage",e=>({name:e,label:i18nProvider.translateIfFound(e,this.formRunnerData.language,this.formRunnerData),disabled:!1,loading:!1}));r(this,"getAutofillVisibilty",e=>this.lastResponseHistory.length===0?!1:this.lastResponseHistory[0].some(t=>e.find(a=>a.key===t.key&&a.type===t.type&&"value"in a)));r(this,"handleAutofillClick",()=>{!this.lastResponseHistory[0]||this.formState.type==="page"&&(this.lastResponseHistory[0].forEach(t=>{!("widgets"in this.formState&&this.formState.widgets.find(s=>s.key===t.key&&s.type===t.type))||"value"in t&&this.updateWidgetValue(t.key,t.value)}),this.setFormState({...this.formState,showAutofill:!1}))});r(this,"handleMessageReceived",e=>{const t=this.handlers[e.type];if(!t)throw new Error(`No handler for message type ${e.type}`);if(t.forEach(a=>a(e)),e.debug&&this.onStackTraceUpdate){const a=e.type==="execution:ended";this.onStackTraceUpdate(e.debug.stack,a)}});r(this,"handleActionClick",e=>{if(this.formState.type==="waiting")return this.start();if(this.formState.type==="page"){const t=e.name==="i18n_back_action";return this.hasErrors()&&!t?void 0:(this.setFormState({...this.formState,actions:this.formState.actions.map(a=>a.label===e.label?{...a,loading:!0}:a)}),this.lastResponseHistory.shift(),this.responseHistory.push(this.formState.widgets),this.sendFormPageResponse(this.getWidgetValues(),e))}if(this.formState.type==="default-end"||this.formState.type==="page-end")return this.setFormState({...this.formState,actions:[{...this.getStartAction(),loading:!0}]}),this.start()});r(this,"updateWidgetValue",(e,t)=>{if(this.formState.type!=="page")return;const a=this.formState.widgets.find(i=>"key"in i&&i.key===e);if(!a||!isInputWidget(a))return;const s=this.formState.widgets.map(i=>i.key===e?{...i,value:t}:i);this.setFormState({...this.formState,widgets:s}),this.sendFormUserEvent(this.getWidgetValues(),this.getSecrets())});r(this,"updateWidgetFrontendErrors",(e,t)=>{if(this.formState.type!=="page"||!this.formState.widgets.find(i=>i.key===e))return;const s=this.formState.widgets.map(i=>i.key===e?{...i,errors:i._pythonErrors.concat(t.map(d=>i18nProvider.translateIfFound(d,this.formRunnerData.language,i)))}:i);this.setFormState({...this.formState,widgets:s})});if(this.formRunnerData=e,this.logService=t,this.connectionManager=a,this.onFormStart=s,this.onFormEnd=i,this.onRedirect=d,this.onStateUpdate=n,this.onStackTraceUpdate=c,this.userStore=useUserStore(),this.connectionManager.onOpen=()=>this.handleConnectionOpen(),this.connectionManager.onMessage=h=>this.handleMessageReceived(h),this.connectionManager.onClose=h=>this.handleConnectionClose(h),watch(()=>this.userStore.user,this.handleAuthEvent),this.formRunnerData.autoStart&&!this.connectionManager.isEditorConnection()){this.formState={type:"loading"},this.start();return}this.formState={type:"waiting",actions:[this.getStartAction()]}}set detached(e){this.connectionManager.detached=e}fullWidthFromMessage(e){return e.some(t=>"fullWidth"in t&&t.fullWidth)}async handleExecutionStartedMessage(e){this.executionId=e.executionId,this.onFormStart()}handleMountPageMessage(e){var a,s;const t=e.widgets.map(this.widgetFromMessage);if(e.endProgram){this.setFormState({type:"page-end",actions:this.getEndStateActions(),widgets:t,fullWidth:this.fullWidthFromMessage(e.widgets),steps:e.steps,refreshKey:Date.now().toString(),showAutofill:this.getAutofillVisibilty(t)});return}this.setFormState({type:"page",widgets:t,actions:(s=(a=e.actions)==null?void 0:a.map(this.actionFromMessage))!=null?s:[],fullWidth:this.fullWidthFromMessage(e.widgets),steps:e.steps,refreshKey:Date.now().toString(),showAutofill:this.getAutofillVisibilty(t)})}async handleExecuteJSRequestMessage(e){const t=await executeJs(e);this.connectionManager.send(t)}async handleAuthRequireInfoMessage(e){this.userStore.loadSavedToken();const t=this.userStore.user;if(t&&!e.refresh){this.sendAuthSavedJWT(t);return}this.userStore.logout(),this.setFormState({type:"authenticating"})}async handleAuthInvalidJWTMessage(e){this.userStore.logout(),this.setFormState({type:"authenticating"})}async handleAuthValidTokenMessage(e){}async handleExecutionLockFailedMessage(e){this.setFormState({type:"lock-failed"})}async handleRedirectRequestMessage(e){this.onRedirect(e.url,e.queryParams)}async handleUpdatePageMessage(e){if(e.seq===this.messageSeq){if(this.formState.type!=="page")throw new Error("Received form:update-page message while not in render-page state");this.setFormState({...this.formState,error:{message:e.validation.message,status:e.validation.status},widgets:e.widgets.map(this.widgetFromMessage),actions:this.formState.actions.map(t=>({...t,disabled:this.shouldDisableAction(t,e)}))}),this.debouncedFinishPageLoading()}}shouldDisableAction(e,t){if(e.name==="i18n_back_action"||this.formState.type!=="page")return!1;const s=t.widgets.map(this.widgetFromMessage).some(d=>d.errors.length>0),i=t.validation.status===!1||Boolean(t.validation.message);return s||i}async handleExecutionEndedMessage(e){var t;this.lastResponseHistory=[...this.responseHistory],this.responseHistory=[],!FORM_END_STATES.includes(this.formState.type)&&(e.exitStatus==="SUCCESS"&&(this.setFormState({type:"default-end",actions:this.getEndStateActions()}),(t=this.logService)==null||t.log({type:"stdout",log:"[Form run finished]"})),e.exitStatus==="EXCEPTION"&&this.setFormState({type:"error",message:e.exception,executionId:this.executionId}),this.onFormEnd())}sendFormPageResponse(e,t,a){this.connectionManager.send({type:"form:page-response",payload:e,secrets:a,action:t==null?void 0:t.name,seq:++this.messageSeq})}sendFormUserEvent(e,t){this.startPageLoading(),this.connectionManager.send({type:"form:user-event",payload:e,secrets:t,seq:++this.messageSeq})}sendAuthSavedJWT(e){this.connectionManager.send({type:"auth:saved-jwt",jwt:e.rawJwt})}handleCloseAttempt(){return FORM_END_STATES.includes(this.formState.type)||this.formState.type==="waiting"?!1:(this.connectionManager.send({type:"debug:close-attempt"}),!0)}handleConnectionClose(e){e.code!==WS_CUSTOM_CLOSING_REASONS.FRONTEND_FORM_RESTART&&FORM_RUNNING_STATES.includes(this.formState.type)&&this.reconnect()}setFormState(e){this.formState=Object.freeze(e),this.onStateUpdate(e)}getSecrets(){return this.formState.type!=="page"?[]:this.formState.widgets.filter(e=>"secret"in e).reduce((e,t)=>"key"in t&&"secret"in t?[...e,{key:t.key,secret:t.secret}]:e,[])}setWidgetValidationFunction(e,t){if(this.formState.type!=="page")return;const a=this.formState.widgets.find(s=>"key"in s&&s.key===e);!a||!isInputWidget(a)||(a.validationFunction=t)}hasErrors(){var e;return this.formState.type!=="page"?!1:((e=this.formState.error)==null?void 0:e.status)===!1||this.formState.widgets.some(t=>t.errors.length>0)}getWidgetValue(e){if(this.formState.type!=="page")return null;const t=this.formState.widgets.find(a=>"key"in a&&a.key===e);if(!t||!isInputWidget(t))return null}getWidgetValues(){return this.formState.type!=="page"?{}:this.formState.widgets.reduce((e,t)=>("value"in t&&(e[t.key]=t.value),e),{})}}const _hoisted_1$2={class:"text"},_sfc_main$3=defineComponent({__name:"component",props:{locale:{}},setup(o){return(e,t)=>(openBlock(),createElementBlock("div",_hoisted_1$2,toDisplayString(unref(i18nProvider).translate("i18n_lock_failed_not_running",e.locale)),1))}}),_hoisted_1$1={class:"outline-button"},_sfc_main$2=defineComponent({__name:"OutlineButton",props:{icon:{},noShadow:{type:Boolean},status:{}},setup(o){return(e,t)=>(openBlock(),createElementBlock("button",_hoisted_1$1,[e.icon?(openBlock(),createBlock(resolveDynamicComponent(e.icon),{key:0,class:"icon",color:"#fff"})):createCommentVNode("",!0),renderSlot(e.$slots,"default",{},void 0,!0)]))}}),OutlineButton_vue_vue_type_style_index_0_scoped_2d3b9e41_lang="",OutlineButton=_export_sfc(_sfc_main$2,[["__scopeId","data-v-2d3b9e41"]]),_sfc_main$1=defineComponent({__name:"FormAutoFill",emits:["click"],setup(o,{emit:e}){return(t,a)=>(openBlock(),createBlock(OutlineButton,{icon:unref(G),class:"form-auto-fill-btn",onClick:a[0]||(a[0]=s=>e("click"))},{default:withCtx(()=>[createTextVNode(" Repeat last answer ")]),_:1},8,["icon"]))}}),FormAutoFill_vue_vue_type_style_index_0_scoped_39354e61_lang="",FormAutoFill=_export_sfc(_sfc_main$1,[["__scopeId","data-v-39354e61"]]),_hoisted_1={class:"center"},_hoisted_2={key:0,class:"loading-wrapper"},_hoisted_3={class:"form-wrapper"},_hoisted_4=["id"],_hoisted_5={key:5,class:"span-error"},_hoisted_6={key:0,class:"buttons"},_sfc_main=defineComponent({__name:"FormRunner",props:{formRunnerData:{},formState:{},isPreview:{type:Boolean},disabled:{type:Boolean}},emits:["action-clicked","auto-fill-clicked","update-widget-value","update-widget-errors"],setup(o,{emit:e}){const t=o,a=ref(null),s=ref({}),i=()=>{!a.value||(a.value.scrollTop=0)};watch(()=>t.formState,(n,c)=>{n.type==="page"&&(c==null?void 0:c.type)==="page"&&n.refreshKey!==c.refreshKey&&i()});const d=()=>{var n,c;return((n=t.formState)==null?void 0:n.type)==="page"?t.formState.fullWidth:((c=t.formState)==null?void 0:c.type)==="page-end"?t.formState.fullWidth&&t.formState.widgets.length>0:!1};return(n,c)=>{var h,u,v,M;return openBlock(),createElementBlock("div",_hoisted_1,[n.isPreview&&((h=n.formState)==null?void 0:h.type)==="page"&&n.formState.showAutofill?(openBlock(),createBlock(FormAutoFill,{key:0,class:"auto-fill-btn",form:n.formRunnerData,style:{"z-index":1},onClick:c[0]||(c[0]=l=>e("auto-fill-clicked"))},null,8,["form"])):createCommentVNode("",!0),((u=n.formState)==null?void 0:u.type)==="page"?(openBlock(),createBlock(Steps,{key:1,"steps-info":n.formState.steps},null,8,["steps-info"])):createCommentVNode("",!0),createBaseVNode("main",{ref_key:"scrollableContainer",ref:a,class:normalizeClass([{disabled:n.disabled}]),style:{padding:"50px 0px","box-sizing":"border-box"}},[!n.formState||n.formState.type=="loading"?(openBlock(),createElementBlock("div",_hoisted_2,[createVNode(LoadingIndicator)])):n.formState.type==="authenticating"?(openBlock(),createBlock(_sfc_main$4,{key:1,locale:n.formRunnerData.language,"logo-url":(v=n.formRunnerData.logoUrl)!=null?v:void 0,"brand-name":(M=n.formRunnerData.brandName)!=null?M:void 0},null,8,["locale","logo-url","brand-name"])):(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(["form",{"full-width":d()}])},[createBaseVNode("div",_hoisted_3,[n.formState.type==="waiting"?(openBlock(),createBlock(StartWidget,{key:0,form:n.formRunnerData},null,8,["form"])):n.formState.type==="default-end"?(openBlock(),createBlock(EndWidget,{key:1,"end-message":n.formRunnerData.endMessage,locale:n.formRunnerData.language},null,8,["end-message","locale"])):n.formState.type==="error"?(openBlock(),createBlock(ErrorWidget,{key:2,"error-message":n.formRunnerData.errorMessage,"execution-id":n.formState.executionId,locale:n.formRunnerData.language},null,8,["error-message","execution-id","locale"])):n.formState.type==="lock-failed"?(openBlock(),createBlock(_sfc_main$3,{key:3,locale:n.formRunnerData.language},null,8,["locale"])):(openBlock(!0),createElementBlock(Fragment,{key:4},renderList(n.formState.widgets,(l,_)=>{var F;return openBlock(),createElementBlock("div",{id:l.type+_,key:(F=l.key)!=null?F:l.type+_,class:"widget"},[(openBlock(),createBlock(resolveDynamicComponent(l.type),{ref_for:!0,ref:p=>"key"in l?s.value[l.key]=p:null,key:l.key+"_"+n.formState.refreshKey,value:unref(isInputWidget)(l)&&l.value,errors:l.errors,"user-props":l,locale:n.formRunnerData.language,"onUpdate:value":p=>e("update-widget-value",l.key,p),"onUpdate:errors":p=>e("update-widget-errors",l.key,p)},null,40,["value","errors","user-props","locale","onUpdate:value","onUpdate:errors"])),(openBlock(!0),createElementBlock(Fragment,null,renderList(l.errors,p=>(openBlock(),createElementBlock("span",{key:p,class:"span-error"},toDisplayString(p),1))),128))],8,_hoisted_4)}),128)),n.formState.type==="page"&&n.formState.error&&n.formState.error.status===!1?(openBlock(),createElementBlock("span",_hoisted_5,toDisplayString(n.formState.error.message||unref(i18nProvider).translateIfFound("i18n_generic_validation_error",n.formRunnerData.language)),1)):createCommentVNode("",!0)]),"actions"in n.formState?(openBlock(),createElementBlock("div",_hoisted_6,[createVNode(unref(StyleProvider),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.formState.actions,l=>(openBlock(),createBlock(unref(Button),{key:l.name,class:normalizeClass(["next-button",{"next-button__disabled":l.disabled||l.loading}]),loading:l.loading,disabled:l.disabled||l.loading,onClick:_=>e("action-clicked",l),onKeydown:withKeys(_=>e("action-clicked",l),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(l.label),1)]),_:2},1032,["class","loading","disabled","onClick","onKeydown"]))),128))]),_:1})])):createCommentVNode("",!0)],2))],2),createVNode(Watermark,{"page-id":n.formRunnerData.id,locale:n.formRunnerData.language},null,8,["page-id","locale"])])}}}),FormRunner_vue_vue_type_style_index_0_scoped_e4b3efc9_lang="",FormRunner=_export_sfc(_sfc_main,[["__scopeId","data-v-e4b3efc9"]]);export{FORM_RUNNING_STATES as F,FORM_END_STATES as a,FormRunner as b,FormRunnerController as c,FormConnectionManager as d,redirect as r}; -//# sourceMappingURL=FormRunner.1bcfb465.js.map +var R=Object.defineProperty;var A=(o,e,t)=>e in o?R(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var r=(o,e,t)=>(A(o,typeof e!="symbol"?e+"":e,t),t);import{i as isUrl}from"./url.1a1c4e74.js";import{d as defineComponent,B as inject,f as computed,o as openBlock,X as createElementBlock,Z as renderSlot,R as createCommentVNode,e8 as mergeProps,a as createBaseVNode,g as watch,ej as lodash,eV as i18nProvider,e9 as toDisplayString,u as unref,c as createBlock,ec as resolveDynamicComponent,$ as _export_sfc,w as withCtx,aF as createTextVNode,e as ref,b as createVNode,ed as normalizeClass,eW as StartWidget,eX as EndWidget,eY as ErrorWidget,aR as Fragment,eb as renderList,eZ as StyleProvider,eU as withKeys,bP as Button}from"./vue-router.324eaed2.js";import{b as useUserStore}from"./workspaceStore.5977d9e8.js";import{_ as _sfc_main$4}from"./Login.vue_vue_type_script_setup_true_lang.88412b2f.js";import{L as LoadingIndicator}from"./CircularLoading.08cb4e45.js";import{S as Steps}from"./Steps.f9a5ddf6.js";import{W as Watermark}from"./Watermark.de74448d.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="d00dd558-d64a-4a1e-ab02-e771a0262d2e",o._sentryDebugIdIdentifier="sentry-dbid-d00dd558-d64a-4a1e-ab02-e771a0262d2e")}catch{}})();const Z=["width","height","fill","transform"],g={key:0},m=createBaseVNode("path",{d:"M112,36a12,12,0,0,0-12,12V60H24A20,20,0,0,0,4,80v96a20,20,0,0,0,20,20h76v12a12,12,0,0,0,24,0V48A12,12,0,0,0,112,36ZM28,172V84h72v88ZM252,80v96a20,20,0,0,1-20,20H152a12,12,0,0,1,0-24h76V84H152a12,12,0,0,1,0-24h80A20,20,0,0,1,252,80ZM88,112a12,12,0,0,1-12,12v20a12,12,0,0,1-24,0V124a12,12,0,0,1,0-24H76A12,12,0,0,1,88,112Z"},null,-1),y=[m],f={key:1},w=createBaseVNode("path",{d:"M240,80v96a8,8,0,0,1-8,8H24a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H232A8,8,0,0,1,240,80Z",opacity:"0.2"},null,-1),k=createBaseVNode("path",{d:"M112,40a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80v96a16,16,0,0,0,16,16h80v16a8,8,0,0,0,16,0V48A8,8,0,0,0,112,40ZM24,176V80h80v96ZM248,80v96a16,16,0,0,1-16,16H144a8,8,0,0,1,0-16h88V80H144a8,8,0,0,1,0-16h88A16,16,0,0,1,248,80ZM88,112a8,8,0,0,1-8,8H72v24a8,8,0,0,1-16,0V120H48a8,8,0,0,1,0-16H80A8,8,0,0,1,88,112Z"},null,-1),x=[w,k],S={key:2},z=createBaseVNode("path",{d:"M248,80v96a16,16,0,0,1-16,16H140a4,4,0,0,1-4-4V68a4,4,0,0,1,4-4h92A16,16,0,0,1,248,80ZM120,48V208a8,8,0,0,1-16,0V192H24A16,16,0,0,1,8,176V80A16,16,0,0,1,24,64h80V48a8,8,0,0,1,16,0ZM88,112a8,8,0,0,0-8-8H48a8,8,0,0,0,0,16h8v24a8,8,0,0,0,16,0V120h8A8,8,0,0,0,88,112Z"},null,-1),C=[z],B={key:3},b=createBaseVNode("path",{d:"M112,42a6,6,0,0,0-6,6V66H24A14,14,0,0,0,10,80v96a14,14,0,0,0,14,14h82v18a6,6,0,0,0,12,0V48A6,6,0,0,0,112,42ZM24,178a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h82V178ZM246,80v96a14,14,0,0,1-14,14H144a6,6,0,0,1,0-12h88a2,2,0,0,0,2-2V80a2,2,0,0,0-2-2H144a6,6,0,0,1,0-12h88A14,14,0,0,1,246,80ZM86,112a6,6,0,0,1-6,6H70v26a6,6,0,0,1-12,0V118H48a6,6,0,0,1,0-12H80A6,6,0,0,1,86,112Z"},null,-1),N=[b],E={key:4},P=createBaseVNode("path",{d:"M112,40a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80v96a16,16,0,0,0,16,16h80v16a8,8,0,0,0,16,0V48A8,8,0,0,0,112,40ZM24,176V80h80v96ZM248,80v96a16,16,0,0,1-16,16H144a8,8,0,0,1,0-16h88V80H144a8,8,0,0,1,0-16h88A16,16,0,0,1,248,80ZM88,112a8,8,0,0,1-8,8H72v24a8,8,0,0,1-16,0V120H48a8,8,0,0,1,0-16H80A8,8,0,0,1,88,112Z"},null,-1),W=[P],$={key:5},j=createBaseVNode("path",{d:"M112,44a4,4,0,0,0-4,4V68H24A12,12,0,0,0,12,80v96a12,12,0,0,0,12,12h84v20a4,4,0,0,0,8,0V48A4,4,0,0,0,112,44ZM24,180a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h84V180ZM244,80v96a12,12,0,0,1-12,12H144a4,4,0,0,1,0-8h88a4,4,0,0,0,4-4V80a4,4,0,0,0-4-4H144a4,4,0,0,1,0-8h88A12,12,0,0,1,244,80ZM84,112a4,4,0,0,1-4,4H68v28a4,4,0,0,1-8,0V116H48a4,4,0,0,1,0-8H80A4,4,0,0,1,84,112Z"},null,-1),T=[j],q={name:"PhTextbox"},G=defineComponent({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,t=inject("weight","regular"),a=inject("size","1em"),s=inject("color","currentColor"),i=inject("mirrored",!1),d=computed(()=>{var u;return(u=e.weight)!=null?u:t}),n=computed(()=>{var u;return(u=e.size)!=null?u:a}),c=computed(()=>{var u;return(u=e.color)!=null?u:s}),h=computed(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(u,v)=>(openBlock(),createElementBlock("svg",mergeProps({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:c.value,transform:h.value},u.$attrs),[renderSlot(u.$slots,"default"),d.value==="bold"?(openBlock(),createElementBlock("g",g,y)):d.value==="duotone"?(openBlock(),createElementBlock("g",f,x)):d.value==="fill"?(openBlock(),createElementBlock("g",S,C)):d.value==="light"?(openBlock(),createElementBlock("g",B,N)):d.value==="regular"?(openBlock(),createElementBlock("g",E,W)):d.value==="thin"?(openBlock(),createElementBlock("g",$,T)):createCommentVNode("",!0)],16,Z))}});function normalizePath(o){return o.startsWith("/")?o.slice(1):o}async function redirect(o,e,t,a={}){if(isUrl(t)){const s=new URLSearchParams(a),i=new URL(t);i.search=s.toString(),window.location.href=i.toString()}else{const s=t.replace(/\/$/,"");if(o==="player")await e.push({path:"/"+normalizePath(s),query:a});else if(o==="editor")await e.push({name:"formEditor",params:{formPath:normalizePath(s)},query:a});else if(o==="preview")await e.push({name:"formPreview",params:{formPath:normalizePath(s)},query:a});else throw new Error("Invalid routing")}}const WS_CLOSING_STATES=[WebSocket.CLOSING,WebSocket.CLOSED],WS_CUSTOM_CLOSING_REASONS={FRONTEND_FORM_RESTART:4e3};class FormConnectionManager{constructor(e,t,a,s){r(this,"ws",null);r(this,"heartbeatInterval");r(this,"onOpen",null);r(this,"onMessage",null);r(this,"onClose",null);this.formId=e,this.environment=t,this.userQueryParams=a,this._detached=s}set detached(e){this._detached=e}get url(){const e=location.protocol==="https:"?"wss:":"ws:",t=this.environment=="editor"?"_editor/api/forms/socket":"_socket",a=new URLSearchParams({id:this.formId,detached:this._detached?"true":"false",...this.userQueryParams});return`${e}//${location.host}/${t}?${a}`}handleOpen(e){if(!this.onOpen)throw new Error("onOpen is not set");this.onOpen(),e()}handleClose(e){(e.code===1006||!e.wasClean)&&clearInterval(this.heartbeatInterval),this.onClose&&this.onClose(e)}handleMessage(e){if(!this.onMessage)throw new Error("onMessage is not set");const t=JSON.parse(e.data);this.onMessage(t)}sendHeartbeat(){!this.ws||this.ws.readyState!==this.ws.OPEN||this.send({type:"execution:heartbeat"})}async send(e){if(!this.ws)throw new Error(`[FormRunnerController] failed sending msg ${e.type}: websocket is not connected`);WS_CLOSING_STATES.includes(this.ws.readyState)&&await this.newConnection(),this.ws.send(JSON.stringify(e))}async close(e){this.ws&&this.ws.close(WS_CUSTOM_CLOSING_REASONS[e],e)}async newConnection(e=3,t){if(e!=0)return new Promise(a=>{clearInterval(this.heartbeatInterval),this.ws=new WebSocket(this.url,t),this.ws.onopen=()=>this.handleOpen(a),this.ws.onclose=s=>this.handleClose(s),this.ws.onmessage=s=>this.handleMessage(s),this.heartbeatInterval=setInterval(()=>this.sendHeartbeat(),2e3)}).catch(()=>{this.newConnection(e-1)})}isEditorConnection(){return this.environment==="editor"}}function isInputWidget(o){return"key"in o&&"value"in o&&"errors"in o}const executeCode=($context,code)=>{let evaluatedCode;try{evaluatedCode=eval(code)}catch(o){throw console.error(`[Error: execute_js]: ${o.message}, context: ${$context}`),o}return isSerializable(evaluatedCode)?evaluatedCode:null};async function executeJs(o){return{type:"execute-js:response",value:await executeCode(o.context,o.code)}}const isSerializable=o=>{try{return JSON.stringify(o),!0}catch{return!1}},FORM_END_STATES=["default-end","page-end","error","lock-failed"],FORM_RUNNING_STATES=["authenticating","page","loading"];class FormRunnerController{constructor({formRunnerData:e,logService:t,connectionManager:a,onFormStart:s,onFormEnd:i,onRedirect:d,onStateUpdate:n,onStackTraceUpdate:c}){r(this,"connectionManager");r(this,"logService");r(this,"formRunnerData");r(this,"formState");r(this,"messageSeq",0);r(this,"executionId",null);r(this,"onFormStart");r(this,"onFormEnd");r(this,"onRedirect");r(this,"onStackTraceUpdate");r(this,"onStateUpdate");r(this,"userStore");r(this,"responseHistory",[]);r(this,"lastResponseHistory",[]);r(this,"handlers",{"execution:lock-failed":[e=>this.handleExecutionLockFailedMessage(e)],"execution:started":[e=>this.handleExecutionStartedMessage(e)],"execution:ended":[e=>this.handleExecutionEndedMessage(e)],"form:mount-page":[e=>this.handleMountPageMessage(e)],"form:update-page":[e=>this.handleUpdatePageMessage(e)],"auth:require-info":[e=>this.handleAuthRequireInfoMessage(e)],"auth:invalid-jwt":[e=>this.handleAuthInvalidJWTMessage(e)],"auth:valid-jwt":[e=>this.handleAuthValidTokenMessage(e)],"redirect:request":[e=>this.handleRedirectRequestMessage(e)],"execute-js:request":[e=>this.handleExecuteJSRequestMessage(e)]});r(this,"start",async()=>{this.setFormState({type:"loading"}),await this.connectionManager.newConnection(3,this.userStore.wsAuthHeaders)});r(this,"resetForm",async()=>{var e;(e=this.logService)==null||e.log({type:"stdout",log:"[Form reloaded]"}),await this.connectionManager.close("FRONTEND_FORM_RESTART"),this.resetState()});r(this,"reconnect",async()=>{this.resetState(),await this.start()});r(this,"resetState",()=>{this.messageSeq=0,this.setFormState({type:"waiting",actions:[this.getStartAction()]})});r(this,"startPageLoading",()=>{if(this.formState.type!=="page")throw new Error("Can't start loading while not in render-page state");this.formState.actions.some(e=>e.loading)||this.setFormState({...this.formState,actions:this.formState.actions.map(e=>({...e,loading:!0}))})});r(this,"debouncedFinishPageLoading",lodash.exports.debounce(()=>{if(this.formState.type!=="page")throw new Error("Can't start loading while not in render-page state");this.setFormState({...this.formState,actions:this.formState.actions.map(e=>({...e,loading:!1}))})},500));r(this,"handleAuthEvent",e=>{if(!e){this.resetForm();return}this.formState.type==="authenticating"&&this.sendAuthSavedJWT(e)});r(this,"getStartAction",()=>this.actionFromMessage(this.formRunnerData.startButtonText||i18nProvider.translateIfFound("i18n_start_action",this.formRunnerData.language)));r(this,"getEndStateActions",()=>{const e=this.formRunnerData.restartButtonText||i18nProvider.translateIfFound("i18n_restart_action",this.formRunnerData.language);return this.formRunnerData.allowRestart?[this.actionFromMessage(e)]:[]});r(this,"getState",()=>({formState:this.formState,passwordlessUser:this.userStore.user}));r(this,"handleConnectionOpen",()=>{this.connectionManager.send({type:"execution:start"})});r(this,"widgetFromMessage",(e,t)=>{if(isInputWidget(e)){const a=e.errors.map(s=>i18nProvider.translateIfFound(s,this.formRunnerData.language,e));return{...e,input:!0,_pythonErrors:a,errors:a}}return{...e,input:!1,_pythonErrors:[],errors:[],key:e.type+t}});r(this,"actionFromMessage",e=>({name:e,label:i18nProvider.translateIfFound(e,this.formRunnerData.language,this.formRunnerData),disabled:!1,loading:!1}));r(this,"getAutofillVisibilty",e=>this.lastResponseHistory.length===0?!1:this.lastResponseHistory[0].some(t=>e.find(a=>a.key===t.key&&a.type===t.type&&"value"in a)));r(this,"handleAutofillClick",()=>{!this.lastResponseHistory[0]||this.formState.type==="page"&&(this.lastResponseHistory[0].forEach(t=>{!("widgets"in this.formState&&this.formState.widgets.find(s=>s.key===t.key&&s.type===t.type))||"value"in t&&this.updateWidgetValue(t.key,t.value)}),this.setFormState({...this.formState,showAutofill:!1}))});r(this,"handleMessageReceived",e=>{const t=this.handlers[e.type];if(!t)throw new Error(`No handler for message type ${e.type}`);if(t.forEach(a=>a(e)),e.debug&&this.onStackTraceUpdate){const a=e.type==="execution:ended";this.onStackTraceUpdate(e.debug.stack,a)}});r(this,"handleActionClick",e=>{if(this.formState.type==="waiting")return this.start();if(this.formState.type==="page"){const t=e.name==="i18n_back_action";return this.hasErrors()&&!t?void 0:(this.setFormState({...this.formState,actions:this.formState.actions.map(a=>a.label===e.label?{...a,loading:!0}:a)}),this.lastResponseHistory.shift(),this.responseHistory.push(this.formState.widgets),this.sendFormPageResponse(this.getWidgetValues(),e))}if(this.formState.type==="default-end"||this.formState.type==="page-end")return this.setFormState({...this.formState,actions:[{...this.getStartAction(),loading:!0}]}),this.start()});r(this,"updateWidgetValue",(e,t)=>{if(this.formState.type!=="page")return;const a=this.formState.widgets.find(i=>"key"in i&&i.key===e);if(!a||!isInputWidget(a))return;const s=this.formState.widgets.map(i=>i.key===e?{...i,value:t}:i);this.setFormState({...this.formState,widgets:s}),this.sendFormUserEvent(this.getWidgetValues(),this.getSecrets())});r(this,"updateWidgetFrontendErrors",(e,t)=>{if(this.formState.type!=="page"||!this.formState.widgets.find(i=>i.key===e))return;const s=this.formState.widgets.map(i=>i.key===e?{...i,errors:i._pythonErrors.concat(t.map(d=>i18nProvider.translateIfFound(d,this.formRunnerData.language,i)))}:i);this.setFormState({...this.formState,widgets:s})});if(this.formRunnerData=e,this.logService=t,this.connectionManager=a,this.onFormStart=s,this.onFormEnd=i,this.onRedirect=d,this.onStateUpdate=n,this.onStackTraceUpdate=c,this.userStore=useUserStore(),this.connectionManager.onOpen=()=>this.handleConnectionOpen(),this.connectionManager.onMessage=h=>this.handleMessageReceived(h),this.connectionManager.onClose=h=>this.handleConnectionClose(h),watch(()=>this.userStore.user,this.handleAuthEvent),this.formRunnerData.autoStart&&!this.connectionManager.isEditorConnection()){this.formState={type:"loading"},this.start();return}this.formState={type:"waiting",actions:[this.getStartAction()]}}set detached(e){this.connectionManager.detached=e}fullWidthFromMessage(e){return e.some(t=>"fullWidth"in t&&t.fullWidth)}async handleExecutionStartedMessage(e){this.executionId=e.executionId,this.onFormStart()}handleMountPageMessage(e){var a,s;const t=e.widgets.map(this.widgetFromMessage);if(e.endProgram){this.setFormState({type:"page-end",actions:this.getEndStateActions(),widgets:t,fullWidth:this.fullWidthFromMessage(e.widgets),steps:e.steps,refreshKey:Date.now().toString(),showAutofill:this.getAutofillVisibilty(t)});return}this.setFormState({type:"page",widgets:t,actions:(s=(a=e.actions)==null?void 0:a.map(this.actionFromMessage))!=null?s:[],fullWidth:this.fullWidthFromMessage(e.widgets),steps:e.steps,refreshKey:Date.now().toString(),showAutofill:this.getAutofillVisibilty(t)})}async handleExecuteJSRequestMessage(e){const t=await executeJs(e);this.connectionManager.send(t)}async handleAuthRequireInfoMessage(e){this.userStore.loadSavedToken();const t=this.userStore.user;if(t&&!e.refresh){this.sendAuthSavedJWT(t);return}this.userStore.logout(),this.setFormState({type:"authenticating"})}async handleAuthInvalidJWTMessage(e){this.userStore.logout(),this.setFormState({type:"authenticating"})}async handleAuthValidTokenMessage(e){}async handleExecutionLockFailedMessage(e){this.setFormState({type:"lock-failed"})}async handleRedirectRequestMessage(e){this.onRedirect(e.url,e.queryParams)}async handleUpdatePageMessage(e){if(e.seq===this.messageSeq){if(this.formState.type!=="page")throw new Error("Received form:update-page message while not in render-page state");this.setFormState({...this.formState,error:{message:e.validation.message,status:e.validation.status},widgets:e.widgets.map(this.widgetFromMessage),actions:this.formState.actions.map(t=>({...t,disabled:this.shouldDisableAction(t,e)}))}),this.debouncedFinishPageLoading()}}shouldDisableAction(e,t){if(e.name==="i18n_back_action"||this.formState.type!=="page")return!1;const s=t.widgets.map(this.widgetFromMessage).some(d=>d.errors.length>0),i=t.validation.status===!1||Boolean(t.validation.message);return s||i}async handleExecutionEndedMessage(e){var t;this.lastResponseHistory=[...this.responseHistory],this.responseHistory=[],!FORM_END_STATES.includes(this.formState.type)&&(e.exitStatus==="SUCCESS"&&(this.setFormState({type:"default-end",actions:this.getEndStateActions()}),(t=this.logService)==null||t.log({type:"stdout",log:"[Form run finished]"})),e.exitStatus==="EXCEPTION"&&this.setFormState({type:"error",message:e.exception,executionId:this.executionId}),this.onFormEnd())}sendFormPageResponse(e,t,a){this.connectionManager.send({type:"form:page-response",payload:e,secrets:a,action:t==null?void 0:t.name,seq:++this.messageSeq})}sendFormUserEvent(e,t){this.startPageLoading(),this.connectionManager.send({type:"form:user-event",payload:e,secrets:t,seq:++this.messageSeq})}sendAuthSavedJWT(e){this.connectionManager.send({type:"auth:saved-jwt",jwt:e.rawJwt})}handleCloseAttempt(){return FORM_END_STATES.includes(this.formState.type)||this.formState.type==="waiting"?!1:(this.connectionManager.send({type:"debug:close-attempt"}),!0)}handleConnectionClose(e){e.code!==WS_CUSTOM_CLOSING_REASONS.FRONTEND_FORM_RESTART&&FORM_RUNNING_STATES.includes(this.formState.type)&&this.reconnect()}setFormState(e){this.formState=Object.freeze(e),this.onStateUpdate(e)}getSecrets(){return this.formState.type!=="page"?[]:this.formState.widgets.filter(e=>"secret"in e).reduce((e,t)=>"key"in t&&"secret"in t?[...e,{key:t.key,secret:t.secret}]:e,[])}setWidgetValidationFunction(e,t){if(this.formState.type!=="page")return;const a=this.formState.widgets.find(s=>"key"in s&&s.key===e);!a||!isInputWidget(a)||(a.validationFunction=t)}hasErrors(){var e;return this.formState.type!=="page"?!1:((e=this.formState.error)==null?void 0:e.status)===!1||this.formState.widgets.some(t=>t.errors.length>0)}getWidgetValue(e){if(this.formState.type!=="page")return null;const t=this.formState.widgets.find(a=>"key"in a&&a.key===e);if(!t||!isInputWidget(t))return null}getWidgetValues(){return this.formState.type!=="page"?{}:this.formState.widgets.reduce((e,t)=>("value"in t&&(e[t.key]=t.value),e),{})}}const _hoisted_1$2={class:"text"},_sfc_main$3=defineComponent({__name:"component",props:{locale:{}},setup(o){return(e,t)=>(openBlock(),createElementBlock("div",_hoisted_1$2,toDisplayString(unref(i18nProvider).translate("i18n_lock_failed_not_running",e.locale)),1))}}),_hoisted_1$1={class:"outline-button"},_sfc_main$2=defineComponent({__name:"OutlineButton",props:{icon:{},noShadow:{type:Boolean},status:{}},setup(o){return(e,t)=>(openBlock(),createElementBlock("button",_hoisted_1$1,[e.icon?(openBlock(),createBlock(resolveDynamicComponent(e.icon),{key:0,class:"icon",color:"#fff"})):createCommentVNode("",!0),renderSlot(e.$slots,"default",{},void 0,!0)]))}}),OutlineButton_vue_vue_type_style_index_0_scoped_2d3b9e41_lang="",OutlineButton=_export_sfc(_sfc_main$2,[["__scopeId","data-v-2d3b9e41"]]),_sfc_main$1=defineComponent({__name:"FormAutoFill",emits:["click"],setup(o,{emit:e}){return(t,a)=>(openBlock(),createBlock(OutlineButton,{icon:unref(G),class:"form-auto-fill-btn",onClick:a[0]||(a[0]=s=>e("click"))},{default:withCtx(()=>[createTextVNode(" Repeat last answer ")]),_:1},8,["icon"]))}}),FormAutoFill_vue_vue_type_style_index_0_scoped_39354e61_lang="",FormAutoFill=_export_sfc(_sfc_main$1,[["__scopeId","data-v-39354e61"]]),_hoisted_1={class:"center"},_hoisted_2={key:0,class:"loading-wrapper"},_hoisted_3={class:"form-wrapper"},_hoisted_4=["id"],_hoisted_5={key:5,class:"span-error"},_hoisted_6={key:0,class:"buttons"},_sfc_main=defineComponent({__name:"FormRunner",props:{formRunnerData:{},formState:{},isPreview:{type:Boolean},disabled:{type:Boolean}},emits:["action-clicked","auto-fill-clicked","update-widget-value","update-widget-errors"],setup(o,{emit:e}){const t=o,a=ref(null),s=ref({}),i=()=>{!a.value||(a.value.scrollTop=0)};watch(()=>t.formState,(n,c)=>{n.type==="page"&&(c==null?void 0:c.type)==="page"&&n.refreshKey!==c.refreshKey&&i()});const d=()=>{var n,c;return((n=t.formState)==null?void 0:n.type)==="page"?t.formState.fullWidth:((c=t.formState)==null?void 0:c.type)==="page-end"?t.formState.fullWidth&&t.formState.widgets.length>0:!1};return(n,c)=>{var h,u,v,M;return openBlock(),createElementBlock("div",_hoisted_1,[n.isPreview&&((h=n.formState)==null?void 0:h.type)==="page"&&n.formState.showAutofill?(openBlock(),createBlock(FormAutoFill,{key:0,class:"auto-fill-btn",form:n.formRunnerData,style:{"z-index":1},onClick:c[0]||(c[0]=l=>e("auto-fill-clicked"))},null,8,["form"])):createCommentVNode("",!0),((u=n.formState)==null?void 0:u.type)==="page"?(openBlock(),createBlock(Steps,{key:1,"steps-info":n.formState.steps},null,8,["steps-info"])):createCommentVNode("",!0),createBaseVNode("main",{ref_key:"scrollableContainer",ref:a,class:normalizeClass([{disabled:n.disabled}]),style:{padding:"50px 0px","box-sizing":"border-box"}},[!n.formState||n.formState.type=="loading"?(openBlock(),createElementBlock("div",_hoisted_2,[createVNode(LoadingIndicator)])):n.formState.type==="authenticating"?(openBlock(),createBlock(_sfc_main$4,{key:1,locale:n.formRunnerData.language,"logo-url":(v=n.formRunnerData.logoUrl)!=null?v:void 0,"brand-name":(M=n.formRunnerData.brandName)!=null?M:void 0},null,8,["locale","logo-url","brand-name"])):(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(["form",{"full-width":d()}])},[createBaseVNode("div",_hoisted_3,[n.formState.type==="waiting"?(openBlock(),createBlock(StartWidget,{key:0,form:n.formRunnerData},null,8,["form"])):n.formState.type==="default-end"?(openBlock(),createBlock(EndWidget,{key:1,"end-message":n.formRunnerData.endMessage,locale:n.formRunnerData.language},null,8,["end-message","locale"])):n.formState.type==="error"?(openBlock(),createBlock(ErrorWidget,{key:2,"error-message":n.formRunnerData.errorMessage,"execution-id":n.formState.executionId,locale:n.formRunnerData.language},null,8,["error-message","execution-id","locale"])):n.formState.type==="lock-failed"?(openBlock(),createBlock(_sfc_main$3,{key:3,locale:n.formRunnerData.language},null,8,["locale"])):(openBlock(!0),createElementBlock(Fragment,{key:4},renderList(n.formState.widgets,(l,_)=>{var F;return openBlock(),createElementBlock("div",{id:l.type+_,key:(F=l.key)!=null?F:l.type+_,class:"widget"},[(openBlock(),createBlock(resolveDynamicComponent(l.type),{ref_for:!0,ref:p=>"key"in l?s.value[l.key]=p:null,key:l.key+"_"+n.formState.refreshKey,value:unref(isInputWidget)(l)&&l.value,errors:l.errors,"user-props":l,locale:n.formRunnerData.language,"onUpdate:value":p=>e("update-widget-value",l.key,p),"onUpdate:errors":p=>e("update-widget-errors",l.key,p)},null,40,["value","errors","user-props","locale","onUpdate:value","onUpdate:errors"])),(openBlock(!0),createElementBlock(Fragment,null,renderList(l.errors,p=>(openBlock(),createElementBlock("span",{key:p,class:"span-error"},toDisplayString(p),1))),128))],8,_hoisted_4)}),128)),n.formState.type==="page"&&n.formState.error&&n.formState.error.status===!1?(openBlock(),createElementBlock("span",_hoisted_5,toDisplayString(n.formState.error.message||unref(i18nProvider).translateIfFound("i18n_generic_validation_error",n.formRunnerData.language)),1)):createCommentVNode("",!0)]),"actions"in n.formState?(openBlock(),createElementBlock("div",_hoisted_6,[createVNode(unref(StyleProvider),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.formState.actions,l=>(openBlock(),createBlock(unref(Button),{key:l.name,class:normalizeClass(["next-button",{"next-button__disabled":l.disabled||l.loading}]),loading:l.loading,disabled:l.disabled||l.loading,onClick:_=>e("action-clicked",l),onKeydown:withKeys(_=>e("action-clicked",l),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(l.label),1)]),_:2},1032,["class","loading","disabled","onClick","onKeydown"]))),128))]),_:1})])):createCommentVNode("",!0)],2))],2),createVNode(Watermark,{"page-id":n.formRunnerData.id,locale:n.formRunnerData.language},null,8,["page-id","locale"])])}}}),FormRunner_vue_vue_type_style_index_0_scoped_e4b3efc9_lang="",FormRunner=_export_sfc(_sfc_main,[["__scopeId","data-v-e4b3efc9"]]);export{FORM_RUNNING_STATES as F,FORM_END_STATES as a,FormRunner as b,FormRunnerController as c,FormConnectionManager as d,redirect as r}; +//# sourceMappingURL=FormRunner.514c3468.js.map diff --git a/abstra_statics/dist/assets/Home.a815dee6.js b/abstra_statics/dist/assets/Home.53ba993b.js similarity index 55% rename from abstra_statics/dist/assets/Home.a815dee6.js rename to abstra_statics/dist/assets/Home.53ba993b.js index d5c75440cf..14cfc931bb 100644 --- a/abstra_statics/dist/assets/Home.a815dee6.js +++ b/abstra_statics/dist/assets/Home.53ba993b.js @@ -1,2 +1,2 @@ -import{i as k}from"./metadata.bccf44f5.js";import{W as b}from"./Watermark.0dce85a3.js";import{F as h}from"./PhArrowSquareOut.vue.03bd374b.js";import{d as w,eo as v,f as x,e as C,u as e,o as a,X as m,b as p,w as r,R as D,c as n,aF as f,d5 as y,aR as I,eb as z,dd as _,ec as F,e9 as T,ed as B,$ as H}from"./vue-router.33f35a18.js";import{u as L}from"./workspaceStore.be837912.js";import"./index.656584ac.js";import{L as N}from"./LoadingOutlined.64419cb9.js";import{C as R}from"./Card.639eca4a.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./TabPane.1080fde7.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="69e28357-5cdd-4057-ab2c-217e43b2cbd6",o._sentryDebugIdIdentifier="sentry-dbid-69e28357-5cdd-4057-ab2c-217e43b2cbd6")}catch{}})();const S={key:0,class:"home-container"},V=w({__name:"Home",setup(o){const i=v(),l=L(),u=x(()=>{var s;return((s=l.state.workspace)==null?void 0:s.sidebar.filter(d=>d.id!=="home"))||[]}),c=C(null),g=async(s,d)=>{c.value=d,await i.push({path:`/${s}`}),c.value=null};return(s,d)=>e(l).state.workspace?(a(),m("div",S,[p(e(_),{vertical:"",gap:"large",class:"cards-container"},{default:r(()=>[u.value.length===0?(a(),n(e(y),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[f(" There are no forms available for you. ")]),_:1})):(a(!0),m(I,{key:1},z(u.value,t=>(a(),n(e(R),{key:t.id,class:B(["form-card",{loading:c.value===t.id}]),"body-style":{cursor:"pointer"},onClick:W=>g(t.path,t.id)},{default:r(()=>[p(e(_),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[(a(),n(F(e(k)(t.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),p(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[f(T(t.name),1)]),_:2},1024),c.value!==t.id?(a(),n(e(h),{key:0,size:"20"})):(a(),n(e(N),{key:1,style:{"font-size":"20px"}}))]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),p(b,{class:"watermark","page-id":"home",locale:e(l).state.workspace.language},null,8,["locale"])])):D("",!0)}});const Z=H(V,[["__scopeId","data-v-060376d1"]]);export{Z as default}; -//# sourceMappingURL=Home.a815dee6.js.map +import{i as b}from"./metadata.4c5c5434.js";import{W as k}from"./Watermark.de74448d.js";import{F as h}from"./PhArrowSquareOut.vue.2a1b339b.js";import{d as w,eo as v,f as x,e as C,u as e,o as a,X as m,b as p,w as r,R as D,c as n,aF as f,d5 as y,aR as I,eb as z,dd as _,ec as F,e9 as T,ed as B,$ as H}from"./vue-router.324eaed2.js";import{u as L}from"./workspaceStore.5977d9e8.js";import"./index.7e70395a.js";import{L as N}from"./LoadingOutlined.09a06334.js";import{C as R}from"./Card.1902bdb7.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./TabPane.caed57de.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="76d01fb1-8aaf-4bc3-a842-ab27d432c2b5",o._sentryDebugIdIdentifier="sentry-dbid-76d01fb1-8aaf-4bc3-a842-ab27d432c2b5")}catch{}})();const S={key:0,class:"home-container"},V=w({__name:"Home",setup(o){const i=v(),l=L(),u=x(()=>{var s;return((s=l.state.workspace)==null?void 0:s.sidebar.filter(d=>d.id!=="home"))||[]}),c=C(null),g=async(s,d)=>{c.value=d,await i.push({path:`/${s}`}),c.value=null};return(s,d)=>e(l).state.workspace?(a(),m("div",S,[p(e(_),{vertical:"",gap:"large",class:"cards-container"},{default:r(()=>[u.value.length===0?(a(),n(e(y),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[f(" There are no forms available for you. ")]),_:1})):(a(!0),m(I,{key:1},z(u.value,t=>(a(),n(e(R),{key:t.id,class:B(["form-card",{loading:c.value===t.id}]),"body-style":{cursor:"pointer"},onClick:W=>g(t.path,t.id)},{default:r(()=>[p(e(_),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[(a(),n(F(e(b)(t.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),p(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[f(T(t.name),1)]),_:2},1024),c.value!==t.id?(a(),n(e(h),{key:0,size:"20"})):(a(),n(e(N),{key:1,style:{"font-size":"20px"}}))]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),p(k,{class:"watermark","page-id":"home",locale:e(l).state.workspace.language},null,8,["locale"])])):D("",!0)}});const Z=H(V,[["__scopeId","data-v-060376d1"]]);export{Z as default}; +//# sourceMappingURL=Home.53ba993b.js.map diff --git a/abstra_statics/dist/assets/Home.8c43ec6a.js b/abstra_statics/dist/assets/Home.8c43ec6a.js deleted file mode 100644 index 814c42d479..0000000000 --- a/abstra_statics/dist/assets/Home.8c43ec6a.js +++ /dev/null @@ -1,2 +0,0 @@ -import{$ as t,r as s,o as r,c}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0de5c7eb-9960-4428-9591-046e4861d9f2",e._sentryDebugIdIdentifier="sentry-dbid-0de5c7eb-9960-4428-9591-046e4861d9f2")}catch{}})();const d={};function _(e,o){const n=s("RouterView");return r(),c(n,{class:"router"})}const f=t(d,[["render",_],["__scopeId","data-v-3c2b9654"]]);export{f as default}; -//# sourceMappingURL=Home.8c43ec6a.js.map diff --git a/abstra_statics/dist/assets/Home.b4e591a2.js b/abstra_statics/dist/assets/Home.b4e591a2.js new file mode 100644 index 0000000000..b922c5b7d1 --- /dev/null +++ b/abstra_statics/dist/assets/Home.b4e591a2.js @@ -0,0 +1,2 @@ +import{$ as t,r as c,o as s,c as r}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c69ad058-8241-490a-9c72-70fab93b682e",e._sentryDebugIdIdentifier="sentry-dbid-c69ad058-8241-490a-9c72-70fab93b682e")}catch{}})();const _={};function a(e,o){const n=c("RouterView");return s(),r(n,{class:"router"})}const f=t(_,[["render",a],["__scopeId","data-v-3c2b9654"]]);export{f as default}; +//# sourceMappingURL=Home.b4e591a2.js.map diff --git a/abstra_statics/dist/assets/HookEditor.0b2b3599.js b/abstra_statics/dist/assets/HookEditor.0b2b3599.js deleted file mode 100644 index 348b586bc6..0000000000 --- a/abstra_statics/dist/assets/HookEditor.0b2b3599.js +++ /dev/null @@ -1,2 +0,0 @@ -import{B as V}from"./BaseLayout.4967fc3d.js";import{R as G,S as j,E as J,a as K,L as X}from"./SourceCode.9682eb82.js";import{S as z}from"./SaveButton.dae129ff.js";import{a as Y}from"./asyncComputed.c677c545.js";import{d as N,o as d,c as m,w as o,b as a,u as e,bH as w,cv as v,cu as W,f as M,D as Z,e as b,g as ee,aA as te,X as A,eb as q,bP as S,aF as g,aR as B,cA as $,R as _,d8 as Q,a as ae,e9 as E,d1 as oe,eo as le,ea as re,eg as ne,y as se,dd as F,cT as ue}from"./vue-router.33f35a18.js";import{H as ie}from"./scripts.cc2cce9b.js";import"./editor.c70395a0.js";import{W as de}from"./workspaces.91ed8c72.js";import{_ as pe}from"./RunButton.vue_vue_type_script_setup_true_lang.24af217a.js";import{A as C}from"./api.9a4e5329.js";import{T as ce}from"./ThreadSelector.2b29a84a.js";import{D as me,A as fe}from"./index.9a7eb52d.js";import{C as ve,A as P}from"./CollapsePanel.56bdec23.js";import{A as L}from"./index.241ee38a.js";import{B as ge}from"./Badge.71fee936.js";import{A as he}from"./index.2fc2bb22.js";import{N as ke}from"./NavbarControls.948aa1fc.js";import{b as ye}from"./index.6db53852.js";import{A as D,T as O}from"./TabPane.1080fde7.js";import"./uuid.0acc5368.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./PhCopy.vue.edaabc1e.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhCopySimple.vue.b5d1b25b.js";import"./PhCaretRight.vue.d23111f3.js";import"./PhBug.vue.ea49dd1b.js";import"./PhQuestion.vue.020af0e7.js";import"./LoadingOutlined.64419cb9.js";import"./polling.3587342a.js";import"./PhPencil.vue.2def7849.js";import"./toggleHighContrast.aa328f74.js";import"./index.f014adef.js";import"./Card.639eca4a.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./record.075b7d45.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./fetch.3971ea84.js";import"./metadata.bccf44f5.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./index.46373660.js";import"./CloseCircleOutlined.1d6fe2b1.js";import"./popupNotifcation.7fc1aee0.js";import"./PhArrowSquareOut.vue.03bd374b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./PhChats.vue.b6dd7b5a.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new Error().stack;f&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[f]="099a9f1b-13ea-4e33-8b8a-9c5831c03ea4",h._sentryDebugIdIdentifier="sentry-dbid-099a9f1b-13ea-4e33-8b8a-9c5831c03ea4")}catch{}})();const be=N({__name:"HookSettings",props:{hook:{}},setup(h){return(f,k)=>(d(),m(e(W),{layout:"vertical",style:{"padding-bottom":"50px"}},{default:o(()=>[a(e(v),{label:"Name",required:""},{default:o(()=>[a(e(w),{value:f.hook.title,"onUpdate:value":k[0]||(k[0]=p=>f.hook.title=p)},null,8,["value"])]),_:1}),a(G,{runtime:f.hook},null,8,["runtime"])]),_:1}))}}),_e={style:{display:"flex","flex-direction":"column",gap:"10px"}},Ce={key:0},we=N({__name:"HookTester",props:{hook:{},disabledWarning:{},executionConfig:{}},emits:["update:stage-run-id","update:execution-config"],setup(h,{expose:f,emit:k}){const p=h,T=[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"PATCH",value:"PATCH"}],y=M(()=>{var n;if((n=l.response)!=null&&n.status)return l.response.status>=500?"red":l.response.status>=400?"orange":l.response.status>=200?"green":"blue"}),l=Z({shouldSelectStageRun:!p.hook.isInitial,stageRunId:p.executionConfig.stageRunId,queryParams:[],headers:[{key:"Content-Type",value:"application/json"}],method:"POST",body:JSON.stringify({foo:123,bar:"abc"},null,4)}),I=l.queryParams.find(n=>n.name===C);p.executionConfig.stageRunId&&!I&&l.queryParams.push({name:C,value:p.executionConfig.stageRunId});const c=b(!1),x=async()=>{c.value=!0;try{const n={method:l.method,query:l.queryParams.reduce((t,{name:r,value:s})=>(r&&s&&(t[r]=s),t),{}),body:l.body,headers:l.headers.reduce((t,{key:r,value:s})=>(r&&s&&(t[r]=s),t),{})},i=p.executionConfig.attached?await p.hook.run(n):await p.hook.test(n);l.response=i}finally{c.value=!1,k("update:execution-config",{attached:!1,stageRunId:null,isInitial:p.hook.isInitial})}};ee([()=>p.executionConfig.stageRunId,()=>l.queryParams],([n,i])=>{const t=i.find(r=>r.name===C);if(n&&!t){l.queryParams.push({name:C,value:n});return}if(!n&&t){l.queryParams=l.queryParams.filter(r=>r.name!==C);return}n&&t&&n!==t.value&&(t.value=n)});const U=()=>{l.queryParams.push({name:"",value:""})},R=n=>{l.queryParams=l.queryParams.filter((i,t)=>t!==n)},H=()=>{l.headers.push({key:"",value:""})},u=n=>{l.headers=l.headers.filter((i,t)=>t!==n)};return f({runHook:x}),(n,i)=>(d(),m(e(W),{layout:"vertical",style:{overflow:"auto"}},{default:o(()=>[a(e(v),{label:"Method"},{default:o(()=>[a(e(te),{value:l.method,options:T,onSelect:i[0]||(i[0]=t=>l.method=t)},null,8,["value"])]),_:1}),a(e(v),null,{default:o(()=>[a(e(ve),{ghost:""},{default:o(()=>[a(e(P),{header:`Query Params (${l.queryParams.length})`},{default:o(()=>[(d(!0),A(B,null,q(l.queryParams,(t,r)=>(d(),m(e(v),{key:r},{default:o(()=>[a(e(L),null,{default:o(()=>[a(e(w),{value:t.name,"onUpdate:value":s=>t.name=s,type:"text",placeholder:"name"},null,8,["value","onUpdate:value"]),a(e(w),{value:t.value,"onUpdate:value":s=>t.value=s,type:"text",placeholder:"value",disabled:t.name===e(C)},null,8,["value","onUpdate:value","disabled"]),a(e(S),{danger:"",onClick:s=>R(r)},{default:o(()=>[g("remove")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),a(e(v),null,{default:o(()=>[a(e(S),{type:"dashed",style:{width:"100%"},onClick:U},{default:o(()=>[g(" Add Query Param ")]),_:1})]),_:1})]),_:1},8,["header"]),a(e(P),{header:`Headers (${l.headers.length})`},{default:o(()=>[(d(!0),A(B,null,q(l.headers,(t,r)=>(d(),m(e(v),{key:r,label:r===0?"Headers":void 0},{default:o(()=>[a(e(L),null,{default:o(()=>[a(e(w),{value:t.key,"onUpdate:value":s=>t.key=s,type:"text",placeholder:"name"},null,8,["value","onUpdate:value"]),a(e(w),{value:t.value,"onUpdate:value":s=>t.value=s,type:"text",placeholder:"value"},null,8,["value","onUpdate:value"]),a(e(S),{danger:"",onClick:s=>u(r)},{default:o(()=>[g("remove")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["label"]))),128)),a(e(v),null,{default:o(()=>[a(e(S),{type:"dashed",style:{width:"100%"},onClick:H},{default:o(()=>[g("Add Header")]),_:1})]),_:1})]),_:1},8,["header"]),a(e(P),{header:"Body"},{default:o(()=>[l.method!=="GET"?(d(),m(e(v),{key:0},{default:o(()=>[a(e($),{value:l.body,"onUpdate:value":i[1]||(i[1]=t=>l.body=t)},null,8,["value"])]),_:1})):_("",!0)]),_:1}),a(e(P),null,{header:o(()=>[a(e(ge),{dot:n.executionConfig.attached&&!n.executionConfig.stageRunId},{default:o(()=>[a(e(Q),null,{default:o(()=>[g("Thread")]),_:1})]),_:1},8,["dot"])]),default:o(()=>[a(ce,{stage:n.hook,"execution-config":p.executionConfig,"onUpdate:executionConfig":i[2]||(i[2]=t=>k("update:execution-config",t))},null,8,["stage","execution-config"])]),_:1})]),_:1})]),_:1}),a(e(v),null,{default:o(()=>[ae("div",_e,[a(pe,{loading:c.value,disabled:n.disabledWarning,onClick:x,onSave:i[3]||(i[3]=t=>n.hook.save())},null,8,["loading","disabled"])])]),_:1}),a(e(he),{orientation:"left"},{default:o(()=>[g("Response")]),_:1}),l.response?(d(),A("div",Ce,[a(e(oe),{color:y.value},{default:o(()=>[g(E(l.response.status),1)]),_:1},8,["color"]),a(e(fe),null,{default:o(()=>[(d(!0),A(B,null,q(l.response.headers,(t,r)=>(d(),m(e(me),{key:r,label:r},{default:o(()=>[g(E(t),1)]),_:2},1032,["label"]))),128))]),_:1}),a(e($),{value:l.response.body},null,8,["value"])])):_("",!0)]),_:1}))}}),wt=N({__name:"HookEditor",setup(h){const f=le(),k=re(),p=b(null),T=b(null),y=b("source-code"),l=b("preview");function I(){var r;if(!u.value)return;const t=u.value.hook.codeContent;(r=p.value)==null||r.updateLocalEditorCode(t)}const c=b({attached:!1,stageRunId:null,isInitial:!1}),x=t=>c.value={...c.value,attached:!!t},U=M(()=>{var t;return(t=u.value)!=null&&t.hook.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:!c.value.isInitial&&c.value.attached&&!c.value.stageRunId?{title:"No thread selected",message:"Select a thread to run the workflow"}:null});function R(){f.push({name:"stages"})}const H=b(null),{result:u}=Y(async()=>{const[t,r]=await Promise.all([de.get(),ie.get(k.params.id)]);return c.value.isInitial=r.isInitial,se({workspace:t,hook:r})}),n=X.create(),i=t=>{var r;return t!==y.value&&((r=u.value)==null?void 0:r.hook.hasChanges())};return(t,r)=>(d(),m(V,null,ne({navbar:o(()=>[e(u)?(d(),m(e(ye),{key:0,title:e(u).hook.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:R},{extra:o(()=>[a(ke,{"docs-path":"concepts/hooks","editing-model":e(u).hook},null,8,["editing-model"])]),_:1},8,["title"])):_("",!0)]),content:o(()=>[e(u)?(d(),m(J,{key:0},{left:o(()=>[a(e(O),{"active-key":y.value,"onUpdate:activeKey":r[0]||(r[0]=s=>y.value=s)},{rightExtra:o(()=>[a(z,{model:e(u).hook,onSave:I},null,8,["model"])]),default:o(()=>[a(e(D),{key:"source-code",tab:"Source code",disabled:i("source-code")},null,8,["disabled"]),a(e(D),{key:"settings",tab:"Settings",disabled:i("settings")},null,8,["disabled"])]),_:1},8,["active-key"]),y.value==="source-code"?(d(),m(K,{key:0,ref_key:"code",ref:p,script:e(u).hook,workspace:e(u).workspace},null,8,["script","workspace"])):_("",!0),e(u).hook&&y.value==="settings"?(d(),m(be,{key:1,hook:e(u).hook},null,8,["hook"])):_("",!0)]),right:o(()=>[a(e(O),{"active-key":l.value,"onUpdate:activeKey":r[1]||(r[1]=s=>l.value=s)},{rightExtra:o(()=>[a(e(F),{align:"center",gap:"middle"},{default:o(()=>[a(e(F),{gap:"small"},{default:o(()=>[a(e(Q),null,{default:o(()=>[g(E(c.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),a(e(ue),{checked:c.value.attached,"onUpdate:checked":x},null,8,["checked"])]),_:1})]),_:1})]),default:o(()=>[a(e(D),{key:"preview",tab:"Preview"})]),_:1},8,["active-key"]),e(u).hook&&l.value==="preview"?(d(),m(we,{key:0,ref_key:"tester",ref:T,"execution-config":c.value,"onUpdate:executionConfig":r[2]||(r[2]=s=>c.value=s),hook:e(u).hook,"disabled-warning":U.value},null,8,["execution-config","hook","disabled-warning"])):_("",!0)]),_:1})):_("",!0)]),_:2},[e(u)?{name:"footer",fn:o(()=>[a(j,{ref_key:"smartConsole",ref:H,"stage-type":"hooks",stage:e(u).hook,"log-service":e(n),workspace:e(u).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});export{wt as default}; -//# sourceMappingURL=HookEditor.0b2b3599.js.map diff --git a/abstra_statics/dist/assets/HookEditor.d8819aa7.js b/abstra_statics/dist/assets/HookEditor.d8819aa7.js new file mode 100644 index 0000000000..88af75e9c4 --- /dev/null +++ b/abstra_statics/dist/assets/HookEditor.d8819aa7.js @@ -0,0 +1,2 @@ +import{B as V}from"./BaseLayout.577165c3.js";import{R as G,S as j,E as J,a as K,L as X}from"./SourceCode.b049bbd7.js";import{S as z}from"./SaveButton.17e88f21.js";import{a as Y}from"./asyncComputed.3916dfed.js";import{d as N,o as d,c,w as o,b as a,u as e,bH as w,cv as v,cu as W,f as M,D as Z,e as b,g as ee,aA as te,X as A,eb as q,bP as S,aF as g,aR as B,cA as $,R as _,d8 as Q,a as ae,e9 as E,d1 as oe,eo as le,ea as re,eg as ne,y as se,dd as F,cT as ue}from"./vue-router.324eaed2.js";import{H as ie}from"./scripts.c1b9be98.js";import"./editor.1b3b164b.js";import{W as de}from"./workspaces.a34621fe.js";import{_ as pe}from"./RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js";import{A as C}from"./api.bbc4c8cb.js";import{T as me}from"./ThreadSelector.d62fadec.js";import{D as ce,A as fe}from"./index.49b2eaf0.js";import{C as ve,A as P}from"./CollapsePanel.ce95f921.js";import{A as L}from"./index.7d758831.js";import{B as ge}from"./Badge.9808092c.js";import{A as he}from"./index.341662d4.js";import{N as ke}from"./NavbarControls.414bdd58.js";import{b as ye}from"./index.51467614.js";import{A as D,T as O}from"./TabPane.caed57de.js";import"./uuid.a06fb10a.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./PhCopy.vue.b2238e41.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhCopySimple.vue.d9faf509.js";import"./PhCaretRight.vue.70c5f54b.js";import"./PhBug.vue.ac4a72e0.js";import"./PhQuestion.vue.6a6a9376.js";import"./LoadingOutlined.09a06334.js";import"./polling.72e5a2f8.js";import"./PhPencil.vue.91f72c2e.js";import"./toggleHighContrast.4c55b574.js";import"./index.0887bacc.js";import"./Card.1902bdb7.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./record.cff1707c.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./fetch.42a41b34.js";import"./metadata.4c5c5434.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./index.520f8c66.js";import"./CloseCircleOutlined.6d0d12eb.js";import"./popupNotifcation.5a82bc93.js";import"./PhArrowSquareOut.vue.2a1b339b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./PhChats.vue.42699894.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new Error().stack;f&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[f]="dd4155db-f0bf-4e29-a892-beff610f2eda",h._sentryDebugIdIdentifier="sentry-dbid-dd4155db-f0bf-4e29-a892-beff610f2eda")}catch{}})();const be=N({__name:"HookSettings",props:{hook:{}},setup(h){return(f,k)=>(d(),c(e(W),{layout:"vertical",style:{"padding-bottom":"50px"}},{default:o(()=>[a(e(v),{label:"Name",required:""},{default:o(()=>[a(e(w),{value:f.hook.title,"onUpdate:value":k[0]||(k[0]=p=>f.hook.title=p)},null,8,["value"])]),_:1}),a(G,{runtime:f.hook},null,8,["runtime"])]),_:1}))}}),_e={style:{display:"flex","flex-direction":"column",gap:"10px"}},Ce={key:0},we=N({__name:"HookTester",props:{hook:{},disabledWarning:{},executionConfig:{}},emits:["update:stage-run-id","update:execution-config"],setup(h,{expose:f,emit:k}){const p=h,T=[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"PATCH",value:"PATCH"}],y=M(()=>{var n;if((n=l.response)!=null&&n.status)return l.response.status>=500?"red":l.response.status>=400?"orange":l.response.status>=200?"green":"blue"}),l=Z({shouldSelectStageRun:!p.hook.isInitial,stageRunId:p.executionConfig.stageRunId,queryParams:[],headers:[{key:"Content-Type",value:"application/json"}],method:"POST",body:JSON.stringify({foo:123,bar:"abc"},null,4)}),I=l.queryParams.find(n=>n.name===C);p.executionConfig.stageRunId&&!I&&l.queryParams.push({name:C,value:p.executionConfig.stageRunId});const m=b(!1),x=async()=>{m.value=!0;try{const n={method:l.method,query:l.queryParams.reduce((t,{name:r,value:s})=>(r&&s&&(t[r]=s),t),{}),body:l.body,headers:l.headers.reduce((t,{key:r,value:s})=>(r&&s&&(t[r]=s),t),{})},i=p.executionConfig.attached?await p.hook.run(n):await p.hook.test(n);l.response=i}finally{m.value=!1,k("update:execution-config",{attached:!1,stageRunId:null,isInitial:p.hook.isInitial})}};ee([()=>p.executionConfig.stageRunId,()=>l.queryParams],([n,i])=>{const t=i.find(r=>r.name===C);if(n&&!t){l.queryParams.push({name:C,value:n});return}if(!n&&t){l.queryParams=l.queryParams.filter(r=>r.name!==C);return}n&&t&&n!==t.value&&(t.value=n)});const U=()=>{l.queryParams.push({name:"",value:""})},R=n=>{l.queryParams=l.queryParams.filter((i,t)=>t!==n)},H=()=>{l.headers.push({key:"",value:""})},u=n=>{l.headers=l.headers.filter((i,t)=>t!==n)};return f({runHook:x}),(n,i)=>(d(),c(e(W),{layout:"vertical",style:{overflow:"auto"}},{default:o(()=>[a(e(v),{label:"Method"},{default:o(()=>[a(e(te),{value:l.method,options:T,onSelect:i[0]||(i[0]=t=>l.method=t)},null,8,["value"])]),_:1}),a(e(v),null,{default:o(()=>[a(e(ve),{ghost:""},{default:o(()=>[a(e(P),{header:`Query Params (${l.queryParams.length})`},{default:o(()=>[(d(!0),A(B,null,q(l.queryParams,(t,r)=>(d(),c(e(v),{key:r},{default:o(()=>[a(e(L),null,{default:o(()=>[a(e(w),{value:t.name,"onUpdate:value":s=>t.name=s,type:"text",placeholder:"name"},null,8,["value","onUpdate:value"]),a(e(w),{value:t.value,"onUpdate:value":s=>t.value=s,type:"text",placeholder:"value",disabled:t.name===e(C)},null,8,["value","onUpdate:value","disabled"]),a(e(S),{danger:"",onClick:s=>R(r)},{default:o(()=>[g("remove")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),a(e(v),null,{default:o(()=>[a(e(S),{type:"dashed",style:{width:"100%"},onClick:U},{default:o(()=>[g(" Add Query Param ")]),_:1})]),_:1})]),_:1},8,["header"]),a(e(P),{header:`Headers (${l.headers.length})`},{default:o(()=>[(d(!0),A(B,null,q(l.headers,(t,r)=>(d(),c(e(v),{key:r,label:r===0?"Headers":void 0},{default:o(()=>[a(e(L),null,{default:o(()=>[a(e(w),{value:t.key,"onUpdate:value":s=>t.key=s,type:"text",placeholder:"name"},null,8,["value","onUpdate:value"]),a(e(w),{value:t.value,"onUpdate:value":s=>t.value=s,type:"text",placeholder:"value"},null,8,["value","onUpdate:value"]),a(e(S),{danger:"",onClick:s=>u(r)},{default:o(()=>[g("remove")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["label"]))),128)),a(e(v),null,{default:o(()=>[a(e(S),{type:"dashed",style:{width:"100%"},onClick:H},{default:o(()=>[g("Add Header")]),_:1})]),_:1})]),_:1},8,["header"]),a(e(P),{header:"Body"},{default:o(()=>[l.method!=="GET"?(d(),c(e(v),{key:0},{default:o(()=>[a(e($),{value:l.body,"onUpdate:value":i[1]||(i[1]=t=>l.body=t)},null,8,["value"])]),_:1})):_("",!0)]),_:1}),a(e(P),null,{header:o(()=>[a(e(ge),{dot:n.executionConfig.attached&&!n.executionConfig.stageRunId},{default:o(()=>[a(e(Q),null,{default:o(()=>[g("Thread")]),_:1})]),_:1},8,["dot"])]),default:o(()=>[a(me,{stage:n.hook,"execution-config":p.executionConfig,"onUpdate:executionConfig":i[2]||(i[2]=t=>k("update:execution-config",t))},null,8,["stage","execution-config"])]),_:1})]),_:1})]),_:1}),a(e(v),null,{default:o(()=>[ae("div",_e,[a(pe,{loading:m.value,disabled:n.disabledWarning,onClick:x,onSave:i[3]||(i[3]=t=>n.hook.save())},null,8,["loading","disabled"])])]),_:1}),a(e(he),{orientation:"left"},{default:o(()=>[g("Response")]),_:1}),l.response?(d(),A("div",Ce,[a(e(oe),{color:y.value},{default:o(()=>[g(E(l.response.status),1)]),_:1},8,["color"]),a(e(fe),null,{default:o(()=>[(d(!0),A(B,null,q(l.response.headers,(t,r)=>(d(),c(e(ce),{key:r,label:r},{default:o(()=>[g(E(t),1)]),_:2},1032,["label"]))),128))]),_:1}),a(e($),{value:l.response.body},null,8,["value"])])):_("",!0)]),_:1}))}}),wt=N({__name:"HookEditor",setup(h){const f=le(),k=re(),p=b(null),T=b(null),y=b("source-code"),l=b("preview");function I(){var r;if(!u.value)return;const t=u.value.hook.codeContent;(r=p.value)==null||r.updateLocalEditorCode(t)}const m=b({attached:!1,stageRunId:null,isInitial:!1}),x=t=>m.value={...m.value,attached:!!t},U=M(()=>{var t;return(t=u.value)!=null&&t.hook.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:!m.value.isInitial&&m.value.attached&&!m.value.stageRunId?{title:"No thread selected",message:"Select a thread to run the workflow"}:null});function R(){f.push({name:"stages"})}const H=b(null),{result:u}=Y(async()=>{const[t,r]=await Promise.all([de.get(),ie.get(k.params.id)]);return m.value.isInitial=r.isInitial,se({workspace:t,hook:r})}),n=X.create(),i=t=>{var r;return t!==y.value&&((r=u.value)==null?void 0:r.hook.hasChanges())};return(t,r)=>(d(),c(V,null,ne({navbar:o(()=>[e(u)?(d(),c(e(ye),{key:0,title:e(u).hook.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:R},{extra:o(()=>[a(ke,{"docs-path":"concepts/hooks","editing-model":e(u).hook},null,8,["editing-model"])]),_:1},8,["title"])):_("",!0)]),content:o(()=>[e(u)?(d(),c(J,{key:0},{left:o(()=>[a(e(O),{"active-key":y.value,"onUpdate:activeKey":r[0]||(r[0]=s=>y.value=s)},{rightExtra:o(()=>[a(z,{model:e(u).hook,onSave:I},null,8,["model"])]),default:o(()=>[a(e(D),{key:"source-code",tab:"Source code",disabled:i("source-code")},null,8,["disabled"]),a(e(D),{key:"settings",tab:"Settings",disabled:i("settings")},null,8,["disabled"])]),_:1},8,["active-key"]),y.value==="source-code"?(d(),c(K,{key:0,ref_key:"code",ref:p,script:e(u).hook,workspace:e(u).workspace},null,8,["script","workspace"])):_("",!0),e(u).hook&&y.value==="settings"?(d(),c(be,{key:1,hook:e(u).hook},null,8,["hook"])):_("",!0)]),right:o(()=>[a(e(O),{"active-key":l.value,"onUpdate:activeKey":r[1]||(r[1]=s=>l.value=s)},{rightExtra:o(()=>[a(e(F),{align:"center",gap:"middle"},{default:o(()=>[a(e(F),{gap:"small"},{default:o(()=>[a(e(Q),null,{default:o(()=>[g(E(m.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),a(e(ue),{checked:m.value.attached,"onUpdate:checked":x},null,8,["checked"])]),_:1})]),_:1})]),default:o(()=>[a(e(D),{key:"preview",tab:"Preview"})]),_:1},8,["active-key"]),e(u).hook&&l.value==="preview"?(d(),c(we,{key:0,ref_key:"tester",ref:T,"execution-config":m.value,"onUpdate:executionConfig":r[2]||(r[2]=s=>m.value=s),hook:e(u).hook,"disabled-warning":U.value},null,8,["execution-config","hook","disabled-warning"])):_("",!0)]),_:1})):_("",!0)]),_:2},[e(u)?{name:"footer",fn:o(()=>[a(j,{ref_key:"smartConsole",ref:H,"stage-type":"hooks",stage:e(u).hook,"log-service":e(n),workspace:e(u).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});export{wt as default}; +//# sourceMappingURL=HookEditor.d8819aa7.js.map diff --git a/abstra_statics/dist/assets/JobEditor.15ad7111.js b/abstra_statics/dist/assets/JobEditor.15ad7111.js deleted file mode 100644 index 277676d90e..0000000000 --- a/abstra_statics/dist/assets/JobEditor.15ad7111.js +++ /dev/null @@ -1,3 +0,0 @@ -import{B as _n}from"./BaseLayout.4967fc3d.js";import{R as Mn,S as bn,E as In,a as xn,L as Cn}from"./SourceCode.9682eb82.js";import{S as Fn}from"./SaveButton.dae129ff.js";import{a as Vn}from"./asyncComputed.c677c545.js";import{eE as Wn,d as We,f as ge,e as te,Q as Ln,o as x,X as ye,b as M,w as E,u as v,aA as at,aF as W,aR as be,eb as Pe,c as L,e9 as Ce,cQ as ot,cv as St,bH as Tt,d3 as ut,cx as lt,R as oe,e$ as $t,d9 as wr,D as $n,cu as An,eo as Un,ea as Zn,eg as zn,y as Rn,dd as At,d8 as Hn,cT as qn}from"./vue-router.33f35a18.js";import{J as Yn}from"./scripts.cc2cce9b.js";import"./editor.c70395a0.js";import{W as Pn}from"./workspaces.91ed8c72.js";import{A as jn,a as Jn}from"./index.f9edb8af.js";import{A as Gn}from"./index.241ee38a.js";import{_ as Bn}from"./RunButton.vue_vue_type_script_setup_true_lang.24af217a.js";import{N as Qn}from"./NavbarControls.948aa1fc.js";import{b as Kn}from"./index.6db53852.js";import{A as ct,T as Ut}from"./TabPane.1080fde7.js";import"./uuid.0acc5368.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./PhCopy.vue.edaabc1e.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhCopySimple.vue.b5d1b25b.js";import"./PhCaretRight.vue.d23111f3.js";import"./Badge.71fee936.js";import"./PhBug.vue.ea49dd1b.js";import"./PhQuestion.vue.020af0e7.js";import"./LoadingOutlined.64419cb9.js";import"./polling.3587342a.js";import"./PhPencil.vue.2def7849.js";import"./toggleHighContrast.aa328f74.js";import"./index.f014adef.js";import"./Card.639eca4a.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./record.075b7d45.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./CloseCircleOutlined.1d6fe2b1.js";import"./popupNotifcation.7fc1aee0.js";import"./PhArrowSquareOut.vue.03bd374b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./PhChats.vue.b6dd7b5a.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="42d7f8de-13fd-40a3-9cc2-0fe89074479a",t._sentryDebugIdIdentifier="sentry-dbid-42d7f8de-13fd-40a3-9cc2-0fe89074479a")}catch{}})();const dt={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},Xn=["hourly","daily","weekly","monthly","custom"],es={custom:{minute:"*",hour:"*",day:"*",month:"*",weekday:"*"},hourly:{minute:"0",hour:"*",day:"*",month:"*",weekday:"*"},daily:{minute:"0",hour:"6",day:"*",month:"*",weekday:"*"},weekly:{minute:"0",hour:"6",day:"*",month:"*",weekday:"1"},monthly:{minute:"0",hour:"6",day:"1",month:"*",weekday:"*"}};var z={};Object.defineProperty(z,"__esModule",{value:!0});class fe extends Error{}class ts extends fe{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class rs extends fe{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class ns extends fe{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class pe extends fe{}class vr extends fe{constructor(e){super(`Invalid unit ${e}`)}}class U extends fe{}class K extends fe{constructor(){super("Zone is an abstract class")}}const h="numeric",G="short",Z="long",Ge={year:h,month:h,day:h},kr={year:h,month:G,day:h},ss={year:h,month:G,day:h,weekday:G},Sr={year:h,month:Z,day:h},Tr={year:h,month:Z,day:h,weekday:Z},Or={hour:h,minute:h},Dr={hour:h,minute:h,second:h},Nr={hour:h,minute:h,second:h,timeZoneName:G},Er={hour:h,minute:h,second:h,timeZoneName:Z},_r={hour:h,minute:h,hourCycle:"h23"},Mr={hour:h,minute:h,second:h,hourCycle:"h23"},br={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:G},Ir={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:Z},xr={year:h,month:h,day:h,hour:h,minute:h},Cr={year:h,month:h,day:h,hour:h,minute:h,second:h},Fr={year:h,month:G,day:h,hour:h,minute:h},Vr={year:h,month:G,day:h,hour:h,minute:h,second:h},is={year:h,month:G,day:h,weekday:G,hour:h,minute:h},Wr={year:h,month:Z,day:h,hour:h,minute:h,timeZoneName:G},Lr={year:h,month:Z,day:h,hour:h,minute:h,second:h,timeZoneName:G},$r={year:h,month:Z,day:h,weekday:Z,hour:h,minute:h,timeZoneName:Z},Ar={year:h,month:Z,day:h,weekday:Z,hour:h,minute:h,second:h,timeZoneName:Z};class Se{get type(){throw new K}get name(){throw new K}get ianaName(){return this.name}get isUniversal(){throw new K}offsetName(e,r){throw new K}formatOffset(e,r){throw new K}offset(e){throw new K}equals(e){throw new K}get isValid(){throw new K}}let ft=null;class Le extends Se{static get instance(){return ft===null&&(ft=new Le),ft}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Jr(e,r,n)}formatOffset(e,r){return Fe(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let je={};function as(t){return je[t]||(je[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),je[t]}const os={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function us(t,e){const r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,a,i,u,o,l,c]=n;return[i,s,a,u,o,l,c]}function ls(t,e){const r=t.formatToParts(e),n=[];for(let s=0;s=0?g:1e3+g,(m-f)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Zt={};function cs(t,e={}){const r=JSON.stringify([t,e]);let n=Zt[r];return n||(n=new Intl.ListFormat(t,e),Zt[r]=n),n}let Ot={};function Dt(t,e={}){const r=JSON.stringify([t,e]);let n=Ot[r];return n||(n=new Intl.DateTimeFormat(t,e),Ot[r]=n),n}let Nt={};function ds(t,e={}){const r=JSON.stringify([t,e]);let n=Nt[r];return n||(n=new Intl.NumberFormat(t,e),Nt[r]=n),n}let Et={};function fs(t,e={}){const{base:r,...n}=e,s=JSON.stringify([t,n]);let a=Et[s];return a||(a=new Intl.RelativeTimeFormat(t,e),Et[s]=a),a}let Ie=null;function hs(){return Ie||(Ie=new Intl.DateTimeFormat().resolvedOptions().locale,Ie)}let zt={};function ms(t){let e=zt[t];if(!e){const r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,zt[t]=e}return e}function ys(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const r=t.indexOf("-u-");if(r===-1)return[t];{let n,s;try{n=Dt(t).resolvedOptions(),s=t}catch{const o=t.substring(0,r);n=Dt(o).resolvedOptions(),s=o}const{numberingSystem:a,calendar:i}=n;return[s,a,i]}}function ps(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function gs(t){const e=[];for(let r=1;r<=12;r++){const n=O.utc(2009,r,1);e.push(t(n))}return e}function ws(t){const e=[];for(let r=1;r<=7;r++){const n=O.utc(2016,11,13+r);e.push(t(n))}return e}function ze(t,e,r,n){const s=t.listingMode();return s==="error"?null:s==="en"?r(e):n(e)}function vs(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class ks{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:s,floor:a,...i}=n;if(!r||Object.keys(i).length>0){const u={useGrouping:!1,...n};n.padTo>0&&(u.minimumIntegerDigits=n.padTo),this.inf=ds(e,u)}}format(e){if(this.inf){const r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{const r=this.floor?Math.floor(e):Ct(e,3);return F(r,this.padTo)}}}class Ss{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const i=-1*(e.offset/60),u=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;e.offset!==0&&B.create(u).valid?(s=u,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const a={...this.opts};a.timeZone=a.timeZone||s,this.dtf=Dt(r,a)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){const n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ts{constructor(e,r,n){this.opts={style:"long",...n},!r&&Pr()&&(this.rtf=fs(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):zs(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}}const Os={firstDay:1,minimalDays:4,weekend:[6,7]};class b{static fromOpts(e){return b.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,s,a=!1){const i=e||C.defaultLocale,u=i||(a?"en-US":hs()),o=r||C.defaultNumberingSystem,l=n||C.defaultOutputCalendar,c=_t(s)||C.defaultWeekSettings;return new b(u,o,l,c,i)}static resetCache(){Ie=null,Ot={},Nt={},Et={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:s}={}){return b.create(e,r,n,s)}constructor(e,r,n,s,a){const[i,u,o]=ys(e);this.locale=i,this.numberingSystem=r||u||null,this.outputCalendar=n||o||null,this.weekSettings=s,this.intl=ps(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=vs(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:b.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,_t(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return ze(this,e,Qr,()=>{const n=r?{month:e,day:"numeric"}:{month:e},s=r?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=gs(a=>this.extract(a,n,"month"))),this.monthsCache[s][e]})}weekdays(e,r=!1){return ze(this,e,en,()=>{const n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=r?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=ws(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return ze(this,void 0,()=>tn,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[O.utc(2016,11,13,9),O.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return ze(this,e,rn,()=>{const r={era:e};return this.eraCache[e]||(this.eraCache[e]=[O.utc(-40,1,1),O.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){const s=this.dtFormatter(e,r),a=s.formatToParts(),i=a.find(u=>u.type.toLowerCase()===n);return i?i.value:null}numberFormatter(e={}){return new ks(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new Ss(e,this.intl,r)}relFormatter(e={}){return new Ts(this.intl,this.isEnglish(),e)}listFormatter(e={}){return cs(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jr()?ms(this.locale):Os}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let ht=null;class A extends Se{static get utcInstance(){return ht===null&&(ht=new A(0)),ht}static instance(e){return e===0?A.utcInstance:new A(e)}static parseSpecifier(e){if(e){const r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new A(nt(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Fe(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Fe(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Fe(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class Ur extends Se{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function re(t,e){if(T(t)||t===null)return e;if(t instanceof Se)return t;if(Es(t)){const r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?Le.instance:r==="utc"||r==="gmt"?A.utcInstance:A.parseSpecifier(r)||B.create(t)}else return ce(t)?A.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new Ur(t)}let Rt=()=>Date.now(),Ht="system",qt=null,Yt=null,Pt=null,jt=60,Jt,Gt=null;class C{static get now(){return Rt}static set now(e){Rt=e}static set defaultZone(e){Ht=e}static get defaultZone(){return re(Ht,Le.instance)}static get defaultLocale(){return qt}static set defaultLocale(e){qt=e}static get defaultNumberingSystem(){return Yt}static set defaultNumberingSystem(e){Yt=e}static get defaultOutputCalendar(){return Pt}static set defaultOutputCalendar(e){Pt=e}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(e){Gt=_t(e)}static get twoDigitCutoffYear(){return jt}static set twoDigitCutoffYear(e){jt=e%100}static get throwOnInvalid(){return Jt}static set throwOnInvalid(e){Jt=e}static resetCaches(){b.resetCache(),B.resetCache()}}class J{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Zr=[0,31,59,90,120,151,181,212,243,273,304,334],zr=[0,31,60,91,121,152,182,213,244,274,305,335];function H(t,e){return new J("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bt(t,e,r){const n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return s===0?7:s}function Rr(t,e,r){return r+($e(t)?zr:Zr)[e-1]}function Hr(t,e){const r=$e(t)?zr:Zr,n=r.findIndex(a=>aVe(n,e,r)?(l=n+1,o=1):l=n,{weekYear:l,weekNumber:o,weekday:u,...st(t)}}function Bt(t,e=4,r=1){const{weekYear:n,weekNumber:s,weekday:a}=t,i=It(bt(n,1,e),r),u=we(n);let o=s*7+a-i-7+e,l;o<1?(l=n-1,o+=we(l)):o>u?(l=n+1,o-=we(n)):l=n;const{month:c,day:p}=Hr(l,o);return{year:l,month:c,day:p,...st(t)}}function mt(t){const{year:e,month:r,day:n}=t,s=Rr(e,r,n);return{year:e,ordinal:s,...st(t)}}function Qt(t){const{year:e,ordinal:r}=t,{month:n,day:s}=Hr(e,r);return{year:e,month:n,day:s,...st(t)}}function Kt(t,e){if(!T(t.localWeekday)||!T(t.localWeekNumber)||!T(t.localWeekYear)){if(!T(t.weekday)||!T(t.weekNumber)||!T(t.weekYear))throw new pe("Cannot mix locale-based week fields with ISO-based week fields");return T(t.localWeekday)||(t.weekday=t.localWeekday),T(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),T(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Ds(t,e=4,r=1){const n=tt(t.weekYear),s=q(t.weekNumber,1,Ve(t.weekYear,e,r)),a=q(t.weekday,1,7);return n?s?a?!1:H("weekday",t.weekday):H("week",t.weekNumber):H("weekYear",t.weekYear)}function Ns(t){const e=tt(t.year),r=q(t.ordinal,1,we(t.year));return e?r?!1:H("ordinal",t.ordinal):H("year",t.year)}function qr(t){const e=tt(t.year),r=q(t.month,1,12),n=q(t.day,1,Qe(t.year,t.month));return e?r?n?!1:H("day",t.day):H("month",t.month):H("year",t.year)}function Yr(t){const{hour:e,minute:r,second:n,millisecond:s}=t,a=q(e,0,23)||e===24&&r===0&&n===0&&s===0,i=q(r,0,59),u=q(n,0,59),o=q(s,0,999);return a?i?u?o?!1:H("millisecond",s):H("second",n):H("minute",r):H("hour",e)}function T(t){return typeof t>"u"}function ce(t){return typeof t=="number"}function tt(t){return typeof t=="number"&&t%1===0}function Es(t){return typeof t=="string"}function _s(t){return Object.prototype.toString.call(t)==="[object Date]"}function Pr(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function jr(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Ms(t){return Array.isArray(t)?t:[t]}function Xt(t,e,r){if(t.length!==0)return t.reduce((n,s)=>{const a=[e(s),s];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function bs(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function ke(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function _t(t){if(t==null)return null;if(typeof t!="object")throw new U("Week settings must be an object");if(!q(t.firstDay,1,7)||!q(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!q(e,1,7)))throw new U("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function q(t,e,r){return tt(t)&&t>=e&&t<=r}function Is(t,e){return t-e*Math.floor(t/e)}function F(t,e=2){const r=t<0;let n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function ee(t){if(!(T(t)||t===null||t===""))return parseInt(t,10)}function se(t){if(!(T(t)||t===null||t===""))return parseFloat(t)}function xt(t){if(!(T(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ct(t,e,r=!1){const n=10**e;return(r?Math.trunc:Math.round)(t*n)/n}function $e(t){return t%4===0&&(t%100!==0||t%400===0)}function we(t){return $e(t)?366:365}function Qe(t,e){const r=Is(e-1,12)+1,n=t+(e-r)/12;return r===2?$e(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function rt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function er(t,e,r){return-It(bt(t,1,e),r)+e-1}function Ve(t,e=4,r=1){const n=er(t,e,r),s=er(t+1,e,r);return(we(t)-n+s)/7}function Mt(t){return t>99?t:t>C.twoDigitCutoffYear?1900+t:2e3+t}function Jr(t,e,r,n=null){const s=new Date(t),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);const i={timeZoneName:e,...a},u=new Intl.DateTimeFormat(r,i).formatToParts(s).find(o=>o.type.toLowerCase()==="timezonename");return u?u.value:null}function nt(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);const n=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function Gr(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new U(`Invalid unit value ${t}`);return e}function Ke(t,e){const r={};for(const n in t)if(ke(t,n)){const s=t[n];if(s==null)continue;r[e(n)]=Gr(s)}return r}function Fe(t,e){const r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${F(r,2)}:${F(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${F(r,2)}${F(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function st(t){return bs(t,["hour","minute","second","millisecond"])}const xs=["January","February","March","April","May","June","July","August","September","October","November","December"],Br=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qr(t){switch(t){case"narrow":return[...Cs];case"short":return[...Br];case"long":return[...xs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Kr=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xr=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Fs=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...Fs];case"short":return[...Xr];case"long":return[...Kr];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const tn=["AM","PM"],Vs=["Before Christ","Anno Domini"],Ws=["BC","AD"],Ls=["B","A"];function rn(t){switch(t){case"narrow":return[...Ls];case"short":return[...Ws];case"long":return[...Vs];default:return null}}function $s(t){return tn[t.hour<12?0:1]}function As(t,e){return en(e)[t.weekday-1]}function Us(t,e){return Qr(e)[t.month-1]}function Zs(t,e){return rn(e)[t.year<0?0:1]}function zs(t,e,r="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&a){const p=t==="days";switch(e){case 1:return p?"tomorrow":`next ${s[t][0]}`;case-1:return p?"yesterday":`last ${s[t][0]}`;case 0:return p?"today":`this ${s[t][0]}`}}const i=Object.is(e,-0)||e<0,u=Math.abs(e),o=u===1,l=s[t],c=n?o?l[1]:l[2]||l[1]:o?s[t][0]:t;return i?`${u} ${c} ago`:`in ${u} ${c}`}function tr(t,e){let r="";for(const n of t)n.literal?r+=n.val:r+=e(n.val);return r}const Rs={D:Ge,DD:kr,DDD:Sr,DDDD:Tr,t:Or,tt:Dr,ttt:Nr,tttt:Er,T:_r,TT:Mr,TTT:br,TTTT:Ir,f:xr,ff:Fr,fff:Wr,ffff:$r,F:Cr,FF:Vr,FFF:Lr,FFFF:Ar};class ${static create(e,r={}){return new $(e,r)}static parseFormat(e){let r=null,n="",s=!1;const a=[];for(let i=0;i0&&a.push({literal:s||/^\s+$/.test(n),val:n}),r=null,n="",s=!s):s||u===r?n+=u:(n.length>0&&a.push({literal:/^\s+$/.test(n),val:n}),n=u,r=u)}return n.length>0&&a.push({literal:s||/^\s+$/.test(n),val:n}),a}static macroTokenToFormatOpts(e){return Rs[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return F(e,r);const n={...this.opts};return r>0&&(n.padTo=r),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,r){const n=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(f,g)=>this.loc.extract(e,f,g),i=f=>e.isOffsetFixed&&e.offset===0&&f.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,f.format):"",u=()=>n?$s(e):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),o=(f,g)=>n?Us(e,f):a(g?{month:f}:{month:f,day:"numeric"},"month"),l=(f,g)=>n?As(e,f):a(g?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),c=f=>{const g=$.macroTokenToFormatOpts(f);return g?this.formatWithSystemDefault(e,g):f},p=f=>n?Zs(e,f):a({era:f},"era"),m=f=>{switch(f){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return u();case"d":return s?a({day:"numeric"},"day"):this.num(e.day);case"dd":return s?a({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return s?a({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?a({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return o("short",!0);case"LLLL":return o("long",!0);case"LLLLL":return o("narrow",!0);case"M":return s?a({month:"numeric"},"month"):this.num(e.month);case"MM":return s?a({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return o("short",!1);case"MMMM":return o("long",!1);case"MMMMM":return o("narrow",!1);case"y":return s?a({year:"numeric"},"year"):this.num(e.year);case"yy":return s?a({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?a({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?a({year:"numeric"},"year"):this.num(e.year,6);case"G":return p("short");case"GG":return p("long");case"GGGGG":return p("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return c(f)}};return tr($.parseFormat(r),m)}formatDurationFromString(e,r){const n=o=>{switch(o[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=o=>l=>{const c=n(l);return c?this.num(o.get(c),l.length):l},a=$.parseFormat(r),i=a.reduce((o,{literal:l,val:c})=>l?o:o.concat(c),[]),u=e.shiftTo(...i.map(n).filter(o=>o));return tr(a,s(u))}}const nn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Te(...t){const e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Oe(...t){return e=>t.reduce(([r,n,s],a)=>{const[i,u,o]=a(e,s);return[{...r,...i},u||n,o]},[{},null,1]).slice(0,2)}function De(t,...e){if(t==null)return[null,null];for(const[r,n]of e){const s=r.exec(t);if(s)return n(s)}return[null,null]}function sn(...t){return(e,r)=>{const n={};let s;for(s=0;sf!==void 0&&(g||f&&c)?-f:f;return[{years:m(se(r)),months:m(se(n)),weeks:m(se(s)),days:m(se(a)),hours:m(se(i)),minutes:m(se(u)),seconds:m(se(o),o==="-0"),milliseconds:m(xt(l),p)}]}const ti={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Wt(t,e,r,n,s,a,i){const u={year:e.length===2?Mt(ee(e)):ee(e),month:Br.indexOf(r)+1,day:ee(n),hour:ee(s),minute:ee(a)};return i&&(u.second=ee(i)),t&&(u.weekday=t.length>3?Kr.indexOf(t)+1:Xr.indexOf(t)+1),u}const ri=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function ni(t){const[,e,r,n,s,a,i,u,o,l,c,p]=t,m=Wt(e,s,n,r,a,i,u);let f;return o?f=ti[o]:l?f=0:f=nt(c,p),[m,new A(f)]}function si(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const ii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ai=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,oi=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rr(t){const[,e,r,n,s,a,i,u]=t;return[Wt(e,s,n,r,a,i,u),A.utcInstance]}function ui(t){const[,e,r,n,s,a,i,u]=t;return[Wt(e,u,r,n,s,a,i),A.utcInstance]}const li=Te(qs,Vt),ci=Te(Ys,Vt),di=Te(Ps,Vt),fi=Te(on),ln=Oe(Qs,Ne,Ae,Ue),hi=Oe(js,Ne,Ae,Ue),mi=Oe(Js,Ne,Ae,Ue),yi=Oe(Ne,Ae,Ue);function pi(t){return De(t,[li,ln],[ci,hi],[di,mi],[fi,yi])}function gi(t){return De(si(t),[ri,ni])}function wi(t){return De(t,[ii,rr],[ai,rr],[oi,ui])}function vi(t){return De(t,[Xs,ei])}const ki=Oe(Ne);function Si(t){return De(t,[Ks,ki])}const Ti=Te(Gs,Bs),Oi=Te(un),Di=Oe(Ne,Ae,Ue);function Ni(t){return De(t,[Ti,ln],[Oi,Di])}const nr="Invalid Duration",cn={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Ei={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...cn},R=146097/400,he=146097/4800,_i={years:{quarters:4,months:12,weeks:R/7,days:R,hours:R*24,minutes:R*24*60,seconds:R*24*60*60,milliseconds:R*24*60*60*1e3},quarters:{months:3,weeks:R/28,days:R/4,hours:R*24/4,minutes:R*24*60/4,seconds:R*24*60*60/4,milliseconds:R*24*60*60*1e3/4},months:{weeks:he/7,days:he,hours:he*24,minutes:he*24*60,seconds:he*24*60*60,milliseconds:he*24*60*60*1e3},...cn},le=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Mi=le.slice(0).reverse();function X(t,e,r=!1){const n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new N(n)}function dn(t,e){var r;let n=(r=e.milliseconds)!=null?r:0;for(const s of Mi.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function sr(t,e){const r=dn(t,e)<0?-1:1;le.reduceRight((n,s)=>{if(T(e[s]))return n;if(n){const a=e[n]*r,i=t[s][n],u=Math.floor(a/i);e[s]+=u*r,e[n]-=u*i*r}return s},null),le.reduce((n,s)=>{if(T(e[s]))return n;if(n){const a=e[n]%1;e[n]-=a,e[s]+=a*t[n][s]}return s},null)}function bi(t){const e={};for(const[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}class N{constructor(e){const r=e.conversionAccuracy==="longterm"||!1;let n=r?_i:Ei;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||b.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return N.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new U(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new N({values:Ke(e,N.normalizeUnit),loc:b.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(ce(e))return N.fromMillis(e);if(N.isDuration(e))return e;if(typeof e=="object")return N.fromObject(e);throw new U(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){const[n]=vi(e);return n?N.fromObject(n,r):N.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){const[n]=Si(e);return n?N.fromObject(n,r):N.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new U("need to specify a reason the Duration is invalid");const n=e instanceof J?e:new J(e,r);if(C.throwOnInvalid)throw new ns(n);return new N({invalid:n})}static normalizeUnit(e){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new vr(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){const n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?$.create(this.loc,n).formatDurationFromString(this,e):nr}toHuman(e={}){if(!this.isValid)return nr;const r=le.map(n=>{const s=this.values[n];return T(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(s)}).filter(n=>n);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ct(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},O.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?dn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e),n={};for(const s of le)(ke(r.values,s)||ke(this.values,s))&&(n[s]=r.get(s)+this.get(s));return X(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;const r={};for(const n of Object.keys(this.values))r[n]=Gr(e(this.values[n],n));return X(this,{values:r},!0)}get(e){return this[N.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const r={...this.values,...Ke(e,N.normalizeUnit)};return X(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:s}={}){const i={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:s,conversionAccuracy:n};return X(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return sr(this.matrix,e),X(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=bi(this.normalize().shiftToAll().toObject());return X(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(i=>N.normalizeUnit(i));const r={},n={},s=this.toObject();let a;for(const i of le)if(e.indexOf(i)>=0){a=i;let u=0;for(const l in n)u+=this.matrix[l][i]*n[l],n[l]=0;ce(s[i])&&(u+=s[i]);const o=Math.trunc(u);r[i]=o,n[i]=(u*1e3-o*1e3)/1e3}else ce(s[i])&&(n[i]=s[i]);for(const i in n)n[i]!==0&&(r[a]+=i===a?n[i]:n[i]/this.matrix[a][i]);return sr(this.matrix,r),X(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return X(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,s){return n===void 0||n===0?s===void 0||s===0:n===s}for(const n of le)if(!r(this.values[n],e.values[n]))return!1;return!0}}const me="Invalid Interval";function Ii(t,e){return!t||!t.isValid?I.invalid("missing or invalid start"):!e||!e.isValid?I.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?I.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];const r=e.map(Me).filter(i=>this.contains(i)).sort((i,u)=>i.toMillis()-u.toMillis()),n=[];let{s}=this,a=0;for(;s+this.e?this.e:i;n.push(I.fromDateTimes(s,u)),s=u,a+=1}return n}splitBy(e){const r=N.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,s=1,a;const i=[];for(;no*s));a=+u>+this.e?this.e:u,i.push(I.fromDateTimes(n,a)),n=a,s+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const r=this.s>e.s?this.s:e.s,n=this.e=n?null:I.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;const r=this.se.e?this.e:e.e;return I.fromDateTimes(r,n)}static merge(e){const[r,n]=e.sort((s,a)=>s.s-a.s).reduce(([s,a],i)=>a?a.overlaps(i)||a.abutsStart(i)?[s,a.union(i)]:[s.concat([a]),i]:[s,i],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0;const s=[],a=e.map(o=>[{time:o.s,type:"s"},{time:o.e,type:"e"}]),i=Array.prototype.concat(...a),u=i.sort((o,l)=>o.time-l.time);for(const o of u)n+=o.type==="s"?1:-1,n===1?r=o.time:(r&&+r!=+o.time&&s.push(I.fromDateTimes(r,o.time)),r=null);return I.merge(s)}difference(...e){return I.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:me}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ge,r={}){return this.isValid?$.create(this.s.loc.clone(r),e).formatInterval(this):me}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:me}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:me}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:me}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:me}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):N.invalid(this.invalidReason)}mapEndpoints(e){return I.fromDateTimes(e(this.s),e(this.e))}}class xe{static hasDST(e=C.defaultZone){const r=O.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return B.isValidZone(e)}static normalizeZone(e){return re(e,C.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||b.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||b.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||b.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||b.create(r,n,a)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||b.create(r,n,a)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||b.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||b.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return b.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return b.create(r,null,"gregory").eras(e)}static features(){return{relative:Pr(),localeWeek:jr()}}}function ir(t,e){const r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(N.fromMillis(n).as("days"))}function xi(t,e,r){const n=[["years",(o,l)=>l.year-o.year],["quarters",(o,l)=>l.quarter-o.quarter+(l.year-o.year)*4],["months",(o,l)=>l.month-o.month+(l.year-o.year)*12],["weeks",(o,l)=>{const c=ir(o,l);return(c-c%7)/7}],["days",ir]],s={},a=t;let i,u;for(const[o,l]of n)r.indexOf(o)>=0&&(i=o,s[o]=l(t,e),u=a.plus(s),u>e?(s[o]--,t=a.plus(s),t>e&&(u=t,s[o]--,t=a.plus(s))):t=u);return[t,s,u,i]}function Ci(t,e,r,n){let[s,a,i,u]=xi(t,e,r);const o=e-s,l=r.filter(p=>["hours","minutes","seconds","milliseconds"].indexOf(p)>=0);l.length===0&&(i0?N.fromMillis(o,n).shiftTo(...l).plus(c):c}const Lt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},ar={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Fi=Lt.hanidec.replace(/[\[|\]]/g,"").split("");function Vi(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r=a&&n<=i&&(e+=n-a)}}return parseInt(e,10)}else return e}function P({numberingSystem:t},e=""){return new RegExp(`${Lt[t||"latn"]}${e}`)}const Wi="missing Intl.DateTimeFormat.formatToParts support";function _(t,e=r=>r){return{regex:t,deser:([r])=>e(Vi(r))}}const Li=String.fromCharCode(160),fn=`[ ${Li}]`,hn=new RegExp(fn,"g");function $i(t){return t.replace(/\./g,"\\.?").replace(hn,fn)}function or(t){return t.replace(/\./g,"").replace(hn," ").toLowerCase()}function j(t,e){return t===null?null:{regex:RegExp(t.map($i).join("|")),deser:([r])=>t.findIndex(n=>or(r)===or(n))+e}}function ur(t,e){return{regex:t,deser:([,r,n])=>nt(r,n),groups:e}}function Re(t){return{regex:t,deser:([e])=>e}}function Ai(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Ui(t,e){const r=P(e),n=P(e,"{2}"),s=P(e,"{3}"),a=P(e,"{4}"),i=P(e,"{6}"),u=P(e,"{1,2}"),o=P(e,"{1,3}"),l=P(e,"{1,6}"),c=P(e,"{1,9}"),p=P(e,"{2,4}"),m=P(e,"{4,6}"),f=k=>({regex:RegExp(Ai(k.val)),deser:([w])=>w,literal:!0}),d=(k=>{if(t.literal)return f(k);switch(k.val){case"G":return j(e.eras("short"),0);case"GG":return j(e.eras("long"),0);case"y":return _(l);case"yy":return _(p,Mt);case"yyyy":return _(a);case"yyyyy":return _(m);case"yyyyyy":return _(i);case"M":return _(u);case"MM":return _(n);case"MMM":return j(e.months("short",!0),1);case"MMMM":return j(e.months("long",!0),1);case"L":return _(u);case"LL":return _(n);case"LLL":return j(e.months("short",!1),1);case"LLLL":return j(e.months("long",!1),1);case"d":return _(u);case"dd":return _(n);case"o":return _(o);case"ooo":return _(s);case"HH":return _(n);case"H":return _(u);case"hh":return _(n);case"h":return _(u);case"mm":return _(n);case"m":return _(u);case"q":return _(u);case"qq":return _(n);case"s":return _(u);case"ss":return _(n);case"S":return _(o);case"SSS":return _(s);case"u":return Re(c);case"uu":return Re(u);case"uuu":return _(r);case"a":return j(e.meridiems(),0);case"kkkk":return _(a);case"kk":return _(p,Mt);case"W":return _(u);case"WW":return _(n);case"E":case"c":return _(r);case"EEE":return j(e.weekdays("short",!1),1);case"EEEE":return j(e.weekdays("long",!1),1);case"ccc":return j(e.weekdays("short",!0),1);case"cccc":return j(e.weekdays("long",!0),1);case"Z":case"ZZ":return ur(new RegExp(`([+-]${u.source})(?::(${n.source}))?`),2);case"ZZZ":return ur(new RegExp(`([+-]${u.source})(${n.source})?`),2);case"z":return Re(/[a-z_+-/]{1,256}?/i);case" ":return Re(/[^\S\n\r]/);default:return f(k)}})(t)||{invalidReason:Wi};return d.token=t,d}const Zi={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function zi(t,e,r){const{type:n,value:s}=t;if(n==="literal"){const o=/^\s+$/.test(s);return{literal:!o,val:o?" ":s}}const a=e[n];let i=n;n==="hour"&&(e.hour12!=null?i=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?i="hour12":i="hour24":i=r.hour12?"hour12":"hour24");let u=Zi[i];if(typeof u=="object"&&(u=u[a]),u)return{literal:!1,val:u}}function Ri(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function Hi(t,e,r){const n=t.match(e);if(n){const s={};let a=1;for(const i in r)if(ke(r,i)){const u=r[i],o=u.groups?u.groups+1:1;!u.literal&&u.token&&(s[u.token.val[0]]=u.deser(n.slice(a,a+o))),a+=o}return[n,s]}else return[n,{}]}function qi(t){const e=a=>{switch(a){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,n;return T(t.z)||(r=B.create(t.z)),T(t.Z)||(r||(r=new A(t.Z)),n=t.Z),T(t.q)||(t.M=(t.q-1)*3+1),T(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),T(t.u)||(t.S=xt(t.u)),[Object.keys(t).reduce((a,i)=>{const u=e(i);return u&&(a[u]=t[i]),a},{}),r,n]}let yt=null;function Yi(){return yt||(yt=O.fromMillis(1555555555555)),yt}function Pi(t,e){if(t.literal)return t;const r=$.macroTokenToFormatOpts(t.val),n=pn(r,e);return n==null||n.includes(void 0)?t:n}function mn(t,e){return Array.prototype.concat(...t.map(r=>Pi(r,e)))}function yn(t,e,r){const n=mn($.parseFormat(r),t),s=n.map(i=>Ui(i,t)),a=s.find(i=>i.invalidReason);if(a)return{input:e,tokens:n,invalidReason:a.invalidReason};{const[i,u]=Ri(s),o=RegExp(i,"i"),[l,c]=Hi(e,o,u),[p,m,f]=c?qi(c):[null,null,void 0];if(ke(c,"a")&&ke(c,"H"))throw new pe("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:n,regex:o,rawMatches:l,matches:c,result:p,zone:m,specificOffset:f}}}function ji(t,e,r){const{result:n,zone:s,specificOffset:a,invalidReason:i}=yn(t,e,r);return[n,s,a,i]}function pn(t,e){if(!t)return null;const n=$.create(e,t).dtFormatter(Yi()),s=n.formatToParts(),a=n.resolvedOptions();return s.map(i=>zi(i,t,a))}const pt="Invalid DateTime",lr=864e13;function He(t){return new J("unsupported zone",`the zone "${t.name}" is not supported`)}function gt(t){return t.weekData===null&&(t.weekData=Be(t.c)),t.weekData}function wt(t){return t.localWeekData===null&&(t.localWeekData=Be(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function ie(t,e){const r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new O({...r,...e,old:r})}function gn(t,e,r){let n=t-e*60*1e3;const s=r.offset(n);if(e===s)return[n,e];n-=(s-e)*60*1e3;const a=r.offset(n);return s===a?[n,s]:[t-Math.min(s,a)*60*1e3,Math.max(s,a)]}function qe(t,e){t+=e*60*1e3;const r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Je(t,e,r){return gn(rt(t),e,r)}function cr(t,e){const r=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,a={...t.c,year:n,month:s,day:Math.min(t.c.day,Qe(n,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},i=N.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),u=rt(a);let[o,l]=gn(u,r,t.zone);return i!==0&&(o+=i,l=t.zone.offset(o)),{ts:o,o:l}}function _e(t,e,r,n,s,a){const{setZone:i,zone:u}=r;if(t&&Object.keys(t).length!==0||e){const o=e||u,l=O.fromObject(t,{...r,zone:o,specificOffset:a});return i?l:l.setZone(u)}else return O.invalid(new J("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Ye(t,e,r=!0){return t.isValid?$.create(b.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function vt(t,e){const r=t.c.year>9999||t.c.year<0;let n="";return r&&t.c.year>=0&&(n+="+"),n+=F(t.c.year,r?6:4),e?(n+="-",n+=F(t.c.month),n+="-",n+=F(t.c.day)):(n+=F(t.c.month),n+=F(t.c.day)),n}function dr(t,e,r,n,s,a){let i=F(t.c.hour);return e?(i+=":",i+=F(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(i+=":")):i+=F(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(i+=F(t.c.second),(t.c.millisecond!==0||!n)&&(i+=".",i+=F(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!a?i+="Z":t.o<0?(i+="-",i+=F(Math.trunc(-t.o/60)),i+=":",i+=F(Math.trunc(-t.o%60))):(i+="+",i+=F(Math.trunc(t.o/60)),i+=":",i+=F(Math.trunc(t.o%60)))),a&&(i+="["+t.zone.ianaName+"]"),i}const wn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Ji={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Gi={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vn=["year","month","day","hour","minute","second","millisecond"],Bi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Qi=["year","ordinal","hour","minute","second","millisecond"];function Ki(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new vr(t);return e}function fr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ki(t)}}function hr(t,e){const r=re(e.zone,C.defaultZone),n=b.fromObject(e),s=C.now();let a,i;if(T(t.year))a=s;else{for(const l of vn)T(t[l])&&(t[l]=wn[l]);const u=qr(t)||Yr(t);if(u)return O.invalid(u);const o=r.offset(s);[a,i]=Je(t,o,r)}return new O({ts:a,zone:r,loc:n,o:i})}function mr(t,e,r){const n=T(r.round)?!0:r.round,s=(i,u)=>(i=Ct(i,n||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(i,u)),a=i=>r.calendary?e.hasSame(t,i)?0:e.startOf(i).diff(t.startOf(i),i).get(i):e.diff(t,i).get(i);if(r.unit)return s(a(r.unit),r.unit);for(const i of r.units){const u=a(i);if(Math.abs(u)>=1)return s(u,i)}return s(t>e?-0:0,r.units[r.units.length-1])}function yr(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}class O{constructor(e){const r=e.zone||C.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new J("invalid input"):null)||(r.isValid?null:He(r));this.ts=T(e.ts)?C.now():e.ts;let s=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,a]=[e.old.c,e.old.o];else{const u=r.offset(this.ts);s=qe(this.ts,u),n=Number.isNaN(s.year)?new J("invalid input"):null,s=n?null:s,a=n?null:u}this._zone=r,this.loc=e.loc||b.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=a,this.isLuxonDateTime=!0}static now(){return new O({})}static local(){const[e,r]=yr(arguments),[n,s,a,i,u,o,l]=r;return hr({year:n,month:s,day:a,hour:i,minute:u,second:o,millisecond:l},e)}static utc(){const[e,r]=yr(arguments),[n,s,a,i,u,o,l]=r;return e.zone=A.utcInstance,hr({year:n,month:s,day:a,hour:i,minute:u,second:o,millisecond:l},e)}static fromJSDate(e,r={}){const n=_s(e)?e.valueOf():NaN;if(Number.isNaN(n))return O.invalid("invalid input");const s=re(r.zone,C.defaultZone);return s.isValid?new O({ts:n,zone:s,loc:b.fromObject(r)}):O.invalid(He(s))}static fromMillis(e,r={}){if(ce(e))return e<-lr||e>lr?O.invalid("Timestamp out of range"):new O({ts:e,zone:re(r.zone,C.defaultZone),loc:b.fromObject(r)});throw new U(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(ce(e))return new O({ts:e*1e3,zone:re(r.zone,C.defaultZone),loc:b.fromObject(r)});throw new U("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};const n=re(r.zone,C.defaultZone);if(!n.isValid)return O.invalid(He(n));const s=b.fromObject(r),a=Ke(e,fr),{minDaysInFirstWeek:i,startOfWeek:u}=Kt(a,s),o=C.now(),l=T(r.specificOffset)?n.offset(o):r.specificOffset,c=!T(a.ordinal),p=!T(a.year),m=!T(a.month)||!T(a.day),f=p||m,g=a.weekYear||a.weekNumber;if((f||c)&&g)throw new pe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&c)throw new pe("Can't mix ordinal dates with month/day");const d=g||a.weekday&&!f;let k,w,D=qe(o,l);d?(k=Bi,w=Ji,D=Be(D,i,u)):c?(k=Qi,w=Gi,D=mt(D)):(k=vn,w=wn);let V=!1;for(const Ee of k){const En=a[Ee];T(En)?V?a[Ee]=w[Ee]:a[Ee]=D[Ee]:V=!0}const Y=d?Ds(a,i,u):c?Ns(a):qr(a),Q=Y||Yr(a);if(Q)return O.invalid(Q);const On=d?Bt(a,i,u):c?Qt(a):a,[Dn,Nn]=Je(On,l,n),it=new O({ts:Dn,zone:n,o:Nn,loc:s});return a.weekday&&f&&e.weekday!==it.weekday?O.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${it.toISO()}`):it}static fromISO(e,r={}){const[n,s]=pi(e);return _e(n,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[n,s]=gi(e);return _e(n,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[n,s]=wi(e);return _e(n,s,r,"HTTP",r)}static fromFormat(e,r,n={}){if(T(e)||T(r))throw new U("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:a=null}=n,i=b.fromOpts({locale:s,numberingSystem:a,defaultToEN:!0}),[u,o,l,c]=ji(i,e,r);return c?O.invalid(c):_e(u,o,n,`format ${r}`,e,l)}static fromString(e,r,n={}){return O.fromFormat(e,r,n)}static fromSQL(e,r={}){const[n,s]=Ni(e);return _e(n,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new U("need to specify a reason the DateTime is invalid");const n=e instanceof J?e:new J(e,r);if(C.throwOnInvalid)throw new ts(n);return new O({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){const n=pn(e,b.fromObject(r));return n?n.map(s=>s?s.val:null).join(""):null}static expandFormat(e,r={}){return mn($.parseFormat(e),b.fromObject(r)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?gt(this).weekYear:NaN}get weekNumber(){return this.isValid?gt(this).weekNumber:NaN}get weekday(){return this.isValid?gt(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?wt(this).weekday:NaN}get localWeekNumber(){return this.isValid?wt(this).weekNumber:NaN}get localWeekYear(){return this.isValid?wt(this).weekYear:NaN}get ordinal(){return this.isValid?mt(this.c).ordinal:NaN}get monthShort(){return this.isValid?xe.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?xe.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?xe.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?xe.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,r=6e4,n=rt(this.c),s=this.zone.offset(n-e),a=this.zone.offset(n+e),i=this.zone.offset(n-s*r),u=this.zone.offset(n-a*r);if(i===u)return[this];const o=n-i*r,l=n-u*r,c=qe(o,i),p=qe(l,u);return c.hour===p.hour&&c.minute===p.minute&&c.second===p.second&&c.millisecond===p.millisecond?[ie(this,{ts:o}),ie(this,{ts:l})]:[this]}get isInLeapYear(){return $e(this.year)}get daysInMonth(){return Qe(this.year,this.month)}get daysInYear(){return this.isValid?we(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ve(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ve(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:r,numberingSystem:n,calendar:s}=$.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone(A.instance(e),r)}toLocal(){return this.setZone(C.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=re(e,C.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||n){const a=e.offset(this.ts),i=this.toObject();[s]=Je(i,a,e)}return ie(this,{ts:s,zone:e})}else return O.invalid(He(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){const s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return ie(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const r=Ke(e,fr),{minDaysInFirstWeek:n,startOfWeek:s}=Kt(r,this.loc),a=!T(r.weekYear)||!T(r.weekNumber)||!T(r.weekday),i=!T(r.ordinal),u=!T(r.year),o=!T(r.month)||!T(r.day),l=u||o,c=r.weekYear||r.weekNumber;if((l||i)&&c)throw new pe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new pe("Can't mix ordinal dates with month/day");let p;a?p=Bt({...Be(this.c,n,s),...r},n,s):T(r.ordinal)?(p={...this.toObject(),...r},T(r.day)&&(p.day=Math.min(Qe(p.year,p.month),p.day))):p=Qt({...mt(this.c),...r});const[m,f]=Je(p,this.o,this.zone);return ie(this,{ts:m,o:f})}plus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e);return ie(this,cr(this,r))}minus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e).negate();return ie(this,cr(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const n={},s=N.normalizeUnit(e);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(s==="weeks")if(r){const a=this.loc.getStartOfWeek(),{weekday:i}=this;ithis.valueOf(),u=i?this:e,o=i?e:this,l=Ci(u,o,a,s);return i?l.negate():l}diffNow(e="milliseconds",r={}){return this.diff(O.now(),e,r)}until(e){return this.isValid?I.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;const s=e.valueOf(),a=this.setZone(e.zone,{keepLocalTime:!0});return a.startOf(r,n)<=s&&s<=a.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const r=e.base||O.fromObject({},{zone:this.zone}),n=e.padding?thisr.valueOf(),Math.min)}static max(...e){if(!e.every(O.isDateTime))throw new U("max requires all arguments be DateTimes");return Xt(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){const{locale:s=null,numberingSystem:a=null}=n,i=b.fromOpts({locale:s,numberingSystem:a,defaultToEN:!0});return yn(i,e,r)}static fromStringExplain(e,r,n={}){return O.fromFormatExplain(e,r,n)}static get DATE_SHORT(){return Ge}static get DATE_MED(){return kr}static get DATE_MED_WITH_WEEKDAY(){return ss}static get DATE_FULL(){return Sr}static get DATE_HUGE(){return Tr}static get TIME_SIMPLE(){return Or}static get TIME_WITH_SECONDS(){return Dr}static get TIME_WITH_SHORT_OFFSET(){return Nr}static get TIME_WITH_LONG_OFFSET(){return Er}static get TIME_24_SIMPLE(){return _r}static get TIME_24_WITH_SECONDS(){return Mr}static get TIME_24_WITH_SHORT_OFFSET(){return br}static get TIME_24_WITH_LONG_OFFSET(){return Ir}static get DATETIME_SHORT(){return xr}static get DATETIME_SHORT_WITH_SECONDS(){return Cr}static get DATETIME_MED(){return Fr}static get DATETIME_MED_WITH_SECONDS(){return Vr}static get DATETIME_MED_WITH_WEEKDAY(){return is}static get DATETIME_FULL(){return Wr}static get DATETIME_FULL_WITH_SECONDS(){return Lr}static get DATETIME_HUGE(){return $r}static get DATETIME_HUGE_WITH_SECONDS(){return Ar}}function Me(t){if(O.isDateTime(t))return t;if(t&&t.valueOf&&ce(t.valueOf()))return O.fromJSDate(t);if(t&&typeof t=="object")return O.fromObject(t);throw new U(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const Xi="3.4.4";z.DateTime=O;z.Duration=N;z.FixedOffsetZone=A;z.IANAZone=B;z.Info=xe;z.Interval=I;z.InvalidZone=Ur;z.Settings=C;z.SystemZone=Le;z.VERSION=Xi;z.Zone=Se;var ae=z;S.prototype.addYear=function(){this._date=this._date.plus({years:1})};S.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")};S.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")};S.prototype.addHour=function(){var t=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=t&&(this._date=this._date.plus({hours:1}))};S.prototype.addMinute=function(){var t=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=t&&(this._date=this._date.minus({hours:1}))};S.prototype.subtractMinute=function(){var t=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};S.prototype.subtractSecond=function(){var t=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};S.prototype.getDate=function(){return this._date.day};S.prototype.getFullYear=function(){return this._date.year};S.prototype.getDay=function(){var t=this._date.weekday;return t==7?0:t};S.prototype.getMonth=function(){return this._date.month-1};S.prototype.getHours=function(){return this._date.hour};S.prototype.getMinutes=function(){return this._date.minute};S.prototype.getSeconds=function(){return this._date.second};S.prototype.getMilliseconds=function(){return this._date.millisecond};S.prototype.getTime=function(){return this._date.valueOf()};S.prototype.getUTCDate=function(){return this._getUTC().day};S.prototype.getUTCFullYear=function(){return this._getUTC().year};S.prototype.getUTCDay=function(){var t=this._getUTC().weekday;return t==7?0:t};S.prototype.getUTCMonth=function(){return this._getUTC().month-1};S.prototype.getUTCHours=function(){return this._getUTC().hour};S.prototype.getUTCMinutes=function(){return this._getUTC().minute};S.prototype.getUTCSeconds=function(){return this._getUTC().second};S.prototype.toISOString=function(){return this._date.toUTC().toISO()};S.prototype.toJSON=function(){return this._date.toJSON()};S.prototype.setDate=function(t){this._date=this._date.set({day:t})};S.prototype.setFullYear=function(t){this._date=this._date.set({year:t})};S.prototype.setDay=function(t){this._date=this._date.set({weekday:t})};S.prototype.setMonth=function(t){this._date=this._date.set({month:t+1})};S.prototype.setHours=function(t){this._date=this._date.set({hour:t})};S.prototype.setMinutes=function(t){this._date=this._date.set({minute:t})};S.prototype.setSeconds=function(t){this._date=this._date.set({second:t})};S.prototype.setMilliseconds=function(t){this._date=this._date.set({millisecond:t})};S.prototype._getUTC=function(){return this._date.toUTC()};S.prototype.toString=function(){return this.toDate().toString()};S.prototype.toDate=function(){return this._date.toJSDate()};S.prototype.isLastDayOfMonth=function(){var t=this._date.plus({days:1}).startOf("day");return this._date.month!==t.month};S.prototype.isLastWeekdayOfMonth=function(){var t=this._date.plus({days:7}).startOf("day");return this._date.month!==t.month};function S(t,e){var r={zone:e};if(t?t instanceof S?this._date=t._date:t instanceof Date?this._date=ae.DateTime.fromJSDate(t,r):typeof t=="number"?this._date=ae.DateTime.fromMillis(t,r):typeof t=="string"&&(this._date=ae.DateTime.fromISO(t,r),this._date.isValid||(this._date=ae.DateTime.fromRFC2822(t,r)),this._date.isValid||(this._date=ae.DateTime.fromSQL(t,r)),this._date.isValid||(this._date=ae.DateTime.fromFormat(t,"EEE, d MMM yyyy HH:mm:ss",r))):this._date=ae.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(t));e&&e!==this._date.zoneName&&(this._date=this._date.setZone(e))}var ea=S;function ue(t){return{start:t,count:1}}function pr(t,e){t.end=e,t.step=e-t.start,t.count=2}function kt(t,e,r){e&&(e.count===2?(t.push(ue(e.start)),t.push(ue(e.end))):t.push(e)),r&&t.push(r)}function ta(t){for(var e=[],r=void 0,n=0;nl.end?i=i.concat(Array.from({length:l.end-l.start+1}).map(function(m,f){var g=l.start+f;return(g-l.start)%l.step===0?g:null}).filter(function(m){return m!=null})):l.end===r-l.step+1?i.push(l.start+"/"+l.step):i.push(l.start+"-"+l.end+"/"+l.step)}return i.join(",")}var ia=sa,de=ea,aa=ia,gr=1e4;function y(t,e){this._options=e,this._utc=e.utc||!1,this._tz=this._utc?"UTC":e.tz,this._currentDate=new de(e.currentDate,this._tz),this._startDate=e.startDate?new de(e.startDate,this._tz):null,this._endDate=e.endDate?new de(e.endDate,this._tz):null,this._isIterator=e.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=e.nthDayOfWeek||0,this.fields=y._freezeFields(t)}y.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"];y.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"};y.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}];y.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31];y.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}};y.parseDefaults=["0","*","*","*","*","*"];y.standardValidCharacters=/^[,*\d/-]+$/;y.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/;y.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/;y.validCharacters={second:y.standardValidCharacters,minute:y.standardValidCharacters,hour:y.standardValidCharacters,dayOfMonth:y.dayOfMonthValidCharacters,month:y.standardValidCharacters,dayOfWeek:y.dayOfWeekValidCharacters};y._isValidConstraintChar=function(e,r){return typeof r!="string"?!1:e.chars.some(function(n){return r.indexOf(n)>-1})};y._parseField=function(e,r,n){switch(e){case"month":case"dayOfWeek":var s=y.aliases[e];r=r.replace(/[a-z]{3}/gi,function(o){if(o=o.toLowerCase(),typeof s[o]<"u")return s[o];throw new Error('Validation error, cannot resolve alias "'+o+'"')});break}if(!y.validCharacters[e].test(r))throw new Error("Invalid characters, got value: "+r);r.indexOf("*")!==-1?r=r.replace(/\*/g,n.min+"-"+n.max):r.indexOf("?")!==-1&&(r=r.replace(/\?/g,n.min+"-"+n.max));function a(o){var l=[];function c(g){if(g instanceof Array)for(var d=0,k=g.length;dn.max)throw new Error("Constraint error, got value "+w+" expected range "+n.min+"-"+n.max);l.push(w)}else{if(y._isValidConstraintChar(n,g)){l.push(g);return}var D=+g;if(Number.isNaN(D)||Dn.max)throw new Error("Constraint error, got value "+g+" expected range "+n.min+"-"+n.max);e==="dayOfWeek"&&(D=D%7),l.push(D)}}var p=o.split(",");if(!p.every(function(g){return g.length>0}))throw new Error("Invalid list value format");if(p.length>1)for(var m=0,f=p.length;m2)throw new Error("Invalid repeat: "+o);return c.length>1?(c[0]==+c[0]&&(c=[c[0]+"-"+n.max,c[1]]),u(c[0],c[c.length-1])):u(o,l)}function u(o,l){var c=[],p=o.split("-");if(p.length>1){if(p.length<2)return+o;if(!p[0].length){if(!p[1].length)throw new Error("Invalid range: "+o);return+o}var m=+p[0],f=+p[1];if(Number.isNaN(m)||Number.isNaN(f)||mn.max)throw new Error("Constraint error, got range "+m+"-"+f+" expected range "+n.min+"-"+n.max);if(m>f)throw new Error("Invalid range: "+o);var g=+l;if(Number.isNaN(g)||g<=0)throw new Error("Constraint error, cannot repeat at every "+g+" time.");e==="dayOfWeek"&&f%7===0&&c.push(0);for(var d=m,k=f;d<=k;d++){var w=c.indexOf(d)!==-1;!w&&g>0&&g%l===0?(g=1,c.push(d)):g++}return c}return Number.isNaN(+o)?o:+o}return a(r)};y._sortCompareFn=function(t,e){var r=typeof t=="number",n=typeof e=="number";return r&&n?t-e:!r&&n?1:r&&!n?-1:t.localeCompare(e)};y._handleMaxDaysInMonth=function(t){if(t.month.length===1){var e=y.daysInMonth[t.month[0]-1];if(t.dayOfMonth[0]>e)throw new Error("Invalid explicit day of month definition");return t.dayOfMonth.filter(function(r){return r==="L"?!0:r<=e}).sort(y._sortCompareFn)}};y._freezeFields=function(t){for(var e=0,r=y.map.length;e=w)return D[V]===w;return D[0]===w}function n(w,D){if(D<6){if(w.getDate()<8&&D===1)return!0;var V=w.getDate()%7?1:0,Y=w.getDate()-w.getDate()%7,Q=Math.floor(Y/7)+V;return Q===D}return!1}function s(w){return w.length>0&&w.some(function(D){return typeof D=="string"&&D.indexOf("L")>=0})}e=e||!1;var a=e?"subtract":"add",i=new de(this._currentDate,this._tz),u=this._startDate,o=this._endDate,l=i.getTime(),c=0;function p(w){return w.some(function(D){if(!s([D]))return!1;var V=Number.parseInt(D[0])%7;if(Number.isNaN(V))throw new Error("Invalid last weekday of the month expression: "+D);return i.getDay()===V&&i.isLastWeekdayOfMonth()})}for(;c=y.daysInMonth[i.getMonth()],d=this.fields.dayOfWeek.length===y.constraints[5].max-y.constraints[5].min+1,k=i.getHours();if(!m&&(!f||d)){this._applyTimezoneShift(i,a,"Day");continue}if(!g&&d&&!m){this._applyTimezoneShift(i,a,"Day");continue}if(g&&!d&&!f){this._applyTimezoneShift(i,a,"Day");continue}if(this._nthDayOfWeek>0&&!n(i,this._nthDayOfWeek)){this._applyTimezoneShift(i,a,"Day");continue}if(!r(i.getMonth()+1,this.fields.month)){this._applyTimezoneShift(i,a,"Month");continue}if(r(k,this.fields.hour)){if(this._dstEnd===k&&!e){this._dstEnd=null,this._applyTimezoneShift(i,"add","Hour");continue}}else if(this._dstStart!==k){this._dstStart=null,this._applyTimezoneShift(i,a,"Hour");continue}else if(!r(k-1,this.fields.hour)){i[a+"Hour"]();continue}if(!r(i.getMinutes(),this.fields.minute)){this._applyTimezoneShift(i,a,"Minute");continue}if(!r(i.getSeconds(),this.fields.second)){this._applyTimezoneShift(i,a,"Second");continue}if(l===i.getTime()){a==="add"||i.getMilliseconds()===0?this._applyTimezoneShift(i,a,"Second"):i.setMilliseconds(0);continue}break}if(c>=gr)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new de(i,this._tz),this._hasIterated=!0,i};y.prototype.next=function(){var e=this._findSchedule();return this._isIterator?{value:e,done:!this.hasNext()}:e};y.prototype.prev=function(){var e=this._findSchedule(!0);return this._isIterator?{value:e,done:!this.hasPrev()}:e};y.prototype.hasNext=function(){var t=this._currentDate,e=this._hasIterated;try{return this._findSchedule(),!0}catch{return!1}finally{this._currentDate=t,this._hasIterated=e}};y.prototype.hasPrev=function(){var t=this._currentDate,e=this._hasIterated;try{return this._findSchedule(!0),!0}catch{return!1}finally{this._currentDate=t,this._hasIterated=e}};y.prototype.iterate=function(e,r){var n=[];if(e>=0)for(var s=0,a=e;sa;s--)try{var i=this.prev();n.push(i),r&&r(i,s)}catch{break}return n};y.prototype.reset=function(e){this._currentDate=new de(e||this._options.currentDate)};y.prototype.stringify=function(e){for(var r=[],n=e?0:1,s=y.map.length;n"u"&&(i.currentDate=new de(void 0,n._tz)),y.predefined[a]&&(a=y.predefined[a]);var u=[],o=(a+"").trim().split(/\s+/);if(o.length>6)throw new Error("Invalid cron expression");for(var l=y.map.length-o.length,c=0,p=y.map.length;cp?c:c-l];if(c1){var Q=+Y[Y.length-1];if(/,/.test(V))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(V))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(V))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(Y.length>2||Number.isNaN(Q)||Q<1||Q>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return i.nthDayOfWeek=Q,Y[0]}return V}}return s(e,r)};y.fieldsToExpression=function(e,r){function n(m,f,g){if(!f)throw new Error("Validation error, Field "+m+" is missing");if(f.length===0)throw new Error("Validation error, Field "+m+" contains no values");for(var d=0,k=f.length;dg.max))throw new Error("Constraint error, got value "+w+" expected range "+g.min+"-"+g.max)}}for(var s={},a=0,i=y.map.length;a6)return{interval:Xe.parse(r.slice(0,6).join(" ")),command:r.slice(6,r.length)};throw new Error("Invalid entry: "+e)};ne.parseExpression=function(e,r){return Xe.parse(e,r)};ne.fieldsToExpression=function(e,r){return Xe.fieldsToExpression(e,r)};ne.parseString=function(e){for(var r=e.split(` -`),n={variables:{},expressions:[],errors:{}},s=0,a=r.length;s0){if(o.match(/^#/))continue;if(u=o.match(/^(.*)=(.*)$/))n.variables[u[1]]=u[2];else{var l=null;try{l=ne._parseEntry("0 "+o),n.expressions.push(l.interval)}catch(c){n.errors[o]=c}}}}return n};ne.parseFile=function(e,r){ca.readFile(e,function(n,s){if(n){r(n);return}return r(null,ne.parseString(s.toString()))})};var kn=ne;function et(t){return`${t.minute} ${t.hour} ${t.day} ${t.month} ${t.weekday}`}function Sn(t){const[e,r,n,s,a]=t.split(" ");return{minute:e||"*",hour:r||"*",day:n||"*",month:s||"*",weekday:a||"*"}}const da=t=>t.some(e=>e.includes("-")||e.includes(",")||e.includes("/"));function fa(t){const{hour:e,day:r,weekday:n,month:s,minute:a}=t;return da([s,r,n,e,a])||s!=="*"?"custom":n!=="*"?r==="*"?"weekly":"custom":r!=="*"?"monthly":e!=="*"?"daily":a!=="*"?"hourly":"custom"}function ha(t){return t.split(" ").length===5}function Tn(t){try{return kn.parseExpression(t,{}),!0}catch{return!1}}const ma=We({__name:"CronEditor",props:{value:{}},emits:["update:value"],setup(t,{emit:e}){const r=t,n=ge(()=>{const d=r.value.hour,k=r.value.minute;return $t(`${d}:${k}`,"HH:mm")}),s=te(!1),a=ge(()=>o.value.periodicity!="custom"?{message:"",status:"success"}:s.value&&ha(o.value.crontabStr)||Tn(o.value.crontabStr)?{message:"",status:"success"}:{message:"Invalid expression",status:"error"});function i(d){switch(fa(d)){case"custom":return{periodicity:"custom",crontabStr:et(d)};case"hourly":return{periodicity:"hourly",minute:d.minute};case"daily":return{periodicity:"daily",hour:d.hour,minute:d.minute};case"weekly":return{periodicity:"weekly",weekday:d.weekday,hour:d.hour,minute:d.minute};case"monthly":return{periodicity:"monthly",day:d.day,hour:d.hour,minute:d.minute}}}function u(d){switch(d.periodicity){case"custom":return Sn(d.crontabStr);case"hourly":return{minute:d.minute,hour:"*",day:"*",month:"*",weekday:"*"};case"daily":return{minute:d.minute,hour:d.hour,day:"*",month:"*",weekday:"*"};case"weekly":return{minute:d.minute,hour:d.hour,day:"*",month:"*",weekday:d.weekday};case"monthly":return{minute:d.minute,hour:d.hour,day:d.day,month:"*",weekday:"*"}}}const o=Ln(i(r.value));function l(d){o.value={periodicity:"custom",crontabStr:d},e("update:value",u(o.value))}const c=d=>{o.value=i(es[d]),e("update:value",u(o.value))},p=d=>{parseInt(d)>59||(o.value={periodicity:"hourly",minute:d.length?d:"0"},e("update:value",u(o.value)))},m=d=>{const k=$t(d);switch(o.value.periodicity){case"daily":o.value={periodicity:o.value.periodicity,hour:k.hour().toString(),minute:k.minute().toString()};break;case"weekly":o.value={periodicity:o.value.periodicity,weekday:o.value.weekday,hour:k.hour().toString(),minute:k.minute().toString()};break;case"monthly":o.value={periodicity:o.value.periodicity,day:o.value.day,hour:k.hour().toString(),minute:k.minute().toString()};break}e("update:value",u(o.value))},f=d=>{o.value={periodicity:"weekly",weekday:d,hour:"0",minute:"0"},e("update:value",u(o.value))},g=d=>{o.value={periodicity:"monthly",day:d,hour:"0",minute:"0"},e("update:value",u(o.value))};return(d,k)=>(x(),ye(be,null,[M(v(St),{title:"Recurrence"},{default:E(()=>[M(v(at),{placeholder:"Choose a periodicity",value:o.value.periodicity,"onUpdate:value":c},{default:E(()=>[W(" > "),(x(!0),ye(be,null,Pe(v(Xn),(w,D)=>(x(),L(v(ot),{key:D,value:w},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),M(v(St),{help:a.value.message,"validate-status":a.value.status},{default:E(()=>[o.value.periodicity==="custom"?(x(),L(v(Tt),{key:0,value:o.value.crontabStr,"onUpdate:value":l,onBlur:k[0]||(k[0]=w=>s.value=!1),onFocus:k[1]||(k[1]=w=>s.value=!0)},null,8,["value"])):o.value.periodicity==="hourly"?(x(),L(v(Tt),{key:1,value:parseInt(d.value.minute),"onUpdate:value":p},{addonBefore:E(()=>[W(" at ")]),addonAfter:E(()=>[W(" minutes ")]),_:1},8,["value"])):o.value.periodicity==="daily"?(x(),L(v(lt),{key:2},{default:E(()=>[W(" on "),M(v(ut),{value:n.value,format:"HH:mm","allow-clear":!1,"onUpdate:value":m},null,8,["value"]),W(" UTC ")]),_:1})):o.value.periodicity==="weekly"?(x(),L(v(lt),{key:3},{default:E(()=>[W(" on "),M(v(at),{style:{width:"200px"},value:Object.values(v(dt))[parseInt(o.value.weekday)],"onUpdate:value":f},{default:E(()=>[(x(!0),ye(be,null,Pe(v(dt),(w,D)=>(x(),L(v(ot),{key:D,value:D,selected:w===Object.values(v(dt))[parseInt(d.value.weekday)]},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value","selected"]))),128))]),_:1},8,["value"]),W(" at "),M(v(ut),{value:n.value,format:"HH:mm","allow-clear":!1,"onUpdate:value":m},null,8,["value"]),W(" UTC ")]),_:1})):o.value.periodicity==="monthly"?(x(),L(v(lt),{key:4},{default:E(()=>[W(" on "),M(v(at),{style:{width:"60px"},value:o.value.day,"onUpdate:value":g},{default:E(()=>[(x(),ye(be,null,Pe(31,w=>M(v(ot),{key:w,value:w},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"]),W(" at "),M(v(ut),{value:n.value,format:"HH:mm","allow-clear":!1,"onUpdate:value":m},null,8,["value"]),W(" UTC ")]),_:1})):oe("",!0)]),_:1},8,["help","validate-status"])],64))}}),ya=We({__name:"NextRuns",props:{crontab:{}},setup(t){const e=t,r=Intl.DateTimeFormat().resolvedOptions().timeZone,n=ge(()=>new Intl.DateTimeFormat("en-US",{dateStyle:"full",timeStyle:"long",timeZone:r})),s=ge(()=>{const i=kn.parseExpression(et(e.crontab),{tz:"UTC"}),u=[];for(let o=0;o<8;o++)u.push(i.next().toDate());return u}),a=ge(()=>Tn(et(e.crontab)));return(i,u)=>(x(),L(v(Gn),{direction:"vertical",style:{width:"100%"}},{default:E(()=>[M(v(wr),{level:3},{default:E(()=>[W("Next Runs")]),_:1}),a.value?(x(),L(v(jn),{key:0,size:"small",bordered:""},{default:E(()=>[(x(!0),ye(be,null,Pe(s.value,(o,l)=>(x(),L(v(Jn),{key:l},{default:E(()=>[W(Ce(n.value.format(o)),1)]),_:2},1024))),128))]),_:1})):oe("",!0)]),_:1}))}}),pa=We({__name:"JobSettings",props:{job:{}},setup(t){const r=te(t.job),n=$n(Sn(r.value.schedule)),s=a=>{n.minute==a.minute&&n.hour==a.hour&&n.day==a.day&&n.month==a.month&&n.weekday==a.weekday||(n.minute=a.minute,n.hour=a.hour,n.day=a.day,n.month=a.month,n.weekday=a.weekday,r.value.schedule=et(n))};return(a,i)=>(x(),L(v(An),{class:"schedule-editor",layout:"vertical",style:{"padding-bottom":"50px"}},{default:E(()=>[M(v(St),{label:"Name",required:""},{default:E(()=>[M(v(Tt),{value:r.value.title,"onUpdate:value":i[0]||(i[0]=u=>r.value.title=u)},null,8,["value"])]),_:1}),M(Mn,{runtime:r.value},null,8,["runtime"]),M(v(wr),{level:3},{default:E(()=>[W("Schedule")]),_:1}),M(ma,{value:n,"onUpdate:value":s},null,8,["value"]),M(ya,{crontab:n},null,8,["crontab"])]),_:1}))}}),ga={style:{width:"100%",display:"flex","flex-direction":"column"}},wa=We({__name:"JobTester",props:{job:{},executionConfig:{},disabledWarning:{}},setup(t,{expose:e}){const r=t,n=te(!1);async function s(){n.value=!0;try{r.executionConfig.attached?await r.job.run():await r.job.test()}finally{n.value=!1}}return e({test:s}),(a,i)=>(x(),ye("div",ga,[M(Bn,{loading:n.value,style:{"max-width":"350px"},disabled:a.disabledWarning,onClick:s,onSave:i[0]||(i[0]=u=>a.job.save())},null,8,["loading","disabled"])]))}}),lo=We({__name:"JobEditor",setup(t){const e=Un(),r=Zn(),n=te(null);function s(){e.push({name:"stages"})}const a=te(null),i=te("source-code"),u=te("preview");function o(){var k;if(!m.value)return;const d=m.value.job.codeContent;(k=a.value)==null||k.updateLocalEditorCode(d)}const l=te({attached:!1,stageRunId:null,isInitial:!0}),c=d=>l.value={...l.value,attached:!!d},p=ge(()=>{var d;return(d=m.value)!=null&&d.job.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:null}),{result:m}=Vn(()=>Promise.all([Pn.get(),Yn.get(r.params.id)]).then(([d,k])=>Rn({workspace:d,job:k}))),f=Cn.create(),g=d=>{var k;return d!==i.value&&((k=m.value)==null?void 0:k.job.hasChanges())};return(d,k)=>(x(),L(_n,null,zn({navbar:E(()=>[v(m)?(x(),L(v(Kn),{key:0,title:v(m).job.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:s},{extra:E(()=>[M(Qn,{"editing-model":v(m).job},null,8,["editing-model"])]),_:1},8,["title"])):oe("",!0)]),content:E(()=>[v(m)?(x(),L(In,{key:0},{left:E(()=>[M(v(Ut),{"active-key":i.value,"onUpdate:activeKey":k[0]||(k[0]=w=>i.value=w)},{rightExtra:E(()=>[M(Fn,{model:v(m).job,onSave:o},null,8,["model"])]),default:E(()=>[M(v(ct),{key:"source-code",tab:"Source code",disabled:g("source-code")},null,8,["disabled"]),M(v(ct),{key:"settings",tab:"Settings",disabled:g("settings")},null,8,["disabled"])]),_:1},8,["active-key"]),i.value==="source-code"?(x(),L(xn,{key:0,script:v(m).job,workspace:v(m).workspace},null,8,["script","workspace"])):oe("",!0),v(m).job&&i.value==="settings"?(x(),L(pa,{key:1,job:v(m).job},null,8,["job"])):oe("",!0)]),right:E(()=>[M(v(Ut),{"active-key":u.value,"onUpdate:activeKey":k[1]||(k[1]=w=>u.value=w)},{rightExtra:E(()=>[M(v(At),{align:"center",gap:"middle"},{default:E(()=>[M(v(At),{gap:"small"},{default:E(()=>[M(v(Hn),null,{default:E(()=>[W(Ce(l.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),M(v(qn),{checked:l.value.attached,"onUpdate:checked":c},null,8,["checked"])]),_:1})]),_:1})]),default:E(()=>[M(v(ct),{key:"preview",tab:"Preview"})]),_:1},8,["active-key"]),v(m).job?(x(),L(wa,{key:0,ref_key:"tester",ref:n,"execution-config":l.value,job:v(m).job,"disabled-warning":p.value},null,8,["execution-config","job","disabled-warning"])):oe("",!0)]),_:1})):oe("",!0)]),_:2},[v(m)?{name:"footer",fn:E(()=>[M(bn,{"stage-type":"jobs",stage:v(m).job,"log-service":v(f),workspace:v(m).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});export{lo as default}; -//# sourceMappingURL=JobEditor.15ad7111.js.map diff --git a/abstra_statics/dist/assets/JobEditor.bd0400b1.js b/abstra_statics/dist/assets/JobEditor.bd0400b1.js new file mode 100644 index 0000000000..96db8bbeb8 --- /dev/null +++ b/abstra_statics/dist/assets/JobEditor.bd0400b1.js @@ -0,0 +1,3 @@ +import{B as _n}from"./BaseLayout.577165c3.js";import{R as bn,S as Mn,E as In,a as xn,L as Cn}from"./SourceCode.b049bbd7.js";import{S as Fn}from"./SaveButton.17e88f21.js";import{a as Vn}from"./asyncComputed.3916dfed.js";import{eE as Wn,d as We,f as ge,e as te,Q as Ln,o as x,X as ye,b,w as E,u as v,aA as at,aF as W,aR as Me,eb as Pe,c as L,e9 as Ce,cQ as ot,cv as St,bH as Tt,d3 as ut,cx as lt,R as oe,e$ as $t,d9 as wr,D as $n,cu as An,eo as Un,ea as Zn,eg as zn,y as Rn,dd as At,d8 as Hn,cT as qn}from"./vue-router.324eaed2.js";import{J as Yn}from"./scripts.c1b9be98.js";import"./editor.1b3b164b.js";import{W as Pn}from"./workspaces.a34621fe.js";import{A as jn,a as Jn}from"./index.5cae8761.js";import{A as Gn}from"./index.7d758831.js";import{_ as Bn}from"./RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js";import{N as Qn}from"./NavbarControls.414bdd58.js";import{b as Kn}from"./index.51467614.js";import{A as ct,T as Ut}from"./TabPane.caed57de.js";import"./uuid.a06fb10a.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./PhCopy.vue.b2238e41.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhCopySimple.vue.d9faf509.js";import"./PhCaretRight.vue.70c5f54b.js";import"./Badge.9808092c.js";import"./PhBug.vue.ac4a72e0.js";import"./PhQuestion.vue.6a6a9376.js";import"./LoadingOutlined.09a06334.js";import"./polling.72e5a2f8.js";import"./PhPencil.vue.91f72c2e.js";import"./toggleHighContrast.4c55b574.js";import"./index.0887bacc.js";import"./Card.1902bdb7.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./record.cff1707c.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./CloseCircleOutlined.6d0d12eb.js";import"./popupNotifcation.5a82bc93.js";import"./PhArrowSquareOut.vue.2a1b339b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./PhChats.vue.42699894.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a567af7a-ce6e-42ae-b034-76bc4f0d5682",t._sentryDebugIdIdentifier="sentry-dbid-a567af7a-ce6e-42ae-b034-76bc4f0d5682")}catch{}})();const dt={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},Xn=["hourly","daily","weekly","monthly","custom"],es={custom:{minute:"*",hour:"*",day:"*",month:"*",weekday:"*"},hourly:{minute:"0",hour:"*",day:"*",month:"*",weekday:"*"},daily:{minute:"0",hour:"6",day:"*",month:"*",weekday:"*"},weekly:{minute:"0",hour:"6",day:"*",month:"*",weekday:"1"},monthly:{minute:"0",hour:"6",day:"1",month:"*",weekday:"*"}};var z={};Object.defineProperty(z,"__esModule",{value:!0});class fe extends Error{}class ts extends fe{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class rs extends fe{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class ns extends fe{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class pe extends fe{}class vr extends fe{constructor(e){super(`Invalid unit ${e}`)}}class U extends fe{}class K extends fe{constructor(){super("Zone is an abstract class")}}const h="numeric",G="short",Z="long",Ge={year:h,month:h,day:h},kr={year:h,month:G,day:h},ss={year:h,month:G,day:h,weekday:G},Sr={year:h,month:Z,day:h},Tr={year:h,month:Z,day:h,weekday:Z},Or={hour:h,minute:h},Dr={hour:h,minute:h,second:h},Nr={hour:h,minute:h,second:h,timeZoneName:G},Er={hour:h,minute:h,second:h,timeZoneName:Z},_r={hour:h,minute:h,hourCycle:"h23"},br={hour:h,minute:h,second:h,hourCycle:"h23"},Mr={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:G},Ir={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:Z},xr={year:h,month:h,day:h,hour:h,minute:h},Cr={year:h,month:h,day:h,hour:h,minute:h,second:h},Fr={year:h,month:G,day:h,hour:h,minute:h},Vr={year:h,month:G,day:h,hour:h,minute:h,second:h},is={year:h,month:G,day:h,weekday:G,hour:h,minute:h},Wr={year:h,month:Z,day:h,hour:h,minute:h,timeZoneName:G},Lr={year:h,month:Z,day:h,hour:h,minute:h,second:h,timeZoneName:G},$r={year:h,month:Z,day:h,weekday:Z,hour:h,minute:h,timeZoneName:Z},Ar={year:h,month:Z,day:h,weekday:Z,hour:h,minute:h,second:h,timeZoneName:Z};class Se{get type(){throw new K}get name(){throw new K}get ianaName(){return this.name}get isUniversal(){throw new K}offsetName(e,r){throw new K}formatOffset(e,r){throw new K}offset(e){throw new K}equals(e){throw new K}get isValid(){throw new K}}let ft=null;class Le extends Se{static get instance(){return ft===null&&(ft=new Le),ft}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Jr(e,r,n)}formatOffset(e,r){return Fe(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let je={};function as(t){return je[t]||(je[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),je[t]}const os={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function us(t,e){const r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,a,i,u,o,l,c]=n;return[i,s,a,u,o,l,c]}function ls(t,e){const r=t.formatToParts(e),n=[];for(let s=0;s=0?g:1e3+g,(m-f)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Zt={};function cs(t,e={}){const r=JSON.stringify([t,e]);let n=Zt[r];return n||(n=new Intl.ListFormat(t,e),Zt[r]=n),n}let Ot={};function Dt(t,e={}){const r=JSON.stringify([t,e]);let n=Ot[r];return n||(n=new Intl.DateTimeFormat(t,e),Ot[r]=n),n}let Nt={};function ds(t,e={}){const r=JSON.stringify([t,e]);let n=Nt[r];return n||(n=new Intl.NumberFormat(t,e),Nt[r]=n),n}let Et={};function fs(t,e={}){const{base:r,...n}=e,s=JSON.stringify([t,n]);let a=Et[s];return a||(a=new Intl.RelativeTimeFormat(t,e),Et[s]=a),a}let Ie=null;function hs(){return Ie||(Ie=new Intl.DateTimeFormat().resolvedOptions().locale,Ie)}let zt={};function ms(t){let e=zt[t];if(!e){const r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,zt[t]=e}return e}function ys(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const r=t.indexOf("-u-");if(r===-1)return[t];{let n,s;try{n=Dt(t).resolvedOptions(),s=t}catch{const o=t.substring(0,r);n=Dt(o).resolvedOptions(),s=o}const{numberingSystem:a,calendar:i}=n;return[s,a,i]}}function ps(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function gs(t){const e=[];for(let r=1;r<=12;r++){const n=O.utc(2009,r,1);e.push(t(n))}return e}function ws(t){const e=[];for(let r=1;r<=7;r++){const n=O.utc(2016,11,13+r);e.push(t(n))}return e}function ze(t,e,r,n){const s=t.listingMode();return s==="error"?null:s==="en"?r(e):n(e)}function vs(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class ks{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:s,floor:a,...i}=n;if(!r||Object.keys(i).length>0){const u={useGrouping:!1,...n};n.padTo>0&&(u.minimumIntegerDigits=n.padTo),this.inf=ds(e,u)}}format(e){if(this.inf){const r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{const r=this.floor?Math.floor(e):Ct(e,3);return F(r,this.padTo)}}}class Ss{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const i=-1*(e.offset/60),u=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;e.offset!==0&&B.create(u).valid?(s=u,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const a={...this.opts};a.timeZone=a.timeZone||s,this.dtf=Dt(r,a)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){const n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ts{constructor(e,r,n){this.opts={style:"long",...n},!r&&Pr()&&(this.rtf=fs(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):zs(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}}const Os={firstDay:1,minimalDays:4,weekend:[6,7]};class M{static fromOpts(e){return M.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,s,a=!1){const i=e||C.defaultLocale,u=i||(a?"en-US":hs()),o=r||C.defaultNumberingSystem,l=n||C.defaultOutputCalendar,c=_t(s)||C.defaultWeekSettings;return new M(u,o,l,c,i)}static resetCache(){Ie=null,Ot={},Nt={},Et={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:s}={}){return M.create(e,r,n,s)}constructor(e,r,n,s,a){const[i,u,o]=ys(e);this.locale=i,this.numberingSystem=r||u||null,this.outputCalendar=n||o||null,this.weekSettings=s,this.intl=ps(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=vs(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:M.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,_t(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return ze(this,e,Qr,()=>{const n=r?{month:e,day:"numeric"}:{month:e},s=r?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=gs(a=>this.extract(a,n,"month"))),this.monthsCache[s][e]})}weekdays(e,r=!1){return ze(this,e,en,()=>{const n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=r?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=ws(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return ze(this,void 0,()=>tn,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[O.utc(2016,11,13,9),O.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return ze(this,e,rn,()=>{const r={era:e};return this.eraCache[e]||(this.eraCache[e]=[O.utc(-40,1,1),O.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){const s=this.dtFormatter(e,r),a=s.formatToParts(),i=a.find(u=>u.type.toLowerCase()===n);return i?i.value:null}numberFormatter(e={}){return new ks(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new Ss(e,this.intl,r)}relFormatter(e={}){return new Ts(this.intl,this.isEnglish(),e)}listFormatter(e={}){return cs(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jr()?ms(this.locale):Os}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let ht=null;class A extends Se{static get utcInstance(){return ht===null&&(ht=new A(0)),ht}static instance(e){return e===0?A.utcInstance:new A(e)}static parseSpecifier(e){if(e){const r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new A(nt(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Fe(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Fe(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Fe(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class Ur extends Se{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function re(t,e){if(T(t)||t===null)return e;if(t instanceof Se)return t;if(Es(t)){const r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?Le.instance:r==="utc"||r==="gmt"?A.utcInstance:A.parseSpecifier(r)||B.create(t)}else return ce(t)?A.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new Ur(t)}let Rt=()=>Date.now(),Ht="system",qt=null,Yt=null,Pt=null,jt=60,Jt,Gt=null;class C{static get now(){return Rt}static set now(e){Rt=e}static set defaultZone(e){Ht=e}static get defaultZone(){return re(Ht,Le.instance)}static get defaultLocale(){return qt}static set defaultLocale(e){qt=e}static get defaultNumberingSystem(){return Yt}static set defaultNumberingSystem(e){Yt=e}static get defaultOutputCalendar(){return Pt}static set defaultOutputCalendar(e){Pt=e}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(e){Gt=_t(e)}static get twoDigitCutoffYear(){return jt}static set twoDigitCutoffYear(e){jt=e%100}static get throwOnInvalid(){return Jt}static set throwOnInvalid(e){Jt=e}static resetCaches(){M.resetCache(),B.resetCache()}}class J{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Zr=[0,31,59,90,120,151,181,212,243,273,304,334],zr=[0,31,60,91,121,152,182,213,244,274,305,335];function H(t,e){return new J("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mt(t,e,r){const n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return s===0?7:s}function Rr(t,e,r){return r+($e(t)?zr:Zr)[e-1]}function Hr(t,e){const r=$e(t)?zr:Zr,n=r.findIndex(a=>aVe(n,e,r)?(l=n+1,o=1):l=n,{weekYear:l,weekNumber:o,weekday:u,...st(t)}}function Bt(t,e=4,r=1){const{weekYear:n,weekNumber:s,weekday:a}=t,i=It(Mt(n,1,e),r),u=we(n);let o=s*7+a-i-7+e,l;o<1?(l=n-1,o+=we(l)):o>u?(l=n+1,o-=we(n)):l=n;const{month:c,day:p}=Hr(l,o);return{year:l,month:c,day:p,...st(t)}}function mt(t){const{year:e,month:r,day:n}=t,s=Rr(e,r,n);return{year:e,ordinal:s,...st(t)}}function Qt(t){const{year:e,ordinal:r}=t,{month:n,day:s}=Hr(e,r);return{year:e,month:n,day:s,...st(t)}}function Kt(t,e){if(!T(t.localWeekday)||!T(t.localWeekNumber)||!T(t.localWeekYear)){if(!T(t.weekday)||!T(t.weekNumber)||!T(t.weekYear))throw new pe("Cannot mix locale-based week fields with ISO-based week fields");return T(t.localWeekday)||(t.weekday=t.localWeekday),T(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),T(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Ds(t,e=4,r=1){const n=tt(t.weekYear),s=q(t.weekNumber,1,Ve(t.weekYear,e,r)),a=q(t.weekday,1,7);return n?s?a?!1:H("weekday",t.weekday):H("week",t.weekNumber):H("weekYear",t.weekYear)}function Ns(t){const e=tt(t.year),r=q(t.ordinal,1,we(t.year));return e?r?!1:H("ordinal",t.ordinal):H("year",t.year)}function qr(t){const e=tt(t.year),r=q(t.month,1,12),n=q(t.day,1,Qe(t.year,t.month));return e?r?n?!1:H("day",t.day):H("month",t.month):H("year",t.year)}function Yr(t){const{hour:e,minute:r,second:n,millisecond:s}=t,a=q(e,0,23)||e===24&&r===0&&n===0&&s===0,i=q(r,0,59),u=q(n,0,59),o=q(s,0,999);return a?i?u?o?!1:H("millisecond",s):H("second",n):H("minute",r):H("hour",e)}function T(t){return typeof t>"u"}function ce(t){return typeof t=="number"}function tt(t){return typeof t=="number"&&t%1===0}function Es(t){return typeof t=="string"}function _s(t){return Object.prototype.toString.call(t)==="[object Date]"}function Pr(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function jr(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function bs(t){return Array.isArray(t)?t:[t]}function Xt(t,e,r){if(t.length!==0)return t.reduce((n,s)=>{const a=[e(s),s];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function Ms(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function ke(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function _t(t){if(t==null)return null;if(typeof t!="object")throw new U("Week settings must be an object");if(!q(t.firstDay,1,7)||!q(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!q(e,1,7)))throw new U("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function q(t,e,r){return tt(t)&&t>=e&&t<=r}function Is(t,e){return t-e*Math.floor(t/e)}function F(t,e=2){const r=t<0;let n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function ee(t){if(!(T(t)||t===null||t===""))return parseInt(t,10)}function se(t){if(!(T(t)||t===null||t===""))return parseFloat(t)}function xt(t){if(!(T(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ct(t,e,r=!1){const n=10**e;return(r?Math.trunc:Math.round)(t*n)/n}function $e(t){return t%4===0&&(t%100!==0||t%400===0)}function we(t){return $e(t)?366:365}function Qe(t,e){const r=Is(e-1,12)+1,n=t+(e-r)/12;return r===2?$e(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function rt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function er(t,e,r){return-It(Mt(t,1,e),r)+e-1}function Ve(t,e=4,r=1){const n=er(t,e,r),s=er(t+1,e,r);return(we(t)-n+s)/7}function bt(t){return t>99?t:t>C.twoDigitCutoffYear?1900+t:2e3+t}function Jr(t,e,r,n=null){const s=new Date(t),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);const i={timeZoneName:e,...a},u=new Intl.DateTimeFormat(r,i).formatToParts(s).find(o=>o.type.toLowerCase()==="timezonename");return u?u.value:null}function nt(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);const n=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function Gr(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new U(`Invalid unit value ${t}`);return e}function Ke(t,e){const r={};for(const n in t)if(ke(t,n)){const s=t[n];if(s==null)continue;r[e(n)]=Gr(s)}return r}function Fe(t,e){const r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${F(r,2)}:${F(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${F(r,2)}${F(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function st(t){return Ms(t,["hour","minute","second","millisecond"])}const xs=["January","February","March","April","May","June","July","August","September","October","November","December"],Br=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qr(t){switch(t){case"narrow":return[...Cs];case"short":return[...Br];case"long":return[...xs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Kr=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xr=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Fs=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...Fs];case"short":return[...Xr];case"long":return[...Kr];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const tn=["AM","PM"],Vs=["Before Christ","Anno Domini"],Ws=["BC","AD"],Ls=["B","A"];function rn(t){switch(t){case"narrow":return[...Ls];case"short":return[...Ws];case"long":return[...Vs];default:return null}}function $s(t){return tn[t.hour<12?0:1]}function As(t,e){return en(e)[t.weekday-1]}function Us(t,e){return Qr(e)[t.month-1]}function Zs(t,e){return rn(e)[t.year<0?0:1]}function zs(t,e,r="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&a){const p=t==="days";switch(e){case 1:return p?"tomorrow":`next ${s[t][0]}`;case-1:return p?"yesterday":`last ${s[t][0]}`;case 0:return p?"today":`this ${s[t][0]}`}}const i=Object.is(e,-0)||e<0,u=Math.abs(e),o=u===1,l=s[t],c=n?o?l[1]:l[2]||l[1]:o?s[t][0]:t;return i?`${u} ${c} ago`:`in ${u} ${c}`}function tr(t,e){let r="";for(const n of t)n.literal?r+=n.val:r+=e(n.val);return r}const Rs={D:Ge,DD:kr,DDD:Sr,DDDD:Tr,t:Or,tt:Dr,ttt:Nr,tttt:Er,T:_r,TT:br,TTT:Mr,TTTT:Ir,f:xr,ff:Fr,fff:Wr,ffff:$r,F:Cr,FF:Vr,FFF:Lr,FFFF:Ar};class ${static create(e,r={}){return new $(e,r)}static parseFormat(e){let r=null,n="",s=!1;const a=[];for(let i=0;i0&&a.push({literal:s||/^\s+$/.test(n),val:n}),r=null,n="",s=!s):s||u===r?n+=u:(n.length>0&&a.push({literal:/^\s+$/.test(n),val:n}),n=u,r=u)}return n.length>0&&a.push({literal:s||/^\s+$/.test(n),val:n}),a}static macroTokenToFormatOpts(e){return Rs[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return F(e,r);const n={...this.opts};return r>0&&(n.padTo=r),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,r){const n=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(f,g)=>this.loc.extract(e,f,g),i=f=>e.isOffsetFixed&&e.offset===0&&f.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,f.format):"",u=()=>n?$s(e):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),o=(f,g)=>n?Us(e,f):a(g?{month:f}:{month:f,day:"numeric"},"month"),l=(f,g)=>n?As(e,f):a(g?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),c=f=>{const g=$.macroTokenToFormatOpts(f);return g?this.formatWithSystemDefault(e,g):f},p=f=>n?Zs(e,f):a({era:f},"era"),m=f=>{switch(f){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return u();case"d":return s?a({day:"numeric"},"day"):this.num(e.day);case"dd":return s?a({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return s?a({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?a({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return o("short",!0);case"LLLL":return o("long",!0);case"LLLLL":return o("narrow",!0);case"M":return s?a({month:"numeric"},"month"):this.num(e.month);case"MM":return s?a({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return o("short",!1);case"MMMM":return o("long",!1);case"MMMMM":return o("narrow",!1);case"y":return s?a({year:"numeric"},"year"):this.num(e.year);case"yy":return s?a({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?a({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?a({year:"numeric"},"year"):this.num(e.year,6);case"G":return p("short");case"GG":return p("long");case"GGGGG":return p("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return c(f)}};return tr($.parseFormat(r),m)}formatDurationFromString(e,r){const n=o=>{switch(o[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=o=>l=>{const c=n(l);return c?this.num(o.get(c),l.length):l},a=$.parseFormat(r),i=a.reduce((o,{literal:l,val:c})=>l?o:o.concat(c),[]),u=e.shiftTo(...i.map(n).filter(o=>o));return tr(a,s(u))}}const nn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Te(...t){const e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Oe(...t){return e=>t.reduce(([r,n,s],a)=>{const[i,u,o]=a(e,s);return[{...r,...i},u||n,o]},[{},null,1]).slice(0,2)}function De(t,...e){if(t==null)return[null,null];for(const[r,n]of e){const s=r.exec(t);if(s)return n(s)}return[null,null]}function sn(...t){return(e,r)=>{const n={};let s;for(s=0;sf!==void 0&&(g||f&&c)?-f:f;return[{years:m(se(r)),months:m(se(n)),weeks:m(se(s)),days:m(se(a)),hours:m(se(i)),minutes:m(se(u)),seconds:m(se(o),o==="-0"),milliseconds:m(xt(l),p)}]}const ti={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Wt(t,e,r,n,s,a,i){const u={year:e.length===2?bt(ee(e)):ee(e),month:Br.indexOf(r)+1,day:ee(n),hour:ee(s),minute:ee(a)};return i&&(u.second=ee(i)),t&&(u.weekday=t.length>3?Kr.indexOf(t)+1:Xr.indexOf(t)+1),u}const ri=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function ni(t){const[,e,r,n,s,a,i,u,o,l,c,p]=t,m=Wt(e,s,n,r,a,i,u);let f;return o?f=ti[o]:l?f=0:f=nt(c,p),[m,new A(f)]}function si(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const ii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ai=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,oi=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rr(t){const[,e,r,n,s,a,i,u]=t;return[Wt(e,s,n,r,a,i,u),A.utcInstance]}function ui(t){const[,e,r,n,s,a,i,u]=t;return[Wt(e,u,r,n,s,a,i),A.utcInstance]}const li=Te(qs,Vt),ci=Te(Ys,Vt),di=Te(Ps,Vt),fi=Te(on),ln=Oe(Qs,Ne,Ae,Ue),hi=Oe(js,Ne,Ae,Ue),mi=Oe(Js,Ne,Ae,Ue),yi=Oe(Ne,Ae,Ue);function pi(t){return De(t,[li,ln],[ci,hi],[di,mi],[fi,yi])}function gi(t){return De(si(t),[ri,ni])}function wi(t){return De(t,[ii,rr],[ai,rr],[oi,ui])}function vi(t){return De(t,[Xs,ei])}const ki=Oe(Ne);function Si(t){return De(t,[Ks,ki])}const Ti=Te(Gs,Bs),Oi=Te(un),Di=Oe(Ne,Ae,Ue);function Ni(t){return De(t,[Ti,ln],[Oi,Di])}const nr="Invalid Duration",cn={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Ei={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...cn},R=146097/400,he=146097/4800,_i={years:{quarters:4,months:12,weeks:R/7,days:R,hours:R*24,minutes:R*24*60,seconds:R*24*60*60,milliseconds:R*24*60*60*1e3},quarters:{months:3,weeks:R/28,days:R/4,hours:R*24/4,minutes:R*24*60/4,seconds:R*24*60*60/4,milliseconds:R*24*60*60*1e3/4},months:{weeks:he/7,days:he,hours:he*24,minutes:he*24*60,seconds:he*24*60*60,milliseconds:he*24*60*60*1e3},...cn},le=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],bi=le.slice(0).reverse();function X(t,e,r=!1){const n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new N(n)}function dn(t,e){var r;let n=(r=e.milliseconds)!=null?r:0;for(const s of bi.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function sr(t,e){const r=dn(t,e)<0?-1:1;le.reduceRight((n,s)=>{if(T(e[s]))return n;if(n){const a=e[n]*r,i=t[s][n],u=Math.floor(a/i);e[s]+=u*r,e[n]-=u*i*r}return s},null),le.reduce((n,s)=>{if(T(e[s]))return n;if(n){const a=e[n]%1;e[n]-=a,e[s]+=a*t[n][s]}return s},null)}function Mi(t){const e={};for(const[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}class N{constructor(e){const r=e.conversionAccuracy==="longterm"||!1;let n=r?_i:Ei;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||M.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return N.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new U(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new N({values:Ke(e,N.normalizeUnit),loc:M.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(ce(e))return N.fromMillis(e);if(N.isDuration(e))return e;if(typeof e=="object")return N.fromObject(e);throw new U(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){const[n]=vi(e);return n?N.fromObject(n,r):N.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){const[n]=Si(e);return n?N.fromObject(n,r):N.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new U("need to specify a reason the Duration is invalid");const n=e instanceof J?e:new J(e,r);if(C.throwOnInvalid)throw new ns(n);return new N({invalid:n})}static normalizeUnit(e){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new vr(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){const n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?$.create(this.loc,n).formatDurationFromString(this,e):nr}toHuman(e={}){if(!this.isValid)return nr;const r=le.map(n=>{const s=this.values[n];return T(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(s)}).filter(n=>n);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ct(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},O.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?dn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e),n={};for(const s of le)(ke(r.values,s)||ke(this.values,s))&&(n[s]=r.get(s)+this.get(s));return X(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;const r={};for(const n of Object.keys(this.values))r[n]=Gr(e(this.values[n],n));return X(this,{values:r},!0)}get(e){return this[N.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const r={...this.values,...Ke(e,N.normalizeUnit)};return X(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:s}={}){const i={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:s,conversionAccuracy:n};return X(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return sr(this.matrix,e),X(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=Mi(this.normalize().shiftToAll().toObject());return X(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(i=>N.normalizeUnit(i));const r={},n={},s=this.toObject();let a;for(const i of le)if(e.indexOf(i)>=0){a=i;let u=0;for(const l in n)u+=this.matrix[l][i]*n[l],n[l]=0;ce(s[i])&&(u+=s[i]);const o=Math.trunc(u);r[i]=o,n[i]=(u*1e3-o*1e3)/1e3}else ce(s[i])&&(n[i]=s[i]);for(const i in n)n[i]!==0&&(r[a]+=i===a?n[i]:n[i]/this.matrix[a][i]);return sr(this.matrix,r),X(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return X(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,s){return n===void 0||n===0?s===void 0||s===0:n===s}for(const n of le)if(!r(this.values[n],e.values[n]))return!1;return!0}}const me="Invalid Interval";function Ii(t,e){return!t||!t.isValid?I.invalid("missing or invalid start"):!e||!e.isValid?I.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?I.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];const r=e.map(be).filter(i=>this.contains(i)).sort((i,u)=>i.toMillis()-u.toMillis()),n=[];let{s}=this,a=0;for(;s+this.e?this.e:i;n.push(I.fromDateTimes(s,u)),s=u,a+=1}return n}splitBy(e){const r=N.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,s=1,a;const i=[];for(;no*s));a=+u>+this.e?this.e:u,i.push(I.fromDateTimes(n,a)),n=a,s+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const r=this.s>e.s?this.s:e.s,n=this.e=n?null:I.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;const r=this.se.e?this.e:e.e;return I.fromDateTimes(r,n)}static merge(e){const[r,n]=e.sort((s,a)=>s.s-a.s).reduce(([s,a],i)=>a?a.overlaps(i)||a.abutsStart(i)?[s,a.union(i)]:[s.concat([a]),i]:[s,i],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0;const s=[],a=e.map(o=>[{time:o.s,type:"s"},{time:o.e,type:"e"}]),i=Array.prototype.concat(...a),u=i.sort((o,l)=>o.time-l.time);for(const o of u)n+=o.type==="s"?1:-1,n===1?r=o.time:(r&&+r!=+o.time&&s.push(I.fromDateTimes(r,o.time)),r=null);return I.merge(s)}difference(...e){return I.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:me}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ge,r={}){return this.isValid?$.create(this.s.loc.clone(r),e).formatInterval(this):me}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:me}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:me}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:me}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:me}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):N.invalid(this.invalidReason)}mapEndpoints(e){return I.fromDateTimes(e(this.s),e(this.e))}}class xe{static hasDST(e=C.defaultZone){const r=O.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return B.isValidZone(e)}static normalizeZone(e){return re(e,C.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||M.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||M.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||M.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||M.create(r,n,a)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||M.create(r,n,a)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||M.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||M.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return M.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return M.create(r,null,"gregory").eras(e)}static features(){return{relative:Pr(),localeWeek:jr()}}}function ir(t,e){const r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(N.fromMillis(n).as("days"))}function xi(t,e,r){const n=[["years",(o,l)=>l.year-o.year],["quarters",(o,l)=>l.quarter-o.quarter+(l.year-o.year)*4],["months",(o,l)=>l.month-o.month+(l.year-o.year)*12],["weeks",(o,l)=>{const c=ir(o,l);return(c-c%7)/7}],["days",ir]],s={},a=t;let i,u;for(const[o,l]of n)r.indexOf(o)>=0&&(i=o,s[o]=l(t,e),u=a.plus(s),u>e?(s[o]--,t=a.plus(s),t>e&&(u=t,s[o]--,t=a.plus(s))):t=u);return[t,s,u,i]}function Ci(t,e,r,n){let[s,a,i,u]=xi(t,e,r);const o=e-s,l=r.filter(p=>["hours","minutes","seconds","milliseconds"].indexOf(p)>=0);l.length===0&&(i0?N.fromMillis(o,n).shiftTo(...l).plus(c):c}const Lt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},ar={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Fi=Lt.hanidec.replace(/[\[|\]]/g,"").split("");function Vi(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r=a&&n<=i&&(e+=n-a)}}return parseInt(e,10)}else return e}function P({numberingSystem:t},e=""){return new RegExp(`${Lt[t||"latn"]}${e}`)}const Wi="missing Intl.DateTimeFormat.formatToParts support";function _(t,e=r=>r){return{regex:t,deser:([r])=>e(Vi(r))}}const Li=String.fromCharCode(160),fn=`[ ${Li}]`,hn=new RegExp(fn,"g");function $i(t){return t.replace(/\./g,"\\.?").replace(hn,fn)}function or(t){return t.replace(/\./g,"").replace(hn," ").toLowerCase()}function j(t,e){return t===null?null:{regex:RegExp(t.map($i).join("|")),deser:([r])=>t.findIndex(n=>or(r)===or(n))+e}}function ur(t,e){return{regex:t,deser:([,r,n])=>nt(r,n),groups:e}}function Re(t){return{regex:t,deser:([e])=>e}}function Ai(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Ui(t,e){const r=P(e),n=P(e,"{2}"),s=P(e,"{3}"),a=P(e,"{4}"),i=P(e,"{6}"),u=P(e,"{1,2}"),o=P(e,"{1,3}"),l=P(e,"{1,6}"),c=P(e,"{1,9}"),p=P(e,"{2,4}"),m=P(e,"{4,6}"),f=k=>({regex:RegExp(Ai(k.val)),deser:([w])=>w,literal:!0}),d=(k=>{if(t.literal)return f(k);switch(k.val){case"G":return j(e.eras("short"),0);case"GG":return j(e.eras("long"),0);case"y":return _(l);case"yy":return _(p,bt);case"yyyy":return _(a);case"yyyyy":return _(m);case"yyyyyy":return _(i);case"M":return _(u);case"MM":return _(n);case"MMM":return j(e.months("short",!0),1);case"MMMM":return j(e.months("long",!0),1);case"L":return _(u);case"LL":return _(n);case"LLL":return j(e.months("short",!1),1);case"LLLL":return j(e.months("long",!1),1);case"d":return _(u);case"dd":return _(n);case"o":return _(o);case"ooo":return _(s);case"HH":return _(n);case"H":return _(u);case"hh":return _(n);case"h":return _(u);case"mm":return _(n);case"m":return _(u);case"q":return _(u);case"qq":return _(n);case"s":return _(u);case"ss":return _(n);case"S":return _(o);case"SSS":return _(s);case"u":return Re(c);case"uu":return Re(u);case"uuu":return _(r);case"a":return j(e.meridiems(),0);case"kkkk":return _(a);case"kk":return _(p,bt);case"W":return _(u);case"WW":return _(n);case"E":case"c":return _(r);case"EEE":return j(e.weekdays("short",!1),1);case"EEEE":return j(e.weekdays("long",!1),1);case"ccc":return j(e.weekdays("short",!0),1);case"cccc":return j(e.weekdays("long",!0),1);case"Z":case"ZZ":return ur(new RegExp(`([+-]${u.source})(?::(${n.source}))?`),2);case"ZZZ":return ur(new RegExp(`([+-]${u.source})(${n.source})?`),2);case"z":return Re(/[a-z_+-/]{1,256}?/i);case" ":return Re(/[^\S\n\r]/);default:return f(k)}})(t)||{invalidReason:Wi};return d.token=t,d}const Zi={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function zi(t,e,r){const{type:n,value:s}=t;if(n==="literal"){const o=/^\s+$/.test(s);return{literal:!o,val:o?" ":s}}const a=e[n];let i=n;n==="hour"&&(e.hour12!=null?i=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?i="hour12":i="hour24":i=r.hour12?"hour12":"hour24");let u=Zi[i];if(typeof u=="object"&&(u=u[a]),u)return{literal:!1,val:u}}function Ri(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function Hi(t,e,r){const n=t.match(e);if(n){const s={};let a=1;for(const i in r)if(ke(r,i)){const u=r[i],o=u.groups?u.groups+1:1;!u.literal&&u.token&&(s[u.token.val[0]]=u.deser(n.slice(a,a+o))),a+=o}return[n,s]}else return[n,{}]}function qi(t){const e=a=>{switch(a){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,n;return T(t.z)||(r=B.create(t.z)),T(t.Z)||(r||(r=new A(t.Z)),n=t.Z),T(t.q)||(t.M=(t.q-1)*3+1),T(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),T(t.u)||(t.S=xt(t.u)),[Object.keys(t).reduce((a,i)=>{const u=e(i);return u&&(a[u]=t[i]),a},{}),r,n]}let yt=null;function Yi(){return yt||(yt=O.fromMillis(1555555555555)),yt}function Pi(t,e){if(t.literal)return t;const r=$.macroTokenToFormatOpts(t.val),n=pn(r,e);return n==null||n.includes(void 0)?t:n}function mn(t,e){return Array.prototype.concat(...t.map(r=>Pi(r,e)))}function yn(t,e,r){const n=mn($.parseFormat(r),t),s=n.map(i=>Ui(i,t)),a=s.find(i=>i.invalidReason);if(a)return{input:e,tokens:n,invalidReason:a.invalidReason};{const[i,u]=Ri(s),o=RegExp(i,"i"),[l,c]=Hi(e,o,u),[p,m,f]=c?qi(c):[null,null,void 0];if(ke(c,"a")&&ke(c,"H"))throw new pe("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:n,regex:o,rawMatches:l,matches:c,result:p,zone:m,specificOffset:f}}}function ji(t,e,r){const{result:n,zone:s,specificOffset:a,invalidReason:i}=yn(t,e,r);return[n,s,a,i]}function pn(t,e){if(!t)return null;const n=$.create(e,t).dtFormatter(Yi()),s=n.formatToParts(),a=n.resolvedOptions();return s.map(i=>zi(i,t,a))}const pt="Invalid DateTime",lr=864e13;function He(t){return new J("unsupported zone",`the zone "${t.name}" is not supported`)}function gt(t){return t.weekData===null&&(t.weekData=Be(t.c)),t.weekData}function wt(t){return t.localWeekData===null&&(t.localWeekData=Be(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function ie(t,e){const r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new O({...r,...e,old:r})}function gn(t,e,r){let n=t-e*60*1e3;const s=r.offset(n);if(e===s)return[n,e];n-=(s-e)*60*1e3;const a=r.offset(n);return s===a?[n,s]:[t-Math.min(s,a)*60*1e3,Math.max(s,a)]}function qe(t,e){t+=e*60*1e3;const r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Je(t,e,r){return gn(rt(t),e,r)}function cr(t,e){const r=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,a={...t.c,year:n,month:s,day:Math.min(t.c.day,Qe(n,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},i=N.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),u=rt(a);let[o,l]=gn(u,r,t.zone);return i!==0&&(o+=i,l=t.zone.offset(o)),{ts:o,o:l}}function _e(t,e,r,n,s,a){const{setZone:i,zone:u}=r;if(t&&Object.keys(t).length!==0||e){const o=e||u,l=O.fromObject(t,{...r,zone:o,specificOffset:a});return i?l:l.setZone(u)}else return O.invalid(new J("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Ye(t,e,r=!0){return t.isValid?$.create(M.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function vt(t,e){const r=t.c.year>9999||t.c.year<0;let n="";return r&&t.c.year>=0&&(n+="+"),n+=F(t.c.year,r?6:4),e?(n+="-",n+=F(t.c.month),n+="-",n+=F(t.c.day)):(n+=F(t.c.month),n+=F(t.c.day)),n}function dr(t,e,r,n,s,a){let i=F(t.c.hour);return e?(i+=":",i+=F(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(i+=":")):i+=F(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(i+=F(t.c.second),(t.c.millisecond!==0||!n)&&(i+=".",i+=F(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!a?i+="Z":t.o<0?(i+="-",i+=F(Math.trunc(-t.o/60)),i+=":",i+=F(Math.trunc(-t.o%60))):(i+="+",i+=F(Math.trunc(t.o/60)),i+=":",i+=F(Math.trunc(t.o%60)))),a&&(i+="["+t.zone.ianaName+"]"),i}const wn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Ji={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Gi={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vn=["year","month","day","hour","minute","second","millisecond"],Bi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Qi=["year","ordinal","hour","minute","second","millisecond"];function Ki(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new vr(t);return e}function fr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ki(t)}}function hr(t,e){const r=re(e.zone,C.defaultZone),n=M.fromObject(e),s=C.now();let a,i;if(T(t.year))a=s;else{for(const l of vn)T(t[l])&&(t[l]=wn[l]);const u=qr(t)||Yr(t);if(u)return O.invalid(u);const o=r.offset(s);[a,i]=Je(t,o,r)}return new O({ts:a,zone:r,loc:n,o:i})}function mr(t,e,r){const n=T(r.round)?!0:r.round,s=(i,u)=>(i=Ct(i,n||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(i,u)),a=i=>r.calendary?e.hasSame(t,i)?0:e.startOf(i).diff(t.startOf(i),i).get(i):e.diff(t,i).get(i);if(r.unit)return s(a(r.unit),r.unit);for(const i of r.units){const u=a(i);if(Math.abs(u)>=1)return s(u,i)}return s(t>e?-0:0,r.units[r.units.length-1])}function yr(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}class O{constructor(e){const r=e.zone||C.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new J("invalid input"):null)||(r.isValid?null:He(r));this.ts=T(e.ts)?C.now():e.ts;let s=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,a]=[e.old.c,e.old.o];else{const u=r.offset(this.ts);s=qe(this.ts,u),n=Number.isNaN(s.year)?new J("invalid input"):null,s=n?null:s,a=n?null:u}this._zone=r,this.loc=e.loc||M.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=a,this.isLuxonDateTime=!0}static now(){return new O({})}static local(){const[e,r]=yr(arguments),[n,s,a,i,u,o,l]=r;return hr({year:n,month:s,day:a,hour:i,minute:u,second:o,millisecond:l},e)}static utc(){const[e,r]=yr(arguments),[n,s,a,i,u,o,l]=r;return e.zone=A.utcInstance,hr({year:n,month:s,day:a,hour:i,minute:u,second:o,millisecond:l},e)}static fromJSDate(e,r={}){const n=_s(e)?e.valueOf():NaN;if(Number.isNaN(n))return O.invalid("invalid input");const s=re(r.zone,C.defaultZone);return s.isValid?new O({ts:n,zone:s,loc:M.fromObject(r)}):O.invalid(He(s))}static fromMillis(e,r={}){if(ce(e))return e<-lr||e>lr?O.invalid("Timestamp out of range"):new O({ts:e,zone:re(r.zone,C.defaultZone),loc:M.fromObject(r)});throw new U(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(ce(e))return new O({ts:e*1e3,zone:re(r.zone,C.defaultZone),loc:M.fromObject(r)});throw new U("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};const n=re(r.zone,C.defaultZone);if(!n.isValid)return O.invalid(He(n));const s=M.fromObject(r),a=Ke(e,fr),{minDaysInFirstWeek:i,startOfWeek:u}=Kt(a,s),o=C.now(),l=T(r.specificOffset)?n.offset(o):r.specificOffset,c=!T(a.ordinal),p=!T(a.year),m=!T(a.month)||!T(a.day),f=p||m,g=a.weekYear||a.weekNumber;if((f||c)&&g)throw new pe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&c)throw new pe("Can't mix ordinal dates with month/day");const d=g||a.weekday&&!f;let k,w,D=qe(o,l);d?(k=Bi,w=Ji,D=Be(D,i,u)):c?(k=Qi,w=Gi,D=mt(D)):(k=vn,w=wn);let V=!1;for(const Ee of k){const En=a[Ee];T(En)?V?a[Ee]=w[Ee]:a[Ee]=D[Ee]:V=!0}const Y=d?Ds(a,i,u):c?Ns(a):qr(a),Q=Y||Yr(a);if(Q)return O.invalid(Q);const On=d?Bt(a,i,u):c?Qt(a):a,[Dn,Nn]=Je(On,l,n),it=new O({ts:Dn,zone:n,o:Nn,loc:s});return a.weekday&&f&&e.weekday!==it.weekday?O.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${it.toISO()}`):it}static fromISO(e,r={}){const[n,s]=pi(e);return _e(n,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[n,s]=gi(e);return _e(n,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[n,s]=wi(e);return _e(n,s,r,"HTTP",r)}static fromFormat(e,r,n={}){if(T(e)||T(r))throw new U("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:a=null}=n,i=M.fromOpts({locale:s,numberingSystem:a,defaultToEN:!0}),[u,o,l,c]=ji(i,e,r);return c?O.invalid(c):_e(u,o,n,`format ${r}`,e,l)}static fromString(e,r,n={}){return O.fromFormat(e,r,n)}static fromSQL(e,r={}){const[n,s]=Ni(e);return _e(n,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new U("need to specify a reason the DateTime is invalid");const n=e instanceof J?e:new J(e,r);if(C.throwOnInvalid)throw new ts(n);return new O({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){const n=pn(e,M.fromObject(r));return n?n.map(s=>s?s.val:null).join(""):null}static expandFormat(e,r={}){return mn($.parseFormat(e),M.fromObject(r)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?gt(this).weekYear:NaN}get weekNumber(){return this.isValid?gt(this).weekNumber:NaN}get weekday(){return this.isValid?gt(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?wt(this).weekday:NaN}get localWeekNumber(){return this.isValid?wt(this).weekNumber:NaN}get localWeekYear(){return this.isValid?wt(this).weekYear:NaN}get ordinal(){return this.isValid?mt(this.c).ordinal:NaN}get monthShort(){return this.isValid?xe.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?xe.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?xe.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?xe.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,r=6e4,n=rt(this.c),s=this.zone.offset(n-e),a=this.zone.offset(n+e),i=this.zone.offset(n-s*r),u=this.zone.offset(n-a*r);if(i===u)return[this];const o=n-i*r,l=n-u*r,c=qe(o,i),p=qe(l,u);return c.hour===p.hour&&c.minute===p.minute&&c.second===p.second&&c.millisecond===p.millisecond?[ie(this,{ts:o}),ie(this,{ts:l})]:[this]}get isInLeapYear(){return $e(this.year)}get daysInMonth(){return Qe(this.year,this.month)}get daysInYear(){return this.isValid?we(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ve(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ve(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:r,numberingSystem:n,calendar:s}=$.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone(A.instance(e),r)}toLocal(){return this.setZone(C.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=re(e,C.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||n){const a=e.offset(this.ts),i=this.toObject();[s]=Je(i,a,e)}return ie(this,{ts:s,zone:e})}else return O.invalid(He(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){const s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return ie(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const r=Ke(e,fr),{minDaysInFirstWeek:n,startOfWeek:s}=Kt(r,this.loc),a=!T(r.weekYear)||!T(r.weekNumber)||!T(r.weekday),i=!T(r.ordinal),u=!T(r.year),o=!T(r.month)||!T(r.day),l=u||o,c=r.weekYear||r.weekNumber;if((l||i)&&c)throw new pe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new pe("Can't mix ordinal dates with month/day");let p;a?p=Bt({...Be(this.c,n,s),...r},n,s):T(r.ordinal)?(p={...this.toObject(),...r},T(r.day)&&(p.day=Math.min(Qe(p.year,p.month),p.day))):p=Qt({...mt(this.c),...r});const[m,f]=Je(p,this.o,this.zone);return ie(this,{ts:m,o:f})}plus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e);return ie(this,cr(this,r))}minus(e){if(!this.isValid)return this;const r=N.fromDurationLike(e).negate();return ie(this,cr(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const n={},s=N.normalizeUnit(e);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(s==="weeks")if(r){const a=this.loc.getStartOfWeek(),{weekday:i}=this;ithis.valueOf(),u=i?this:e,o=i?e:this,l=Ci(u,o,a,s);return i?l.negate():l}diffNow(e="milliseconds",r={}){return this.diff(O.now(),e,r)}until(e){return this.isValid?I.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;const s=e.valueOf(),a=this.setZone(e.zone,{keepLocalTime:!0});return a.startOf(r,n)<=s&&s<=a.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const r=e.base||O.fromObject({},{zone:this.zone}),n=e.padding?thisr.valueOf(),Math.min)}static max(...e){if(!e.every(O.isDateTime))throw new U("max requires all arguments be DateTimes");return Xt(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){const{locale:s=null,numberingSystem:a=null}=n,i=M.fromOpts({locale:s,numberingSystem:a,defaultToEN:!0});return yn(i,e,r)}static fromStringExplain(e,r,n={}){return O.fromFormatExplain(e,r,n)}static get DATE_SHORT(){return Ge}static get DATE_MED(){return kr}static get DATE_MED_WITH_WEEKDAY(){return ss}static get DATE_FULL(){return Sr}static get DATE_HUGE(){return Tr}static get TIME_SIMPLE(){return Or}static get TIME_WITH_SECONDS(){return Dr}static get TIME_WITH_SHORT_OFFSET(){return Nr}static get TIME_WITH_LONG_OFFSET(){return Er}static get TIME_24_SIMPLE(){return _r}static get TIME_24_WITH_SECONDS(){return br}static get TIME_24_WITH_SHORT_OFFSET(){return Mr}static get TIME_24_WITH_LONG_OFFSET(){return Ir}static get DATETIME_SHORT(){return xr}static get DATETIME_SHORT_WITH_SECONDS(){return Cr}static get DATETIME_MED(){return Fr}static get DATETIME_MED_WITH_SECONDS(){return Vr}static get DATETIME_MED_WITH_WEEKDAY(){return is}static get DATETIME_FULL(){return Wr}static get DATETIME_FULL_WITH_SECONDS(){return Lr}static get DATETIME_HUGE(){return $r}static get DATETIME_HUGE_WITH_SECONDS(){return Ar}}function be(t){if(O.isDateTime(t))return t;if(t&&t.valueOf&&ce(t.valueOf()))return O.fromJSDate(t);if(t&&typeof t=="object")return O.fromObject(t);throw new U(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const Xi="3.4.4";z.DateTime=O;z.Duration=N;z.FixedOffsetZone=A;z.IANAZone=B;z.Info=xe;z.Interval=I;z.InvalidZone=Ur;z.Settings=C;z.SystemZone=Le;z.VERSION=Xi;z.Zone=Se;var ae=z;S.prototype.addYear=function(){this._date=this._date.plus({years:1})};S.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")};S.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")};S.prototype.addHour=function(){var t=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=t&&(this._date=this._date.plus({hours:1}))};S.prototype.addMinute=function(){var t=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=t&&(this._date=this._date.minus({hours:1}))};S.prototype.subtractMinute=function(){var t=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};S.prototype.subtractSecond=function(){var t=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))};S.prototype.getDate=function(){return this._date.day};S.prototype.getFullYear=function(){return this._date.year};S.prototype.getDay=function(){var t=this._date.weekday;return t==7?0:t};S.prototype.getMonth=function(){return this._date.month-1};S.prototype.getHours=function(){return this._date.hour};S.prototype.getMinutes=function(){return this._date.minute};S.prototype.getSeconds=function(){return this._date.second};S.prototype.getMilliseconds=function(){return this._date.millisecond};S.prototype.getTime=function(){return this._date.valueOf()};S.prototype.getUTCDate=function(){return this._getUTC().day};S.prototype.getUTCFullYear=function(){return this._getUTC().year};S.prototype.getUTCDay=function(){var t=this._getUTC().weekday;return t==7?0:t};S.prototype.getUTCMonth=function(){return this._getUTC().month-1};S.prototype.getUTCHours=function(){return this._getUTC().hour};S.prototype.getUTCMinutes=function(){return this._getUTC().minute};S.prototype.getUTCSeconds=function(){return this._getUTC().second};S.prototype.toISOString=function(){return this._date.toUTC().toISO()};S.prototype.toJSON=function(){return this._date.toJSON()};S.prototype.setDate=function(t){this._date=this._date.set({day:t})};S.prototype.setFullYear=function(t){this._date=this._date.set({year:t})};S.prototype.setDay=function(t){this._date=this._date.set({weekday:t})};S.prototype.setMonth=function(t){this._date=this._date.set({month:t+1})};S.prototype.setHours=function(t){this._date=this._date.set({hour:t})};S.prototype.setMinutes=function(t){this._date=this._date.set({minute:t})};S.prototype.setSeconds=function(t){this._date=this._date.set({second:t})};S.prototype.setMilliseconds=function(t){this._date=this._date.set({millisecond:t})};S.prototype._getUTC=function(){return this._date.toUTC()};S.prototype.toString=function(){return this.toDate().toString()};S.prototype.toDate=function(){return this._date.toJSDate()};S.prototype.isLastDayOfMonth=function(){var t=this._date.plus({days:1}).startOf("day");return this._date.month!==t.month};S.prototype.isLastWeekdayOfMonth=function(){var t=this._date.plus({days:7}).startOf("day");return this._date.month!==t.month};function S(t,e){var r={zone:e};if(t?t instanceof S?this._date=t._date:t instanceof Date?this._date=ae.DateTime.fromJSDate(t,r):typeof t=="number"?this._date=ae.DateTime.fromMillis(t,r):typeof t=="string"&&(this._date=ae.DateTime.fromISO(t,r),this._date.isValid||(this._date=ae.DateTime.fromRFC2822(t,r)),this._date.isValid||(this._date=ae.DateTime.fromSQL(t,r)),this._date.isValid||(this._date=ae.DateTime.fromFormat(t,"EEE, d MMM yyyy HH:mm:ss",r))):this._date=ae.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(t));e&&e!==this._date.zoneName&&(this._date=this._date.setZone(e))}var ea=S;function ue(t){return{start:t,count:1}}function pr(t,e){t.end=e,t.step=e-t.start,t.count=2}function kt(t,e,r){e&&(e.count===2?(t.push(ue(e.start)),t.push(ue(e.end))):t.push(e)),r&&t.push(r)}function ta(t){for(var e=[],r=void 0,n=0;nl.end?i=i.concat(Array.from({length:l.end-l.start+1}).map(function(m,f){var g=l.start+f;return(g-l.start)%l.step===0?g:null}).filter(function(m){return m!=null})):l.end===r-l.step+1?i.push(l.start+"/"+l.step):i.push(l.start+"-"+l.end+"/"+l.step)}return i.join(",")}var ia=sa,de=ea,aa=ia,gr=1e4;function y(t,e){this._options=e,this._utc=e.utc||!1,this._tz=this._utc?"UTC":e.tz,this._currentDate=new de(e.currentDate,this._tz),this._startDate=e.startDate?new de(e.startDate,this._tz):null,this._endDate=e.endDate?new de(e.endDate,this._tz):null,this._isIterator=e.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=e.nthDayOfWeek||0,this.fields=y._freezeFields(t)}y.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"];y.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"};y.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}];y.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31];y.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}};y.parseDefaults=["0","*","*","*","*","*"];y.standardValidCharacters=/^[,*\d/-]+$/;y.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/;y.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/;y.validCharacters={second:y.standardValidCharacters,minute:y.standardValidCharacters,hour:y.standardValidCharacters,dayOfMonth:y.dayOfMonthValidCharacters,month:y.standardValidCharacters,dayOfWeek:y.dayOfWeekValidCharacters};y._isValidConstraintChar=function(e,r){return typeof r!="string"?!1:e.chars.some(function(n){return r.indexOf(n)>-1})};y._parseField=function(e,r,n){switch(e){case"month":case"dayOfWeek":var s=y.aliases[e];r=r.replace(/[a-z]{3}/gi,function(o){if(o=o.toLowerCase(),typeof s[o]<"u")return s[o];throw new Error('Validation error, cannot resolve alias "'+o+'"')});break}if(!y.validCharacters[e].test(r))throw new Error("Invalid characters, got value: "+r);r.indexOf("*")!==-1?r=r.replace(/\*/g,n.min+"-"+n.max):r.indexOf("?")!==-1&&(r=r.replace(/\?/g,n.min+"-"+n.max));function a(o){var l=[];function c(g){if(g instanceof Array)for(var d=0,k=g.length;dn.max)throw new Error("Constraint error, got value "+w+" expected range "+n.min+"-"+n.max);l.push(w)}else{if(y._isValidConstraintChar(n,g)){l.push(g);return}var D=+g;if(Number.isNaN(D)||Dn.max)throw new Error("Constraint error, got value "+g+" expected range "+n.min+"-"+n.max);e==="dayOfWeek"&&(D=D%7),l.push(D)}}var p=o.split(",");if(!p.every(function(g){return g.length>0}))throw new Error("Invalid list value format");if(p.length>1)for(var m=0,f=p.length;m2)throw new Error("Invalid repeat: "+o);return c.length>1?(c[0]==+c[0]&&(c=[c[0]+"-"+n.max,c[1]]),u(c[0],c[c.length-1])):u(o,l)}function u(o,l){var c=[],p=o.split("-");if(p.length>1){if(p.length<2)return+o;if(!p[0].length){if(!p[1].length)throw new Error("Invalid range: "+o);return+o}var m=+p[0],f=+p[1];if(Number.isNaN(m)||Number.isNaN(f)||mn.max)throw new Error("Constraint error, got range "+m+"-"+f+" expected range "+n.min+"-"+n.max);if(m>f)throw new Error("Invalid range: "+o);var g=+l;if(Number.isNaN(g)||g<=0)throw new Error("Constraint error, cannot repeat at every "+g+" time.");e==="dayOfWeek"&&f%7===0&&c.push(0);for(var d=m,k=f;d<=k;d++){var w=c.indexOf(d)!==-1;!w&&g>0&&g%l===0?(g=1,c.push(d)):g++}return c}return Number.isNaN(+o)?o:+o}return a(r)};y._sortCompareFn=function(t,e){var r=typeof t=="number",n=typeof e=="number";return r&&n?t-e:!r&&n?1:r&&!n?-1:t.localeCompare(e)};y._handleMaxDaysInMonth=function(t){if(t.month.length===1){var e=y.daysInMonth[t.month[0]-1];if(t.dayOfMonth[0]>e)throw new Error("Invalid explicit day of month definition");return t.dayOfMonth.filter(function(r){return r==="L"?!0:r<=e}).sort(y._sortCompareFn)}};y._freezeFields=function(t){for(var e=0,r=y.map.length;e=w)return D[V]===w;return D[0]===w}function n(w,D){if(D<6){if(w.getDate()<8&&D===1)return!0;var V=w.getDate()%7?1:0,Y=w.getDate()-w.getDate()%7,Q=Math.floor(Y/7)+V;return Q===D}return!1}function s(w){return w.length>0&&w.some(function(D){return typeof D=="string"&&D.indexOf("L")>=0})}e=e||!1;var a=e?"subtract":"add",i=new de(this._currentDate,this._tz),u=this._startDate,o=this._endDate,l=i.getTime(),c=0;function p(w){return w.some(function(D){if(!s([D]))return!1;var V=Number.parseInt(D[0])%7;if(Number.isNaN(V))throw new Error("Invalid last weekday of the month expression: "+D);return i.getDay()===V&&i.isLastWeekdayOfMonth()})}for(;c=y.daysInMonth[i.getMonth()],d=this.fields.dayOfWeek.length===y.constraints[5].max-y.constraints[5].min+1,k=i.getHours();if(!m&&(!f||d)){this._applyTimezoneShift(i,a,"Day");continue}if(!g&&d&&!m){this._applyTimezoneShift(i,a,"Day");continue}if(g&&!d&&!f){this._applyTimezoneShift(i,a,"Day");continue}if(this._nthDayOfWeek>0&&!n(i,this._nthDayOfWeek)){this._applyTimezoneShift(i,a,"Day");continue}if(!r(i.getMonth()+1,this.fields.month)){this._applyTimezoneShift(i,a,"Month");continue}if(r(k,this.fields.hour)){if(this._dstEnd===k&&!e){this._dstEnd=null,this._applyTimezoneShift(i,"add","Hour");continue}}else if(this._dstStart!==k){this._dstStart=null,this._applyTimezoneShift(i,a,"Hour");continue}else if(!r(k-1,this.fields.hour)){i[a+"Hour"]();continue}if(!r(i.getMinutes(),this.fields.minute)){this._applyTimezoneShift(i,a,"Minute");continue}if(!r(i.getSeconds(),this.fields.second)){this._applyTimezoneShift(i,a,"Second");continue}if(l===i.getTime()){a==="add"||i.getMilliseconds()===0?this._applyTimezoneShift(i,a,"Second"):i.setMilliseconds(0);continue}break}if(c>=gr)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new de(i,this._tz),this._hasIterated=!0,i};y.prototype.next=function(){var e=this._findSchedule();return this._isIterator?{value:e,done:!this.hasNext()}:e};y.prototype.prev=function(){var e=this._findSchedule(!0);return this._isIterator?{value:e,done:!this.hasPrev()}:e};y.prototype.hasNext=function(){var t=this._currentDate,e=this._hasIterated;try{return this._findSchedule(),!0}catch{return!1}finally{this._currentDate=t,this._hasIterated=e}};y.prototype.hasPrev=function(){var t=this._currentDate,e=this._hasIterated;try{return this._findSchedule(!0),!0}catch{return!1}finally{this._currentDate=t,this._hasIterated=e}};y.prototype.iterate=function(e,r){var n=[];if(e>=0)for(var s=0,a=e;sa;s--)try{var i=this.prev();n.push(i),r&&r(i,s)}catch{break}return n};y.prototype.reset=function(e){this._currentDate=new de(e||this._options.currentDate)};y.prototype.stringify=function(e){for(var r=[],n=e?0:1,s=y.map.length;n"u"&&(i.currentDate=new de(void 0,n._tz)),y.predefined[a]&&(a=y.predefined[a]);var u=[],o=(a+"").trim().split(/\s+/);if(o.length>6)throw new Error("Invalid cron expression");for(var l=y.map.length-o.length,c=0,p=y.map.length;cp?c:c-l];if(c1){var Q=+Y[Y.length-1];if(/,/.test(V))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(V))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(V))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(Y.length>2||Number.isNaN(Q)||Q<1||Q>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return i.nthDayOfWeek=Q,Y[0]}return V}}return s(e,r)};y.fieldsToExpression=function(e,r){function n(m,f,g){if(!f)throw new Error("Validation error, Field "+m+" is missing");if(f.length===0)throw new Error("Validation error, Field "+m+" contains no values");for(var d=0,k=f.length;dg.max))throw new Error("Constraint error, got value "+w+" expected range "+g.min+"-"+g.max)}}for(var s={},a=0,i=y.map.length;a6)return{interval:Xe.parse(r.slice(0,6).join(" ")),command:r.slice(6,r.length)};throw new Error("Invalid entry: "+e)};ne.parseExpression=function(e,r){return Xe.parse(e,r)};ne.fieldsToExpression=function(e,r){return Xe.fieldsToExpression(e,r)};ne.parseString=function(e){for(var r=e.split(` +`),n={variables:{},expressions:[],errors:{}},s=0,a=r.length;s0){if(o.match(/^#/))continue;if(u=o.match(/^(.*)=(.*)$/))n.variables[u[1]]=u[2];else{var l=null;try{l=ne._parseEntry("0 "+o),n.expressions.push(l.interval)}catch(c){n.errors[o]=c}}}}return n};ne.parseFile=function(e,r){ca.readFile(e,function(n,s){if(n){r(n);return}return r(null,ne.parseString(s.toString()))})};var kn=ne;function et(t){return`${t.minute} ${t.hour} ${t.day} ${t.month} ${t.weekday}`}function Sn(t){const[e,r,n,s,a]=t.split(" ");return{minute:e||"*",hour:r||"*",day:n||"*",month:s||"*",weekday:a||"*"}}const da=t=>t.some(e=>e.includes("-")||e.includes(",")||e.includes("/"));function fa(t){const{hour:e,day:r,weekday:n,month:s,minute:a}=t;return da([s,r,n,e,a])||s!=="*"?"custom":n!=="*"?r==="*"?"weekly":"custom":r!=="*"?"monthly":e!=="*"?"daily":a!=="*"?"hourly":"custom"}function ha(t){return t.split(" ").length===5}function Tn(t){try{return kn.parseExpression(t,{}),!0}catch{return!1}}const ma=We({__name:"CronEditor",props:{value:{}},emits:["update:value"],setup(t,{emit:e}){const r=t,n=ge(()=>{const d=r.value.hour,k=r.value.minute;return $t(`${d}:${k}`,"HH:mm")}),s=te(!1),a=ge(()=>o.value.periodicity!="custom"?{message:"",status:"success"}:s.value&&ha(o.value.crontabStr)||Tn(o.value.crontabStr)?{message:"",status:"success"}:{message:"Invalid expression",status:"error"});function i(d){switch(fa(d)){case"custom":return{periodicity:"custom",crontabStr:et(d)};case"hourly":return{periodicity:"hourly",minute:d.minute};case"daily":return{periodicity:"daily",hour:d.hour,minute:d.minute};case"weekly":return{periodicity:"weekly",weekday:d.weekday,hour:d.hour,minute:d.minute};case"monthly":return{periodicity:"monthly",day:d.day,hour:d.hour,minute:d.minute}}}function u(d){switch(d.periodicity){case"custom":return Sn(d.crontabStr);case"hourly":return{minute:d.minute,hour:"*",day:"*",month:"*",weekday:"*"};case"daily":return{minute:d.minute,hour:d.hour,day:"*",month:"*",weekday:"*"};case"weekly":return{minute:d.minute,hour:d.hour,day:"*",month:"*",weekday:d.weekday};case"monthly":return{minute:d.minute,hour:d.hour,day:d.day,month:"*",weekday:"*"}}}const o=Ln(i(r.value));function l(d){o.value={periodicity:"custom",crontabStr:d},e("update:value",u(o.value))}const c=d=>{o.value=i(es[d]),e("update:value",u(o.value))},p=d=>{parseInt(d)>59||(o.value={periodicity:"hourly",minute:d.length?d:"0"},e("update:value",u(o.value)))},m=d=>{const k=$t(d);switch(o.value.periodicity){case"daily":o.value={periodicity:o.value.periodicity,hour:k.hour().toString(),minute:k.minute().toString()};break;case"weekly":o.value={periodicity:o.value.periodicity,weekday:o.value.weekday,hour:k.hour().toString(),minute:k.minute().toString()};break;case"monthly":o.value={periodicity:o.value.periodicity,day:o.value.day,hour:k.hour().toString(),minute:k.minute().toString()};break}e("update:value",u(o.value))},f=d=>{o.value={periodicity:"weekly",weekday:d,hour:"0",minute:"0"},e("update:value",u(o.value))},g=d=>{o.value={periodicity:"monthly",day:d,hour:"0",minute:"0"},e("update:value",u(o.value))};return(d,k)=>(x(),ye(Me,null,[b(v(St),{title:"Recurrence"},{default:E(()=>[b(v(at),{placeholder:"Choose a periodicity",value:o.value.periodicity,"onUpdate:value":c},{default:E(()=>[W(" > "),(x(!0),ye(Me,null,Pe(v(Xn),(w,D)=>(x(),L(v(ot),{key:D,value:w},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),b(v(St),{help:a.value.message,"validate-status":a.value.status},{default:E(()=>[o.value.periodicity==="custom"?(x(),L(v(Tt),{key:0,value:o.value.crontabStr,"onUpdate:value":l,onBlur:k[0]||(k[0]=w=>s.value=!1),onFocus:k[1]||(k[1]=w=>s.value=!0)},null,8,["value"])):o.value.periodicity==="hourly"?(x(),L(v(Tt),{key:1,value:parseInt(d.value.minute),"onUpdate:value":p},{addonBefore:E(()=>[W(" at ")]),addonAfter:E(()=>[W(" minutes ")]),_:1},8,["value"])):o.value.periodicity==="daily"?(x(),L(v(lt),{key:2},{default:E(()=>[W(" on "),b(v(ut),{value:n.value,format:"HH:mm","allow-clear":!1,"onUpdate:value":m},null,8,["value"]),W(" UTC ")]),_:1})):o.value.periodicity==="weekly"?(x(),L(v(lt),{key:3},{default:E(()=>[W(" on "),b(v(at),{style:{width:"200px"},value:Object.values(v(dt))[parseInt(o.value.weekday)],"onUpdate:value":f},{default:E(()=>[(x(!0),ye(Me,null,Pe(v(dt),(w,D)=>(x(),L(v(ot),{key:D,value:D,selected:w===Object.values(v(dt))[parseInt(d.value.weekday)]},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value","selected"]))),128))]),_:1},8,["value"]),W(" at "),b(v(ut),{value:n.value,format:"HH:mm","allow-clear":!1,"onUpdate:value":m},null,8,["value"]),W(" UTC ")]),_:1})):o.value.periodicity==="monthly"?(x(),L(v(lt),{key:4},{default:E(()=>[W(" on "),b(v(at),{style:{width:"60px"},value:o.value.day,"onUpdate:value":g},{default:E(()=>[(x(),ye(Me,null,Pe(31,w=>b(v(ot),{key:w,value:w},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"]),W(" at "),b(v(ut),{value:n.value,format:"HH:mm","allow-clear":!1,"onUpdate:value":m},null,8,["value"]),W(" UTC ")]),_:1})):oe("",!0)]),_:1},8,["help","validate-status"])],64))}}),ya=We({__name:"NextRuns",props:{crontab:{}},setup(t){const e=t,r=Intl.DateTimeFormat().resolvedOptions().timeZone,n=ge(()=>new Intl.DateTimeFormat("en-US",{dateStyle:"full",timeStyle:"long",timeZone:r})),s=ge(()=>{const i=kn.parseExpression(et(e.crontab),{tz:"UTC"}),u=[];for(let o=0;o<8;o++)u.push(i.next().toDate());return u}),a=ge(()=>Tn(et(e.crontab)));return(i,u)=>(x(),L(v(Gn),{direction:"vertical",style:{width:"100%"}},{default:E(()=>[b(v(wr),{level:3},{default:E(()=>[W("Next Runs")]),_:1}),a.value?(x(),L(v(jn),{key:0,size:"small",bordered:""},{default:E(()=>[(x(!0),ye(Me,null,Pe(s.value,(o,l)=>(x(),L(v(Jn),{key:l},{default:E(()=>[W(Ce(n.value.format(o)),1)]),_:2},1024))),128))]),_:1})):oe("",!0)]),_:1}))}}),pa=We({__name:"JobSettings",props:{job:{}},setup(t){const r=te(t.job),n=$n(Sn(r.value.schedule)),s=a=>{n.minute==a.minute&&n.hour==a.hour&&n.day==a.day&&n.month==a.month&&n.weekday==a.weekday||(n.minute=a.minute,n.hour=a.hour,n.day=a.day,n.month=a.month,n.weekday=a.weekday,r.value.schedule=et(n))};return(a,i)=>(x(),L(v(An),{class:"schedule-editor",layout:"vertical",style:{"padding-bottom":"50px"}},{default:E(()=>[b(v(St),{label:"Name",required:""},{default:E(()=>[b(v(Tt),{value:r.value.title,"onUpdate:value":i[0]||(i[0]=u=>r.value.title=u)},null,8,["value"])]),_:1}),b(bn,{runtime:r.value},null,8,["runtime"]),b(v(wr),{level:3},{default:E(()=>[W("Schedule")]),_:1}),b(ma,{value:n,"onUpdate:value":s},null,8,["value"]),b(ya,{crontab:n},null,8,["crontab"])]),_:1}))}}),ga={style:{width:"100%",display:"flex","flex-direction":"column"}},wa=We({__name:"JobTester",props:{job:{},executionConfig:{},disabledWarning:{}},setup(t,{expose:e}){const r=t,n=te(!1);async function s(){n.value=!0;try{r.executionConfig.attached?await r.job.run():await r.job.test()}finally{n.value=!1}}return e({test:s}),(a,i)=>(x(),ye("div",ga,[b(Bn,{loading:n.value,style:{"max-width":"350px"},disabled:a.disabledWarning,onClick:s,onSave:i[0]||(i[0]=u=>a.job.save())},null,8,["loading","disabled"])]))}}),lo=We({__name:"JobEditor",setup(t){const e=Un(),r=Zn(),n=te(null);function s(){e.push({name:"stages"})}const a=te(null),i=te("source-code"),u=te("preview");function o(){var k;if(!m.value)return;const d=m.value.job.codeContent;(k=a.value)==null||k.updateLocalEditorCode(d)}const l=te({attached:!1,stageRunId:null,isInitial:!0}),c=d=>l.value={...l.value,attached:!!d},p=ge(()=>{var d;return(d=m.value)!=null&&d.job.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:null}),{result:m}=Vn(()=>Promise.all([Pn.get(),Yn.get(r.params.id)]).then(([d,k])=>Rn({workspace:d,job:k}))),f=Cn.create(),g=d=>{var k;return d!==i.value&&((k=m.value)==null?void 0:k.job.hasChanges())};return(d,k)=>(x(),L(_n,null,zn({navbar:E(()=>[v(m)?(x(),L(v(Kn),{key:0,title:v(m).job.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:s},{extra:E(()=>[b(Qn,{"editing-model":v(m).job},null,8,["editing-model"])]),_:1},8,["title"])):oe("",!0)]),content:E(()=>[v(m)?(x(),L(In,{key:0},{left:E(()=>[b(v(Ut),{"active-key":i.value,"onUpdate:activeKey":k[0]||(k[0]=w=>i.value=w)},{rightExtra:E(()=>[b(Fn,{model:v(m).job,onSave:o},null,8,["model"])]),default:E(()=>[b(v(ct),{key:"source-code",tab:"Source code",disabled:g("source-code")},null,8,["disabled"]),b(v(ct),{key:"settings",tab:"Settings",disabled:g("settings")},null,8,["disabled"])]),_:1},8,["active-key"]),i.value==="source-code"?(x(),L(xn,{key:0,script:v(m).job,workspace:v(m).workspace},null,8,["script","workspace"])):oe("",!0),v(m).job&&i.value==="settings"?(x(),L(pa,{key:1,job:v(m).job},null,8,["job"])):oe("",!0)]),right:E(()=>[b(v(Ut),{"active-key":u.value,"onUpdate:activeKey":k[1]||(k[1]=w=>u.value=w)},{rightExtra:E(()=>[b(v(At),{align:"center",gap:"middle"},{default:E(()=>[b(v(At),{gap:"small"},{default:E(()=>[b(v(Hn),null,{default:E(()=>[W(Ce(l.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),b(v(qn),{checked:l.value.attached,"onUpdate:checked":c},null,8,["checked"])]),_:1})]),_:1})]),default:E(()=>[b(v(ct),{key:"preview",tab:"Preview"})]),_:1},8,["active-key"]),v(m).job?(x(),L(wa,{key:0,ref_key:"tester",ref:n,"execution-config":l.value,job:v(m).job,"disabled-warning":p.value},null,8,["execution-config","job","disabled-warning"])):oe("",!0)]),_:1})):oe("",!0)]),_:2},[v(m)?{name:"footer",fn:E(()=>[b(Mn,{"stage-type":"jobs",stage:v(m).job,"log-service":v(f),workspace:v(m).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});export{lo as default}; +//# sourceMappingURL=JobEditor.bd0400b1.js.map diff --git a/abstra_statics/dist/assets/Live.bbe6ff62.js b/abstra_statics/dist/assets/Live.84e0b389.js similarity index 79% rename from abstra_statics/dist/assets/Live.bbe6ff62.js rename to abstra_statics/dist/assets/Live.84e0b389.js index 06dfab5477..7669849984 100644 --- a/abstra_statics/dist/assets/Live.bbe6ff62.js +++ b/abstra_statics/dist/assets/Live.84e0b389.js @@ -1,2 +1,2 @@ -import{C as H}from"./CrudView.3c2a3663.js";import{a as P}from"./asyncComputed.c677c545.js";import{d as N,B as M,f as j,o as c,X as f,Z as D,R,e8 as E,a as b,W as U,aq as F,u as t,aR as q,eb as G,c as $,w as a,b as o,aF as n,e9 as Z,d7 as A,cK as W,bx as K,$ as z,ea as X,bP as I,dd as Y,d8 as S,d6 as B,d1 as J,f1 as O,d9 as Q,cD as t1}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{g as e1,B as a1,a as o1}from"./datetime.2a4e2aaa.js";import{P as s1}from"./project.0040997f.js";import"./tables.8d6766f6.js";import{C as l1,r as T}from"./router.cbdfe37b.js";import{u as r1}from"./polling.3587342a.js";import{_ as i1,E as n1}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js";import{G as c1}from"./PhArrowCounterClockwise.vue.4a7ab991.js";import{F as V}from"./PhArrowSquareOut.vue.03bd374b.js";import{G as d1}from"./PhChats.vue.b6dd7b5a.js";import{I as p1}from"./PhCopySimple.vue.b5d1b25b.js";import{A as u1}from"./index.db3c211c.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./LoadingOutlined.64419cb9.js";(function(){try{var _=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(_._sentryDebugIds=_._sentryDebugIds||{},_._sentryDebugIds[s]="6b89e134-052e-4376-ab38-c4458c3662c2",_._sentryDebugIdIdentifier="sentry-dbid-6b89e134-052e-4376-ab38-c4458c3662c2")}catch{}})();const m1=["width","height","fill","transform"],h1={key:0},f1=b("path",{d:"M227.85,46.89a20,20,0,0,0-18.74-18.74c-13.13-.77-46.65.42-74.48,28.24L131,60H74.36a19.83,19.83,0,0,0-14.14,5.86L25.87,100.19a20,20,0,0,0,11.35,33.95l37.14,5.18,42.32,42.32,5.19,37.18A19.88,19.88,0,0,0,135.34,235a20.13,20.13,0,0,0,6.37,1,19.9,19.9,0,0,0,14.1-5.87l34.34-34.35A19.85,19.85,0,0,0,196,181.64V125l3.6-3.59C227.43,93.54,228.62,60,227.85,46.89ZM76,84h31L75.75,115.28l-27.23-3.8ZM151.6,73.37A72.27,72.27,0,0,1,204,52a72.17,72.17,0,0,1-21.38,52.41L128,159,97,128ZM172,180l-27.49,27.49-3.8-27.23L172,149Zm-72,22c-8.71,11.85-26.19,26-60,26a12,12,0,0,1-12-12c0-33.84,14.12-51.32,26-60A12,12,0,1,1,68.18,175.3C62.3,179.63,55.51,187.8,53,203c15.21-2.51,23.37-9.3,27.7-15.18A12,12,0,1,1,100,202Z"},null,-1),g1=[f1],y1={key:1},_1=b("path",{d:"M184,120v61.65a8,8,0,0,1-2.34,5.65l-34.35,34.35a8,8,0,0,1-13.57-4.53L128,176ZM136,72H74.35a8,8,0,0,0-5.65,2.34L34.35,108.69a8,8,0,0,0,4.53,13.57L80,128ZM40,216c37.65,0,50.69-19.69,54.56-28.18L68.18,161.44C59.69,165.31,40,178.35,40,216Z",opacity:"0.2"},null,-1),v1=b("path",{d:"M223.85,47.12a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.41,27.07L132.69,64H74.36A15.91,15.91,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A15.91,15.91,0,0,0,192,181.64V123.31l4.77-4.77C223.45,91.86,224.6,59.71,223.85,47.12ZM74.36,80h42.33L77.16,119.52,40,114.34Zm74.41-9.45a76.65,76.65,0,0,1,59.11-22.47,76.46,76.46,0,0,1-22.42,59.16L128,164.68,91.32,128ZM176,181.64,141.67,216l-5.19-37.17L176,139.31Zm-74.16,9.5C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Z"},null,-1),b1=[_1,v1],w1={key:2},k1=b("path",{d:"M101.85,191.14C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Zm122-144a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.4,27.07h0L88,108.7A8,8,0,0,1,76.67,97.39l26.56-26.57A4,4,0,0,0,100.41,64H74.35A15.9,15.9,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A16,16,0,0,0,192,181.65V155.59a4,4,0,0,0-6.83-2.82l-26.57,26.56a8,8,0,0,1-11.71-.42,8.2,8.2,0,0,1,.6-11.1l49.27-49.27h0C223.45,91.86,224.6,59.71,223.85,47.12Z"},null,-1),L1=[k1],C1={key:3},A1=b("path",{d:"M221.86,47.24a14,14,0,0,0-13.11-13.1c-12.31-.73-43.77.39-69.88,26.5L133.52,66H74.35a13.9,13.9,0,0,0-9.89,4.1L30.11,104.44a14,14,0,0,0,7.94,23.76l39.13,5.46,45.16,45.16L127.8,218a14,14,0,0,0,23.76,7.92l34.35-34.35a13.91,13.91,0,0,0,4.1-9.89V122.48l5.35-5.35h0C221.46,91,222.59,59.56,221.86,47.24ZM38.11,115a2,2,0,0,1,.49-2L72.94,78.58A2,2,0,0,1,74.35,78h47.17L77.87,121.64l-38.14-5.32A1.93,1.93,0,0,1,38.11,115ZM178,181.65a2,2,0,0,1-.59,1.41L143.08,217.4a2,2,0,0,1-3.4-1.11l-5.32-38.16L178,134.48Zm8.87-73h0L128,167.51,88.49,128l58.87-58.88a78.47,78.47,0,0,1,60.69-23A2,2,0,0,1,209.88,48,78.47,78.47,0,0,1,186.88,108.64ZM100,190.31C95.68,199.84,81.13,222,40,222a6,6,0,0,1-6-6c0-41.13,22.16-55.68,31.69-60a6,6,0,1,1,5,10.92c-7,3.17-22.53,13.52-24.47,42.91,29.39-1.94,39.74-17.52,42.91-24.47a6,6,0,1,1,10.92,5Z"},null,-1),Z1=[A1],x1={key:4},j1=b("path",{d:"M223.85,47.12a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.41,27.07L132.69,64H74.36A15.91,15.91,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A15.91,15.91,0,0,0,192,181.64V123.31l4.77-4.77C223.45,91.86,224.6,59.71,223.85,47.12ZM74.36,80h42.33L77.16,119.52,40,114.34Zm74.41-9.45a76.65,76.65,0,0,1,59.11-22.47,76.46,76.46,0,0,1-22.42,59.16L128,164.68,91.32,128ZM176,181.64,141.67,216l-5.19-37.17L176,139.31Zm-74.16,9.5C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Z"},null,-1),M1=[j1],$1={key:5},I1=b("path",{d:"M219.86,47.36a12,12,0,0,0-11.22-11.22c-12-.71-42.82.38-68.35,25.91L134.35,68h-60a11.9,11.9,0,0,0-8.48,3.52L31.52,105.85a12,12,0,0,0,6.81,20.37l39.79,5.55,46.11,46.11,5.55,39.81a12,12,0,0,0,20.37,6.79l34.34-34.35a11.9,11.9,0,0,0,3.52-8.48v-60l5.94-5.94C219.48,90.18,220.57,59.41,219.86,47.36ZM36.21,115.6a3.94,3.94,0,0,1,1-4.09L71.53,77.17A4,4,0,0,1,74.35,76h52L78.58,123.76,39.44,118.3A3.94,3.94,0,0,1,36.21,115.6ZM180,181.65a4,4,0,0,1-1.17,2.83l-34.35,34.34a4,4,0,0,1-6.79-2.25l-5.46-39.15L180,129.65Zm-52-11.31L85.66,128l60.28-60.29c23.24-23.24,51.25-24.23,62.22-23.58a3.93,3.93,0,0,1,3.71,3.71c.65,11-.35,39-23.58,62.22ZM98.21,189.48C94,198.66,80,220,40,220a4,4,0,0,1-4-4c0-40,21.34-54,30.52-58.21a4,4,0,0,1,3.32,7.28c-7.46,3.41-24.43,14.66-25.76,46.85,32.19-1.33,43.44-18.3,46.85-25.76a4,4,0,1,1,7.28,3.32Z"},null,-1),S1=[I1],N1={name:"PhRocketLaunch"},B1=N({...N1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(_){const s=_,d=M("weight","regular"),g=M("size","1em"),y=M("color","currentColor"),w=M("mirrored",!1),m=j(()=>{var u;return(u=s.weight)!=null?u:d}),p=j(()=>{var u;return(u=s.size)!=null?u:g}),k=j(()=>{var u;return(u=s.color)!=null?u:y}),v=j(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:w?"scale(-1, 1)":void 0);return(u,e)=>(c(),f("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:k.value,transform:v.value},u.$attrs),[D(u.$slots,"default"),m.value==="bold"?(c(),f("g",h1,g1)):m.value==="duotone"?(c(),f("g",y1,b1)):m.value==="fill"?(c(),f("g",w1,L1)):m.value==="light"?(c(),f("g",C1,Z1)):m.value==="regular"?(c(),f("g",x1,M1)):m.value==="thin"?(c(),f("g",$1,S1)):R("",!0)],16,m1))}});class L{constructor(s,d,g,y){this.major=s,this.minor=d,this.patch=g,this.dev=y}static from(s){if(s===null)return new L(0,0,0);const d=/^(\d+\.\d+\.\d+)(.dev(\d+))?$/,g=s.match(d);if(!g)return new L(0,0,0);const[,y,,w]=g,[m,p,k]=y.split(".").map(Number),v=w?Number(w):void 0;return isNaN(m)||isNaN(p)||isNaN(k)?new L(0,0,0):v&&isNaN(v)?new L(0,0,0):new L(m,p,k,v)}gte(s){return this.major!==s.major?this.major>=s.major:this.minor!==s.minor?this.minor>=s.minor:this.patch>=s.patch}get version(){const s=this.dev?`.dev${this.dev}`:"";return`${this.major}.${this.minor}.${this.patch}${s}`}}const T1=L.from("2.16.10"),V1={key:0,class:"flex-row"},P1={key:1,class:"flex-row"},R1={key:2,class:"flex-row"},z1=N({__name:"ExecutionsShort",props:{stageId:{},projectId:{}},emits:["select"],setup(_,{emit:s}){const d=_,g=new n1,{result:y,refetch:w,loading:m}=P(async()=>{const{executions:e}=await g.list({projectId:d.projectId,stageId:d.stageId,limit:6});return e}),p=e=>{s("select",e)},k=e=>e1(e,{weekday:void 0}),{startPolling:v,endPolling:u}=r1({task:w,interval:15e3});return U(()=>v()),F(()=>u()),(e,i)=>t(y)?(c(),f("div",V1,[(c(!0),f(q,null,G(t(y),r=>(c(),$(t(W),{key:r.id,title:k(r.createdAt),onClick:l=>p(r)},{content:a(()=>[o(t(A),null,{default:a(()=>[n("Status: "+Z(r.status),1)]),_:2},1024),o(t(A),null,{default:a(()=>[n("Duration: "+Z(r.duration_seconds),1)]),_:2},1024),o(t(A),null,{default:a(()=>[n("Build: "+Z(r.buildId.slice(0,6)),1)]),_:2},1024)]),default:a(()=>[o(i1,{status:r.status},null,8,["status"])]),_:2},1032,["title","onClick"]))),128))])):t(m)?(c(),f("div",P1,[o(t(K))])):(c(),f("div",R1,"None"))}});const H1=z(z1,[["__scopeId","data-v-9d19fd00"]]),D1={style:{"max-width":"250px",overflow:"hidden","text-overflow":"ellipsis ellipsis","white-space":"nowrap"}},E1={key:1},U1={class:"desc",style:{"margin-bottom":"80px",padding:"10px 30px","background-color":"#f6f6f6","border-radius":"5px"}},F1=N({__name:"Live",setup(_){const d=X().params.projectId,g=()=>{var i;const e=(i=p.value)==null?void 0:i.project.getUrl();e&&window.open(e,"_blank")},y=()=>{var C,h,x;const e=(h=(C=p.value)==null?void 0:C.buildSpec)==null?void 0:h.abstraVersion;if(!e)return;let i="threads";L.from(e).gte(T1)||(i="_player/"+i);const l=((x=p.value)==null?void 0:x.project.getUrl())+i;window.open(l,"_blank")},w=e=>{T.push({name:"logs",params:{projectId:d},query:{stageId:e.stageId,executionId:e.id}})},{loading:m,result:p}=P(async()=>{const i=(await a1.list(d)).find(C=>C.latest);if(!i)return null;const[r,l]=await Promise.all([o1.get(i.id),s1.get(d)]);return{buildSpec:r,project:l}}),k=e=>{var l;if(!("path"in e)||!e.path)return;const i=e.type==="form"?`/${e.path}`:`/_hooks/${e.path}`,r=(l=p.value)==null?void 0:l.project.getUrl(i);!r||(navigator.clipboard.writeText(r),t1.success("Copied URL to clipboard"))},v=e=>e.type=="form"?`/${e.path}`:e.type=="hook"?`/_hooks/${e.path}`:e.type=="job"?`${e.schedule}`:"",u=j(()=>{var r;const e=[{name:"Type",align:"left"},{name:"Title",align:"left"},{name:"Trigger",align:"left"},{name:"Last Runs"},{name:"",align:"right"}],i=(r=p.value)==null?void 0:r.buildSpec;return i?{columns:e,rows:i.runtimes.map(l=>({key:l.id,cells:[{type:"tag",text:l.type.charAt(0).toUpperCase()+l.type.slice(1),tagColor:"default"},{type:"slot",key:"title",payload:{runtime:l}},{type:"slot",key:"trigger",payload:{runtime:l}},{type:"slot",key:"last-runs",payload:{runtime:l}},{type:"actions",actions:[{icon:c1,label:"View script logs",onClick:()=>T.push({name:"logs",params:{projectId:d},query:{stageId:l.id}})},{icon:p1,label:"Copy URL",onClick:()=>k(l),hide:!["form","hook"].includes(l.type)}]}]}))}:{columns:e,rows:[]}});return(e,i)=>{var r,l,C;return t(m)||((C=(l=(r=t(p))==null?void 0:r.buildSpec)==null?void 0:l.runtimes.length)!=null?C:0)>0?(c(),$(H,{key:0,"empty-title":"","entity-name":"build",description:"Access and monitor your project's current scripts here.",table:u.value,loading:t(m),title:"Live View"},{description:a(()=>[o(t(Y),{gap:"middle",style:{"margin-top":"12px"}},{default:a(()=>[o(t(I),{onClick:g},{default:a(()=>[n(" Home"),o(t(V),{class:"icon",size:16})]),_:1}),o(t(I),{onClick:y},{default:a(()=>[n(" Threads"),o(t(V),{class:"icon",size:16})]),_:1})]),_:1})]),title:a(({payload:h})=>{var x;return[b("div",D1,[h.runtime.type!="form"?(c(),$(t(S),{key:0},{default:a(()=>[n(Z(h.runtime.title),1)]),_:2},1024)):h.runtime.type=="form"?(c(),$(t(B),{key:1,href:(x=t(p))==null?void 0:x.project.getUrl(h.runtime.path),target:"_blank"},{default:a(()=>[n(Z(h.runtime.title),1)]),_:2},1032,["href"])):R("",!0)])]}),"last-runs":a(({payload:h})=>[o(H1,{"stage-id":h.runtime.id,"project-id":t(d),onSelect:w},null,8,["stage-id","project-id"])]),trigger:a(({payload:h})=>[o(t(J),{color:"default",class:"ellipsis"},{default:a(()=>[n(Z(v(h.runtime)),1)]),_:2},1024)]),_:1},8,["table","loading"])):(c(),f("section",E1,[b("div",U1,[o(t(Q),{style:{display:"flex","align-items":"center",gap:"5px"},level:3},{default:a(()=>[o(t(O),{size:"30"}),n(" Getting started ")]),_:1}),o(t(A),null,{default:a(()=>[n(" Check out the documentation: "),o(t(B),{href:"https://docs.abstra.io",target:"_blank"},{default:a(()=>[n("Abstra Docs")]),_:1})]),_:1}),o(t(A),null,{default:a(()=>[n(" Install the editor using pip: "),o(t(S),{code:"",copyable:""},{default:a(()=>[n("pip install abstra")]),_:1})]),_:1}),o(t(A),null,{default:a(()=>[n(" Run the editor: "),o(t(S),{code:"",copyable:""},{default:a(()=>[n("abstra editor my-new-project")]),_:1})]),_:1}),o(t(A),null,{default:a(()=>[n(" Feeling lost? "),o(t(I),{target:"_blank",type:"default",size:"small",onClick:i[0]||(i[0]=()=>t(l1).showNewMessage("I need help getting started with Abstra"))},{default:a(()=>[o(t(d1))]),_:1})]),_:1})]),o(t(u1),{status:"info",title:"Waiting for your first deploy!","sub-title":"Your live stages will appear here once you make your first deploy"},{icon:a(()=>[o(t(B1),{size:"100",color:"#d14056"})]),_:1})]))}}});const gt=z(F1,[["__scopeId","data-v-90c62d52"]]);export{gt as default}; -//# sourceMappingURL=Live.bbe6ff62.js.map +import{C as H}from"./CrudView.0b1b90a7.js";import{a as P}from"./asyncComputed.3916dfed.js";import{d as N,B as M,f as j,o as c,X as h,Z as D,R,e8 as E,a as b,W as U,aq as F,u as t,aR as q,eb as G,c as $,w as a,b as o,aF as n,e9 as Z,d7 as A,cK as W,bx as K,$ as z,ea as X,bP as I,dd as Y,d8 as S,d6 as B,d1 as J,f1 as O,d9 as Q,cD as t1}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{g as e1,B as a1,a as o1}from"./datetime.0827e1b6.js";import{P as s1}from"./project.a5f62f99.js";import"./tables.842b993f.js";import{C as l1,r as T}from"./router.0c18ec5d.js";import{u as r1}from"./polling.72e5a2f8.js";import{_ as i1,E as n1}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.2f7085a2.js";import{G as c1}from"./PhArrowCounterClockwise.vue.1fa0c440.js";import{F as V}from"./PhArrowSquareOut.vue.2a1b339b.js";import{G as d1}from"./PhChats.vue.42699894.js";import{I as p1}from"./PhCopySimple.vue.d9faf509.js";import{A as u1}from"./index.71c22de0.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./LoadingOutlined.09a06334.js";(function(){try{var _=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(_._sentryDebugIds=_._sentryDebugIds||{},_._sentryDebugIds[s]="bc712a35-50e7-4129-982c-b03540fc6a22",_._sentryDebugIdIdentifier="sentry-dbid-bc712a35-50e7-4129-982c-b03540fc6a22")}catch{}})();const m1=["width","height","fill","transform"],f1={key:0},h1=b("path",{d:"M227.85,46.89a20,20,0,0,0-18.74-18.74c-13.13-.77-46.65.42-74.48,28.24L131,60H74.36a19.83,19.83,0,0,0-14.14,5.86L25.87,100.19a20,20,0,0,0,11.35,33.95l37.14,5.18,42.32,42.32,5.19,37.18A19.88,19.88,0,0,0,135.34,235a20.13,20.13,0,0,0,6.37,1,19.9,19.9,0,0,0,14.1-5.87l34.34-34.35A19.85,19.85,0,0,0,196,181.64V125l3.6-3.59C227.43,93.54,228.62,60,227.85,46.89ZM76,84h31L75.75,115.28l-27.23-3.8ZM151.6,73.37A72.27,72.27,0,0,1,204,52a72.17,72.17,0,0,1-21.38,52.41L128,159,97,128ZM172,180l-27.49,27.49-3.8-27.23L172,149Zm-72,22c-8.71,11.85-26.19,26-60,26a12,12,0,0,1-12-12c0-33.84,14.12-51.32,26-60A12,12,0,1,1,68.18,175.3C62.3,179.63,55.51,187.8,53,203c15.21-2.51,23.37-9.3,27.7-15.18A12,12,0,1,1,100,202Z"},null,-1),g1=[h1],y1={key:1},_1=b("path",{d:"M184,120v61.65a8,8,0,0,1-2.34,5.65l-34.35,34.35a8,8,0,0,1-13.57-4.53L128,176ZM136,72H74.35a8,8,0,0,0-5.65,2.34L34.35,108.69a8,8,0,0,0,4.53,13.57L80,128ZM40,216c37.65,0,50.69-19.69,54.56-28.18L68.18,161.44C59.69,165.31,40,178.35,40,216Z",opacity:"0.2"},null,-1),v1=b("path",{d:"M223.85,47.12a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.41,27.07L132.69,64H74.36A15.91,15.91,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A15.91,15.91,0,0,0,192,181.64V123.31l4.77-4.77C223.45,91.86,224.6,59.71,223.85,47.12ZM74.36,80h42.33L77.16,119.52,40,114.34Zm74.41-9.45a76.65,76.65,0,0,1,59.11-22.47,76.46,76.46,0,0,1-22.42,59.16L128,164.68,91.32,128ZM176,181.64,141.67,216l-5.19-37.17L176,139.31Zm-74.16,9.5C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Z"},null,-1),b1=[_1,v1],w1={key:2},k1=b("path",{d:"M101.85,191.14C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Zm122-144a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.4,27.07h0L88,108.7A8,8,0,0,1,76.67,97.39l26.56-26.57A4,4,0,0,0,100.41,64H74.35A15.9,15.9,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A16,16,0,0,0,192,181.65V155.59a4,4,0,0,0-6.83-2.82l-26.57,26.56a8,8,0,0,1-11.71-.42,8.2,8.2,0,0,1,.6-11.1l49.27-49.27h0C223.45,91.86,224.6,59.71,223.85,47.12Z"},null,-1),L1=[k1],C1={key:3},A1=b("path",{d:"M221.86,47.24a14,14,0,0,0-13.11-13.1c-12.31-.73-43.77.39-69.88,26.5L133.52,66H74.35a13.9,13.9,0,0,0-9.89,4.1L30.11,104.44a14,14,0,0,0,7.94,23.76l39.13,5.46,45.16,45.16L127.8,218a14,14,0,0,0,23.76,7.92l34.35-34.35a13.91,13.91,0,0,0,4.1-9.89V122.48l5.35-5.35h0C221.46,91,222.59,59.56,221.86,47.24ZM38.11,115a2,2,0,0,1,.49-2L72.94,78.58A2,2,0,0,1,74.35,78h47.17L77.87,121.64l-38.14-5.32A1.93,1.93,0,0,1,38.11,115ZM178,181.65a2,2,0,0,1-.59,1.41L143.08,217.4a2,2,0,0,1-3.4-1.11l-5.32-38.16L178,134.48Zm8.87-73h0L128,167.51,88.49,128l58.87-58.88a78.47,78.47,0,0,1,60.69-23A2,2,0,0,1,209.88,48,78.47,78.47,0,0,1,186.88,108.64ZM100,190.31C95.68,199.84,81.13,222,40,222a6,6,0,0,1-6-6c0-41.13,22.16-55.68,31.69-60a6,6,0,1,1,5,10.92c-7,3.17-22.53,13.52-24.47,42.91,29.39-1.94,39.74-17.52,42.91-24.47a6,6,0,1,1,10.92,5Z"},null,-1),Z1=[A1],x1={key:4},j1=b("path",{d:"M223.85,47.12a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.41,27.07L132.69,64H74.36A15.91,15.91,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A15.91,15.91,0,0,0,192,181.64V123.31l4.77-4.77C223.45,91.86,224.6,59.71,223.85,47.12ZM74.36,80h42.33L77.16,119.52,40,114.34Zm74.41-9.45a76.65,76.65,0,0,1,59.11-22.47,76.46,76.46,0,0,1-22.42,59.16L128,164.68,91.32,128ZM176,181.64,141.67,216l-5.19-37.17L176,139.31Zm-74.16,9.5C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Z"},null,-1),M1=[j1],$1={key:5},I1=b("path",{d:"M219.86,47.36a12,12,0,0,0-11.22-11.22c-12-.71-42.82.38-68.35,25.91L134.35,68h-60a11.9,11.9,0,0,0-8.48,3.52L31.52,105.85a12,12,0,0,0,6.81,20.37l39.79,5.55,46.11,46.11,5.55,39.81a12,12,0,0,0,20.37,6.79l34.34-34.35a11.9,11.9,0,0,0,3.52-8.48v-60l5.94-5.94C219.48,90.18,220.57,59.41,219.86,47.36ZM36.21,115.6a3.94,3.94,0,0,1,1-4.09L71.53,77.17A4,4,0,0,1,74.35,76h52L78.58,123.76,39.44,118.3A3.94,3.94,0,0,1,36.21,115.6ZM180,181.65a4,4,0,0,1-1.17,2.83l-34.35,34.34a4,4,0,0,1-6.79-2.25l-5.46-39.15L180,129.65Zm-52-11.31L85.66,128l60.28-60.29c23.24-23.24,51.25-24.23,62.22-23.58a3.93,3.93,0,0,1,3.71,3.71c.65,11-.35,39-23.58,62.22ZM98.21,189.48C94,198.66,80,220,40,220a4,4,0,0,1-4-4c0-40,21.34-54,30.52-58.21a4,4,0,0,1,3.32,7.28c-7.46,3.41-24.43,14.66-25.76,46.85,32.19-1.33,43.44-18.3,46.85-25.76a4,4,0,1,1,7.28,3.32Z"},null,-1),S1=[I1],N1={name:"PhRocketLaunch"},B1=N({...N1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(_){const s=_,d=M("weight","regular"),g=M("size","1em"),y=M("color","currentColor"),w=M("mirrored",!1),m=j(()=>{var u;return(u=s.weight)!=null?u:d}),p=j(()=>{var u;return(u=s.size)!=null?u:g}),k=j(()=>{var u;return(u=s.color)!=null?u:y}),v=j(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:w?"scale(-1, 1)":void 0);return(u,e)=>(c(),h("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:k.value,transform:v.value},u.$attrs),[D(u.$slots,"default"),m.value==="bold"?(c(),h("g",f1,g1)):m.value==="duotone"?(c(),h("g",y1,b1)):m.value==="fill"?(c(),h("g",w1,L1)):m.value==="light"?(c(),h("g",C1,Z1)):m.value==="regular"?(c(),h("g",x1,M1)):m.value==="thin"?(c(),h("g",$1,S1)):R("",!0)],16,m1))}});class L{constructor(s,d,g,y){this.major=s,this.minor=d,this.patch=g,this.dev=y}static from(s){if(s===null)return new L(0,0,0);const d=/^(\d+\.\d+\.\d+)(.dev(\d+))?$/,g=s.match(d);if(!g)return new L(0,0,0);const[,y,,w]=g,[m,p,k]=y.split(".").map(Number),v=w?Number(w):void 0;return isNaN(m)||isNaN(p)||isNaN(k)?new L(0,0,0):v&&isNaN(v)?new L(0,0,0):new L(m,p,k,v)}gte(s){return this.major!==s.major?this.major>=s.major:this.minor!==s.minor?this.minor>=s.minor:this.patch>=s.patch}get version(){const s=this.dev?`.dev${this.dev}`:"";return`${this.major}.${this.minor}.${this.patch}${s}`}}const T1=L.from("2.16.10"),V1={key:0,class:"flex-row"},P1={key:1,class:"flex-row"},R1={key:2,class:"flex-row"},z1=N({__name:"ExecutionsShort",props:{stageId:{},projectId:{}},emits:["select"],setup(_,{emit:s}){const d=_,g=new n1,{result:y,refetch:w,loading:m}=P(async()=>{const{executions:e}=await g.list({projectId:d.projectId,stageId:d.stageId,limit:6});return e}),p=e=>{s("select",e)},k=e=>e1(e,{weekday:void 0}),{startPolling:v,endPolling:u}=r1({task:w,interval:15e3});return U(()=>v()),F(()=>u()),(e,i)=>t(y)?(c(),h("div",V1,[(c(!0),h(q,null,G(t(y),r=>(c(),$(t(W),{key:r.id,title:k(r.createdAt),onClick:l=>p(r)},{content:a(()=>[o(t(A),null,{default:a(()=>[n("Status: "+Z(r.status),1)]),_:2},1024),o(t(A),null,{default:a(()=>[n("Duration: "+Z(r.duration_seconds),1)]),_:2},1024),o(t(A),null,{default:a(()=>[n("Build: "+Z(r.buildId.slice(0,6)),1)]),_:2},1024)]),default:a(()=>[o(i1,{status:r.status},null,8,["status"])]),_:2},1032,["title","onClick"]))),128))])):t(m)?(c(),h("div",P1,[o(t(K))])):(c(),h("div",R1,"None"))}});const H1=z(z1,[["__scopeId","data-v-9d19fd00"]]),D1={style:{"max-width":"250px",overflow:"hidden","text-overflow":"ellipsis ellipsis","white-space":"nowrap"}},E1={key:1},U1={class:"desc",style:{"margin-bottom":"80px",padding:"10px 30px","background-color":"#f6f6f6","border-radius":"5px"}},F1=N({__name:"Live",setup(_){const d=X().params.projectId,g=()=>{var i;const e=(i=p.value)==null?void 0:i.project.getUrl();e&&window.open(e,"_blank")},y=()=>{var C,f,x;const e=(f=(C=p.value)==null?void 0:C.buildSpec)==null?void 0:f.abstraVersion;if(!e)return;let i="threads";L.from(e).gte(T1)||(i="_player/"+i);const l=((x=p.value)==null?void 0:x.project.getUrl())+i;window.open(l,"_blank")},w=e=>{T.push({name:"logs",params:{projectId:d},query:{stageId:e.stageId,executionId:e.id}})},{loading:m,result:p}=P(async()=>{const i=(await a1.list(d)).find(C=>C.latest);if(!i)return null;const[r,l]=await Promise.all([o1.get(i.id),s1.get(d)]);return{buildSpec:r,project:l}}),k=e=>{var l;if(!("path"in e)||!e.path)return;const i=e.type==="form"?`/${e.path}`:`/_hooks/${e.path}`,r=(l=p.value)==null?void 0:l.project.getUrl(i);!r||(navigator.clipboard.writeText(r),t1.success("Copied URL to clipboard"))},v=e=>e.type=="form"?`/${e.path}`:e.type=="hook"?`/_hooks/${e.path}`:e.type=="job"?`${e.schedule}`:"",u=j(()=>{var r;const e=[{name:"Type",align:"left"},{name:"Title",align:"left"},{name:"Trigger",align:"left"},{name:"Last Runs"},{name:"",align:"right"}],i=(r=p.value)==null?void 0:r.buildSpec;return i?{columns:e,rows:i.runtimes.map(l=>({key:l.id,cells:[{type:"tag",text:l.type.charAt(0).toUpperCase()+l.type.slice(1),tagColor:"default"},{type:"slot",key:"title",payload:{runtime:l}},{type:"slot",key:"trigger",payload:{runtime:l}},{type:"slot",key:"last-runs",payload:{runtime:l}},{type:"actions",actions:[{icon:c1,label:"View script logs",onClick:()=>T.push({name:"logs",params:{projectId:d},query:{stageId:l.id}})},{icon:p1,label:"Copy URL",onClick:()=>k(l),hide:!["form","hook"].includes(l.type)}]}]}))}:{columns:e,rows:[]}});return(e,i)=>{var r,l,C;return t(m)||((C=(l=(r=t(p))==null?void 0:r.buildSpec)==null?void 0:l.runtimes.length)!=null?C:0)>0?(c(),$(H,{key:0,"empty-title":"","entity-name":"build",description:"Access and monitor your project's current scripts here.",table:u.value,loading:t(m),title:"Live View"},{description:a(()=>[o(t(Y),{gap:"middle",style:{"margin-top":"12px"}},{default:a(()=>[o(t(I),{onClick:g},{default:a(()=>[n(" Home"),o(t(V),{class:"icon",size:16})]),_:1}),o(t(I),{onClick:y},{default:a(()=>[n(" Threads"),o(t(V),{class:"icon",size:16})]),_:1})]),_:1})]),title:a(({payload:f})=>{var x;return[b("div",D1,[f.runtime.type!="form"?(c(),$(t(S),{key:0},{default:a(()=>[n(Z(f.runtime.title),1)]),_:2},1024)):f.runtime.type=="form"?(c(),$(t(B),{key:1,href:(x=t(p))==null?void 0:x.project.getUrl(f.runtime.path),target:"_blank"},{default:a(()=>[n(Z(f.runtime.title),1)]),_:2},1032,["href"])):R("",!0)])]}),"last-runs":a(({payload:f})=>[o(H1,{"stage-id":f.runtime.id,"project-id":t(d),onSelect:w},null,8,["stage-id","project-id"])]),trigger:a(({payload:f})=>[o(t(J),{color:"default",class:"ellipsis"},{default:a(()=>[n(Z(v(f.runtime)),1)]),_:2},1024)]),_:1},8,["table","loading"])):(c(),h("section",E1,[b("div",U1,[o(t(Q),{style:{display:"flex","align-items":"center",gap:"5px"},level:3},{default:a(()=>[o(t(O),{size:"30"}),n(" Getting started ")]),_:1}),o(t(A),null,{default:a(()=>[n(" Check out the documentation: "),o(t(B),{href:"https://docs.abstra.io",target:"_blank"},{default:a(()=>[n("Abstra Docs")]),_:1})]),_:1}),o(t(A),null,{default:a(()=>[n(" Install the editor using pip: "),o(t(S),{code:"",copyable:""},{default:a(()=>[n("pip install abstra")]),_:1})]),_:1}),o(t(A),null,{default:a(()=>[n(" Run the editor: "),o(t(S),{code:"",copyable:""},{default:a(()=>[n("abstra editor my-new-project")]),_:1})]),_:1}),o(t(A),null,{default:a(()=>[n(" Feeling lost? "),o(t(I),{target:"_blank",type:"default",size:"small",onClick:i[0]||(i[0]=()=>t(l1).showNewMessage("I need help getting started with Abstra"))},{default:a(()=>[o(t(d1))]),_:1})]),_:1})]),o(t(u1),{status:"info",title:"Waiting for your first deploy!","sub-title":"Your live stages will appear here once you make your first deploy"},{icon:a(()=>[o(t(B1),{size:"100",color:"#d14056"})]),_:1})]))}}});const gt=z(F1,[["__scopeId","data-v-90c62d52"]]);export{gt as default}; +//# sourceMappingURL=Live.84e0b389.js.map diff --git a/abstra_statics/dist/assets/LoadingContainer.4ab818eb.js b/abstra_statics/dist/assets/LoadingContainer.4ab818eb.js deleted file mode 100644 index 456991fb5b..0000000000 --- a/abstra_statics/dist/assets/LoadingContainer.4ab818eb.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as t,o as d,X as o,b as s,u as r,bx as _,$ as i}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ad2ba00f-0edb-41e8-8ebe-8631d839a53b",e._sentryDebugIdIdentifier="sentry-dbid-ad2ba00f-0edb-41e8-8ebe-8631d839a53b")}catch{}})();const c={class:"centered"},b=t({__name:"LoadingContainer",setup(e){return(n,a)=>(d(),o("div",c,[s(r(_))]))}});const p=i(b,[["__scopeId","data-v-52e6209a"]]);export{p as L}; -//# sourceMappingURL=LoadingContainer.4ab818eb.js.map diff --git a/abstra_statics/dist/assets/LoadingContainer.57756ccb.js b/abstra_statics/dist/assets/LoadingContainer.57756ccb.js new file mode 100644 index 0000000000..e0ad35d0e5 --- /dev/null +++ b/abstra_statics/dist/assets/LoadingContainer.57756ccb.js @@ -0,0 +1,2 @@ +import{d as o,o as s,X as a,b as d,u as r,bx as _,$ as c}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf6e98c0-4830-4510-b17a-0542ed348f8e",e._sentryDebugIdIdentifier="sentry-dbid-bf6e98c0-4830-4510-b17a-0542ed348f8e")}catch{}})();const i={class:"centered"},f=o({__name:"LoadingContainer",setup(e){return(n,t)=>(s(),a("div",i,[d(r(_))]))}});const u=c(f,[["__scopeId","data-v-52e6209a"]]);export{u as L}; +//# sourceMappingURL=LoadingContainer.57756ccb.js.map diff --git a/abstra_statics/dist/assets/LoadingOutlined.09a06334.js b/abstra_statics/dist/assets/LoadingOutlined.09a06334.js new file mode 100644 index 0000000000..6721684659 --- /dev/null +++ b/abstra_statics/dist/assets/LoadingOutlined.09a06334.js @@ -0,0 +1,2 @@ +import{b as o,ee as u,eL as c}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="91aa89b6-7900-4da3-9dc1-b93e2c9b197d",e._sentryDebugIdIdentifier="sentry-dbid-91aa89b6-7900-4da3-9dc1-b93e2c9b197d")}catch{}})();function i(e){for(var t=1;t{await i.signUp();const{redirect:t,...s}=r.query;if(t){await o.push({path:t,query:s,params:r.params});return}o.push({name:"playerHome",query:s})};return(t,s)=>{var n,c,d;return g(),w("div",v,[k(_,{"logo-url":(c=(n=u(a).state.workspace)==null?void 0:n.logoUrl)!=null?c:void 0,"brand-name":(d=u(a).state.workspace)==null?void 0:d.brandName,onDone:p},null,8,["logo-url","brand-name"])])}}});const $=h(I,[["__scopeId","data-v-fc57ade6"]]);export{$ as default}; -//# sourceMappingURL=Login.90e3db39.js.map diff --git a/abstra_statics/dist/assets/Login.bdff7e46.js b/abstra_statics/dist/assets/Login.bdff7e46.js new file mode 100644 index 0000000000..354f750ba4 --- /dev/null +++ b/abstra_statics/dist/assets/Login.bdff7e46.js @@ -0,0 +1,2 @@ +import{_}from"./Login.vue_vue_type_script_setup_true_lang.88412b2f.js";import{b as m,u as f}from"./workspaceStore.5977d9e8.js";import{d as l,eo as y,ea as b,o as g,X as w,b as k,u as i,$ as h}from"./vue-router.324eaed2.js";import"./Logo.bfb8cf31.js";import"./string.d698465c.js";import"./CircularLoading.08cb4e45.js";import"./index.40f13cf1.js";import"./index.0887bacc.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7426092a-0a80-4700-ba10-e63e0f39676e",e._sentryDebugIdIdentifier="sentry-dbid-7426092a-0a80-4700-ba10-e63e0f39676e")}catch{}})();const v={class:"runner"},I=l({__name:"Login",setup(e){const o=y(),r=b(),p=m(),a=f(),d=async()=>{await p.signUp();const{redirect:t,...s}=r.query;if(t){await o.push({path:t,query:s,params:r.params});return}o.push({name:"playerHome",query:s})};return(t,s)=>{var n,c,u;return g(),w("div",v,[k(_,{"logo-url":(c=(n=i(a).state.workspace)==null?void 0:n.logoUrl)!=null?c:void 0,"brand-name":(u=i(a).state.workspace)==null?void 0:u.brandName,onDone:d},null,8,["logo-url","brand-name"])])}}});const $=h(I,[["__scopeId","data-v-fc57ade6"]]);export{$ as default}; +//# sourceMappingURL=Login.bdff7e46.js.map diff --git a/abstra_statics/dist/assets/Login.f5bae42f.js b/abstra_statics/dist/assets/Login.f75fa921.js similarity index 87% rename from abstra_statics/dist/assets/Login.f5bae42f.js rename to abstra_statics/dist/assets/Login.f75fa921.js index e72aab5200..a689fd3006 100644 --- a/abstra_statics/dist/assets/Login.f5bae42f.js +++ b/abstra_statics/dist/assets/Login.f75fa921.js @@ -1,2 +1,2 @@ -import{L as R}from"./CircularLoading.1c6a1f61.js";import{d as C,e as B,o as c,X as h,a as v,b as n,e9 as r,u as a,c as b,w as u,R as $,eV as t,bH as I,eU as A,cv as T,aF as m,bP as p,cu as L,$ as P,eo as q,ea as D,f as V,dF as K}from"./vue-router.33f35a18.js";import{_ as N}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import{T as F,b as S}from"./router.cbdfe37b.js";import{i as U}from"./string.44188c83.js";import{a as y,E as M}from"./gateway.a5388860.js";import"./Logo.389f375b.js";import"./popupNotifcation.7fc1aee0.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="e5474842-529b-48d6-a2e4-a7443dddbcaa",l._sentryDebugIdIdentifier="sentry-dbid-e5474842-529b-48d6-a2e4-a7443dddbcaa")}catch{}})();const j={class:"form"},z={class:"header"},H={class:"description"},O={class:"description"},X={class:"footer"},G={key:2,class:"loading"},J=C({__name:"Passwordless",emits:["done"],setup(l,{emit:s}){const e=B({stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0});function _(){const i=e.value.info.email,o=U(i);return e.value.invalid=!o,o}let d;const f=async()=>{if(!!_()){e.value.stage="loading";try{await y.authenticate(e.value.info.email),e.value.stage="collect-token",e.value.secsToAllowResend=120,clearInterval(d),d=setInterval(()=>{e.value.secsToAllowResend-=1,e.value.secsToAllowResend<=0&&clearInterval(d)},1e3)}catch{e.value.invalid=!0,e.value.stage="collect-info"}}},k=i=>{if(!i){e.value.info.email="";return}e.value.info.email=i.toLowerCase()},w=async()=>{var i;if(!!((i=e.value.info)!=null&&i.email)){e.value.stage="loading";try{const o=await y.verify(e.value.info.email,e.value.token);if(!o)throw new Error("[Passwordless] Login did not return an user");F.trackSession(),s("done",o),e.value.stage="done"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},x=()=>{e.value.info&&f()},E=()=>{e.value.stage="collect-info",e.value.info={email:""},e.value.token="",e.value.invalid=!1};return(i,o)=>(c(),h("div",j,[v("div",z,[n(N,{"hide-text":"",size:"large"}),v("h2",null,r(a(t).translate("i18n_auth_validate_your_email_login",null,{brandName:"Abstra"})),1)]),e.value.stage==="collect-info"?(c(),b(a(L),{key:0,class:"section"},{default:u(()=>[v("div",H,r(a(t).translate("i18n_auth_info_description")),1),n(a(T),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?a(t).translate("i18n_auth_info_invalid_email"):""},{default:u(()=>[n(a(I),{type:"email",value:e.value.info.email,placeholder:a(t).translate("i18n_auth_enter_your_work_email"),onBlur:_,onKeyup:A(f,["enter"]),onChange:o[0]||(o[0]=g=>k(g.target.value))},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),n(a(p),{type:"primary",onClick:f},{default:u(()=>[m(r(a(t).translate("i18n_auth_info_send_code")),1)]),_:1})]),_:1})):e.value.stage==="collect-token"?(c(),b(a(L),{key:1,class:"section"},{default:u(()=>[v("div",O,r(a(t).translate("i18n_auth_token_label",null,e.value.info)),1),n(a(T),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?a(t).translate("i18n_auth_token_invalid"):""},{default:u(()=>[n(a(I),{value:e.value.token,"onUpdate:value":o[1]||(o[1]=g=>e.value.token=g),type:"number",placeholder:a(t).translate("i18n_auth_enter_your_token"),onKeyup:A(w,["enter"])},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),n(a(p),{type:"primary",onClick:w},{default:u(()=>[m(r(a(t).translate("i18n_auth_token_verify_email")),1)]),_:1}),n(a(p),{onClick:E},{default:u(()=>[m(r(a(t).translate("i18n_auth_edit_email")),1)]),_:1}),n(a(p),{disabled:!!e.value.secsToAllowResend,onClick:x},{default:u(()=>[m(r(a(t).translate("i18n_auth_token_resend_email"))+" ("+r(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),v("div",X,r(a(t).translate("i18n_auth_token_footer_alternative_email")),1)]),_:1})):e.value.stage==="loading"?(c(),h("div",G,[n(R)])):$("",!0)]))}});const Q=P(J,[["__scopeId","data-v-b9707eaf"]]),W=async()=>{const l=y.getAuthor();if(!l)return;const{status:s}=await S.getInfo();if(s==="active")return;const e=new URLSearchParams({token:l.jwt,status:s});window.location.replace(`${M.onboarding}/setup?${e}`)},Y={key:0,class:"login"},Z={key:1,class:"loading"},ee=C({__name:"Login",setup(l){const s=q(),e=D();async function _(){await W(),e.query.redirect?await s.push({path:e.query.redirect,query:{...e.query,redirect:e.query["prev-redirect"],"prev-redirect":void 0}}):s.push({name:"home"})}const d=V(()=>!y.getAuthor());return K(()=>{d.value||_()}),(f,k)=>d.value?(c(),h("div",Y,[n(Q,{onDone:_})])):(c(),h("div",Z,[n(R)]))}});const ue=P(ee,[["__scopeId","data-v-e4e9b925"]]);export{ue as default}; -//# sourceMappingURL=Login.f5bae42f.js.map +import{L as R}from"./CircularLoading.08cb4e45.js";import{d as C,e as B,o as c,X as h,a as v,b as n,e9 as r,u as a,c as b,w as u,R as $,eV as t,bH as I,eU as A,cv as T,aF as m,bP as p,cu as L,$ as P,eo as q,ea as D,f as V,dF as K}from"./vue-router.324eaed2.js";import{_ as N}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import{T as F,b as S}from"./router.0c18ec5d.js";import{i as U}from"./string.d698465c.js";import{a as y,E as M}from"./gateway.edd4374b.js";import"./Logo.bfb8cf31.js";import"./popupNotifcation.5a82bc93.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="5a479ba7-aad0-4fb0-9f64-731ba1dda8a1",l._sentryDebugIdIdentifier="sentry-dbid-5a479ba7-aad0-4fb0-9f64-731ba1dda8a1")}catch{}})();const j={class:"form"},z={class:"header"},H={class:"description"},O={class:"description"},X={class:"footer"},G={key:2,class:"loading"},J=C({__name:"Passwordless",emits:["done"],setup(l,{emit:s}){const e=B({stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0});function _(){const i=e.value.info.email,o=U(i);return e.value.invalid=!o,o}let d;const f=async()=>{if(!!_()){e.value.stage="loading";try{await y.authenticate(e.value.info.email),e.value.stage="collect-token",e.value.secsToAllowResend=120,clearInterval(d),d=setInterval(()=>{e.value.secsToAllowResend-=1,e.value.secsToAllowResend<=0&&clearInterval(d)},1e3)}catch{e.value.invalid=!0,e.value.stage="collect-info"}}},k=i=>{if(!i){e.value.info.email="";return}e.value.info.email=i.toLowerCase()},w=async()=>{var i;if(!!((i=e.value.info)!=null&&i.email)){e.value.stage="loading";try{const o=await y.verify(e.value.info.email,e.value.token);if(!o)throw new Error("[Passwordless] Login did not return an user");F.trackSession(),s("done",o),e.value.stage="done"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},x=()=>{e.value.info&&f()},E=()=>{e.value.stage="collect-info",e.value.info={email:""},e.value.token="",e.value.invalid=!1};return(i,o)=>(c(),h("div",j,[v("div",z,[n(N,{"hide-text":"",size:"large"}),v("h2",null,r(a(t).translate("i18n_auth_validate_your_email_login",null,{brandName:"Abstra"})),1)]),e.value.stage==="collect-info"?(c(),b(a(L),{key:0,class:"section"},{default:u(()=>[v("div",H,r(a(t).translate("i18n_auth_info_description")),1),n(a(T),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?a(t).translate("i18n_auth_info_invalid_email"):""},{default:u(()=>[n(a(I),{type:"email",value:e.value.info.email,placeholder:a(t).translate("i18n_auth_enter_your_work_email"),onBlur:_,onKeyup:A(f,["enter"]),onChange:o[0]||(o[0]=g=>k(g.target.value))},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),n(a(p),{type:"primary",onClick:f},{default:u(()=>[m(r(a(t).translate("i18n_auth_info_send_code")),1)]),_:1})]),_:1})):e.value.stage==="collect-token"?(c(),b(a(L),{key:1,class:"section"},{default:u(()=>[v("div",O,r(a(t).translate("i18n_auth_token_label",null,e.value.info)),1),n(a(T),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?a(t).translate("i18n_auth_token_invalid"):""},{default:u(()=>[n(a(I),{value:e.value.token,"onUpdate:value":o[1]||(o[1]=g=>e.value.token=g),type:"number",placeholder:a(t).translate("i18n_auth_enter_your_token"),onKeyup:A(w,["enter"])},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),n(a(p),{type:"primary",onClick:w},{default:u(()=>[m(r(a(t).translate("i18n_auth_token_verify_email")),1)]),_:1}),n(a(p),{onClick:E},{default:u(()=>[m(r(a(t).translate("i18n_auth_edit_email")),1)]),_:1}),n(a(p),{disabled:!!e.value.secsToAllowResend,onClick:x},{default:u(()=>[m(r(a(t).translate("i18n_auth_token_resend_email"))+" ("+r(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),v("div",X,r(a(t).translate("i18n_auth_token_footer_alternative_email")),1)]),_:1})):e.value.stage==="loading"?(c(),h("div",G,[n(R)])):$("",!0)]))}});const Q=P(J,[["__scopeId","data-v-b9707eaf"]]),W=async()=>{const l=y.getAuthor();if(!l)return;const{status:s}=await S.getInfo();if(s==="active")return;const e=new URLSearchParams({token:l.jwt,status:s});window.location.replace(`${M.onboarding}/setup?${e}`)},Y={key:0,class:"login"},Z={key:1,class:"loading"},ee=C({__name:"Login",setup(l){const s=q(),e=D();async function _(){await W(),e.query.redirect?await s.push({path:e.query.redirect,query:{...e.query,redirect:e.query["prev-redirect"],"prev-redirect":void 0}}):s.push({name:"home"})}const d=V(()=>!y.getAuthor());return K(()=>{d.value||_()}),(f,k)=>d.value?(c(),h("div",Y,[n(Q,{onDone:_})])):(c(),h("div",Z,[n(R)]))}});const ue=P(ee,[["__scopeId","data-v-e4e9b925"]]);export{ue as default}; +//# sourceMappingURL=Login.f75fa921.js.map diff --git a/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.66951764.js b/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.88412b2f.js similarity index 85% rename from abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.66951764.js rename to abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.88412b2f.js index 1c202423c2..96041e1e83 100644 --- a/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.66951764.js +++ b/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.88412b2f.js @@ -1,2 +1,2 @@ -import{d as b,B as k,f as y,o,X as m,Z as O,R as H,e8 as K,a as n,W as F,b as d,w as c,u as l,aF as g,em as j,en as W,d6 as X,$ as B,e as q,eV as r,e9 as v,c as Z,Y as G,bH as T,eU as N,cv as S,bP as A,cu as $}from"./vue-router.33f35a18.js";import{O as D,S as Y,A as J}from"./workspaceStore.be837912.js";import{L as Q}from"./Logo.389f375b.js";import{i as x}from"./string.44188c83.js";import{L as ee}from"./CircularLoading.1c6a1f61.js";import{t as ae}from"./index.dec2a631.js";import{A as le}from"./index.f014adef.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="fba901b8-cfd3-4e52-8099-8ddb49c1168f",s._sentryDebugIdIdentifier="sentry-dbid-fba901b8-cfd3-4e52-8099-8ddb49c1168f")}catch{}})();const te=["width","height","fill","transform"],oe={key:0},ne=n("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"},null,-1),se=[ne],ie={key:1},re=n("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),de=n("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"},null,-1),ue=[re,de],ce={key:2},me=n("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"},null,-1),ve=[me],_e={key:3},pe=n("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"},null,-1),fe=[pe],ge={key:4},he=n("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"},null,-1),ye=[he],Ze={key:5},we=n("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"},null,-1),ke=[we],Ae={name:"PhSpinner"},be=b({...Ae,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(s){const t=s,u=k("weight","regular"),e=k("size","1em"),p=k("color","currentColor"),M=k("mirrored",!1),_=y(()=>{var i;return(i=t.weight)!=null?i:u}),h=y(()=>{var i;return(i=t.size)!=null?i:e}),L=y(()=>{var i;return(i=t.color)!=null?i:p}),V=y(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:M?"scale(-1, 1)":void 0);return(i,w)=>(o(),m("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:L.value,transform:V.value},i.$attrs),[O(i.$slots,"default"),_.value==="bold"?(o(),m("g",oe,se)):_.value==="duotone"?(o(),m("g",ie,ue)):_.value==="fill"?(o(),m("g",ce,ve)):_.value==="light"?(o(),m("g",_e,fe)):_.value==="regular"?(o(),m("g",ge,ye)):_.value==="thin"?(o(),m("g",Ze,ke)):H("",!0)],16,te))}}),E=s=>(j("data-v-f7d3f316"),s=s(),W(),s),Me={class:"oidc-container"},Le=E(()=>n("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"3s",from:"0 0 0",to:"360 0 0",repeatCount:"indefinite"},null,-1)),Ve=E(()=>n("p",{class:"centered"},"Please complete the login process in the popup window.",-1)),Ie={class:"centered"},Ce=b({__name:"Oidc",emits:["done"],setup(s,{emit:t}){const u=async()=>{if(!await new D().login())throw new Error("[OIDC] Login did not return an user");t("done")};return F(()=>u()),(e,p)=>(o(),m("div",Me,[d(l(be),{size:60,style:{"margin-bottom":"50px"}},{default:c(()=>[Le]),_:1}),Ve,n("p",Ie,[g(" If it has not appear automatically, please "),d(l(X),{onClick:u},{default:c(()=>[g("click here")]),_:1}),g(". ")])]))}});const He=B(Ce,[["__scopeId","data-v-f7d3f316"]]),Pe={class:"header"},Te={class:"description"},Ne={class:"description"},Se={class:"footer"},$e={key:3,class:"loading"},Be=b({__name:"Passwordless",props:{logoUrl:{},brandName:{},locale:{}},emits:["done"],setup(s,{emit:t}){const u=s,e=q({stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0}),{useToken:p}=ae,{token:M}=p(),_=M.value.colorPrimaryBg,h=new J,L=y(()=>{var a;return(a=Y.instance)==null?void 0:a.isLocal}),V=r.translate("i18n_local_auth_info_description",u.locale);function i(){const a=e.value.info.email,f=x(a);return e.value.invalid=!f,f}let w;const I=async()=>{if(!!i()){e.value.stage="loading";try{await h.authenticate(e.value.info.email),e.value.stage="collect-token",e.value.secsToAllowResend=120,clearInterval(w),w=setInterval(()=>{e.value.secsToAllowResend-=1,e.value.secsToAllowResend<=0&&(clearInterval(w),e.value.secsToAllowResend=0)},1e3)}catch{e.value.invalid=!0,e.value.stage="collect-info"}}},R=a=>{if(!a){e.value.info.email="";return}e.value.info.email=a.toLowerCase()},P=async()=>{if(!!e.value.info.email){e.value.stage="loading";try{const a=await h.verify(e.value.info.email,e.value.token);if(!a)throw new Error("[Passwordless] Login did not return an user");t("done",a),e.value.stage="loading"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},U=()=>{e.value.info.email&&I()},z=()=>{e.value={stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0}};return(a,f)=>(o(),m("div",{class:"form",style:G({backgroundColor:l(_)})},[n("div",Pe,[d(Q,{"hide-text":"",size:"large","image-url":a.logoUrl,"brand-name":a.brandName},null,8,["image-url","brand-name"]),n("h2",null,v(l(r).translate("i18n_auth_validate_your_email_login",a.locale,{brandName:a.brandName})),1)]),L.value?(o(),Z(l(le),{key:0,message:l(V),type:"warning","show-icon":"",style:{width:"100%","text-align":"left"}},null,8,["message"])):H("",!0),e.value.stage==="collect-info"?(o(),Z(l($),{key:1,class:"section"},{default:c(()=>[n("div",Te,v(l(r).translate("i18n_auth_info_description",a.locale)),1),d(l(S),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?l(r).translate("i18n_auth_info_invalid_email",a.locale):""},{default:c(()=>[d(l(T),{type:"email",value:e.value.info.email,placeholder:l(r).translate("i18n_auth_enter_your_email",a.locale),onBlur:i,onKeyup:N(I,["enter"]),onChange:f[0]||(f[0]=C=>R(C.target.value))},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),d(l(A),{type:"primary",onClick:I},{default:c(()=>[g(v(l(r).translate("i18n_auth_info_send_code",a.locale)),1)]),_:1})]),_:1})):e.value.stage==="collect-token"?(o(),Z(l($),{key:2,class:"section"},{default:c(()=>[n("div",Ne,v(l(r).translate("i18n_auth_token_label",a.locale,e.value.info)),1),d(l(S),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?l(r).translate("i18n_auth_token_invalid",a.locale):""},{default:c(()=>[d(l(T),{value:e.value.token,"onUpdate:value":f[1]||(f[1]=C=>e.value.token=C),type:"number",placeholder:l(r).translate("i18n_auth_enter_your_token",a.locale),onKeyup:N(P,["enter"])},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),d(l(A),{type:"primary",onClick:P},{default:c(()=>[g(v(l(r).translate("i18n_auth_token_verify_email",a.locale)),1)]),_:1}),d(l(A),{onClick:z},{default:c(()=>[g(v(l(r).translate("i18n_auth_edit_email",a.locale)),1)]),_:1}),d(l(A),{disabled:!!e.value.secsToAllowResend,onClick:U},{default:c(()=>[g(v(l(r).translate("i18n_auth_token_resend_email",a.locale))+" ("+v(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),n("div",Se,v(l(r).translate("i18n_auth_token_footer_alternative_email",a.locale)),1)]),_:1})):e.value.stage==="loading"?(o(),m("div",$e,[d(ee)])):H("",!0)],4))}});const De=B(Be,[["__scopeId","data-v-702a9552"]]),je=b({__name:"Login",props:{logoUrl:{},brandName:{},locale:{}},emits:["done"],setup(s,{emit:t}){return(u,e)=>l(D).isConfigured()?(o(),Z(He,{key:0,onDone:e[0]||(e[0]=p=>t("done"))})):(o(),Z(De,{key:1,locale:u.locale,"logo-url":u.logoUrl,"brand-name":u.brandName,onDone:e[1]||(e[1]=p=>t("done"))},null,8,["locale","logo-url","brand-name"]))}});export{je as _}; -//# sourceMappingURL=Login.vue_vue_type_script_setup_true_lang.66951764.js.map +import{d as b,B as k,f as y,o,X as m,Z as O,R as H,e8 as K,a as n,W as F,b as d,w as c,u as l,aF as g,em as j,en as W,d6 as X,$ as B,e as q,eV as r,e9 as v,c as Z,Y as G,bH as T,eU as N,cv as S,bP as A,cu as $}from"./vue-router.324eaed2.js";import{O as D,S as Y,A as J}from"./workspaceStore.5977d9e8.js";import{L as Q}from"./Logo.bfb8cf31.js";import{i as x}from"./string.d698465c.js";import{L as ee}from"./CircularLoading.08cb4e45.js";import{t as ae}from"./index.40f13cf1.js";import{A as le}from"./index.0887bacc.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="2bafd0f6-f6e1-4de5-9282-c35bf376b03e",s._sentryDebugIdIdentifier="sentry-dbid-2bafd0f6-f6e1-4de5-9282-c35bf376b03e")}catch{}})();const te=["width","height","fill","transform"],oe={key:0},ne=n("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"},null,-1),se=[ne],ie={key:1},re=n("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),de=n("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"},null,-1),ue=[re,de],ce={key:2},me=n("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"},null,-1),ve=[me],_e={key:3},fe=n("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"},null,-1),pe=[fe],ge={key:4},he=n("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"},null,-1),ye=[he],Ze={key:5},we=n("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"},null,-1),ke=[we],Ae={name:"PhSpinner"},be=b({...Ae,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(s){const t=s,u=k("weight","regular"),e=k("size","1em"),f=k("color","currentColor"),M=k("mirrored",!1),_=y(()=>{var i;return(i=t.weight)!=null?i:u}),h=y(()=>{var i;return(i=t.size)!=null?i:e}),L=y(()=>{var i;return(i=t.color)!=null?i:f}),V=y(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:M?"scale(-1, 1)":void 0);return(i,w)=>(o(),m("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:L.value,transform:V.value},i.$attrs),[O(i.$slots,"default"),_.value==="bold"?(o(),m("g",oe,se)):_.value==="duotone"?(o(),m("g",ie,ue)):_.value==="fill"?(o(),m("g",ce,ve)):_.value==="light"?(o(),m("g",_e,pe)):_.value==="regular"?(o(),m("g",ge,ye)):_.value==="thin"?(o(),m("g",Ze,ke)):H("",!0)],16,te))}}),E=s=>(j("data-v-f7d3f316"),s=s(),W(),s),Me={class:"oidc-container"},Le=E(()=>n("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"3s",from:"0 0 0",to:"360 0 0",repeatCount:"indefinite"},null,-1)),Ve=E(()=>n("p",{class:"centered"},"Please complete the login process in the popup window.",-1)),Ie={class:"centered"},Ce=b({__name:"Oidc",emits:["done"],setup(s,{emit:t}){const u=async()=>{if(!await new D().login())throw new Error("[OIDC] Login did not return an user");t("done")};return F(()=>u()),(e,f)=>(o(),m("div",Me,[d(l(be),{size:60,style:{"margin-bottom":"50px"}},{default:c(()=>[Le]),_:1}),Ve,n("p",Ie,[g(" If it has not appear automatically, please "),d(l(X),{onClick:u},{default:c(()=>[g("click here")]),_:1}),g(". ")])]))}});const He=B(Ce,[["__scopeId","data-v-f7d3f316"]]),Pe={class:"header"},Te={class:"description"},Ne={class:"description"},Se={class:"footer"},$e={key:3,class:"loading"},Be=b({__name:"Passwordless",props:{logoUrl:{},brandName:{},locale:{}},emits:["done"],setup(s,{emit:t}){const u=s,e=q({stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0}),{useToken:f}=ae,{token:M}=f(),_=M.value.colorPrimaryBg,h=new J,L=y(()=>{var a;return(a=Y.instance)==null?void 0:a.isLocal}),V=r.translate("i18n_local_auth_info_description",u.locale);function i(){const a=e.value.info.email,p=x(a);return e.value.invalid=!p,p}let w;const I=async()=>{if(!!i()){e.value.stage="loading";try{await h.authenticate(e.value.info.email),e.value.stage="collect-token",e.value.secsToAllowResend=120,clearInterval(w),w=setInterval(()=>{e.value.secsToAllowResend-=1,e.value.secsToAllowResend<=0&&(clearInterval(w),e.value.secsToAllowResend=0)},1e3)}catch{e.value.invalid=!0,e.value.stage="collect-info"}}},R=a=>{if(!a){e.value.info.email="";return}e.value.info.email=a.toLowerCase()},P=async()=>{if(!!e.value.info.email){e.value.stage="loading";try{const a=await h.verify(e.value.info.email,e.value.token);if(!a)throw new Error("[Passwordless] Login did not return an user");t("done",a),e.value.stage="loading"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},U=()=>{e.value.info.email&&I()},z=()=>{e.value={stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0}};return(a,p)=>(o(),m("div",{class:"form",style:G({backgroundColor:l(_)})},[n("div",Pe,[d(Q,{"hide-text":"",size:"large","image-url":a.logoUrl,"brand-name":a.brandName},null,8,["image-url","brand-name"]),n("h2",null,v(l(r).translate("i18n_auth_validate_your_email_login",a.locale,{brandName:a.brandName})),1)]),L.value?(o(),Z(l(le),{key:0,message:l(V),type:"warning","show-icon":"",style:{width:"100%","text-align":"left"}},null,8,["message"])):H("",!0),e.value.stage==="collect-info"?(o(),Z(l($),{key:1,class:"section"},{default:c(()=>[n("div",Te,v(l(r).translate("i18n_auth_info_description",a.locale)),1),d(l(S),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?l(r).translate("i18n_auth_info_invalid_email",a.locale):""},{default:c(()=>[d(l(T),{type:"email",value:e.value.info.email,placeholder:l(r).translate("i18n_auth_enter_your_email",a.locale),onBlur:i,onKeyup:N(I,["enter"]),onChange:p[0]||(p[0]=C=>R(C.target.value))},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),d(l(A),{type:"primary",onClick:I},{default:c(()=>[g(v(l(r).translate("i18n_auth_info_send_code",a.locale)),1)]),_:1})]),_:1})):e.value.stage==="collect-token"?(o(),Z(l($),{key:2,class:"section"},{default:c(()=>[n("div",Ne,v(l(r).translate("i18n_auth_token_label",a.locale,e.value.info)),1),d(l(S),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?l(r).translate("i18n_auth_token_invalid",a.locale):""},{default:c(()=>[d(l(T),{value:e.value.token,"onUpdate:value":p[1]||(p[1]=C=>e.value.token=C),type:"number",placeholder:l(r).translate("i18n_auth_enter_your_token",a.locale),onKeyup:N(P,["enter"])},null,8,["value","placeholder","onKeyup"])]),_:1},8,["validate-status","help"]),d(l(A),{type:"primary",onClick:P},{default:c(()=>[g(v(l(r).translate("i18n_auth_token_verify_email",a.locale)),1)]),_:1}),d(l(A),{onClick:z},{default:c(()=>[g(v(l(r).translate("i18n_auth_edit_email",a.locale)),1)]),_:1}),d(l(A),{disabled:!!e.value.secsToAllowResend,onClick:U},{default:c(()=>[g(v(l(r).translate("i18n_auth_token_resend_email",a.locale))+" ("+v(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),n("div",Se,v(l(r).translate("i18n_auth_token_footer_alternative_email",a.locale)),1)]),_:1})):e.value.stage==="loading"?(o(),m("div",$e,[d(ee)])):H("",!0)],4))}});const De=B(Be,[["__scopeId","data-v-702a9552"]]),je=b({__name:"Login",props:{logoUrl:{},brandName:{},locale:{}},emits:["done"],setup(s,{emit:t}){return(u,e)=>l(D).isConfigured()?(o(),Z(He,{key:0,onDone:e[0]||(e[0]=f=>t("done"))})):(o(),Z(De,{key:1,locale:u.locale,"logo-url":u.logoUrl,"brand-name":u.brandName,onDone:e[1]||(e[1]=f=>t("done"))},null,8,["locale","logo-url","brand-name"]))}});export{je as _}; +//# sourceMappingURL=Login.vue_vue_type_script_setup_true_lang.88412b2f.js.map diff --git a/abstra_statics/dist/assets/Logo.389f375b.js b/abstra_statics/dist/assets/Logo.389f375b.js deleted file mode 100644 index 2355bb9522..0000000000 --- a/abstra_statics/dist/assets/Logo.389f375b.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as i,eh as l,f as d,o as t,X as a,R as r,e9 as _,$ as g}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6ef989e1-d428-4a1c-979c-a0b1c86935e0",e._sentryDebugIdIdentifier="sentry-dbid-6ef989e1-d428-4a1c-979c-a0b1c86935e0")}catch{}})();const p={class:"logo"},u=["src","alt"],f={key:1},m=i({__name:"Logo",props:{imageUrl:{},brandName:{},hideText:{type:Boolean},size:{}},setup(e){const o=e;l(s=>({"4352941e":n.value}));const n=d(()=>o.size==="large"?"80px":"50px"),c=d(()=>`${o.brandName} Logo`);return(s,y)=>(t(),a("div",p,[s.imageUrl?(t(),a("img",{key:0,class:"logo-img",src:s.imageUrl,alt:c.value},null,8,u)):r("",!0),s.hideText?r("",!0):(t(),a("span",f,_(s.brandName),1))]))}});const h=g(m,[["__scopeId","data-v-16688d14"]]);export{h as L}; -//# sourceMappingURL=Logo.389f375b.js.map diff --git a/abstra_statics/dist/assets/Logo.bfb8cf31.js b/abstra_statics/dist/assets/Logo.bfb8cf31.js new file mode 100644 index 0000000000..40ffe1c488 --- /dev/null +++ b/abstra_statics/dist/assets/Logo.bfb8cf31.js @@ -0,0 +1,2 @@ +import{d as l,eh as c,f as d,o as t,X as a,R as r,e9 as _,$ as g}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="24083c80-3f77-47f9-b9b2-626ab35d6912",e._sentryDebugIdIdentifier="sentry-dbid-24083c80-3f77-47f9-b9b2-626ab35d6912")}catch{}})();const p={class:"logo"},u=["src","alt"],f={key:1},m=l({__name:"Logo",props:{imageUrl:{},brandName:{},hideText:{type:Boolean},size:{}},setup(e){const o=e;c(s=>({"4352941e":n.value}));const n=d(()=>o.size==="large"?"80px":"50px"),i=d(()=>`${o.brandName} Logo`);return(s,b)=>(t(),a("div",p,[s.imageUrl?(t(),a("img",{key:0,class:"logo-img",src:s.imageUrl,alt:i.value},null,8,u)):r("",!0),s.hideText?r("",!0):(t(),a("span",f,_(s.brandName),1))]))}});const h=g(m,[["__scopeId","data-v-16688d14"]]);export{h as L}; +//# sourceMappingURL=Logo.bfb8cf31.js.map diff --git a/abstra_statics/dist/assets/Logs.20ee4b75.js b/abstra_statics/dist/assets/Logs.3d0e63a6.js similarity index 91% rename from abstra_statics/dist/assets/Logs.20ee4b75.js rename to abstra_statics/dist/assets/Logs.3d0e63a6.js index b912f199f8..882db2cce1 100644 --- a/abstra_statics/dist/assets/Logs.20ee4b75.js +++ b/abstra_statics/dist/assets/Logs.3d0e63a6.js @@ -1,2 +1,2 @@ -var U=Object.defineProperty;var q=(u,e,r)=>e in u?U(u,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[e]=r;var v=(u,e,r)=>(q(u,typeof e!="symbol"?e+"":e,r),r);import{D as N,g as A,ej as V,d as C,o as d,X as f,b as a,w as i,aF as p,u as t,d8 as S,a as B,aR as P,eb as j,Y as Q,e9 as g,c as m,c_ as H,$ as M,ea as X,e$ as z,d9 as Y,cv as I,bH as G,aA as k,cu as J,bx as L,d1 as w,bM as K,ct as W}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{a as Z,b as tt,g as et}from"./datetime.2a4e2aaa.js";import{e as at,E as st,_ as it}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js";import{c as $}from"./string.44188c83.js";import"./tables.8d6766f6.js";import{t as nt}from"./ant-design.51753590.js";import{A as O}from"./index.241ee38a.js";import{R as ot}from"./dayjs.1e9ba65b.js";import{a as T,A as D}from"./router.cbdfe37b.js";import{A as rt,C as lt}from"./CollapsePanel.56bdec23.js";import"./popupNotifcation.7fc1aee0.js";import"./LoadingOutlined.64419cb9.js";import"./record.075b7d45.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[e]="0150f069-e375-4bdf-aedf-8d3ebe34772c",u._sentryDebugIdIdentifier="sentry-dbid-0150f069-e375-4bdf-aedf-8d3ebe34772c")}catch{}})();class dt{constructor(e,r,o,c,y,h){v(this,"state");v(this,"handleFilterChange",()=>{this.state.currentPage.waitingDebounce=!0,this.state.pagination.currentIndex=1,this.debouncedPageRefetch()});v(this,"debouncedPageRefetch",V.exports.debounce(async()=>{await this.fetchPage(),this.state.currentPage.waitingDebounce=!1},500));v(this,"fetchEmptyLogs",()=>{this.state.currentPage.openedExecutionIds.forEach(async e=>{this.state.currentPage.executionData[e]||await this.fetchExecutionDetails(e)})});this.executionRepository=e,this.buildRepository=r,this.projectId=o,this.state=N({currentPage:{openedExecutionIds:h?[h]:[],loadingExecutions:!1,waitingDebounce:!1,executions:[],executionData:{}},pagination:{currentIndex:1,pageSize:10,totalCount:0,...y},filters:{dateRange:void 0,buildId:void 0,stageId:void 0,status:void 0,search:void 0,...c},filterOptions:{builds:[],stages:[],statuses:at.map(R=>({label:$(R),value:R}))}}),A(()=>this.state.filters.buildId,()=>{this.fetchStageOptions()}),A(this.state.filters,()=>{this.state.currentPage.openedExecutionIds=[],this.handleFilterChange()}),A(this.state.pagination,()=>{this.state.currentPage.openedExecutionIds=[],this.fetchPage()})}async init(){await Promise.all([this.fetchPage(),this.fetchOptions()]),this.fetchEmptyLogs(),this.setupRefetchInterval()}async fetchPage(){var o,c,y,h;this.state.currentPage.loadingExecutions=!0;const{executions:e,totalCount:r}=await this.executionRepository.list({projectId:this.projectId,buildId:this.state.filters.buildId,status:this.state.filters.status,limit:this.state.pagination.pageSize,offset:(this.state.pagination.currentIndex-1)*this.state.pagination.pageSize,stageId:this.state.filters.stageId,startDate:(c=(o=this.state.filters.dateRange)==null?void 0:o[0])==null?void 0:c.toISOString(),endDate:(h=(y=this.state.filters.dateRange)==null?void 0:y[1])==null?void 0:h.toISOString(),search:this.state.filters.search});this.state.currentPage.loadingExecutions=!1,this.state.currentPage.executions=e,this.state.pagination.totalCount=r}async fetchBuildOptions(){const r=(await this.buildRepository.list(this.projectId)).map(o=>({label:`[${o.id.slice(0,8)}] ${o.createdAt.toLocaleString()} ${o.latest?"(Latest)":""}`,value:o.id}));this.state.filterOptions.builds=r}async fetchStageOptions(){var o;const e=await Z.get((o=this.state.filters.buildId)!=null?o:this.state.filterOptions.builds[0].value),r=e==null?void 0:e.runtimes.map(c=>({label:c.title,value:c.id}));this.state.filterOptions.stages=r!=null?r:[]}async fetchOptions(){await this.fetchBuildOptions(),await this.fetchStageOptions()}async fetchExecutionDetails(e){const[r,o]=await Promise.all([this.executionRepository.fetchLogs(this.projectId,e),this.executionRepository.fetchThreadData(this.projectId,e)]);this.state.currentPage.executionData[e]={logs:r,threadData:o}}async setupRefetchInterval(){setTimeout(async()=>{await Promise.all(this.state.currentPage.openedExecutionIds.map(e=>this.fetchExecutionDetails(e))),this.setupRefetchInterval()},1e5)}}const ut={style:{"background-color":"#555","border-radius":"5px",padding:"10px",color:"#fff","font-family":"monospace","max-height":"600px",overflow:"auto"}},ct=C({__name:"LogContainer",props:{logs:{}},setup(u){return(e,r)=>(d(),f(P,null,[a(t(S),{strong:""},{default:i(()=>[p("Terminal Output")]),_:1}),B("div",ut,[(d(!0),f(P,null,j(e.logs.entries,o=>(d(),f("p",{key:o.createdAt,style:Q({margin:0,"white-space":"pre",color:o.event==="stderr"||o.event==="unhandled-exception"?"rgb(255, 133, 133)":"inherit"})},g(o.payload.text.trim()),5))),128))])],64))}}),pt=C({__name:"ThreadData",props:{data:{}},setup(u){return(e,r)=>(d(),f(P,null,[a(t(S),{strong:""},{default:i(()=>[p("Thread Data")]),_:1}),a(t(O),{direction:"vertical",style:{"border-radius":"5px",padding:"10px",color:"#fff",width:"100%","font-family":"monospace","max-height":"600px",overflow:"auto",border:"1px solid #aaa"}},{default:i(()=>[Object.keys(e.data).length?(d(!0),f(P,{key:1},j(Object.entries(e.data),([o,c])=>(d(),f("div",{key:o,class:"tree"},[a(t(S),{strong:""},{default:i(()=>[p(g(o),1)]),_:2},1024),a(t(H),{"tree-data":t(nt)(c),selectable:!1},null,8,["tree-data"])]))),128)):(d(),m(t(S),{key:0,type:"secondary"},{default:i(()=>[p("Empty")]),_:1}))]),_:1})],64))}});const ft=M(pt,[["__scopeId","data-v-b70415e5"]]),gt={style:{width:"100px",height:"100%",display:"flex","align-items":"center","justify-content":"right",gap:"10px"}},ht={key:0,style:{display:"flex",width:"100%","justify-content":"center"}},yt={key:1,style:{display:"flex","flex-direction":"column",gap:"5px"}},Ct=C({__name:"Logs",setup(u){const e=new st,r=new tt,o=X(),c=o.params.projectId,y=o.query.executionId;function h(){const{stageId:b,buildId:l,status:s,startDate:x,endDate:_}=o.query;return x&&_?{stageId:b,buildId:l,status:s,dateRange:[z(x),z(_)]}:{stageId:b,buildId:l,status:s}}function R(){const{page:b,pageSize:l}=o.query;return{page:b?parseInt(b,10):1,pageSize:l?parseInt(l,10):10}}const E=new dt(e,r,c,h(),R(),y),{state:n}=E;return E.init(),(b,l)=>(d(),m(t(O),{direction:"vertical",style:{width:"100%",padding:"0px 0px 20px 0px"}},{default:i(()=>[a(t(Y),null,{default:i(()=>[p("Logs")]),_:1}),a(t(J),{layout:"vertical"},{default:i(()=>[a(t(T),{gutter:10},{default:i(()=>[a(t(D),{span:12},{default:i(()=>[a(t(I),{label:"Run ID"},{default:i(()=>[a(t(G),{value:t(n).filters.search,"onUpdate:value":l[0]||(l[0]=s=>t(n).filters.search=s),placeholder:"Search by Run ID",style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),a(t(D),{span:12},{default:i(()=>[a(t(I),{label:"Script"},{default:i(()=>[a(t(k),{value:t(n).filters.stageId,"onUpdate:value":l[1]||(l[1]=s=>t(n).filters.stageId=s),options:t(n).filterOptions.stages,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1})]),_:1}),a(t(T),{gutter:10},{default:i(()=>[a(t(D),{span:8},{default:i(()=>[a(t(I),{label:"Date"},{default:i(()=>[a(t(ot),{value:t(n).filters.dateRange,"onUpdate:value":l[2]||(l[2]=s=>t(n).filters.dateRange=s),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),a(t(D),{span:10},{default:i(()=>[a(t(I),{label:"Build"},{default:i(()=>[a(t(k),{value:t(n).filters.buildId,"onUpdate:value":l[3]||(l[3]=s=>t(n).filters.buildId=s),options:t(n).filterOptions.builds,"option-label":"label","option-value":"value",filter:!1,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1}),a(t(D),{span:6},{default:i(()=>[a(t(I),{label:"Status"},{default:i(()=>[a(t(k),{value:t(n).filters.status,"onUpdate:value":l[4]||(l[4]=s=>t(n).filters.status=s),options:t(n).filterOptions.statuses,"option-label":"label","option-value":"value",filter:!1,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1})]),_:1})]),_:1}),t(n).currentPage.loadingExecutions||t(n).currentPage.waitingDebounce?(d(),m(t(L),{key:0,style:{width:"100%"}})):t(n).currentPage.executions&&t(n).currentPage.executions.length>0?(d(),m(t(O),{key:1,direction:"vertical",style:{width:"100%"}},{default:i(()=>[a(t(lt),{"active-key":t(n).currentPage.openedExecutionIds,"onUpdate:activeKey":l[5]||(l[5]=s=>t(n).currentPage.openedExecutionIds=s),bordered:!1,style:{"background-color":"transparent"},onChange:t(E).fetchEmptyLogs},{default:i(()=>[(d(!0),f(P,null,j(t(n).currentPage.executions,s=>(d(),m(t(rt),{key:s.id,style:{"border-radius":"4px","margin-bottom":"10px",border:"0",overflow:"hidden","background-color":"#fff"}},{header:i(()=>[a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(g(t(et)(s.createdAt)),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(" Run ID: "+g(s.id.slice(0,8)),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(" Build: "+g(s.buildId.slice(0,8)),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(" Duration: "+g(s.duration_seconds),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>{var x,_;return[p(g((_=(x=t(n).filterOptions.stages.find(F=>F.value===s.stageId))==null?void 0:x.label)!=null?_:s.stageId.slice(0,8)),1)]}),_:2},1024)]),extra:i(()=>[B("div",gt,[p(g(t($)(s.status))+" ",1),a(it,{status:s.status},null,8,["status"])])]),default:i(()=>[t(n).currentPage.executionData[s.id]?(d(),f("div",yt,[a(ft,{data:t(n).currentPage.executionData[s.id].threadData},null,8,["data"]),a(ct,{logs:t(n).currentPage.executionData[s.id].logs},null,8,["logs"])])):(d(),f("div",ht,[a(t(L))]))]),_:2},1024))),128))]),_:1},8,["active-key","onChange"]),a(t(K),{current:t(n).pagination.currentIndex,"onUpdate:current":l[6]||(l[6]=s=>t(n).pagination.currentIndex=s),"page-size":t(n).pagination.pageSize,"onUpdate:pageSize":l[7]||(l[7]=s=>t(n).pagination.pageSize=s),total:t(n).pagination.totalCount,"show-total":s=>`Found ${s} runs`,"show-size-changer":""},null,8,["current","page-size","total","show-total"])]),_:1})):(d(),m(t(W),{key:2}))]),_:1}))}});export{Ct as default}; -//# sourceMappingURL=Logs.20ee4b75.js.map +var U=Object.defineProperty;var q=(u,e,r)=>e in u?U(u,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[e]=r;var v=(u,e,r)=>(q(u,typeof e!="symbol"?e+"":e,r),r);import{D as N,g as A,ej as V,d as C,o as d,X as f,b as a,w as i,aF as p,u as t,d8 as S,a as B,aR as P,eb as j,Y as Q,e9 as g,c as m,c_ as H,$ as M,ea as X,e$ as z,d9 as Y,cv as I,bH as G,aA as k,cu as J,bx as L,d1 as w,bM as K,ct as W}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{a as Z,b as tt,g as et}from"./datetime.0827e1b6.js";import{e as at,E as st,_ as it}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.2f7085a2.js";import{c as $}from"./string.d698465c.js";import"./tables.842b993f.js";import{t as nt}from"./ant-design.48401d91.js";import{A as O}from"./index.7d758831.js";import{R as ot}from"./dayjs.31352634.js";import{a as T,A as D}from"./router.0c18ec5d.js";import{A as rt,C as lt}from"./CollapsePanel.ce95f921.js";import"./popupNotifcation.5a82bc93.js";import"./LoadingOutlined.09a06334.js";import"./record.cff1707c.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[e]="c34dcf18-ab8b-49dd-9599-53d6f37d8573",u._sentryDebugIdIdentifier="sentry-dbid-c34dcf18-ab8b-49dd-9599-53d6f37d8573")}catch{}})();class dt{constructor(e,r,o,c,y,h){v(this,"state");v(this,"handleFilterChange",()=>{this.state.currentPage.waitingDebounce=!0,this.state.pagination.currentIndex=1,this.debouncedPageRefetch()});v(this,"debouncedPageRefetch",V.exports.debounce(async()=>{await this.fetchPage(),this.state.currentPage.waitingDebounce=!1},500));v(this,"fetchEmptyLogs",()=>{this.state.currentPage.openedExecutionIds.forEach(async e=>{this.state.currentPage.executionData[e]||await this.fetchExecutionDetails(e)})});this.executionRepository=e,this.buildRepository=r,this.projectId=o,this.state=N({currentPage:{openedExecutionIds:h?[h]:[],loadingExecutions:!1,waitingDebounce:!1,executions:[],executionData:{}},pagination:{currentIndex:1,pageSize:10,totalCount:0,...y},filters:{dateRange:void 0,buildId:void 0,stageId:void 0,status:void 0,search:void 0,...c},filterOptions:{builds:[],stages:[],statuses:at.map(R=>({label:$(R),value:R}))}}),A(()=>this.state.filters.buildId,()=>{this.fetchStageOptions()}),A(this.state.filters,()=>{this.state.currentPage.openedExecutionIds=[],this.handleFilterChange()}),A(this.state.pagination,()=>{this.state.currentPage.openedExecutionIds=[],this.fetchPage()})}async init(){await Promise.all([this.fetchPage(),this.fetchOptions()]),this.fetchEmptyLogs(),this.setupRefetchInterval()}async fetchPage(){var o,c,y,h;this.state.currentPage.loadingExecutions=!0;const{executions:e,totalCount:r}=await this.executionRepository.list({projectId:this.projectId,buildId:this.state.filters.buildId,status:this.state.filters.status,limit:this.state.pagination.pageSize,offset:(this.state.pagination.currentIndex-1)*this.state.pagination.pageSize,stageId:this.state.filters.stageId,startDate:(c=(o=this.state.filters.dateRange)==null?void 0:o[0])==null?void 0:c.toISOString(),endDate:(h=(y=this.state.filters.dateRange)==null?void 0:y[1])==null?void 0:h.toISOString(),search:this.state.filters.search});this.state.currentPage.loadingExecutions=!1,this.state.currentPage.executions=e,this.state.pagination.totalCount=r}async fetchBuildOptions(){const r=(await this.buildRepository.list(this.projectId)).map(o=>({label:`[${o.id.slice(0,8)}] ${o.createdAt.toLocaleString()} ${o.latest?"(Latest)":""}`,value:o.id}));this.state.filterOptions.builds=r}async fetchStageOptions(){var o;const e=await Z.get((o=this.state.filters.buildId)!=null?o:this.state.filterOptions.builds[0].value),r=e==null?void 0:e.runtimes.map(c=>({label:c.title,value:c.id}));this.state.filterOptions.stages=r!=null?r:[]}async fetchOptions(){await this.fetchBuildOptions(),await this.fetchStageOptions()}async fetchExecutionDetails(e){const[r,o]=await Promise.all([this.executionRepository.fetchLogs(this.projectId,e),this.executionRepository.fetchThreadData(this.projectId,e)]);this.state.currentPage.executionData[e]={logs:r,threadData:o}}async setupRefetchInterval(){setTimeout(async()=>{await Promise.all(this.state.currentPage.openedExecutionIds.map(e=>this.fetchExecutionDetails(e))),this.setupRefetchInterval()},1e5)}}const ut={style:{"background-color":"#555","border-radius":"5px",padding:"10px",color:"#fff","font-family":"monospace","max-height":"600px",overflow:"auto"}},ct=C({__name:"LogContainer",props:{logs:{}},setup(u){return(e,r)=>(d(),f(P,null,[a(t(S),{strong:""},{default:i(()=>[p("Terminal Output")]),_:1}),B("div",ut,[(d(!0),f(P,null,j(e.logs.entries,o=>(d(),f("p",{key:o.createdAt,style:Q({margin:0,"white-space":"pre",color:o.event==="stderr"||o.event==="unhandled-exception"?"rgb(255, 133, 133)":"inherit"})},g(o.payload.text.trim()),5))),128))])],64))}}),pt=C({__name:"ThreadData",props:{data:{}},setup(u){return(e,r)=>(d(),f(P,null,[a(t(S),{strong:""},{default:i(()=>[p("Thread Data")]),_:1}),a(t(O),{direction:"vertical",style:{"border-radius":"5px",padding:"10px",color:"#fff",width:"100%","font-family":"monospace","max-height":"600px",overflow:"auto",border:"1px solid #aaa"}},{default:i(()=>[Object.keys(e.data).length?(d(!0),f(P,{key:1},j(Object.entries(e.data),([o,c])=>(d(),f("div",{key:o,class:"tree"},[a(t(S),{strong:""},{default:i(()=>[p(g(o),1)]),_:2},1024),a(t(H),{"tree-data":t(nt)(c),selectable:!1},null,8,["tree-data"])]))),128)):(d(),m(t(S),{key:0,type:"secondary"},{default:i(()=>[p("Empty")]),_:1}))]),_:1})],64))}});const ft=M(pt,[["__scopeId","data-v-b70415e5"]]),gt={style:{width:"100px",height:"100%",display:"flex","align-items":"center","justify-content":"right",gap:"10px"}},ht={key:0,style:{display:"flex",width:"100%","justify-content":"center"}},yt={key:1,style:{display:"flex","flex-direction":"column",gap:"5px"}},Ct=C({__name:"Logs",setup(u){const e=new st,r=new tt,o=X(),c=o.params.projectId,y=o.query.executionId;function h(){const{stageId:b,buildId:l,status:s,startDate:x,endDate:_}=o.query;return x&&_?{stageId:b,buildId:l,status:s,dateRange:[z(x),z(_)]}:{stageId:b,buildId:l,status:s}}function R(){const{page:b,pageSize:l}=o.query;return{page:b?parseInt(b,10):1,pageSize:l?parseInt(l,10):10}}const E=new dt(e,r,c,h(),R(),y),{state:n}=E;return E.init(),(b,l)=>(d(),m(t(O),{direction:"vertical",style:{width:"100%",padding:"0px 0px 20px 0px"}},{default:i(()=>[a(t(Y),null,{default:i(()=>[p("Logs")]),_:1}),a(t(J),{layout:"vertical"},{default:i(()=>[a(t(T),{gutter:10},{default:i(()=>[a(t(D),{span:12},{default:i(()=>[a(t(I),{label:"Run ID"},{default:i(()=>[a(t(G),{value:t(n).filters.search,"onUpdate:value":l[0]||(l[0]=s=>t(n).filters.search=s),placeholder:"Search by Run ID",style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),a(t(D),{span:12},{default:i(()=>[a(t(I),{label:"Script"},{default:i(()=>[a(t(k),{value:t(n).filters.stageId,"onUpdate:value":l[1]||(l[1]=s=>t(n).filters.stageId=s),options:t(n).filterOptions.stages,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1})]),_:1}),a(t(T),{gutter:10},{default:i(()=>[a(t(D),{span:8},{default:i(()=>[a(t(I),{label:"Date"},{default:i(()=>[a(t(ot),{value:t(n).filters.dateRange,"onUpdate:value":l[2]||(l[2]=s=>t(n).filters.dateRange=s),style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),a(t(D),{span:10},{default:i(()=>[a(t(I),{label:"Build"},{default:i(()=>[a(t(k),{value:t(n).filters.buildId,"onUpdate:value":l[3]||(l[3]=s=>t(n).filters.buildId=s),options:t(n).filterOptions.builds,"option-label":"label","option-value":"value",filter:!1,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1}),a(t(D),{span:6},{default:i(()=>[a(t(I),{label:"Status"},{default:i(()=>[a(t(k),{value:t(n).filters.status,"onUpdate:value":l[4]||(l[4]=s=>t(n).filters.status=s),options:t(n).filterOptions.statuses,"option-label":"label","option-value":"value",filter:!1,placeholder:"All","allow-clear":""},null,8,["value","options"])]),_:1})]),_:1})]),_:1})]),_:1}),t(n).currentPage.loadingExecutions||t(n).currentPage.waitingDebounce?(d(),m(t(L),{key:0,style:{width:"100%"}})):t(n).currentPage.executions&&t(n).currentPage.executions.length>0?(d(),m(t(O),{key:1,direction:"vertical",style:{width:"100%"}},{default:i(()=>[a(t(lt),{"active-key":t(n).currentPage.openedExecutionIds,"onUpdate:activeKey":l[5]||(l[5]=s=>t(n).currentPage.openedExecutionIds=s),bordered:!1,style:{"background-color":"transparent"},onChange:t(E).fetchEmptyLogs},{default:i(()=>[(d(!0),f(P,null,j(t(n).currentPage.executions,s=>(d(),m(t(rt),{key:s.id,style:{"border-radius":"4px","margin-bottom":"10px",border:"0",overflow:"hidden","background-color":"#fff"}},{header:i(()=>[a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(g(t(et)(s.createdAt)),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(" Run ID: "+g(s.id.slice(0,8)),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(" Build: "+g(s.buildId.slice(0,8)),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>[p(" Duration: "+g(s.duration_seconds),1)]),_:2},1024),a(t(w),{color:"default",style:{"margin-right":"10px"},bordered:!1},{default:i(()=>{var x,_;return[p(g((_=(x=t(n).filterOptions.stages.find(F=>F.value===s.stageId))==null?void 0:x.label)!=null?_:s.stageId.slice(0,8)),1)]}),_:2},1024)]),extra:i(()=>[B("div",gt,[p(g(t($)(s.status))+" ",1),a(it,{status:s.status},null,8,["status"])])]),default:i(()=>[t(n).currentPage.executionData[s.id]?(d(),f("div",yt,[a(ft,{data:t(n).currentPage.executionData[s.id].threadData},null,8,["data"]),a(ct,{logs:t(n).currentPage.executionData[s.id].logs},null,8,["logs"])])):(d(),f("div",ht,[a(t(L))]))]),_:2},1024))),128))]),_:1},8,["active-key","onChange"]),a(t(K),{current:t(n).pagination.currentIndex,"onUpdate:current":l[6]||(l[6]=s=>t(n).pagination.currentIndex=s),"page-size":t(n).pagination.pageSize,"onUpdate:pageSize":l[7]||(l[7]=s=>t(n).pagination.pageSize=s),total:t(n).pagination.totalCount,"show-total":s=>`Found ${s} runs`,"show-size-changer":""},null,8,["current","page-size","total","show-total"])]),_:1})):(d(),m(t(W),{key:2}))]),_:1}))}});export{Ct as default}; +//# sourceMappingURL=Logs.3d0e63a6.js.map diff --git a/abstra_statics/dist/assets/Main.64f62495.js b/abstra_statics/dist/assets/Main.64f62495.js deleted file mode 100644 index fad54e2846..0000000000 --- a/abstra_statics/dist/assets/Main.64f62495.js +++ /dev/null @@ -1,2 +0,0 @@ -import{P as m}from"./PlayerNavbar.c92a19bc.js";import{u as f,i as g}from"./workspaceStore.be837912.js";import{d as h,eo as b,ea as c,e as y,f as v,r as k,o as i,X as w,u as n,c as L,R as I,a as N,b as C,$ as R}from"./vue-router.33f35a18.js";import"./metadata.bccf44f5.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./LoadingOutlined.64419cb9.js";import"./PhSignOut.vue.b806976f.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9a847b5f-4550-48c4-9db1-ab672f2bf381",t._sentryDebugIdIdentifier="sentry-dbid-9a847b5f-4550-48c4-9db1-ab672f2bf381")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=b(),o=f(),u=c().path,a=y(null),p=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},d=()=>{e.push({name:"playerLogin"})},l=v(()=>!!c().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=k("RouterView");return i(),w("div",V,[n(o).state.workspace?(i(),L(m,{key:0,"current-path":n(u),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:p,onLoginClick:d},null,8,["current-path","hide-login","runner-data","loading"])):I("",!0),N("section",x,[C(_)])])}}});const H=R(B,[["__scopeId","data-v-09fccc95"]]);export{H as default}; -//# sourceMappingURL=Main.64f62495.js.map diff --git a/abstra_statics/dist/assets/Main.c78e8022.js b/abstra_statics/dist/assets/Main.c78e8022.js new file mode 100644 index 0000000000..e82077c70a --- /dev/null +++ b/abstra_statics/dist/assets/Main.c78e8022.js @@ -0,0 +1,2 @@ +import{P as m}from"./PlayerNavbar.0bdb1677.js";import{u as f,i as g}from"./workspaceStore.5977d9e8.js";import{d as h,eo as y,ea as c,e as v,f as b,r as k,o as i,X as w,u as n,c as L,R as I,a as N,b as C,$ as R}from"./vue-router.324eaed2.js";import"./metadata.4c5c5434.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./LoadingOutlined.09a06334.js";import"./PhSignOut.vue.d965d159.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c6be9f58-167c-4f94-8891-c47070228c5a",t._sentryDebugIdIdentifier="sentry-dbid-c6be9f58-167c-4f94-8891-c47070228c5a")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=f(),u=c().path,a=v(null),p=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},d=()=>{e.push({name:"playerLogin"})},l=b(()=>!!c().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=k("RouterView");return i(),w("div",V,[n(o).state.workspace?(i(),L(m,{key:0,"current-path":n(u),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:p,onLoginClick:d},null,8,["current-path","hide-login","runner-data","loading"])):I("",!0),N("section",x,[C(_)])])}}});const H=R(B,[["__scopeId","data-v-09fccc95"]]);export{H as default}; +//# sourceMappingURL=Main.c78e8022.js.map diff --git a/abstra_statics/dist/assets/Navbar.ccb4b57b.js b/abstra_statics/dist/assets/Navbar.b51dae48.js similarity index 60% rename from abstra_statics/dist/assets/Navbar.ccb4b57b.js rename to abstra_statics/dist/assets/Navbar.b51dae48.js index ca1c13de07..4b249a5a6a 100644 --- a/abstra_statics/dist/assets/Navbar.ccb4b57b.js +++ b/abstra_statics/dist/assets/Navbar.b51dae48.js @@ -1,2 +1,2 @@ -import{d as h,eo as A,r as B,u as e,o as s,c as i,bx as C,X as m,b as a,w as t,aF as r,bP as d,a as f,d8 as w,e9 as _,cK as N,ej as I,eb as L,f0 as R,aR as g,R as D,Z as z,$ as S}from"./vue-router.33f35a18.js";import{a as $}from"./asyncComputed.c677c545.js";import{G as V}from"./PhChats.vue.b6dd7b5a.js";import{F}from"./PhSignOut.vue.b806976f.js";import{C as P}from"./router.cbdfe37b.js";import{a as k}from"./gateway.a5388860.js";import{A as T}from"./index.241ee38a.js";import{A as j}from"./Avatar.dcb46dd7.js";import{B as E,A as q,b as G}from"./index.6db53852.js";import{B as H}from"./BookOutlined.767e0e7a.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="22bd3161-aad3-4320-a223-984ecc93d775",n._sentryDebugIdIdentifier="sentry-dbid-22bd3161-aad3-4320-a223-984ecc93d775")}catch{}})();const K={key:1,style:{display:"flex","align-items":"center",gap:"16px"}},M={style:{display:"flex","flex-direction":"column",gap:"10px"}},O={style:{display:"flex",gap:"5px"}},U=h({__name:"LoginBlock",setup(n){function o(b){const y=b.split("@")[0];return I.exports.kebabCase(y).toUpperCase().split("-").slice(0,2).map(p=>p[0]).join("")}const c=A(),{result:l,loading:u,refetch:x}=$(async()=>k.getAuthor());function v(){k.removeAuthor(),P.shutdown(),x(),c.push({name:"login"})}return(b,y)=>{const p=B("RouterLink");return e(u)?(s(),i(e(C),{key:0})):e(l)?(s(),m("div",K,[a(e(d),{class:"intercom-launcher",target:"_blank",type:"link",size:"small",style:{color:"#d14056",display:"flex","align-items":"center",gap:"6px"}},{icon:t(()=>[a(e(V),{size:18})]),default:t(()=>[r(" Support ")]),_:1}),a(e(N),{placement:"bottomRight"},{content:t(()=>[f("div",M,[a(e(w),{size:"small",type:"secondary"},{default:t(()=>[r(_(e(l).claims.email),1)]),_:1}),a(e(d),{type:"text",onClick:v},{default:t(()=>[f("div",O,[a(e(F),{size:"20"}),r(" Logout ")])]),_:1})])]),default:t(()=>[a(e(T),{align:"center",style:{cursor:"pointer"}},{default:t(()=>[a(e(j),{shape:"square"},{default:t(()=>[r(_(o(e(l).claims.email)),1)]),_:1})]),_:1})]),_:1})])):(s(),i(e(d),{key:2},{default:t(()=>[a(p,{to:"/login"},{default:t(()=>[r("Login")]),_:1})]),_:1}))}}}),X={class:"extra"},Z=h({__name:"Navbar",props:{breadcrumb:{}},setup(n){return(o,c)=>(s(),i(e(G),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{subTitle:t(()=>[o.breadcrumb?(s(),i(e(E),{key:0},{default:t(()=>[(s(!0),m(g,null,L(o.breadcrumb,(l,u)=>(s(),i(e(q),{key:u},{default:t(()=>[a(e(R),{to:l.path},{default:t(()=>[r(_(l.label),1)]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1})):D("",!0)]),extra:t(()=>[f("div",X,[a(e(d),{class:"docs-button",href:"https://docs.abstra.io/",target:"_blank",type:"link",style:{color:"#d14056"},size:"small"},{icon:t(()=>[a(e(H))]),default:t(()=>[o.$slots.default?z(o.$slots,"default",{key:0},void 0,!0):(s(),m(g,{key:1},[r("Docs")],64))]),_:3}),a(U)])]),_:3}))}});const ne=S(Z,[["__scopeId","data-v-5ef7b378"]]);export{ne as N}; -//# sourceMappingURL=Navbar.ccb4b57b.js.map +import{d as h,eo as A,r as B,u as e,o as s,c as i,bx as C,X as f,b as a,w as t,aF as r,bP as d,a as m,d8 as w,e9 as _,cK as N,ej as I,eb as L,f0 as R,aR as g,R as D,Z as z,$ as S}from"./vue-router.324eaed2.js";import{a as $}from"./asyncComputed.3916dfed.js";import{G as V}from"./PhChats.vue.42699894.js";import{F}from"./PhSignOut.vue.d965d159.js";import{C as P}from"./router.0c18ec5d.js";import{a as k}from"./gateway.edd4374b.js";import{A as T}from"./index.7d758831.js";import{A as j}from"./Avatar.4c029798.js";import{B as E,A as q,b as G}from"./index.51467614.js";import{B as H}from"./BookOutlined.789cce39.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="f9725ebe-f2f5-47e2-8fc1-20399566b2a9",n._sentryDebugIdIdentifier="sentry-dbid-f9725ebe-f2f5-47e2-8fc1-20399566b2a9")}catch{}})();const K={key:1,style:{display:"flex","align-items":"center",gap:"16px"}},M={style:{display:"flex","flex-direction":"column",gap:"10px"}},O={style:{display:"flex",gap:"5px"}},U=h({__name:"LoginBlock",setup(n){function o(b){const y=b.split("@")[0];return I.exports.kebabCase(y).toUpperCase().split("-").slice(0,2).map(p=>p[0]).join("")}const c=A(),{result:l,loading:u,refetch:x}=$(async()=>k.getAuthor());function v(){k.removeAuthor(),P.shutdown(),x(),c.push({name:"login"})}return(b,y)=>{const p=B("RouterLink");return e(u)?(s(),i(e(C),{key:0})):e(l)?(s(),f("div",K,[a(e(d),{class:"intercom-launcher",target:"_blank",type:"link",size:"small",style:{color:"#d14056",display:"flex","align-items":"center",gap:"6px"}},{icon:t(()=>[a(e(V),{size:18})]),default:t(()=>[r(" Support ")]),_:1}),a(e(N),{placement:"bottomRight"},{content:t(()=>[m("div",M,[a(e(w),{size:"small",type:"secondary"},{default:t(()=>[r(_(e(l).claims.email),1)]),_:1}),a(e(d),{type:"text",onClick:v},{default:t(()=>[m("div",O,[a(e(F),{size:"20"}),r(" Logout ")])]),_:1})])]),default:t(()=>[a(e(T),{align:"center",style:{cursor:"pointer"}},{default:t(()=>[a(e(j),{shape:"square"},{default:t(()=>[r(_(o(e(l).claims.email)),1)]),_:1})]),_:1})]),_:1})])):(s(),i(e(d),{key:2},{default:t(()=>[a(p,{to:"/login"},{default:t(()=>[r("Login")]),_:1})]),_:1}))}}}),X={class:"extra"},Z=h({__name:"Navbar",props:{breadcrumb:{}},setup(n){return(o,c)=>(s(),i(e(G),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{subTitle:t(()=>[o.breadcrumb?(s(),i(e(E),{key:0},{default:t(()=>[(s(!0),f(g,null,L(o.breadcrumb,(l,u)=>(s(),i(e(q),{key:u},{default:t(()=>[a(e(R),{to:l.path},{default:t(()=>[r(_(l.label),1)]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1})):D("",!0)]),extra:t(()=>[m("div",X,[a(e(d),{class:"docs-button",href:"https://docs.abstra.io/",target:"_blank",type:"link",style:{color:"#d14056"},size:"small"},{icon:t(()=>[a(e(H))]),default:t(()=>[o.$slots.default?z(o.$slots,"default",{key:0},void 0,!0):(s(),f(g,{key:1},[r("Docs")],64))]),_:3}),a(U)])]),_:3}))}});const ne=S(Z,[["__scopeId","data-v-5ef7b378"]]);export{ne as N}; +//# sourceMappingURL=Navbar.b51dae48.js.map diff --git a/abstra_statics/dist/assets/NavbarControls.948aa1fc.js b/abstra_statics/dist/assets/NavbarControls.414bdd58.js similarity index 92% rename from abstra_statics/dist/assets/NavbarControls.948aa1fc.js rename to abstra_statics/dist/assets/NavbarControls.414bdd58.js index b075fed415..cbb27d4880 100644 --- a/abstra_statics/dist/assets/NavbarControls.948aa1fc.js +++ b/abstra_statics/dist/assets/NavbarControls.414bdd58.js @@ -1,2 +1,2 @@ -import{b as i,ee as P,ef as q,d as w,f as j,e as C,o as s,c,w as o,X as T,eb as z,u as l,a as X,e9 as G,aR as M,bP as m,aF as f,ed as Y,cK as H,R as x,$,dd as L,d6 as J,d8 as Q,W as Z,ag as K,aV as ee,eg as te,cp as ne}from"./vue-router.33f35a18.js";import{L as O,E as re,u as ae}from"./editor.c70395a0.js";import{S as le}from"./workspaceStore.be837912.js";import{C as oe}from"./CloseCircleOutlined.1d6fe2b1.js";import{A as ie}from"./index.f014adef.js";import{A as D}from"./index.241ee38a.js";import{W as se}from"./workspaces.91ed8c72.js";import{p as ue}from"./popupNotifcation.7fc1aee0.js";import{F as ce}from"./PhArrowSquareOut.vue.03bd374b.js";import{_ as de}from"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import{G as fe}from"./PhChats.vue.b6dd7b5a.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="3c9d66c5-9deb-4e93-962e-da33f93ecceb",n._sentryDebugIdIdentifier="sentry-dbid-3c9d66c5-9deb-4e93-962e-da33f93ecceb")}catch{}})();var pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"};const me=pe;var ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"};const ye=ge;var be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z"}}]},name:"tool",theme:"filled"};const _e=be;var ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"};const he=ve;function U(n){for(var e=1;e{var u,p;return(p=(u=O.asyncComputed.result.value)==null?void 0:u.flatMap(d=>d.issues))!=null?p:[]}),r=j(()=>{const u=t.value.map(p=>y(O.fromName(p.ruleName)));return u.includes("error")?"error":u.includes("warning")?"warning":"info"}),a=C(!1);async function _(u){a.value=!0;try{await u.fix(),e("issueFixed",u)}finally{a.value=!1}}function y(u){return u.type==="bug"?"warning":u.type==="security"?"error":"info"}return(u,p)=>t.value.length>0?(s(),c(l(H),{key:0,placement:"bottomRight"},{content:o(()=>[i(l(D),{direction:"vertical",style:{"max-height":"300px",overflow:"auto"}},{default:o(()=>[(s(!0),T(M,null,z(t.value,(d,b)=>(s(),c(l(ie),{key:b+d.ruleName,type:y(l(O).fromName(d.ruleName)),style:{width:"400px"},message:l(O).fromName(d.ruleName).label},{description:o(()=>[i(l(D),{direction:"vertical",style:{width:"100%"}},{default:o(()=>[X("div",null,G(d.label),1),(s(!0),T(M,null,z(d.fixes,g=>(s(),c(l(m),{key:g.name,loading:a.value,disabled:a.value,onClick:S=>_(g)},{icon:o(()=>[i(l(xe))]),default:o(()=>[f(" "+G(g.label),1)]),_:2},1032,["loading","disabled","onClick"]))),128))]),_:2},1024)]),_:2},1032,["type","message"]))),128))]),_:1})]),default:o(()=>[i(l(m),{class:Y(["linter-btn",r.value])},{default:o(()=>[r.value==="info"?(s(),c(l(Se),{key:0})):r.value==="error"?(s(),c(l(oe),{key:1})):(s(),c(l(De),{key:2}))]),_:1},8,["class"])]),_:1})):x("",!0)}});const Ae=$($e,[["__scopeId","data-v-47a27891"]]),Ie=w({__name:"DeployButton",props:{isReadyToDeploy:{type:Boolean,required:!0},projectId:{type:String,required:!1}},setup(n){const e=n,t=C(!1),r=C(!1),a=C(!1);function _(){r.value=!1}async function y(){if(!!e.projectId){t.value=!0;try{await se.deploy(),window.open(u(),"_blank"),a.value=!0,setTimeout(()=>{a.value=!1},6e4)}catch(p){ue("Deploy failed",String(p))}t.value=!1}}function u(){if(!!e.projectId)return`${re.consoleUrl}/projects/${e.projectId}/builds`}return(p,d)=>n.isReadyToDeploy?(s(),c(l(H),{key:0,open:r.value,"onUpdate:open":d[0]||(d[0]=b=>r.value=b),trigger:"click",title:"Deploy to Abstra Cloud"},{content:o(()=>[a.value?(s(),c(l(L),{key:0,class:"deploy-state-message",align:"middle"},{default:o(()=>[i(l(Q),null,{default:o(()=>[f(" Deploy started at "),i(l(J),{href:u(),target:"_blank"},{default:o(()=>[f("Abstra Cloud")]),_:1},8,["href"]),f(". ")]),_:1})]),_:1})):x("",!0),i(l(L),{class:"action-buttons",gap:"small"},{default:o(()=>[i(l(m),{onClick:_},{default:o(()=>[f("Close")]),_:1}),a.value?(s(),c(l(m),{key:0,class:"deploy-button",type:"primary",href:u(),target:"_blank"},{icon:o(()=>[i(l(ce),{color:"white",size:"20"})]),default:o(()=>[f(" Open Console ")]),_:1},8,["href"])):(s(),c(l(m),{key:1,type:"primary",loading:t.value,onClick:y},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1},8,["loading"]))]),_:1})]),default:o(()=>[t.value?(s(),c(l(m),{key:0,disabled:""},{default:o(()=>[f("Deploying")]),_:1})):(s(),c(l(m),{key:1},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1}))]),_:1},8,["open"])):(s(),c(l(m),{key:1,disabled:""},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1}))}});const Ne=$(Ie,[["__scopeId","data-v-a2fa9262"]]),Fe=w({__name:"GithubStars",setup(n){return(e,t)=>(s(),c(l(m),{href:"https://github.com/abstra-app/abstra-lib",target:"_blank",type:"text",size:"small"},{default:o(()=>[i(l(Pe)),f(" GitHub ")]),_:1}))}}),Be=w({__name:"IntercomButton",setup(n){return(e,t)=>(s(),c(l(m),{class:"intercom-launcher",target:"_blank",type:"text",size:"small",style:{display:"flex","align-items":"center",gap:"6px"}},{icon:o(()=>[i(l(fe),{size:18})]),default:o(()=>[f(" Support ")]),_:1}))}}),Te=w({__name:"NavbarControls",props:{showGithubStars:{type:Boolean},docsPath:{},editingModel:{}},setup(n){var b;const e=n,t=ae(),r=(b=le.instance)==null?void 0:b.isStagingRelease,{result:a,refetch:_}=O.asyncComputed,y=C(!1);function u(){setTimeout(async()=>{await _(),y.value&&u()},1e3)}Z(()=>{y.value=!0,u()}),K(()=>{y.value=!1});const p=j(()=>{var S,v;return((v=(S=a.value)==null?void 0:S.flatMap(h=>["error","security","bug"].includes(h.type)?h.issues:[]))!=null?v:[]).length>0}),d=j(()=>{var g;return p.value?"issues-found":(g=e.editingModel)!=null&&g.hasChanges()?"unsaved":r?"is-staging":"ready"});return(g,S)=>(s(),c(l(D),null,{default:o(()=>{var v;return[e.showGithubStars?(s(),c(Fe,{key:0})):x("",!0),i(de,{path:e.docsPath},null,8,["path"]),i(Be),(v=g.editingModel)!=null&&v.hasChanges()?x("",!0):(s(),c(Ae,{key:1})),i(l(ne),null,{default:o(()=>[i(l(ee),null,te({default:o(()=>{var h;return[i(Ne,{"is-ready-to-deploy":d.value==="ready","project-id":(h=l(t).cloudProject)==null?void 0:h.id},null,8,["is-ready-to-deploy","project-id"])]}),_:2},[d.value==="unsaved"?{name:"title",fn:o(()=>[f(" Save your project before deploying ")]),key:"0"}:d.value==="issues-found"?{name:"title",fn:o(()=>[f(" There are errors on your project. Please fix them before deploying. ")]),key:"1"}:d.value==="is-staging"?{name:"title",fn:o(()=>[f(" This is a staging release. You can't deploy it to Abstra Cloud. ")]),key:"2"}:void 0]),1024)]),_:1})]}),_:1}))}});const Xe=$(Te,[["__scopeId","data-v-b4cc0fe7"]]);export{Xe as N}; -//# sourceMappingURL=NavbarControls.948aa1fc.js.map +import{b as i,ee as P,ef as q,d as w,f as j,e as C,o as s,c,w as o,X as T,eb as z,u as l,a as X,e9 as G,aR as M,bP as m,aF as f,ed as Y,cK as H,R as x,$,dd as L,d6 as J,d8 as Q,W as Z,ag as K,aV as ee,eg as te,cp as ne}from"./vue-router.324eaed2.js";import{L as O,E as re,u as ae}from"./editor.1b3b164b.js";import{S as le}from"./workspaceStore.5977d9e8.js";import{C as oe}from"./CloseCircleOutlined.6d0d12eb.js";import{A as ie}from"./index.0887bacc.js";import{A as D}from"./index.7d758831.js";import{W as se}from"./workspaces.a34621fe.js";import{p as ue}from"./popupNotifcation.5a82bc93.js";import{F as ce}from"./PhArrowSquareOut.vue.2a1b339b.js";import{_ as de}from"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import{G as fe}from"./PhChats.vue.42699894.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="84730077-c7ef-4253-a86d-dee53de932f6",n._sentryDebugIdIdentifier="sentry-dbid-84730077-c7ef-4253-a86d-dee53de932f6")}catch{}})();var pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"};const me=pe;var ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"};const ye=ge;var be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z"}}]},name:"tool",theme:"filled"};const _e=be;var ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"};const he=ve;function U(n){for(var e=1;e{var u,p;return(p=(u=O.asyncComputed.result.value)==null?void 0:u.flatMap(d=>d.issues))!=null?p:[]}),r=j(()=>{const u=t.value.map(p=>y(O.fromName(p.ruleName)));return u.includes("error")?"error":u.includes("warning")?"warning":"info"}),a=C(!1);async function _(u){a.value=!0;try{await u.fix(),e("issueFixed",u)}finally{a.value=!1}}function y(u){return u.type==="bug"?"warning":u.type==="security"?"error":"info"}return(u,p)=>t.value.length>0?(s(),c(l(H),{key:0,placement:"bottomRight"},{content:o(()=>[i(l(D),{direction:"vertical",style:{"max-height":"300px",overflow:"auto"}},{default:o(()=>[(s(!0),T(M,null,z(t.value,(d,b)=>(s(),c(l(ie),{key:b+d.ruleName,type:y(l(O).fromName(d.ruleName)),style:{width:"400px"},message:l(O).fromName(d.ruleName).label},{description:o(()=>[i(l(D),{direction:"vertical",style:{width:"100%"}},{default:o(()=>[X("div",null,G(d.label),1),(s(!0),T(M,null,z(d.fixes,g=>(s(),c(l(m),{key:g.name,loading:a.value,disabled:a.value,onClick:S=>_(g)},{icon:o(()=>[i(l(xe))]),default:o(()=>[f(" "+G(g.label),1)]),_:2},1032,["loading","disabled","onClick"]))),128))]),_:2},1024)]),_:2},1032,["type","message"]))),128))]),_:1})]),default:o(()=>[i(l(m),{class:Y(["linter-btn",r.value])},{default:o(()=>[r.value==="info"?(s(),c(l(Se),{key:0})):r.value==="error"?(s(),c(l(oe),{key:1})):(s(),c(l(De),{key:2}))]),_:1},8,["class"])]),_:1})):x("",!0)}});const Ae=$($e,[["__scopeId","data-v-47a27891"]]),Ie=w({__name:"DeployButton",props:{isReadyToDeploy:{type:Boolean,required:!0},projectId:{type:String,required:!1}},setup(n){const e=n,t=C(!1),r=C(!1),a=C(!1);function _(){r.value=!1}async function y(){if(!!e.projectId){t.value=!0;try{await se.deploy(),window.open(u(),"_blank"),a.value=!0,setTimeout(()=>{a.value=!1},6e4)}catch(p){ue("Deploy failed",String(p))}t.value=!1}}function u(){if(!!e.projectId)return`${re.consoleUrl}/projects/${e.projectId}/builds`}return(p,d)=>n.isReadyToDeploy?(s(),c(l(H),{key:0,open:r.value,"onUpdate:open":d[0]||(d[0]=b=>r.value=b),trigger:"click",title:"Deploy to Abstra Cloud"},{content:o(()=>[a.value?(s(),c(l(L),{key:0,class:"deploy-state-message",align:"middle"},{default:o(()=>[i(l(Q),null,{default:o(()=>[f(" Deploy started at "),i(l(J),{href:u(),target:"_blank"},{default:o(()=>[f("Abstra Cloud")]),_:1},8,["href"]),f(". ")]),_:1})]),_:1})):x("",!0),i(l(L),{class:"action-buttons",gap:"small"},{default:o(()=>[i(l(m),{onClick:_},{default:o(()=>[f("Close")]),_:1}),a.value?(s(),c(l(m),{key:0,class:"deploy-button",type:"primary",href:u(),target:"_blank"},{icon:o(()=>[i(l(ce),{color:"white",size:"20"})]),default:o(()=>[f(" Open Console ")]),_:1},8,["href"])):(s(),c(l(m),{key:1,type:"primary",loading:t.value,onClick:y},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1},8,["loading"]))]),_:1})]),default:o(()=>[t.value?(s(),c(l(m),{key:0,disabled:""},{default:o(()=>[f("Deploying")]),_:1})):(s(),c(l(m),{key:1},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1}))]),_:1},8,["open"])):(s(),c(l(m),{key:1,disabled:""},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1}))}});const Ne=$(Ie,[["__scopeId","data-v-a2fa9262"]]),Fe=w({__name:"GithubStars",setup(n){return(e,t)=>(s(),c(l(m),{href:"https://github.com/abstra-app/abstra-lib",target:"_blank",type:"text",size:"small"},{default:o(()=>[i(l(Pe)),f(" GitHub ")]),_:1}))}}),Be=w({__name:"IntercomButton",setup(n){return(e,t)=>(s(),c(l(m),{class:"intercom-launcher",target:"_blank",type:"text",size:"small",style:{display:"flex","align-items":"center",gap:"6px"}},{icon:o(()=>[i(l(fe),{size:18})]),default:o(()=>[f(" Support ")]),_:1}))}}),Te=w({__name:"NavbarControls",props:{showGithubStars:{type:Boolean},docsPath:{},editingModel:{}},setup(n){var b;const e=n,t=ae(),r=(b=le.instance)==null?void 0:b.isStagingRelease,{result:a,refetch:_}=O.asyncComputed,y=C(!1);function u(){setTimeout(async()=>{await _(),y.value&&u()},1e3)}Z(()=>{y.value=!0,u()}),K(()=>{y.value=!1});const p=j(()=>{var S,v;return((v=(S=a.value)==null?void 0:S.flatMap(h=>["error","security","bug"].includes(h.type)?h.issues:[]))!=null?v:[]).length>0}),d=j(()=>{var g;return p.value?"issues-found":(g=e.editingModel)!=null&&g.hasChanges()?"unsaved":r?"is-staging":"ready"});return(g,S)=>(s(),c(l(D),null,{default:o(()=>{var v;return[e.showGithubStars?(s(),c(Fe,{key:0})):x("",!0),i(de,{path:e.docsPath},null,8,["path"]),i(Be),(v=g.editingModel)!=null&&v.hasChanges()?x("",!0):(s(),c(Ae,{key:1})),i(l(ne),null,{default:o(()=>[i(l(ee),null,te({default:o(()=>{var h;return[i(Ne,{"is-ready-to-deploy":d.value==="ready","project-id":(h=l(t).cloudProject)==null?void 0:h.id},null,8,["is-ready-to-deploy","project-id"])]}),_:2},[d.value==="unsaved"?{name:"title",fn:o(()=>[f(" Save your project before deploying ")]),key:"0"}:d.value==="issues-found"?{name:"title",fn:o(()=>[f(" There are errors on your project. Please fix them before deploying. ")]),key:"1"}:d.value==="is-staging"?{name:"title",fn:o(()=>[f(" This is a staging release. You can't deploy it to Abstra Cloud. ")]),key:"2"}:void 0]),1024)]),_:1})]}),_:1}))}});const Xe=$(Te,[["__scopeId","data-v-b4cc0fe7"]]);export{Xe as N}; +//# sourceMappingURL=NavbarControls.414bdd58.js.map diff --git a/abstra_statics/dist/assets/OidcLoginCallback.9798e5da.js b/abstra_statics/dist/assets/OidcLoginCallback.9798e5da.js new file mode 100644 index 0000000000..4bcce49c60 --- /dev/null +++ b/abstra_statics/dist/assets/OidcLoginCallback.9798e5da.js @@ -0,0 +1,2 @@ +import{O as r}from"./workspaceStore.5977d9e8.js";import{d as i,W as l,o as u,X as c,b as a,w as n,u as o,aF as d,d9 as f,d8 as _}from"./vue-router.324eaed2.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9ff4bd27-23e6-45a1-8d06-ee39799a59ed",e._sentryDebugIdIdentifier="sentry-dbid-9ff4bd27-23e6-45a1-8d06-ee39799a59ed")}catch{}})();const w=i({__name:"OidcLoginCallback",setup(e){return l(async()=>{await new r().loginCallback()}),(t,s)=>(u(),c("div",null,[a(o(f),null,{default:n(()=>[d("You're authenticated")]),_:1}),a(o(_),null,{default:n(()=>[d(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; +//# sourceMappingURL=OidcLoginCallback.9798e5da.js.map diff --git a/abstra_statics/dist/assets/OidcLoginCallback.fac08095.js b/abstra_statics/dist/assets/OidcLoginCallback.fac08095.js deleted file mode 100644 index 822886ef74..0000000000 --- a/abstra_statics/dist/assets/OidcLoginCallback.fac08095.js +++ /dev/null @@ -1,2 +0,0 @@ -import{O as r}from"./workspaceStore.be837912.js";import{d as i,W as l,o as c,X as u,b as a,w as d,u as n,aF as o,d9 as f,d8 as _}from"./vue-router.33f35a18.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1dead0de-b3ea-440e-95c4-d51d633cd0e0",e._sentryDebugIdIdentifier="sentry-dbid-1dead0de-b3ea-440e-95c4-d51d633cd0e0")}catch{}})();const w=i({__name:"OidcLoginCallback",setup(e){return l(async()=>{await new r().loginCallback()}),(t,s)=>(c(),u("div",null,[a(n(f),null,{default:d(()=>[o("You're authenticated")]),_:1}),a(n(_),null,{default:d(()=>[o(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; -//# sourceMappingURL=OidcLoginCallback.fac08095.js.map diff --git a/abstra_statics/dist/assets/OidcLogoutCallback.2c9edc5b.js b/abstra_statics/dist/assets/OidcLogoutCallback.2c9edc5b.js new file mode 100644 index 0000000000..5865dbf8bc --- /dev/null +++ b/abstra_statics/dist/assets/OidcLogoutCallback.2c9edc5b.js @@ -0,0 +1,2 @@ +import{O as r}from"./workspaceStore.5977d9e8.js";import{d as l,W as i,o as u,X as c,b as o,w as a,u as n,aF as d,d9 as f,d8 as _}from"./vue-router.324eaed2.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7e4e6486-97df-4b4c-9d09-438f43074ef6",e._sentryDebugIdIdentifier="sentry-dbid-7e4e6486-97df-4b4c-9d09-438f43074ef6")}catch{}})();const w=l({__name:"OidcLogoutCallback",setup(e){return i(async()=>{await new r().logoutCallback()}),(t,s)=>(u(),c("div",null,[o(n(f),null,{default:a(()=>[d("You're authenticated")]),_:1}),o(n(_),null,{default:a(()=>[d(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; +//# sourceMappingURL=OidcLogoutCallback.2c9edc5b.js.map diff --git a/abstra_statics/dist/assets/OidcLogoutCallback.e64afaf5.js b/abstra_statics/dist/assets/OidcLogoutCallback.e64afaf5.js deleted file mode 100644 index 4757c5ceb5..0000000000 --- a/abstra_statics/dist/assets/OidcLogoutCallback.e64afaf5.js +++ /dev/null @@ -1,2 +0,0 @@ -import{O as d}from"./workspaceStore.be837912.js";import{d as l,W as i,o as c,X as u,b as a,w as o,u as n,aF as s,d9 as f,d8 as b}from"./vue-router.33f35a18.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="263e4bde-6f67-4eb9-802e-9216ccaa419c",e._sentryDebugIdIdentifier="sentry-dbid-263e4bde-6f67-4eb9-802e-9216ccaa419c")}catch{}})();const w=l({__name:"OidcLogoutCallback",setup(e){return i(async()=>{await new d().logoutCallback()}),(t,r)=>(c(),u("div",null,[a(n(f),null,{default:o(()=>[s("You're authenticated")]),_:1}),a(n(b),null,{default:o(()=>[s(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; -//# sourceMappingURL=OidcLogoutCallback.e64afaf5.js.map diff --git a/abstra_statics/dist/assets/Organization.bd4dcbcb.js b/abstra_statics/dist/assets/Organization.6b4c3407.js similarity index 80% rename from abstra_statics/dist/assets/Organization.bd4dcbcb.js rename to abstra_statics/dist/assets/Organization.6b4c3407.js index 011f4bb2fa..008eb2c404 100644 --- a/abstra_statics/dist/assets/Organization.bd4dcbcb.js +++ b/abstra_statics/dist/assets/Organization.6b4c3407.js @@ -1,2 +1,2 @@ -import{N as f}from"./Navbar.ccb4b57b.js";import{B as b}from"./BaseLayout.4967fc3d.js";import{C as w}from"./ContentLayout.d691ad7a.js";import{a as k}from"./asyncComputed.c677c545.js";import{d as g,B as m,f as i,o as e,X as o,Z as c,R as V,e8 as M,a as l,ea as z,r as _,c as $,w as H,b as p,u as B}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{O as C}from"./organization.efcc2606.js";import"./tables.8d6766f6.js";import{S,_ as x}from"./Sidebar.715517e4.js";import"./PhChats.vue.b6dd7b5a.js";import"./PhSignOut.vue.b806976f.js";import"./router.cbdfe37b.js";import"./index.241ee38a.js";import"./Avatar.dcb46dd7.js";import"./index.6db53852.js";import"./index.8f5819bb.js";import"./BookOutlined.767e0e7a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./index.f014adef.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import"./Logo.389f375b.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[r]="b55a4a59-70a8-4ab8-9d72-79b87010cb9c",h._sentryDebugIdIdentifier="sentry-dbid-b55a4a59-70a8-4ab8-9d72-79b87010cb9c")}catch{}})();const N=["width","height","fill","transform"],I={key:0},P=l("path",{d:"M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,24V88H36V68ZM36,188V112H220v76Zm172-24a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,164Zm-68,0a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24h12A12,12,0,0,1,140,164Z"},null,-1),j=[P],D={key:1},E=l("path",{d:"M232,96v96a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V96Z",opacity:"0.2"},null,-1),q=l("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,16V88H32V64Zm0,128H32V104H224v88Zm-16-24a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h32A8,8,0,0,1,208,168Zm-64,0a8,8,0,0,1-8,8H120a8,8,0,0,1,0-16h16A8,8,0,0,1,144,168Z"},null,-1),F=[E,q],O={key:2},R=l("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM136,176H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm64,0H168a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16ZM32,88V64H224V88Z"},null,-1),W=[R],L={key:3},T=l("path",{d:"M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50ZM32,62H224a2,2,0,0,1,2,2V90H30V64A2,2,0,0,1,32,62ZM224,194H32a2,2,0,0,1-2-2V102H226v90A2,2,0,0,1,224,194Zm-18-26a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h32A6,6,0,0,1,206,168Zm-64,0a6,6,0,0,1-6,6H120a6,6,0,0,1,0-12h16A6,6,0,0,1,142,168Z"},null,-1),U=[T],X={key:4},G=l("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,16V88H32V64Zm0,128H32V104H224v88Zm-16-24a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h32A8,8,0,0,1,208,168Zm-64,0a8,8,0,0,1-8,8H120a8,8,0,0,1,0-16h16A8,8,0,0,1,144,168Z"},null,-1),J=[G],K={key:5},Q=l("path",{d:"M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52ZM32,60H224a4,4,0,0,1,4,4V92H28V64A4,4,0,0,1,32,60ZM224,196H32a4,4,0,0,1-4-4V100H228v92A4,4,0,0,1,224,196Zm-20-28a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h32A4,4,0,0,1,204,168Zm-64,0a4,4,0,0,1-4,4H120a4,4,0,0,1,0-8h16A4,4,0,0,1,140,168Z"},null,-1),Y=[Q],a0={name:"PhCreditCard"},e0=g({...a0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,u=m("weight","regular"),s=m("size","1em"),A=m("color","currentColor"),d=m("mirrored",!1),t=i(()=>{var a;return(a=r.weight)!=null?a:u}),n=i(()=>{var a;return(a=r.size)!=null?a:s}),Z=i(()=>{var a;return(a=r.color)!=null?a:A}),v=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,y)=>(e(),o("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:Z.value,transform:v.value},a.$attrs),[c(a.$slots,"default"),t.value==="bold"?(e(),o("g",I,j)):t.value==="duotone"?(e(),o("g",D,F)):t.value==="fill"?(e(),o("g",O,W)):t.value==="light"?(e(),o("g",L,U)):t.value==="regular"?(e(),o("g",X,J)):t.value==="thin"?(e(),o("g",K,Y)):V("",!0)],16,N))}}),t0=["width","height","fill","transform"],r0={key:0},o0=l("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z"},null,-1),l0=[o0],i0={key:1},n0=l("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z",opacity:"0.2"},null,-1),m0=l("path",{d:"M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"},null,-1),h0=[n0,m0],s0={key:2},u0=l("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"},null,-1),d0=[u0],A0={key:3},v0=l("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z"},null,-1),Z0=[v0],H0={key:4},p0=l("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"},null,-1),g0=[p0],V0={key:5},c0=l("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z"},null,-1),M0=[c0],y0={name:"PhSquaresFour"},$0=g({...y0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,u=m("weight","regular"),s=m("size","1em"),A=m("color","currentColor"),d=m("mirrored",!1),t=i(()=>{var a;return(a=r.weight)!=null?a:u}),n=i(()=>{var a;return(a=r.size)!=null?a:s}),Z=i(()=>{var a;return(a=r.color)!=null?a:A}),v=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,y)=>(e(),o("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:Z.value,transform:v.value},a.$attrs),[c(a.$slots,"default"),t.value==="bold"?(e(),o("g",r0,l0)):t.value==="duotone"?(e(),o("g",i0,h0)):t.value==="fill"?(e(),o("g",s0,d0)):t.value==="light"?(e(),o("g",A0,Z0)):t.value==="regular"?(e(),o("g",H0,g0)):t.value==="thin"?(e(),o("g",V0,M0)):V("",!0)],16,t0))}}),f0=["width","height","fill","transform"],b0={key:0},w0=l("path",{d:"M164.38,181.1a52,52,0,1,0-72.76,0,75.89,75.89,0,0,0-30,28.89,12,12,0,0,0,20.78,12,53,53,0,0,1,91.22,0,12,12,0,1,0,20.78-12A75.89,75.89,0,0,0,164.38,181.1ZM100,144a28,28,0,1,1,28,28A28,28,0,0,1,100,144Zm147.21,9.59a12,12,0,0,1-16.81-2.39c-8.33-11.09-19.85-19.59-29.33-21.64a12,12,0,0,1-1.82-22.91,20,20,0,1,0-24.78-28.3,12,12,0,1,1-21-11.6,44,44,0,1,1,73.28,48.35,92.18,92.18,0,0,1,22.85,21.69A12,12,0,0,1,247.21,153.59Zm-192.28-24c-9.48,2.05-21,10.55-29.33,21.65A12,12,0,0,1,6.41,136.79,92.37,92.37,0,0,1,29.26,115.1a44,44,0,1,1,73.28-48.35,12,12,0,1,1-21,11.6,20,20,0,1,0-24.78,28.3,12,12,0,0,1-1.82,22.91Z"},null,-1),k0=[w0],z0={key:1},_0=l("path",{d:"M168,144a40,40,0,1,1-40-40A40,40,0,0,1,168,144ZM64,56A32,32,0,1,0,96,88,32,32,0,0,0,64,56Zm128,0a32,32,0,1,0,32,32A32,32,0,0,0,192,56Z",opacity:"0.2"},null,-1),B0=l("path",{d:"M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1,0-16,24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.85,8,57,57,0,0,0-98.15,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"},null,-1),C0=[_0,B0],S0={key:2},x0=l("path",{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"},null,-1),N0=[x0],I0={key:3},P0=l("path",{d:"M243.6,148.8a6,6,0,0,1-8.4-1.2A53.58,53.58,0,0,0,192,126a6,6,0,0,1,0-12,26,26,0,1,0-25.18-32.5,6,6,0,0,1-11.62-3,38,38,0,1,1,59.91,39.63A65.69,65.69,0,0,1,244.8,140.4,6,6,0,0,1,243.6,148.8ZM189.19,213a6,6,0,0,1-2.19,8.2,5.9,5.9,0,0,1-3,.81,6,6,0,0,1-5.2-3,59,59,0,0,0-101.62,0,6,6,0,1,1-10.38-6A70.1,70.1,0,0,1,103,182.55a46,46,0,1,1,50.1,0A70.1,70.1,0,0,1,189.19,213ZM128,178a34,34,0,1,0-34-34A34,34,0,0,0,128,178ZM70,120a6,6,0,0,0-6-6A26,26,0,1,1,89.18,81.49a6,6,0,1,0,11.62-3,38,38,0,1,0-59.91,39.63A65.69,65.69,0,0,0,11.2,140.4a6,6,0,1,0,9.6,7.2A53.58,53.58,0,0,1,64,126,6,6,0,0,0,70,120Z"},null,-1),j0=[P0],D0={key:4},E0=l("path",{d:"M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1-7.37-4.89,8,8,0,0,1,0-6.22A8,8,0,0,1,192,112a24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.84,8,57,57,0,0,0-98.16,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"},null,-1),q0=[E0],F0={key:5},O0=l("path",{d:"M237,147.44a4,4,0,0,1-5.48-1.4c-8.33-14-20.93-22-34.56-22a4,4,0,0,1-1.2-.2,36.76,36.76,0,0,1-3.8.2,4,4,0,0,1,0-8,28,28,0,1,0-27.12-35,4,4,0,0,1-7.75-2,36,36,0,1,1,54,39.48c10.81,3.85,20.51,12,27.31,23.48A4,4,0,0,1,237,147.44ZM187.46,214a4,4,0,0,1-1.46,5.46,3.93,3.93,0,0,1-2,.54,4,4,0,0,1-3.46-2,61,61,0,0,0-105.08,0,4,4,0,0,1-6.92-4,68.35,68.35,0,0,1,39.19-31,44,44,0,1,1,40.54,0A68.35,68.35,0,0,1,187.46,214ZM128,180a36,36,0,1,0-36-36A36,36,0,0,0,128,180ZM64,116A28,28,0,1,1,91.12,81a4,4,0,0,0,7.75-2A36,36,0,1,0,45.3,118.75,63.55,63.55,0,0,0,12.8,141.6a4,4,0,0,0,6.4,4.8A55.55,55.55,0,0,1,64,124a4,4,0,0,0,0-8Z"},null,-1),R0=[O0],W0={name:"PhUsersThree"},L0=g({...W0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,u=m("weight","regular"),s=m("size","1em"),A=m("color","currentColor"),d=m("mirrored",!1),t=i(()=>{var a;return(a=r.weight)!=null?a:u}),n=i(()=>{var a;return(a=r.size)!=null?a:s}),Z=i(()=>{var a;return(a=r.color)!=null?a:A}),v=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,y)=>(e(),o("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:Z.value,transform:v.value},a.$attrs),[c(a.$slots,"default"),t.value==="bold"?(e(),o("g",b0,k0)):t.value==="duotone"?(e(),o("g",z0,C0)):t.value==="fill"?(e(),o("g",S0,N0)):t.value==="light"?(e(),o("g",I0,j0)):t.value==="regular"?(e(),o("g",D0,q0)):t.value==="thin"?(e(),o("g",F0,R0)):V("",!0)],16,f0))}}),Z1=g({__name:"Organization",setup(h){const u=z().params.organizationId,{result:s}=k(()=>C.get(u)),A=i(()=>s.value?[{label:"My organizations",path:"/organizations"},{label:s.value.name,path:`/organizations/${s.value.id}`}]:void 0),d=i(()=>{var n;return(n=s.value)==null?void 0:n.billingMetadata}),t=[{name:"Organization",items:[{name:"Projects",icon:$0,path:"projects"},{name:"Editors",icon:L0,path:"editors"},{name:"Billing",icon:e0,path:"billing"}]}];return(n,Z)=>{const v=_("RouterView");return e(),$(b,null,{navbar:H(()=>[p(f,{breadcrumb:A.value},null,8,["breadcrumb"])]),sidebar:H(()=>[p(S,{class:"sidebar",sections:t})]),content:H(()=>[p(w,null,{default:H(()=>[d.value?(e(),$(x,{key:0,"billing-metadata":d.value,"organization-id":B(u)},null,8,["billing-metadata","organization-id"])):V("",!0),p(v)]),_:1})]),_:1})}}});export{Z1 as default}; -//# sourceMappingURL=Organization.bd4dcbcb.js.map +import{N as $}from"./Navbar.b51dae48.js";import{B as b}from"./BaseLayout.577165c3.js";import{C as w}from"./ContentLayout.5465dc16.js";import{a as k}from"./asyncComputed.3916dfed.js";import{d as g,B as m,f as i,o as e,X as o,Z as c,R as V,e8 as M,a as l,ea as z,r as _,c as y,w as H,b as p,u as B}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{O as C}from"./organization.0ae7dfed.js";import"./tables.842b993f.js";import{S,_ as x}from"./Sidebar.e2719686.js";import"./PhChats.vue.42699894.js";import"./PhSignOut.vue.d965d159.js";import"./router.0c18ec5d.js";import"./index.7d758831.js";import"./Avatar.4c029798.js";import"./index.51467614.js";import"./index.ea51f4a9.js";import"./BookOutlined.789cce39.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./index.0887bacc.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import"./Logo.bfb8cf31.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[r]="d2d3504b-5ceb-4dbb-9cfd-f4fd1ade8ed3",h._sentryDebugIdIdentifier="sentry-dbid-d2d3504b-5ceb-4dbb-9cfd-f4fd1ade8ed3")}catch{}})();const N=["width","height","fill","transform"],I={key:0},P=l("path",{d:"M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,24V88H36V68ZM36,188V112H220v76Zm172-24a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,164Zm-68,0a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24h12A12,12,0,0,1,140,164Z"},null,-1),j=[P],D={key:1},E=l("path",{d:"M232,96v96a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V96Z",opacity:"0.2"},null,-1),q=l("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,16V88H32V64Zm0,128H32V104H224v88Zm-16-24a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h32A8,8,0,0,1,208,168Zm-64,0a8,8,0,0,1-8,8H120a8,8,0,0,1,0-16h16A8,8,0,0,1,144,168Z"},null,-1),F=[E,q],O={key:2},R=l("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM136,176H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm64,0H168a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16ZM32,88V64H224V88Z"},null,-1),W=[R],L={key:3},T=l("path",{d:"M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50ZM32,62H224a2,2,0,0,1,2,2V90H30V64A2,2,0,0,1,32,62ZM224,194H32a2,2,0,0,1-2-2V102H226v90A2,2,0,0,1,224,194Zm-18-26a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h32A6,6,0,0,1,206,168Zm-64,0a6,6,0,0,1-6,6H120a6,6,0,0,1,0-12h16A6,6,0,0,1,142,168Z"},null,-1),U=[T],X={key:4},G=l("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,16V88H32V64Zm0,128H32V104H224v88Zm-16-24a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h32A8,8,0,0,1,208,168Zm-64,0a8,8,0,0,1-8,8H120a8,8,0,0,1,0-16h16A8,8,0,0,1,144,168Z"},null,-1),J=[G],K={key:5},Q=l("path",{d:"M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52ZM32,60H224a4,4,0,0,1,4,4V92H28V64A4,4,0,0,1,32,60ZM224,196H32a4,4,0,0,1-4-4V100H228v92A4,4,0,0,1,224,196Zm-20-28a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h32A4,4,0,0,1,204,168Zm-64,0a4,4,0,0,1-4,4H120a4,4,0,0,1,0-8h16A4,4,0,0,1,140,168Z"},null,-1),Y=[Q],a0={name:"PhCreditCard"},e0=g({...a0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,d=m("weight","regular"),s=m("size","1em"),A=m("color","currentColor"),u=m("mirrored",!1),t=i(()=>{var a;return(a=r.weight)!=null?a:d}),n=i(()=>{var a;return(a=r.size)!=null?a:s}),Z=i(()=>{var a;return(a=r.color)!=null?a:A}),v=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,f)=>(e(),o("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:Z.value,transform:v.value},a.$attrs),[c(a.$slots,"default"),t.value==="bold"?(e(),o("g",I,j)):t.value==="duotone"?(e(),o("g",D,F)):t.value==="fill"?(e(),o("g",O,W)):t.value==="light"?(e(),o("g",L,U)):t.value==="regular"?(e(),o("g",X,J)):t.value==="thin"?(e(),o("g",K,Y)):V("",!0)],16,N))}}),t0=["width","height","fill","transform"],r0={key:0},o0=l("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z"},null,-1),l0=[o0],i0={key:1},n0=l("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z",opacity:"0.2"},null,-1),m0=l("path",{d:"M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"},null,-1),h0=[n0,m0],s0={key:2},d0=l("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"},null,-1),u0=[d0],A0={key:3},v0=l("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z"},null,-1),Z0=[v0],H0={key:4},p0=l("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"},null,-1),g0=[p0],V0={key:5},c0=l("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z"},null,-1),M0=[c0],f0={name:"PhSquaresFour"},y0=g({...f0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,d=m("weight","regular"),s=m("size","1em"),A=m("color","currentColor"),u=m("mirrored",!1),t=i(()=>{var a;return(a=r.weight)!=null?a:d}),n=i(()=>{var a;return(a=r.size)!=null?a:s}),Z=i(()=>{var a;return(a=r.color)!=null?a:A}),v=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,f)=>(e(),o("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:Z.value,transform:v.value},a.$attrs),[c(a.$slots,"default"),t.value==="bold"?(e(),o("g",r0,l0)):t.value==="duotone"?(e(),o("g",i0,h0)):t.value==="fill"?(e(),o("g",s0,u0)):t.value==="light"?(e(),o("g",A0,Z0)):t.value==="regular"?(e(),o("g",H0,g0)):t.value==="thin"?(e(),o("g",V0,M0)):V("",!0)],16,t0))}}),$0=["width","height","fill","transform"],b0={key:0},w0=l("path",{d:"M164.38,181.1a52,52,0,1,0-72.76,0,75.89,75.89,0,0,0-30,28.89,12,12,0,0,0,20.78,12,53,53,0,0,1,91.22,0,12,12,0,1,0,20.78-12A75.89,75.89,0,0,0,164.38,181.1ZM100,144a28,28,0,1,1,28,28A28,28,0,0,1,100,144Zm147.21,9.59a12,12,0,0,1-16.81-2.39c-8.33-11.09-19.85-19.59-29.33-21.64a12,12,0,0,1-1.82-22.91,20,20,0,1,0-24.78-28.3,12,12,0,1,1-21-11.6,44,44,0,1,1,73.28,48.35,92.18,92.18,0,0,1,22.85,21.69A12,12,0,0,1,247.21,153.59Zm-192.28-24c-9.48,2.05-21,10.55-29.33,21.65A12,12,0,0,1,6.41,136.79,92.37,92.37,0,0,1,29.26,115.1a44,44,0,1,1,73.28-48.35,12,12,0,1,1-21,11.6,20,20,0,1,0-24.78,28.3,12,12,0,0,1-1.82,22.91Z"},null,-1),k0=[w0],z0={key:1},_0=l("path",{d:"M168,144a40,40,0,1,1-40-40A40,40,0,0,1,168,144ZM64,56A32,32,0,1,0,96,88,32,32,0,0,0,64,56Zm128,0a32,32,0,1,0,32,32A32,32,0,0,0,192,56Z",opacity:"0.2"},null,-1),B0=l("path",{d:"M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1,0-16,24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.85,8,57,57,0,0,0-98.15,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"},null,-1),C0=[_0,B0],S0={key:2},x0=l("path",{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"},null,-1),N0=[x0],I0={key:3},P0=l("path",{d:"M243.6,148.8a6,6,0,0,1-8.4-1.2A53.58,53.58,0,0,0,192,126a6,6,0,0,1,0-12,26,26,0,1,0-25.18-32.5,6,6,0,0,1-11.62-3,38,38,0,1,1,59.91,39.63A65.69,65.69,0,0,1,244.8,140.4,6,6,0,0,1,243.6,148.8ZM189.19,213a6,6,0,0,1-2.19,8.2,5.9,5.9,0,0,1-3,.81,6,6,0,0,1-5.2-3,59,59,0,0,0-101.62,0,6,6,0,1,1-10.38-6A70.1,70.1,0,0,1,103,182.55a46,46,0,1,1,50.1,0A70.1,70.1,0,0,1,189.19,213ZM128,178a34,34,0,1,0-34-34A34,34,0,0,0,128,178ZM70,120a6,6,0,0,0-6-6A26,26,0,1,1,89.18,81.49a6,6,0,1,0,11.62-3,38,38,0,1,0-59.91,39.63A65.69,65.69,0,0,0,11.2,140.4a6,6,0,1,0,9.6,7.2A53.58,53.58,0,0,1,64,126,6,6,0,0,0,70,120Z"},null,-1),j0=[P0],D0={key:4},E0=l("path",{d:"M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1-7.37-4.89,8,8,0,0,1,0-6.22A8,8,0,0,1,192,112a24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.84,8,57,57,0,0,0-98.16,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"},null,-1),q0=[E0],F0={key:5},O0=l("path",{d:"M237,147.44a4,4,0,0,1-5.48-1.4c-8.33-14-20.93-22-34.56-22a4,4,0,0,1-1.2-.2,36.76,36.76,0,0,1-3.8.2,4,4,0,0,1,0-8,28,28,0,1,0-27.12-35,4,4,0,0,1-7.75-2,36,36,0,1,1,54,39.48c10.81,3.85,20.51,12,27.31,23.48A4,4,0,0,1,237,147.44ZM187.46,214a4,4,0,0,1-1.46,5.46,3.93,3.93,0,0,1-2,.54,4,4,0,0,1-3.46-2,61,61,0,0,0-105.08,0,4,4,0,0,1-6.92-4,68.35,68.35,0,0,1,39.19-31,44,44,0,1,1,40.54,0A68.35,68.35,0,0,1,187.46,214ZM128,180a36,36,0,1,0-36-36A36,36,0,0,0,128,180ZM64,116A28,28,0,1,1,91.12,81a4,4,0,0,0,7.75-2A36,36,0,1,0,45.3,118.75,63.55,63.55,0,0,0,12.8,141.6a4,4,0,0,0,6.4,4.8A55.55,55.55,0,0,1,64,124a4,4,0,0,0,0-8Z"},null,-1),R0=[O0],W0={name:"PhUsersThree"},L0=g({...W0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,d=m("weight","regular"),s=m("size","1em"),A=m("color","currentColor"),u=m("mirrored",!1),t=i(()=>{var a;return(a=r.weight)!=null?a:d}),n=i(()=>{var a;return(a=r.size)!=null?a:s}),Z=i(()=>{var a;return(a=r.color)!=null?a:A}),v=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,f)=>(e(),o("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:Z.value,transform:v.value},a.$attrs),[c(a.$slots,"default"),t.value==="bold"?(e(),o("g",b0,k0)):t.value==="duotone"?(e(),o("g",z0,C0)):t.value==="fill"?(e(),o("g",S0,N0)):t.value==="light"?(e(),o("g",I0,j0)):t.value==="regular"?(e(),o("g",D0,q0)):t.value==="thin"?(e(),o("g",F0,R0)):V("",!0)],16,$0))}}),Z1=g({__name:"Organization",setup(h){const d=z().params.organizationId,{result:s}=k(()=>C.get(d)),A=i(()=>s.value?[{label:"My organizations",path:"/organizations"},{label:s.value.name,path:`/organizations/${s.value.id}`}]:void 0),u=i(()=>{var n;return(n=s.value)==null?void 0:n.billingMetadata}),t=[{name:"Organization",items:[{name:"Projects",icon:y0,path:"projects"},{name:"Editors",icon:L0,path:"editors"},{name:"Billing",icon:e0,path:"billing"}]}];return(n,Z)=>{const v=_("RouterView");return e(),y(b,null,{navbar:H(()=>[p($,{breadcrumb:A.value},null,8,["breadcrumb"])]),sidebar:H(()=>[p(S,{class:"sidebar",sections:t})]),content:H(()=>[p(w,null,{default:H(()=>[u.value?(e(),y(x,{key:0,"billing-metadata":u.value,"organization-id":B(d)},null,8,["billing-metadata","organization-id"])):V("",!0),p(v)]),_:1})]),_:1})}}});export{Z1 as default}; +//# sourceMappingURL=Organization.6b4c3407.js.map diff --git a/abstra_statics/dist/assets/Organizations.c5b7c80c.js b/abstra_statics/dist/assets/Organizations.c5b7c80c.js new file mode 100644 index 0000000000..bb2a094c6d --- /dev/null +++ b/abstra_statics/dist/assets/Organizations.c5b7c80c.js @@ -0,0 +1,2 @@ +import{N as O}from"./Navbar.b51dae48.js";import{B as I}from"./BaseLayout.577165c3.js";import{C as _}from"./ContentLayout.5465dc16.js";import{C as R}from"./CrudView.0b1b90a7.js";import{a as x}from"./ant-design.48401d91.js";import{a as h}from"./asyncComputed.3916dfed.js";import{F as B}from"./PhArrowSquareOut.vue.2a1b339b.js";import{G as D}from"./PhPencil.vue.91f72c2e.js";import{d as F,eo as M,e as $,f as A,o as b,X as G,b as o,w as i,u as l,aR as V,c as j,cv as E,bH as H,cu as L,R as U,cH as P,ep as S}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{O as c}from"./organization.0ae7dfed.js";import"./tables.842b993f.js";import"./PhChats.vue.42699894.js";import"./PhSignOut.vue.d965d159.js";import"./router.0c18ec5d.js";import"./index.7d758831.js";import"./Avatar.4c029798.js";import"./index.51467614.js";import"./index.ea51f4a9.js";import"./BookOutlined.789cce39.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},m=new Error().stack;m&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[m]="95375732-baeb-4b2c-a1f1-86d9c4f8115c",r._sentryDebugIdIdentifier="sentry-dbid-95375732-baeb-4b2c-a1f1-86d9c4f8115c")}catch{}})();const ve=F({__name:"Organizations",setup(r){const m=[{label:"My organizations",path:"/organizations"}],d=[{key:"name",label:"Organization Name"}],v=M(),{loading:z,result:p,refetch:f}=h(()=>c.list()),g=({key:e})=>{v.push({name:"organization",params:{organizationId:e}})},n=$({state:"idle"});function w(e){n.value={state:"renaming",organizationId:e.id,newName:e.name}}async function y(e){if(n.value.state==="renaming"&&e){const{organizationId:a,newName:t}=n.value;await c.rename(a,t),f()}n.value={state:"idle"}}const C=async e=>{const a=await c.create(e.name);g({key:a.id})},k=async({key:e})=>{var t,s;await x("Are you sure you want to delete this organization?")&&(await((s=(t=p.value)==null?void 0:t.find(u=>u.id===e))==null?void 0:s.delete()),f())},N=A(()=>{var e,a;return{columns:[{name:"Organization Name",align:"left"},{name:"Path"},{name:"",align:"right"}],rows:(a=(e=p.value)==null?void 0:e.map(t=>{var s,u;return{key:t.id,cells:[{type:"link",text:t.name,to:(s=`/organizations/${encodeURIComponent(t.id)}`)!=null?s:null},{type:"text",text:(u=t.id)!=null?u:null},{type:"actions",actions:[{icon:B,label:"Go to projects",onClick:g},{icon:D,label:"Rename",onClick:()=>w(t)},{icon:S,label:"Delete",onClick:k,dangerous:!0}]}]}}))!=null?a:[]}});return(e,a)=>(b(),G(V,null,[o(I,null,{navbar:i(()=>[o(O,{breadcrumb:m})]),content:i(()=>[o(_,null,{default:i(()=>[o(R,{"entity-name":"organization",loading:l(z),title:"My organizations",description:"An organization is your company\u2019s account. Manage editors, projects and billing.","create-button-text":"Create Organization","empty-title":"No organizations here yet",table:N.value,fields:d,create:C},null,8,["loading","table"])]),_:1})]),_:1}),o(l(P),{open:n.value.state==="renaming",title:"Rename organization",onCancel:a[1]||(a[1]=t=>y(!1)),onOk:a[2]||(a[2]=t=>y(!0))},{default:i(()=>[n.value.state==="renaming"?(b(),j(l(L),{key:0,layout:"vertical"},{default:i(()=>[o(l(E),{label:"New name"},{default:i(()=>[o(l(H),{value:n.value.newName,"onUpdate:value":a[0]||(a[0]=t=>n.value.newName=t)},null,8,["value"])]),_:1})]),_:1})):U("",!0)]),_:1},8,["open"])],64))}});export{ve as default}; +//# sourceMappingURL=Organizations.c5b7c80c.js.map diff --git a/abstra_statics/dist/assets/Organizations.d3cffe0c.js b/abstra_statics/dist/assets/Organizations.d3cffe0c.js deleted file mode 100644 index 7844537330..0000000000 --- a/abstra_statics/dist/assets/Organizations.d3cffe0c.js +++ /dev/null @@ -1,2 +0,0 @@ -import{N as O}from"./Navbar.ccb4b57b.js";import{B as I}from"./BaseLayout.4967fc3d.js";import{C as _}from"./ContentLayout.d691ad7a.js";import{C as R}from"./CrudView.3c2a3663.js";import{a as x}from"./ant-design.51753590.js";import{a as h}from"./asyncComputed.c677c545.js";import{F as B}from"./PhArrowSquareOut.vue.03bd374b.js";import{G as D}from"./PhPencil.vue.2def7849.js";import{d as F,eo as M,e as $,f as A,o as y,X as G,b as o,w as i,u as l,aR as V,c as j,cv as E,bH as H,cu as L,R as U,cH as P,ep as S}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{O as d}from"./organization.efcc2606.js";import"./tables.8d6766f6.js";import"./PhChats.vue.b6dd7b5a.js";import"./PhSignOut.vue.b806976f.js";import"./router.cbdfe37b.js";import"./index.241ee38a.js";import"./Avatar.dcb46dd7.js";import"./index.6db53852.js";import"./index.8f5819bb.js";import"./BookOutlined.767e0e7a.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},m=new Error().stack;m&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[m]="75bfbe91-a58d-4a8a-93b6-17a135bb2038",r._sentryDebugIdIdentifier="sentry-dbid-75bfbe91-a58d-4a8a-93b6-17a135bb2038")}catch{}})();const ve=F({__name:"Organizations",setup(r){const m=[{label:"My organizations",path:"/organizations"}],p=[{key:"name",label:"Organization Name"}],v=M(),{loading:z,result:c,refetch:f}=h(()=>d.list()),g=({key:e})=>{v.push({name:"organization",params:{organizationId:e}})},n=$({state:"idle"});function w(e){n.value={state:"renaming",organizationId:e.id,newName:e.name}}async function b(e){if(n.value.state==="renaming"&&e){const{organizationId:a,newName:t}=n.value;await d.rename(a,t),f()}n.value={state:"idle"}}const C=async e=>{const a=await d.create(e.name);g({key:a.id})},k=async({key:e})=>{var t,s;await x("Are you sure you want to delete this organization?")&&(await((s=(t=c.value)==null?void 0:t.find(u=>u.id===e))==null?void 0:s.delete()),f())},N=A(()=>{var e,a;return{columns:[{name:"Organization Name",align:"left"},{name:"Path"},{name:"",align:"right"}],rows:(a=(e=c.value)==null?void 0:e.map(t=>{var s,u;return{key:t.id,cells:[{type:"link",text:t.name,to:(s=`/organizations/${encodeURIComponent(t.id)}`)!=null?s:null},{type:"text",text:(u=t.id)!=null?u:null},{type:"actions",actions:[{icon:B,label:"Go to projects",onClick:g},{icon:D,label:"Rename",onClick:()=>w(t)},{icon:S,label:"Delete",onClick:k,dangerous:!0}]}]}}))!=null?a:[]}});return(e,a)=>(y(),G(V,null,[o(I,null,{navbar:i(()=>[o(O,{breadcrumb:m})]),content:i(()=>[o(_,null,{default:i(()=>[o(R,{"entity-name":"organization",loading:l(z),title:"My organizations",description:"An organization is your company\u2019s account. Manage editors, projects and billing.","create-button-text":"Create Organization","empty-title":"No organizations here yet",table:N.value,fields:p,create:C},null,8,["loading","table"])]),_:1})]),_:1}),o(l(P),{open:n.value.state==="renaming",title:"Rename organization",onCancel:a[1]||(a[1]=t=>b(!1)),onOk:a[2]||(a[2]=t=>b(!0))},{default:i(()=>[n.value.state==="renaming"?(y(),j(l(L),{key:0,layout:"vertical"},{default:i(()=>[o(l(E),{label:"New name"},{default:i(()=>[o(l(H),{value:n.value.newName,"onUpdate:value":a[0]||(a[0]=t=>n.value.newName=t)},null,8,["value"])]),_:1})]),_:1})):U("",!0)]),_:1},8,["open"])],64))}});export{ve as default}; -//# sourceMappingURL=Organizations.d3cffe0c.js.map diff --git a/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.4a7ab991.js b/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.1fa0c440.js similarity index 71% rename from abstra_statics/dist/assets/PhArrowCounterClockwise.vue.4a7ab991.js rename to abstra_statics/dist/assets/PhArrowCounterClockwise.vue.1fa0c440.js index f88faa1484..2fbd34a1d7 100644 --- a/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.4a7ab991.js +++ b/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.1fa0c440.js @@ -1,2 +1,2 @@ -import{d as f,B as n,f as i,o as t,X as l,Z as m,R as w,e8 as A,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="c31d1e5b-58b9-4d69-9078-cd61101b845a",o._sentryDebugIdIdentifier="sentry-dbid-c31d1e5b-58b9-4d69-9078-cd61101b845a")}catch{}})();const v=["width","height","fill","transform"],H={key:0},b=r("path",{d:"M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z"},null,-1),V=[b],L={key:1},k=r("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Z=r("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"},null,-1),M=[k,Z],B={key:2},C=r("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z"},null,-1),D=[C],I={key:3},S=r("path",{d:"M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z"},null,-1),_=[S],x={key:4},z=r("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"},null,-1),N=[z],E={key:5},P=r("path",{d:"M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z"},null,-1),$=[P],j={name:"PhArrowCounterClockwise"},R=f({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),g=n("size","1em"),c=n("color","currentColor"),p=n("mirrored",!1),d=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:g}),h=i(()=>{var e;return(e=a.color)!=null?e:c}),y=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(t(),l("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:h.value,transform:y.value},e.$attrs),[m(e.$slots,"default"),d.value==="bold"?(t(),l("g",H,V)):d.value==="duotone"?(t(),l("g",L,M)):d.value==="fill"?(t(),l("g",B,D)):d.value==="light"?(t(),l("g",I,_)):d.value==="regular"?(t(),l("g",x,N)):d.value==="thin"?(t(),l("g",E,$)):w("",!0)],16,v))}});export{R as G}; -//# sourceMappingURL=PhArrowCounterClockwise.vue.4a7ab991.js.map +import{d as y,B as d,f as i,o as t,X as l,Z as m,R as w,e8 as A,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="d0f16a38-5622-4e0c-9b5e-3724cdaef5bb",o._sentryDebugIdIdentifier="sentry-dbid-d0f16a38-5622-4e0c-9b5e-3724cdaef5bb")}catch{}})();const v=["width","height","fill","transform"],H={key:0},b=r("path",{d:"M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z"},null,-1),V=[b],L={key:1},k=r("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Z=r("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"},null,-1),M=[k,Z],B={key:2},C=r("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z"},null,-1),D=[C],I={key:3},S=r("path",{d:"M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z"},null,-1),_=[S],x={key:4},z=r("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"},null,-1),N=[z],E={key:5},P=r("path",{d:"M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z"},null,-1),$=[P],j={name:"PhArrowCounterClockwise"},R=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),g=d("size","1em"),c=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:g}),f=i(()=>{var e;return(e=a.color)!=null?e:c}),h=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(t(),l("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:f.value,transform:h.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(t(),l("g",H,V)):n.value==="duotone"?(t(),l("g",L,M)):n.value==="fill"?(t(),l("g",B,D)):n.value==="light"?(t(),l("g",I,_)):n.value==="regular"?(t(),l("g",x,N)):n.value==="thin"?(t(),l("g",E,$)):w("",!0)],16,v))}});export{R as G}; +//# sourceMappingURL=PhArrowCounterClockwise.vue.1fa0c440.js.map diff --git a/abstra_statics/dist/assets/PhArrowDown.vue.ba4eea7b.js b/abstra_statics/dist/assets/PhArrowDown.vue.8953407d.js similarity index 50% rename from abstra_statics/dist/assets/PhArrowDown.vue.ba4eea7b.js rename to abstra_statics/dist/assets/PhArrowDown.vue.8953407d.js index f2d11a2626..21e7103af1 100644 --- a/abstra_statics/dist/assets/PhArrowDown.vue.ba4eea7b.js +++ b/abstra_statics/dist/assets/PhArrowDown.vue.8953407d.js @@ -1,2 +1,2 @@ -import{d as y,B as d,f as i,o as l,X as t,Z as v,R as m,e8 as w,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="a126f52a-922b-4627-9e19-328381e11e6c",o._sentryDebugIdIdentifier="sentry-dbid-a126f52a-922b-4627-9e19-328381e11e6c")}catch{}})();const V=["width","height","fill","transform"],b={key:0},k=r("path",{d:"M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"},null,-1),Z=[k],M={key:1},B=r("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"},null,-1),D=r("path",{d:"M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"},null,-1),L=[B,D],A={key:2},I=r("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"},null,-1),S=[I],_={key:3},x=r("path",{d:"M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"},null,-1),z=[x],C={key:4},H=r("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"},null,-1),N=[H],E={key:5},P=r("path",{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"},null,-1),$=[P],j={name:"PhArrowDown"},R=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),g=d("size","1em"),p=d("color","currentColor"),h=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:g}),c=i(()=>{var e;return(e=a.color)!=null?e:p}),f=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(e,q)=>(l(),t("svg",w({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:c.value,transform:f.value},e.$attrs),[v(e.$slots,"default"),n.value==="bold"?(l(),t("g",b,Z)):n.value==="duotone"?(l(),t("g",M,L)):n.value==="fill"?(l(),t("g",A,S)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",C,N)):n.value==="thin"?(l(),t("g",E,$)):m("",!0)],16,V))}});export{R as G}; -//# sourceMappingURL=PhArrowDown.vue.ba4eea7b.js.map +import{d as y,B as d,f as i,o as a,X as t,Z as v,R as b,e8 as m,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="c9851ff7-859b-4ede-8bad-ecb354f7be01",o._sentryDebugIdIdentifier="sentry-dbid-c9851ff7-859b-4ede-8bad-ecb354f7be01")}catch{}})();const w=["width","height","fill","transform"],V={key:0},k=r("path",{d:"M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"},null,-1),Z=[k],M={key:1},B=r("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"},null,-1),D=r("path",{d:"M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"},null,-1),L=[B,D],A={key:2},I=r("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"},null,-1),S=[I],_={key:3},x=r("path",{d:"M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"},null,-1),z=[x],C={key:4},H=r("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"},null,-1),N=[H],E={key:5},P=r("path",{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"},null,-1),$=[P],j={name:"PhArrowDown"},R=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const l=o,s=d("weight","regular"),g=d("size","1em"),p=d("color","currentColor"),c=d("mirrored",!1),n=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:g}),f=i(()=>{var e;return(e=l.color)!=null?e:p}),h=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(e,q)=>(a(),t("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:f.value,transform:h.value},e.$attrs),[v(e.$slots,"default"),n.value==="bold"?(a(),t("g",V,Z)):n.value==="duotone"?(a(),t("g",M,L)):n.value==="fill"?(a(),t("g",A,S)):n.value==="light"?(a(),t("g",_,z)):n.value==="regular"?(a(),t("g",C,N)):n.value==="thin"?(a(),t("g",E,$)):b("",!0)],16,w))}});export{R as G}; +//# sourceMappingURL=PhArrowDown.vue.8953407d.js.map diff --git a/abstra_statics/dist/assets/PhArrowSquareOut.vue.03bd374b.js b/abstra_statics/dist/assets/PhArrowSquareOut.vue.2a1b339b.js similarity index 76% rename from abstra_statics/dist/assets/PhArrowSquareOut.vue.03bd374b.js rename to abstra_statics/dist/assets/PhArrowSquareOut.vue.2a1b339b.js index f526e8345d..f272b6acb5 100644 --- a/abstra_statics/dist/assets/PhArrowSquareOut.vue.03bd374b.js +++ b/abstra_statics/dist/assets/PhArrowSquareOut.vue.2a1b339b.js @@ -1,2 +1,2 @@ -import{d as m,B as d,f as i,o as t,X as l,Z as c,R as v,e8 as f,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="a347a737-8a8f-4350-b291-eb3e0a4d0c67",o._sentryDebugIdIdentifier="sentry-dbid-a347a737-8a8f-4350-b291-eb3e0a4d0c67")}catch{}})();const y=["width","height","fill","transform"],w={key:0},A=r("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"},null,-1),Z=[A],b={key:1},k=r("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"},null,-1),L=r("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"},null,-1),M=[k,L],B={key:2},S=r("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"},null,-1),I=[S],_={key:3},x=r("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"},null,-1),z=[x],C={key:4},D=r("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"},null,-1),N=[D],E={key:5},P=r("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"},null,-1),$=[P],j={name:"PhArrowSquareOut"},F=m({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,s=d("weight","regular"),h=d("size","1em"),V=d("color","currentColor"),g=d("mirrored",!1),n=i(()=>{var a;return(a=e.weight)!=null?a:s}),u=i(()=>{var a;return(a=e.size)!=null?a:h}),p=i(()=>{var a;return(a=e.color)!=null?a:V}),H=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,q)=>(t(),l("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:p.value,transform:H.value},a.$attrs),[c(a.$slots,"default"),n.value==="bold"?(t(),l("g",w,Z)):n.value==="duotone"?(t(),l("g",b,M)):n.value==="fill"?(t(),l("g",B,I)):n.value==="light"?(t(),l("g",_,z)):n.value==="regular"?(t(),l("g",C,N)):n.value==="thin"?(t(),l("g",E,$)):v("",!0)],16,y))}});export{F}; -//# sourceMappingURL=PhArrowSquareOut.vue.03bd374b.js.map +import{d as c,B as d,f as i,o as t,X as l,Z as f,R as m,e8 as v,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="210772be-a1af-4b86-ab99-a71c60e8cf50",o._sentryDebugIdIdentifier="sentry-dbid-210772be-a1af-4b86-ab99-a71c60e8cf50")}catch{}})();const y=["width","height","fill","transform"],w={key:0},b=r("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"},null,-1),A=[b],Z={key:1},k=r("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"},null,-1),L=r("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"},null,-1),M=[k,L],B={key:2},S=r("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"},null,-1),I=[S],_={key:3},x=r("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"},null,-1),z=[x],C={key:4},D=r("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"},null,-1),N=[D],E={key:5},P=r("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"},null,-1),$=[P],j={name:"PhArrowSquareOut"},F=c({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,s=d("weight","regular"),h=d("size","1em"),V=d("color","currentColor"),g=d("mirrored",!1),n=i(()=>{var a;return(a=e.weight)!=null?a:s}),u=i(()=>{var a;return(a=e.size)!=null?a:h}),p=i(()=>{var a;return(a=e.color)!=null?a:V}),H=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,q)=>(t(),l("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:p.value,transform:H.value},a.$attrs),[f(a.$slots,"default"),n.value==="bold"?(t(),l("g",w,A)):n.value==="duotone"?(t(),l("g",Z,M)):n.value==="fill"?(t(),l("g",B,I)):n.value==="light"?(t(),l("g",_,z)):n.value==="regular"?(t(),l("g",C,N)):n.value==="thin"?(t(),l("g",E,$)):m("",!0)],16,y))}});export{F}; +//# sourceMappingURL=PhArrowSquareOut.vue.2a1b339b.js.map diff --git a/abstra_statics/dist/assets/PhBug.vue.ea49dd1b.js b/abstra_statics/dist/assets/PhBug.vue.ac4a72e0.js similarity index 88% rename from abstra_statics/dist/assets/PhBug.vue.ea49dd1b.js rename to abstra_statics/dist/assets/PhBug.vue.ac4a72e0.js index 213e6ee85c..cc95d3d31e 100644 --- a/abstra_statics/dist/assets/PhBug.vue.ea49dd1b.js +++ b/abstra_statics/dist/assets/PhBug.vue.ac4a72e0.js @@ -1,2 +1,2 @@ -import{d as g,B as n,f as A,o as l,X as t,Z as L,R as h,e8 as p,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="861f7409-745e-4b24-846f-0a40a5727dee",o._sentryDebugIdIdentifier="sentry-dbid-861f7409-745e-4b24-846f-0a40a5727dee")}catch{}})();const f=["width","height","fill","transform"],M={key:0},c=r("path",{d:"M140,88a16,16,0,1,1,16,16A16,16,0,0,1,140,88ZM100,72a16,16,0,1,0,16,16A16,16,0,0,0,100,72Zm120,72a91.84,91.84,0,0,1-2.34,20.64L236.81,173a12,12,0,0,1-9.62,22l-18-7.85a92,92,0,0,1-162.46,0l-18,7.85a12,12,0,1,1-9.62-22l19.15-8.36A91.84,91.84,0,0,1,36,144v-4H16a12,12,0,0,1,0-24H36v-4a91.84,91.84,0,0,1,2.34-20.64L19.19,83a12,12,0,0,1,9.62-22l18,7.85a92,92,0,0,1,162.46,0l18-7.85a12,12,0,1,1,9.62,22l-19.15,8.36A91.84,91.84,0,0,1,220,112v4h20a12,12,0,0,1,0,24H220ZM60,116H196v-4a68,68,0,0,0-136,0Zm56,94.92V140H60v4A68.1,68.1,0,0,0,116,210.92ZM196,144v-4H140v70.92A68.1,68.1,0,0,0,196,144Z"},null,-1),y=[c],w={key:1},V=r("path",{d:"M208,128v16a80,80,0,0,1-160,0V128Z",opacity:"0.2"},null,-1),b=r("path",{d:"M144,92a12,12,0,1,1,12,12A12,12,0,0,1,144,92ZM100,80a12,12,0,1,0,12,12A12,12,0,0,0,100,80Zm116,64A87.76,87.76,0,0,1,213,167l22.24,9.72A8,8,0,0,1,232,192a7.89,7.89,0,0,1-3.2-.67L207.38,182a88,88,0,0,1-158.76,0L27.2,191.33A7.89,7.89,0,0,1,24,192a8,8,0,0,1-3.2-15.33L43,167A87.76,87.76,0,0,1,40,144v-8H16a8,8,0,0,1,0-16H40v-8a87.76,87.76,0,0,1,3-23L20.8,79.33a8,8,0,1,1,6.4-14.66L48.62,74a88,88,0,0,1,158.76,0l21.42-9.36a8,8,0,0,1,6.4,14.66L213,89.05a87.76,87.76,0,0,1,3,23v8h24a8,8,0,0,1,0,16H216ZM56,120H200v-8a72,72,0,0,0-144,0Zm64,95.54V136H56v8A72.08,72.08,0,0,0,120,215.54ZM200,144v-8H136v79.54A72.08,72.08,0,0,0,200,144Z"},null,-1),k=[V,b],B={key:2},D=r("path",{d:"M168,92a12,12,0,1,1-12-12A12,12,0,0,1,168,92ZM100,80a12,12,0,1,0,12,12A12,12,0,0,0,100,80Zm116,64A87.76,87.76,0,0,1,213,167l22.24,9.72A8,8,0,0,1,232,192a7.89,7.89,0,0,1-3.2-.67L207.38,182a88,88,0,0,1-158.76,0L27.2,191.33A7.89,7.89,0,0,1,24,192a8,8,0,0,1-3.2-15.33L43,167A87.76,87.76,0,0,1,40,144v-8H16a8,8,0,0,1,0-16H40v-8a87.76,87.76,0,0,1,3-23L20.8,79.33a8,8,0,1,1,6.4-14.66L48.62,74a88,88,0,0,1,158.76,0l21.42-9.36a8,8,0,0,1,6.4,14.66L213,89.05a87.76,87.76,0,0,1,3,23v8h24a8,8,0,0,1,0,16H216Zm-80,0a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0Zm64-32a72,72,0,0,0-144,0v8H200Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M146,92a10,10,0,1,1,10,10A10,10,0,0,1,146,92ZM100,82a10,10,0,1,0,10,10A10,10,0,0,0,100,82Zm146,46a6,6,0,0,1-6,6H214v10a85.88,85.88,0,0,1-3.45,24.08L234.4,178.5a6,6,0,0,1-4.8,11l-23.23-10.15a86,86,0,0,1-156.74,0L26.4,189.5a6,6,0,1,1-4.8-11l23.85-10.42A85.88,85.88,0,0,1,42,144V134H16a6,6,0,0,1,0-12H42V112a85.88,85.88,0,0,1,3.45-24.08L21.6,77.5a6,6,0,0,1,4.8-11L49.63,76.65a86,86,0,0,1,156.74,0L229.6,66.5a6,6,0,1,1,4.8,11L210.55,87.92A85.88,85.88,0,0,1,214,112v10h26A6,6,0,0,1,246,128ZM54,122H202V112a74,74,0,0,0-148,0Zm68,95.74V134H54v10A74.09,74.09,0,0,0,122,217.74ZM202,134H134v83.74A74.09,74.09,0,0,0,202,144Z"},null,-1),x=[_],z={key:4},C=r("path",{d:"M144,92a12,12,0,1,1,12,12A12,12,0,0,1,144,92ZM100,80a12,12,0,1,0,12,12A12,12,0,0,0,100,80Zm116,64A87.76,87.76,0,0,1,213,167l22.24,9.72A8,8,0,0,1,232,192a7.89,7.89,0,0,1-3.2-.67L207.38,182a88,88,0,0,1-158.76,0L27.2,191.33A7.89,7.89,0,0,1,24,192a8,8,0,0,1-3.2-15.33L43,167A87.76,87.76,0,0,1,40,144v-8H16a8,8,0,0,1,0-16H40v-8a87.76,87.76,0,0,1,3-23L20.8,79.33a8,8,0,1,1,6.4-14.66L48.62,74a88,88,0,0,1,158.76,0l21.42-9.36a8,8,0,0,1,6.4,14.66L213,89.05a87.76,87.76,0,0,1,3,23v8h24a8,8,0,0,1,0,16H216ZM56,120H200v-8a72,72,0,0,0-144,0Zm64,95.54V136H56v8A72.08,72.08,0,0,0,120,215.54ZM200,144v-8H136v79.54A72.08,72.08,0,0,0,200,144Z"},null,-1),N=[C],E={key:5},P=r("path",{d:"M148,92a8,8,0,1,1,8,8A8,8,0,0,1,148,92Zm-48-8a8,8,0,1,0,8,8A8,8,0,0,0,100,84Zm144,44a4,4,0,0,1-4,4H212v12a83.64,83.64,0,0,1-3.87,25.2l25.47,11.13A4,4,0,0,1,232,188a4.09,4.09,0,0,1-1.6-.33l-25-10.95a84,84,0,0,1-154.72,0l-25,10.95A4.09,4.09,0,0,1,24,188a4,4,0,0,1-1.6-7.67L47.87,169.2A83.64,83.64,0,0,1,44,144V132H16a4,4,0,0,1,0-8H44V112a83.64,83.64,0,0,1,3.87-25.2L22.4,75.67a4,4,0,0,1,3.2-7.34l25,11a84,84,0,0,1,154.72,0l25-11a4,4,0,1,1,3.2,7.34L208.13,86.8A83.64,83.64,0,0,1,212,112v12h28A4,4,0,0,1,244,128ZM52,124H204V112a76,76,0,0,0-152,0Zm72,95.89V132H52v12A76.09,76.09,0,0,0,124,219.89ZM204,132H132v87.89A76.09,76.09,0,0,0,204,144Z"},null,-1),$=[P],j={name:"PhBug"},R=g({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,d=n("weight","regular"),s=n("size","1em"),Z=n("color","currentColor"),u=n("mirrored",!1),v=A(()=>{var a;return(a=e.weight)!=null?a:d}),i=A(()=>{var a;return(a=e.size)!=null?a:s}),H=A(()=>{var a;return(a=e.color)!=null?a:Z}),m=A(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:i.value,height:i.value,fill:H.value,transform:m.value},a.$attrs),[L(a.$slots,"default"),v.value==="bold"?(l(),t("g",M,y)):v.value==="duotone"?(l(),t("g",w,k)):v.value==="fill"?(l(),t("g",B,I)):v.value==="light"?(l(),t("g",S,x)):v.value==="regular"?(l(),t("g",z,N)):v.value==="thin"?(l(),t("g",E,$)):h("",!0)],16,f))}});export{R as G}; -//# sourceMappingURL=PhBug.vue.ea49dd1b.js.map +import{d as g,B as n,f as A,o as l,X as t,Z as L,R as h,e8 as c,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="57c91578-6e01-4ac2-b291-e22fc0459393",o._sentryDebugIdIdentifier="sentry-dbid-57c91578-6e01-4ac2-b291-e22fc0459393")}catch{}})();const p=["width","height","fill","transform"],M={key:0},f=r("path",{d:"M140,88a16,16,0,1,1,16,16A16,16,0,0,1,140,88ZM100,72a16,16,0,1,0,16,16A16,16,0,0,0,100,72Zm120,72a91.84,91.84,0,0,1-2.34,20.64L236.81,173a12,12,0,0,1-9.62,22l-18-7.85a92,92,0,0,1-162.46,0l-18,7.85a12,12,0,1,1-9.62-22l19.15-8.36A91.84,91.84,0,0,1,36,144v-4H16a12,12,0,0,1,0-24H36v-4a91.84,91.84,0,0,1,2.34-20.64L19.19,83a12,12,0,0,1,9.62-22l18,7.85a92,92,0,0,1,162.46,0l18-7.85a12,12,0,1,1,9.62,22l-19.15,8.36A91.84,91.84,0,0,1,220,112v4h20a12,12,0,0,1,0,24H220ZM60,116H196v-4a68,68,0,0,0-136,0Zm56,94.92V140H60v4A68.1,68.1,0,0,0,116,210.92ZM196,144v-4H140v70.92A68.1,68.1,0,0,0,196,144Z"},null,-1),y=[f],w={key:1},V=r("path",{d:"M208,128v16a80,80,0,0,1-160,0V128Z",opacity:"0.2"},null,-1),b=r("path",{d:"M144,92a12,12,0,1,1,12,12A12,12,0,0,1,144,92ZM100,80a12,12,0,1,0,12,12A12,12,0,0,0,100,80Zm116,64A87.76,87.76,0,0,1,213,167l22.24,9.72A8,8,0,0,1,232,192a7.89,7.89,0,0,1-3.2-.67L207.38,182a88,88,0,0,1-158.76,0L27.2,191.33A7.89,7.89,0,0,1,24,192a8,8,0,0,1-3.2-15.33L43,167A87.76,87.76,0,0,1,40,144v-8H16a8,8,0,0,1,0-16H40v-8a87.76,87.76,0,0,1,3-23L20.8,79.33a8,8,0,1,1,6.4-14.66L48.62,74a88,88,0,0,1,158.76,0l21.42-9.36a8,8,0,0,1,6.4,14.66L213,89.05a87.76,87.76,0,0,1,3,23v8h24a8,8,0,0,1,0,16H216ZM56,120H200v-8a72,72,0,0,0-144,0Zm64,95.54V136H56v8A72.08,72.08,0,0,0,120,215.54ZM200,144v-8H136v79.54A72.08,72.08,0,0,0,200,144Z"},null,-1),k=[V,b],B={key:2},D=r("path",{d:"M168,92a12,12,0,1,1-12-12A12,12,0,0,1,168,92ZM100,80a12,12,0,1,0,12,12A12,12,0,0,0,100,80Zm116,64A87.76,87.76,0,0,1,213,167l22.24,9.72A8,8,0,0,1,232,192a7.89,7.89,0,0,1-3.2-.67L207.38,182a88,88,0,0,1-158.76,0L27.2,191.33A7.89,7.89,0,0,1,24,192a8,8,0,0,1-3.2-15.33L43,167A87.76,87.76,0,0,1,40,144v-8H16a8,8,0,0,1,0-16H40v-8a87.76,87.76,0,0,1,3-23L20.8,79.33a8,8,0,1,1,6.4-14.66L48.62,74a88,88,0,0,1,158.76,0l21.42-9.36a8,8,0,0,1,6.4,14.66L213,89.05a87.76,87.76,0,0,1,3,23v8h24a8,8,0,0,1,0,16H216Zm-80,0a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0Zm64-32a72,72,0,0,0-144,0v8H200Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M146,92a10,10,0,1,1,10,10A10,10,0,0,1,146,92ZM100,82a10,10,0,1,0,10,10A10,10,0,0,0,100,82Zm146,46a6,6,0,0,1-6,6H214v10a85.88,85.88,0,0,1-3.45,24.08L234.4,178.5a6,6,0,0,1-4.8,11l-23.23-10.15a86,86,0,0,1-156.74,0L26.4,189.5a6,6,0,1,1-4.8-11l23.85-10.42A85.88,85.88,0,0,1,42,144V134H16a6,6,0,0,1,0-12H42V112a85.88,85.88,0,0,1,3.45-24.08L21.6,77.5a6,6,0,0,1,4.8-11L49.63,76.65a86,86,0,0,1,156.74,0L229.6,66.5a6,6,0,1,1,4.8,11L210.55,87.92A85.88,85.88,0,0,1,214,112v10h26A6,6,0,0,1,246,128ZM54,122H202V112a74,74,0,0,0-148,0Zm68,95.74V134H54v10A74.09,74.09,0,0,0,122,217.74ZM202,134H134v83.74A74.09,74.09,0,0,0,202,144Z"},null,-1),x=[_],z={key:4},C=r("path",{d:"M144,92a12,12,0,1,1,12,12A12,12,0,0,1,144,92ZM100,80a12,12,0,1,0,12,12A12,12,0,0,0,100,80Zm116,64A87.76,87.76,0,0,1,213,167l22.24,9.72A8,8,0,0,1,232,192a7.89,7.89,0,0,1-3.2-.67L207.38,182a88,88,0,0,1-158.76,0L27.2,191.33A7.89,7.89,0,0,1,24,192a8,8,0,0,1-3.2-15.33L43,167A87.76,87.76,0,0,1,40,144v-8H16a8,8,0,0,1,0-16H40v-8a87.76,87.76,0,0,1,3-23L20.8,79.33a8,8,0,1,1,6.4-14.66L48.62,74a88,88,0,0,1,158.76,0l21.42-9.36a8,8,0,0,1,6.4,14.66L213,89.05a87.76,87.76,0,0,1,3,23v8h24a8,8,0,0,1,0,16H216ZM56,120H200v-8a72,72,0,0,0-144,0Zm64,95.54V136H56v8A72.08,72.08,0,0,0,120,215.54ZM200,144v-8H136v79.54A72.08,72.08,0,0,0,200,144Z"},null,-1),N=[C],E={key:5},P=r("path",{d:"M148,92a8,8,0,1,1,8,8A8,8,0,0,1,148,92Zm-48-8a8,8,0,1,0,8,8A8,8,0,0,0,100,84Zm144,44a4,4,0,0,1-4,4H212v12a83.64,83.64,0,0,1-3.87,25.2l25.47,11.13A4,4,0,0,1,232,188a4.09,4.09,0,0,1-1.6-.33l-25-10.95a84,84,0,0,1-154.72,0l-25,10.95A4.09,4.09,0,0,1,24,188a4,4,0,0,1-1.6-7.67L47.87,169.2A83.64,83.64,0,0,1,44,144V132H16a4,4,0,0,1,0-8H44V112a83.64,83.64,0,0,1,3.87-25.2L22.4,75.67a4,4,0,0,1,3.2-7.34l25,11a84,84,0,0,1,154.72,0l25-11a4,4,0,1,1,3.2,7.34L208.13,86.8A83.64,83.64,0,0,1,212,112v12h28A4,4,0,0,1,244,128ZM52,124H204V112a76,76,0,0,0-152,0Zm72,95.89V132H52v12A76.09,76.09,0,0,0,124,219.89ZM204,132H132v87.89A76.09,76.09,0,0,0,204,144Z"},null,-1),$=[P],j={name:"PhBug"},R=g({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,d=n("weight","regular"),s=n("size","1em"),Z=n("color","currentColor"),u=n("mirrored",!1),v=A(()=>{var a;return(a=e.weight)!=null?a:d}),i=A(()=>{var a;return(a=e.size)!=null?a:s}),H=A(()=>{var a;return(a=e.color)!=null?a:Z}),m=A(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:i.value,height:i.value,fill:H.value,transform:m.value},a.$attrs),[L(a.$slots,"default"),v.value==="bold"?(l(),t("g",M,y)):v.value==="duotone"?(l(),t("g",w,k)):v.value==="fill"?(l(),t("g",B,I)):v.value==="light"?(l(),t("g",S,x)):v.value==="regular"?(l(),t("g",z,N)):v.value==="thin"?(l(),t("g",E,$)):h("",!0)],16,p))}});export{R as G}; +//# sourceMappingURL=PhBug.vue.ac4a72e0.js.map diff --git a/abstra_statics/dist/assets/PhCaretRight.vue.d23111f3.js b/abstra_statics/dist/assets/PhCaretRight.vue.70c5f54b.js similarity index 64% rename from abstra_statics/dist/assets/PhCaretRight.vue.d23111f3.js rename to abstra_statics/dist/assets/PhCaretRight.vue.70c5f54b.js index 4340c00c14..ace7358cc4 100644 --- a/abstra_statics/dist/assets/PhCaretRight.vue.d23111f3.js +++ b/abstra_statics/dist/assets/PhCaretRight.vue.70c5f54b.js @@ -1,2 +1,2 @@ -import{d as y,B as d,f as i,o as t,X as a,Z as m,R as v,e8 as b,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="9af65b5e-ffa8-4f78-9fb2-477e64f0bdc0",o._sentryDebugIdIdentifier="sentry-dbid-9af65b5e-ffa8-4f78-9fb2-477e64f0bdc0")}catch{}})();const w=["width","height","fill","transform"],k={key:0},Z=r("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"},null,-1),A=[Z],M={key:1},B=r("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),V=r("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"},null,-1),L=[B,V],C={key:2},D=r("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1),E=[N],P={key:5},R=r("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},null,-1),$=[R],j={name:"PhCaretRight"},W=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const l=o,s=d("weight","regular"),f=d("size","1em"),g=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:f}),c=i(()=>{var e;return(e=l.color)!=null?e:g}),h=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(t(),a("svg",b({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:c.value,transform:h.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(t(),a("g",k,A)):n.value==="duotone"?(t(),a("g",M,L)):n.value==="fill"?(t(),a("g",C,I)):n.value==="light"?(t(),a("g",S,x)):n.value==="regular"?(t(),a("g",z,E)):n.value==="thin"?(t(),a("g",P,$)):v("",!0)],16,w))}});export{W as G}; -//# sourceMappingURL=PhCaretRight.vue.d23111f3.js.map +import{d as y,B as d,f as i,o as t,X as a,Z as m,R as v,e8 as w,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="c05af6a7-4781-4b0a-87ee-6708b850340f",o._sentryDebugIdIdentifier="sentry-dbid-c05af6a7-4781-4b0a-87ee-6708b850340f")}catch{}})();const b=["width","height","fill","transform"],k={key:0},Z=r("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"},null,-1),A=[Z],M={key:1},B=r("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),V=r("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"},null,-1),L=[B,V],C={key:2},D=r("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1),E=[N],P={key:5},R=r("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},null,-1),$=[R],j={name:"PhCaretRight"},W=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const l=o,s=d("weight","regular"),g=d("size","1em"),p=d("color","currentColor"),c=d("mirrored",!1),n=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:g}),f=i(()=>{var e;return(e=l.color)!=null?e:p}),h=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(e,q)=>(t(),a("svg",w({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:f.value,transform:h.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(t(),a("g",k,A)):n.value==="duotone"?(t(),a("g",M,L)):n.value==="fill"?(t(),a("g",C,I)):n.value==="light"?(t(),a("g",S,x)):n.value==="regular"?(t(),a("g",z,E)):n.value==="thin"?(t(),a("g",P,$)):v("",!0)],16,b))}});export{W as G}; +//# sourceMappingURL=PhCaretRight.vue.70c5f54b.js.map diff --git a/abstra_statics/dist/assets/PhChats.vue.b6dd7b5a.js b/abstra_statics/dist/assets/PhChats.vue.42699894.js similarity index 73% rename from abstra_statics/dist/assets/PhChats.vue.b6dd7b5a.js rename to abstra_statics/dist/assets/PhChats.vue.42699894.js index 15f0fbb12d..4f3e87434c 100644 --- a/abstra_statics/dist/assets/PhChats.vue.b6dd7b5a.js +++ b/abstra_statics/dist/assets/PhChats.vue.42699894.js @@ -1,2 +1,2 @@ -import{d as c,B as V,f as d,o as l,X as t,Z as f,R as v,e8 as y,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="e49019fb-bd42-4bcf-81b2-4c97239ae9e5",o._sentryDebugIdIdentifier="sentry-dbid-e49019fb-bd42-4bcf-81b2-4c97239ae9e5")}catch{}})();const A=["width","height","fill","transform"],m={key:0},Z=r("path",{d:"M216,76H188V48a20,20,0,0,0-20-20H40A20,20,0,0,0,20,48V176a12,12,0,0,0,19.54,9.33l28.46-23V184a20,20,0,0,0,20,20h92.17l36.29,29.33A12,12,0,0,0,236,224V96A20,20,0,0,0,216,76ZM44,150.87V52H164v80H71.58A12,12,0,0,0,64,134.67Zm168,48-20-16.2a12,12,0,0,0-7.54-2.67H92V156h76a20,20,0,0,0,20-20V100h24Z"},null,-1),b=[Z],M={key:1},w=r("path",{d:"M224,96V224l-39.58-32H88a8,8,0,0,1-8-8V144h88a8,8,0,0,0,8-8V88h40A8,8,0,0,1,224,96Z",opacity:"0.2"},null,-1),L=r("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"},null,-1),k=[w,L],B={key:2},C=r("path",{d:"M232,96a16,16,0,0,0-16-16H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8Zm-42.55,89.78a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32V207.25Z"},null,-1),D=[C],I={key:3},S=r("path",{d:"M216,82H182V48a14,14,0,0,0-14-14H40A14,14,0,0,0,26,48V176a6,6,0,0,0,3.42,5.41A5.86,5.86,0,0,0,32,182a6,6,0,0,0,3.77-1.33L73.71,150H74v34a14,14,0,0,0,14,14h94.29l37.94,30.67A6,6,0,0,0,224,230a5.86,5.86,0,0,0,2.58-.59A6,6,0,0,0,230,224V96A14,14,0,0,0,216,82ZM71.58,138a6,6,0,0,0-3.77,1.33L38,163.43V48a2,2,0,0,1,2-2H168a2,2,0,0,1,2,2v88a2,2,0,0,1-2,2ZM218,211.43l-29.81-24.1a6,6,0,0,0-3.77-1.33H88a2,2,0,0,1-2-2V150h82a14,14,0,0,0,14-14V94h34a2,2,0,0,1,2,2Z"},null,-1),_=[S],x={key:4},z=r("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"},null,-1),N=[z],E={key:5},P=r("path",{d:"M216,84H180V48a12,12,0,0,0-12-12H40A12,12,0,0,0,28,48V176a4,4,0,0,0,4,4,4,4,0,0,0,2.51-.89L73,148h3v36a12,12,0,0,0,12,12h95l38.49,31.11A4,4,0,0,0,224,228a4,4,0,0,0,4-4V96A12,12,0,0,0,216,84ZM71.58,140a4,4,0,0,0-2.51.89L36,167.62V48a4,4,0,0,1,4-4H168a4,4,0,0,1,4,4v88a4,4,0,0,1-4,4ZM220,215.62l-33.07-26.73a4,4,0,0,0-2.51-.89H88a4,4,0,0,1-4-4V148h84a12,12,0,0,0,12-12V92h36a4,4,0,0,1,4,4Z"},null,-1),$=[P],j={name:"PhChats"},R=c({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,h=V("weight","regular"),i=V("size","1em"),u=V("color","currentColor"),H=V("mirrored",!1),n=d(()=>{var a;return(a=e.weight)!=null?a:h}),s=d(()=>{var a;return(a=e.size)!=null?a:i}),g=d(()=>{var a;return(a=e.color)!=null?a:u}),p=d(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:H?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:g.value,transform:p.value},a.$attrs),[f(a.$slots,"default"),n.value==="bold"?(l(),t("g",m,b)):n.value==="duotone"?(l(),t("g",M,k)):n.value==="fill"?(l(),t("g",B,D)):n.value==="light"?(l(),t("g",I,_)):n.value==="regular"?(l(),t("g",x,N)):n.value==="thin"?(l(),t("g",E,$)):v("",!0)],16,A))}});export{R as G}; -//# sourceMappingURL=PhChats.vue.b6dd7b5a.js.map +import{d as v,B as V,f as h,o as l,X as t,Z as c,R as f,e8 as y,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="82561907-cb17-4588-9414-12f41e42541a",o._sentryDebugIdIdentifier="sentry-dbid-82561907-cb17-4588-9414-12f41e42541a")}catch{}})();const A=["width","height","fill","transform"],m={key:0},Z=r("path",{d:"M216,76H188V48a20,20,0,0,0-20-20H40A20,20,0,0,0,20,48V176a12,12,0,0,0,19.54,9.33l28.46-23V184a20,20,0,0,0,20,20h92.17l36.29,29.33A12,12,0,0,0,236,224V96A20,20,0,0,0,216,76ZM44,150.87V52H164v80H71.58A12,12,0,0,0,64,134.67Zm168,48-20-16.2a12,12,0,0,0-7.54-2.67H92V156h76a20,20,0,0,0,20-20V100h24Z"},null,-1),M=[Z],w={key:1},b=r("path",{d:"M224,96V224l-39.58-32H88a8,8,0,0,1-8-8V144h88a8,8,0,0,0,8-8V88h40A8,8,0,0,1,224,96Z",opacity:"0.2"},null,-1),L=r("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"},null,-1),k=[b,L],B={key:2},C=r("path",{d:"M232,96a16,16,0,0,0-16-16H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8Zm-42.55,89.78a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32V207.25Z"},null,-1),D=[C],I={key:3},S=r("path",{d:"M216,82H182V48a14,14,0,0,0-14-14H40A14,14,0,0,0,26,48V176a6,6,0,0,0,3.42,5.41A5.86,5.86,0,0,0,32,182a6,6,0,0,0,3.77-1.33L73.71,150H74v34a14,14,0,0,0,14,14h94.29l37.94,30.67A6,6,0,0,0,224,230a5.86,5.86,0,0,0,2.58-.59A6,6,0,0,0,230,224V96A14,14,0,0,0,216,82ZM71.58,138a6,6,0,0,0-3.77,1.33L38,163.43V48a2,2,0,0,1,2-2H168a2,2,0,0,1,2,2v88a2,2,0,0,1-2,2ZM218,211.43l-29.81-24.1a6,6,0,0,0-3.77-1.33H88a2,2,0,0,1-2-2V150h82a14,14,0,0,0,14-14V94h34a2,2,0,0,1,2,2Z"},null,-1),_=[S],x={key:4},z=r("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"},null,-1),N=[z],E={key:5},P=r("path",{d:"M216,84H180V48a12,12,0,0,0-12-12H40A12,12,0,0,0,28,48V176a4,4,0,0,0,4,4,4,4,0,0,0,2.51-.89L73,148h3v36a12,12,0,0,0,12,12h95l38.49,31.11A4,4,0,0,0,224,228a4,4,0,0,0,4-4V96A12,12,0,0,0,216,84ZM71.58,140a4,4,0,0,0-2.51.89L36,167.62V48a4,4,0,0,1,4-4H168a4,4,0,0,1,4,4v88a4,4,0,0,1-4,4ZM220,215.62l-33.07-26.73a4,4,0,0,0-2.51-.89H88a4,4,0,0,1-4-4V148h84a12,12,0,0,0,12-12V92h36a4,4,0,0,1,4,4Z"},null,-1),$=[P],j={name:"PhChats"},R=v({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,d=V("weight","regular"),i=V("size","1em"),u=V("color","currentColor"),H=V("mirrored",!1),n=h(()=>{var a;return(a=e.weight)!=null?a:d}),s=h(()=>{var a;return(a=e.size)!=null?a:i}),g=h(()=>{var a;return(a=e.color)!=null?a:u}),p=h(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:H?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:g.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),n.value==="bold"?(l(),t("g",m,M)):n.value==="duotone"?(l(),t("g",w,k)):n.value==="fill"?(l(),t("g",B,D)):n.value==="light"?(l(),t("g",I,_)):n.value==="regular"?(l(),t("g",x,N)):n.value==="thin"?(l(),t("g",E,$)):f("",!0)],16,A))}});export{R as G}; +//# sourceMappingURL=PhChats.vue.42699894.js.map diff --git a/abstra_statics/dist/assets/PhCheckCircle.vue.9e5251d2.js b/abstra_statics/dist/assets/PhCheckCircle.vue.b905d38f.js similarity index 77% rename from abstra_statics/dist/assets/PhCheckCircle.vue.9e5251d2.js rename to abstra_statics/dist/assets/PhCheckCircle.vue.b905d38f.js index 43fc6bcc37..f760f0694a 100644 --- a/abstra_statics/dist/assets/PhCheckCircle.vue.9e5251d2.js +++ b/abstra_statics/dist/assets/PhCheckCircle.vue.b905d38f.js @@ -1,2 +1,2 @@ -import{d as f,B as d,f as i,o as l,X as t,Z as y,R as Z,e8 as v,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="c6752030-da81-4f91-8999-651e87b85253",o._sentryDebugIdIdentifier="sentry-dbid-c6752030-da81-4f91-8999-651e87b85253")}catch{}})();const A=["width","height","fill","transform"],w={key:0},M=r("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),b=[M],k={key:1},B=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),L=r("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),C=[B,L],D={key:2},I=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),S=[I],_={key:3},x=r("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),z=[x],N={key:4},E=r("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),P=[E],V={key:5},$=r("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),j=[$],q={name:"PhCheckCircle"},R=f({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),g=d("size","1em"),p=d("color","currentColor"),m=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:g}),c=i(()=>{var e;return(e=a.color)!=null?e:p}),h=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,F)=>(l(),t("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:c.value,transform:h.value},e.$attrs),[y(e.$slots,"default"),n.value==="bold"?(l(),t("g",w,b)):n.value==="duotone"?(l(),t("g",k,C)):n.value==="fill"?(l(),t("g",D,S)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",N,P)):n.value==="thin"?(l(),t("g",V,j)):Z("",!0)],16,A))}});export{R as H}; -//# sourceMappingURL=PhCheckCircle.vue.9e5251d2.js.map +import{d as f,B as d,f as i,o as l,X as t,Z as y,R as Z,e8 as v,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="33c2b7c4-2532-4c92-8c29-a17f110d8ee7",o._sentryDebugIdIdentifier="sentry-dbid-33c2b7c4-2532-4c92-8c29-a17f110d8ee7")}catch{}})();const A=["width","height","fill","transform"],w={key:0},M=r("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),b=[M],k={key:1},B=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),L=r("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),C=[B,L],D={key:2},I=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),S=[I],_={key:3},x=r("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),z=[x],N={key:4},E=r("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),P=[E],V={key:5},$=r("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),j=[$],q={name:"PhCheckCircle"},R=f({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),c=d("size","1em"),g=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:c}),m=i(()=>{var e;return(e=a.color)!=null?e:g}),h=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,F)=>(l(),t("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:m.value,transform:h.value},e.$attrs),[y(e.$slots,"default"),n.value==="bold"?(l(),t("g",w,b)):n.value==="duotone"?(l(),t("g",k,C)):n.value==="fill"?(l(),t("g",D,S)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",N,P)):n.value==="thin"?(l(),t("g",V,j)):Z("",!0)],16,A))}});export{R as H}; +//# sourceMappingURL=PhCheckCircle.vue.b905d38f.js.map diff --git a/abstra_statics/dist/assets/PhCopy.vue.edaabc1e.js b/abstra_statics/dist/assets/PhCopy.vue.b2238e41.js similarity index 54% rename from abstra_statics/dist/assets/PhCopy.vue.edaabc1e.js rename to abstra_statics/dist/assets/PhCopy.vue.b2238e41.js index 51c911a3ab..76f6ccd83b 100644 --- a/abstra_statics/dist/assets/PhCopy.vue.edaabc1e.js +++ b/abstra_statics/dist/assets/PhCopy.vue.b2238e41.js @@ -1,2 +1,2 @@ -import{d as p,B as H,f as V,o as t,X as l,Z as m,R as y,e8 as c,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="6adf419a-401d-44f1-981d-4442a7dd001f",o._sentryDebugIdIdentifier="sentry-dbid-6adf419a-401d-44f1-981d-4442a7dd001f")}catch{}})();const Z=["width","height","fill","transform"],v={key:0},w=r("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1),M=[w],b={key:1},k=r("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),A=r("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1),B=[k,A],I={key:2},C=r("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1),D=[C],S={key:3},_=r("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"},null,-1),j=[$],q={name:"PhCopy"},W=p({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,n=H("weight","regular"),i=H("size","1em"),u=H("color","currentColor"),h=H("mirrored",!1),d=V(()=>{var e;return(e=a.weight)!=null?e:n}),s=V(()=>{var e;return(e=a.size)!=null?e:i}),g=V(()=>{var e;return(e=a.color)!=null?e:u}),f=V(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:g.value,transform:f.value},e.$attrs),[m(e.$slots,"default"),d.value==="bold"?(t(),l("g",v,M)):d.value==="duotone"?(t(),l("g",b,B)):d.value==="fill"?(t(),l("g",I,D)):d.value==="light"?(t(),l("g",S,x)):d.value==="regular"?(t(),l("g",z,E)):d.value==="thin"?(t(),l("g",P,j)):y("",!0)],16,Z))}});export{W as I}; -//# sourceMappingURL=PhCopy.vue.edaabc1e.js.map +import{d as p,B as V,f as d,o as t,X as l,Z as b,R as m,e8 as f,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="434fb18b-bbdd-4b2b-9ccc-6d707b32397a",o._sentryDebugIdIdentifier="sentry-dbid-434fb18b-bbdd-4b2b-9ccc-6d707b32397a")}catch{}})();const y=["width","height","fill","transform"],Z={key:0},v=r("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1),w=[v],M={key:1},k=r("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),A=r("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1),B=[k,A],I={key:2},C=r("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1),D=[C],S={key:3},_=r("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"},null,-1),j=[$],q={name:"PhCopy"},W=p({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,n=V("weight","regular"),i=V("size","1em"),u=V("color","currentColor"),h=V("mirrored",!1),H=d(()=>{var e;return(e=a.weight)!=null?e:n}),s=d(()=>{var e;return(e=a.size)!=null?e:i}),c=d(()=>{var e;return(e=a.color)!=null?e:u}),g=d(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:c.value,transform:g.value},e.$attrs),[b(e.$slots,"default"),H.value==="bold"?(t(),l("g",Z,w)):H.value==="duotone"?(t(),l("g",M,B)):H.value==="fill"?(t(),l("g",I,D)):H.value==="light"?(t(),l("g",S,x)):H.value==="regular"?(t(),l("g",z,E)):H.value==="thin"?(t(),l("g",P,j)):m("",!0)],16,y))}});export{W as I}; +//# sourceMappingURL=PhCopy.vue.b2238e41.js.map diff --git a/abstra_statics/dist/assets/PhCopySimple.vue.b5d1b25b.js b/abstra_statics/dist/assets/PhCopySimple.vue.d9faf509.js similarity index 62% rename from abstra_statics/dist/assets/PhCopySimple.vue.b5d1b25b.js rename to abstra_statics/dist/assets/PhCopySimple.vue.d9faf509.js index 51bfa6042e..07644eb0ae 100644 --- a/abstra_statics/dist/assets/PhCopySimple.vue.b5d1b25b.js +++ b/abstra_statics/dist/assets/PhCopySimple.vue.d9faf509.js @@ -1,2 +1,2 @@ -import{d as f,B as d,f as i,o as t,X as l,Z as m,R as h,e8 as y,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="baaa4c5f-ceb3-48f5-88ed-11a077422250",o._sentryDebugIdIdentifier="sentry-dbid-baaa4c5f-ceb3-48f5-88ed-11a077422250")}catch{}})();const Z=["width","height","fill","transform"],v={key:0},w=r("path",{d:"M180,64H40A12,12,0,0,0,28,76V216a12,12,0,0,0,12,12H180a12,12,0,0,0,12-12V76A12,12,0,0,0,180,64ZM168,204H52V88H168ZM228,40V180a12,12,0,0,1-24,0V52H76a12,12,0,0,1,0-24H216A12,12,0,0,1,228,40Z"},null,-1),b=[w],A={key:1},M=r("path",{d:"M184,72V216H40V72Z",opacity:"0.2"},null,-1),k=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),B=[M,k],I={key:2},S=r("path",{d:"M192,72V216a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H184A8,8,0,0,1,192,72Zm24-40H72a8,8,0,0,0,0,16H208V184a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z"},null,-1),C=[S],D={key:3},_=r("path",{d:"M184,66H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H184a6,6,0,0,0,6-6V72A6,6,0,0,0,184,66Zm-6,144H46V78H178ZM222,40V184a6,6,0,0,1-12,0V46H72a6,6,0,0,1,0-12H216A6,6,0,0,1,222,40Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M184,68H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H184a4,4,0,0,0,4-4V72A4,4,0,0,0,184,68Zm-4,144H44V76H180ZM220,40V184a4,4,0,0,1-8,0V44H72a4,4,0,0,1,0-8H216A4,4,0,0,1,220,40Z"},null,-1),j=[$],q={name:"PhCopySimple"},W=f({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),u=d("size","1em"),V=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),H=i(()=>{var e;return(e=a.size)!=null?e:u}),g=i(()=>{var e;return(e=a.color)!=null?e:V}),c=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:g.value,transform:c.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(t(),l("g",v,b)):n.value==="duotone"?(t(),l("g",A,B)):n.value==="fill"?(t(),l("g",I,C)):n.value==="light"?(t(),l("g",D,x)):n.value==="regular"?(t(),l("g",z,E)):n.value==="thin"?(t(),l("g",P,j)):h("",!0)],16,Z))}});export{W as I}; -//# sourceMappingURL=PhCopySimple.vue.b5d1b25b.js.map +import{d as m,B as n,f as i,o as t,X as l,Z as c,R as h,e8 as y,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="e9ad2d6a-e5bd-466f-a811-7028497c56af",o._sentryDebugIdIdentifier="sentry-dbid-e9ad2d6a-e5bd-466f-a811-7028497c56af")}catch{}})();const Z=["width","height","fill","transform"],v={key:0},w=r("path",{d:"M180,64H40A12,12,0,0,0,28,76V216a12,12,0,0,0,12,12H180a12,12,0,0,0,12-12V76A12,12,0,0,0,180,64ZM168,204H52V88H168ZM228,40V180a12,12,0,0,1-24,0V52H76a12,12,0,0,1,0-24H216A12,12,0,0,1,228,40Z"},null,-1),A=[w],M={key:1},b=r("path",{d:"M184,72V216H40V72Z",opacity:"0.2"},null,-1),k=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),B=[b,k],I={key:2},S=r("path",{d:"M192,72V216a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H184A8,8,0,0,1,192,72Zm24-40H72a8,8,0,0,0,0,16H208V184a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z"},null,-1),C=[S],D={key:3},_=r("path",{d:"M184,66H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H184a6,6,0,0,0,6-6V72A6,6,0,0,0,184,66Zm-6,144H46V78H178ZM222,40V184a6,6,0,0,1-12,0V46H72a6,6,0,0,1,0-12H216A6,6,0,0,1,222,40Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M184,68H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H184a4,4,0,0,0,4-4V72A4,4,0,0,0,184,68Zm-4,144H44V76H180ZM220,40V184a4,4,0,0,1-8,0V44H72a4,4,0,0,1,0-8H216A4,4,0,0,1,220,40Z"},null,-1),j=[$],q={name:"PhCopySimple"},W=m({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),u=n("size","1em"),V=n("color","currentColor"),p=n("mirrored",!1),d=i(()=>{var e;return(e=a.weight)!=null?e:s}),H=i(()=>{var e;return(e=a.size)!=null?e:u}),g=i(()=>{var e;return(e=a.color)!=null?e:V}),f=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:g.value,transform:f.value},e.$attrs),[c(e.$slots,"default"),d.value==="bold"?(t(),l("g",v,A)):d.value==="duotone"?(t(),l("g",M,B)):d.value==="fill"?(t(),l("g",I,C)):d.value==="light"?(t(),l("g",D,x)):d.value==="regular"?(t(),l("g",z,E)):d.value==="thin"?(t(),l("g",P,j)):h("",!0)],16,Z))}});export{W as I}; +//# sourceMappingURL=PhCopySimple.vue.d9faf509.js.map diff --git a/abstra_statics/dist/assets/PhCube.vue.38b62bfa.js b/abstra_statics/dist/assets/PhCube.vue.38b62bfa.js new file mode 100644 index 0000000000..515f8a3672 --- /dev/null +++ b/abstra_statics/dist/assets/PhCube.vue.38b62bfa.js @@ -0,0 +1,2 @@ +import{d as p,B as d,f as i,o as a,X as t,Z as m,R as Z,e8 as y,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="14f8ca2e-1d10-4f49-847b-f7336c65b6c8",o._sentryDebugIdIdentifier="sentry-dbid-14f8ca2e-1d10-4f49-847b-f7336c65b6c8")}catch{}})();const V=["width","height","fill","transform"],M={key:0},w=r("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z"},null,-1),A=[w],b={key:1},L=r("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z",opacity:"0.2"},null,-1),k=r("path",{d:"M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z"},null,-1),B=[L,k],C={key:2},D=r("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z"},null,-1),j=[$],q={name:"PhCube"},R=p({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const l=o,s=d("weight","regular"),v=d("size","1em"),c=d("color","currentColor"),g=d("mirrored",!1),n=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:v}),f=i(()=>{var e;return(e=l.color)!=null?e:c}),h=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(e,F)=>(a(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:f.value,transform:h.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(a(),t("g",M,A)):n.value==="duotone"?(a(),t("g",b,B)):n.value==="fill"?(a(),t("g",C,I)):n.value==="light"?(a(),t("g",S,x)):n.value==="regular"?(a(),t("g",z,E)):n.value==="thin"?(a(),t("g",P,j)):Z("",!0)],16,V))}});export{R as H}; +//# sourceMappingURL=PhCube.vue.38b62bfa.js.map diff --git a/abstra_statics/dist/assets/PhCube.vue.9942e1ba.js b/abstra_statics/dist/assets/PhCube.vue.9942e1ba.js deleted file mode 100644 index c79826b4f2..0000000000 --- a/abstra_statics/dist/assets/PhCube.vue.9942e1ba.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as m,B as n,f as i,o as a,X as t,Z,R as f,e8 as y,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="ecd667ed-d209-454d-ade6-537507dfb4c7",o._sentryDebugIdIdentifier="sentry-dbid-ecd667ed-d209-454d-ade6-537507dfb4c7")}catch{}})();const V=["width","height","fill","transform"],M={key:0},w=r("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z"},null,-1),A=[w],b={key:1},L=r("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z",opacity:"0.2"},null,-1),k=r("path",{d:"M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z"},null,-1),B=[L,k],C={key:2},D=r("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z"},null,-1),j=[$],q={name:"PhCube"},R=m({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const l=o,s=n("weight","regular"),v=n("size","1em"),g=n("color","currentColor"),h=n("mirrored",!1),d=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:v}),p=i(()=>{var e;return(e=l.color)!=null?e:g}),c=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(e,F)=>(a(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:p.value,transform:c.value},e.$attrs),[Z(e.$slots,"default"),d.value==="bold"?(a(),t("g",M,A)):d.value==="duotone"?(a(),t("g",b,B)):d.value==="fill"?(a(),t("g",C,I)):d.value==="light"?(a(),t("g",S,x)):d.value==="regular"?(a(),t("g",z,E)):d.value==="thin"?(a(),t("g",P,j)):f("",!0)],16,V))}});export{R as H}; -//# sourceMappingURL=PhCube.vue.9942e1ba.js.map diff --git a/abstra_statics/dist/assets/PhDotsThreeVertical.vue.756b56ff.js b/abstra_statics/dist/assets/PhDotsThreeVertical.vue.766b7c1d.js similarity index 59% rename from abstra_statics/dist/assets/PhDotsThreeVertical.vue.756b56ff.js rename to abstra_statics/dist/assets/PhDotsThreeVertical.vue.766b7c1d.js index 52993181f7..569785eb59 100644 --- a/abstra_statics/dist/assets/PhDotsThreeVertical.vue.756b56ff.js +++ b/abstra_statics/dist/assets/PhDotsThreeVertical.vue.766b7c1d.js @@ -1,2 +1,2 @@ -import{d as A,B as d,f as s,o as t,X as r,Z as y,R as Z,e8 as f,a as l}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="5ca22599-01a9-490a-ac94-67de019490d7",o._sentryDebugIdIdentifier="sentry-dbid-5ca22599-01a9-490a-ac94-67de019490d7")}catch{}})();const v=["width","height","fill","transform"],w={key:0},M=l("path",{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"},null,-1),b=[M],k={key:1},V=l("path",{d:"M176,32V224a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16V32A16,16,0,0,1,96,16h64A16,16,0,0,1,176,32Z",opacity:"0.2"},null,-1),B=l("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"},null,-1),D=[V,B],I={key:2},S=l("path",{d:"M160,16H96A16,16,0,0,0,80,32V224a16,16,0,0,0,16,16h64a16,16,0,0,0,16-16V32A16,16,0,0,0,160,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z"},null,-1),_=[S],x={key:3},z=l("path",{d:"M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z"},null,-1),C=[z],N={key:4},E=l("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"},null,-1),H=[E],P={key:5},$=l("path",{d:"M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z"},null,-1),j=[$],T={name:"PhDotsThreeVertical"},R=A({...T,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,i=d("weight","regular"),m=d("size","1em"),g=d("color","currentColor"),p=d("mirrored",!1),n=s(()=>{var e;return(e=a.weight)!=null?e:i}),u=s(()=>{var e;return(e=a.size)!=null?e:m}),c=s(()=>{var e;return(e=a.color)!=null?e:g}),h=s(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(t(),r("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:c.value,transform:h.value},e.$attrs),[y(e.$slots,"default"),n.value==="bold"?(t(),r("g",w,b)):n.value==="duotone"?(t(),r("g",k,D)):n.value==="fill"?(t(),r("g",I,_)):n.value==="light"?(t(),r("g",x,C)):n.value==="regular"?(t(),r("g",N,H)):n.value==="thin"?(t(),r("g",P,j)):Z("",!0)],16,v))}});export{R as G}; -//# sourceMappingURL=PhDotsThreeVertical.vue.756b56ff.js.map +import{d as f,B as n,f as s,o as t,X as r,Z as A,R as y,e8 as Z,a as l}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="cd9c27d4-7dbf-4899-92de-2e13ede829db",o._sentryDebugIdIdentifier="sentry-dbid-cd9c27d4-7dbf-4899-92de-2e13ede829db")}catch{}})();const v=["width","height","fill","transform"],w={key:0},b=l("path",{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"},null,-1),M=[b],k={key:1},V=l("path",{d:"M176,32V224a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16V32A16,16,0,0,1,96,16h64A16,16,0,0,1,176,32Z",opacity:"0.2"},null,-1),B=l("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"},null,-1),D=[V,B],I={key:2},S=l("path",{d:"M160,16H96A16,16,0,0,0,80,32V224a16,16,0,0,0,16,16h64a16,16,0,0,0,16-16V32A16,16,0,0,0,160,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z"},null,-1),_=[S],x={key:3},z=l("path",{d:"M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z"},null,-1),C=[z],N={key:4},E=l("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"},null,-1),H=[E],P={key:5},$=l("path",{d:"M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z"},null,-1),j=[$],T={name:"PhDotsThreeVertical"},R=f({...T,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,i=n("weight","regular"),m=n("size","1em"),g=n("color","currentColor"),p=n("mirrored",!1),d=s(()=>{var e;return(e=a.weight)!=null?e:i}),u=s(()=>{var e;return(e=a.size)!=null?e:m}),c=s(()=>{var e;return(e=a.color)!=null?e:g}),h=s(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(t(),r("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:c.value,transform:h.value},e.$attrs),[A(e.$slots,"default"),d.value==="bold"?(t(),r("g",w,M)):d.value==="duotone"?(t(),r("g",k,D)):d.value==="fill"?(t(),r("g",I,_)):d.value==="light"?(t(),r("g",x,C)):d.value==="regular"?(t(),r("g",N,H)):d.value==="thin"?(t(),r("g",P,j)):y("",!0)],16,v))}});export{R as G}; +//# sourceMappingURL=PhDotsThreeVertical.vue.766b7c1d.js.map diff --git a/abstra_statics/dist/assets/PhDownloadSimple.vue.b11b5d9f.js b/abstra_statics/dist/assets/PhDownloadSimple.vue.7ab7df2c.js similarity index 60% rename from abstra_statics/dist/assets/PhDownloadSimple.vue.b11b5d9f.js rename to abstra_statics/dist/assets/PhDownloadSimple.vue.7ab7df2c.js index a9b63ca0d1..894002bb37 100644 --- a/abstra_statics/dist/assets/PhDownloadSimple.vue.b11b5d9f.js +++ b/abstra_statics/dist/assets/PhDownloadSimple.vue.7ab7df2c.js @@ -1,2 +1,2 @@ -import{d as f,B as n,f as i,o as l,X as t,Z as V,R as h,e8 as y,a as o}from"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="87dc78d4-d5d4-4dc2-9229-60031f0f5e39",r._sentryDebugIdIdentifier="sentry-dbid-87dc78d4-d5d4-4dc2-9229-60031f0f5e39")}catch{}})();const w=["width","height","fill","transform"],H={key:0},Z=o("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"},null,-1),L=[Z],b={key:1},k=o("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),M=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),B=[k,M],D={key:2},S=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"},null,-1),I=[S],_={key:3},x=o("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"},null,-1),z=[x],A={key:4},C=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),N=[C],E={key:5},P=o("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"},null,-1),$=[P],j={name:"PhDownloadSimple"},R=f({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,s=n("weight","regular"),v=n("size","1em"),g=n("color","currentColor"),p=n("mirrored",!1),d=i(()=>{var a;return(a=e.weight)!=null?a:s}),u=i(()=>{var a;return(a=e.size)!=null?a:v}),c=i(()=>{var a;return(a=e.color)!=null?a:g}),m=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:c.value,transform:m.value},a.$attrs),[V(a.$slots,"default"),d.value==="bold"?(l(),t("g",H,L)):d.value==="duotone"?(l(),t("g",b,B)):d.value==="fill"?(l(),t("g",D,I)):d.value==="light"?(l(),t("g",_,z)):d.value==="regular"?(l(),t("g",A,N)):d.value==="thin"?(l(),t("g",E,$)):h("",!0)],16,w))}});export{R as G}; -//# sourceMappingURL=PhDownloadSimple.vue.b11b5d9f.js.map +import{d as V,B as d,f as i,o as l,X as t,Z as h,R as y,e8 as f,a as o}from"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="31076ce2-7357-45b6-9dbc-c89459ae963e",r._sentryDebugIdIdentifier="sentry-dbid-31076ce2-7357-45b6-9dbc-c89459ae963e")}catch{}})();const w=["width","height","fill","transform"],H={key:0},Z=o("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"},null,-1),b=[Z],L={key:1},k=o("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),M=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),B=[k,M],D={key:2},S=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"},null,-1),I=[S],_={key:3},x=o("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"},null,-1),z=[x],A={key:4},C=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),N=[C],E={key:5},P=o("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"},null,-1),$=[P],j={name:"PhDownloadSimple"},R=V({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,s=d("weight","regular"),v=d("size","1em"),c=d("color","currentColor"),g=d("mirrored",!1),n=i(()=>{var a;return(a=e.weight)!=null?a:s}),u=i(()=>{var a;return(a=e.size)!=null?a:v}),p=i(()=>{var a;return(a=e.color)!=null?a:c}),m=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:p.value,transform:m.value},a.$attrs),[h(a.$slots,"default"),n.value==="bold"?(l(),t("g",H,b)):n.value==="duotone"?(l(),t("g",L,B)):n.value==="fill"?(l(),t("g",D,I)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",A,N)):n.value==="thin"?(l(),t("g",E,$)):y("",!0)],16,w))}});export{R as G}; +//# sourceMappingURL=PhDownloadSimple.vue.7ab7df2c.js.map diff --git a/abstra_statics/dist/assets/PhFlowArrow.vue.9bde0f49.js b/abstra_statics/dist/assets/PhFlowArrow.vue.a7015891.js similarity index 69% rename from abstra_statics/dist/assets/PhFlowArrow.vue.9bde0f49.js rename to abstra_statics/dist/assets/PhFlowArrow.vue.a7015891.js index efa624cbc7..2d67a2edf4 100644 --- a/abstra_statics/dist/assets/PhFlowArrow.vue.9bde0f49.js +++ b/abstra_statics/dist/assets/PhFlowArrow.vue.a7015891.js @@ -1,2 +1,2 @@ -import{d as y,B as d,f as s,o as l,X as t,Z as m,R as w,e8 as v,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="a8cea929-c1e3-4a23-85ee-f9f842a7308a",o._sentryDebugIdIdentifier="sentry-dbid-a8cea929-c1e3-4a23-85ee-f9f842a7308a")}catch{}})();const A=["width","height","fill","transform"],Z={key:0},M=r("path",{d:"M248.49,71.51l-32-32a12,12,0,0,0-17,17L211,68h-3c-52,0-64.8,30.71-75.08,55.38-8.82,21.17-15.45,37.05-42.75,40.09a44,44,0,1,0,.28,24.08c43.34-3.87,55.07-32,64.63-54.93C164.9,109,172,92,208,92h3l-11.52,11.51a12,12,0,0,0,17,17l32-32A12,12,0,0,0,248.49,71.51ZM48,196a20,20,0,1,1,20-20A20,20,0,0,1,48,196Z"},null,-1),C=[M],b={key:1},k=r("path",{d:"M80,176a32,32,0,1,1-32-32A32,32,0,0,1,80,176Z",opacity:"0.2"},null,-1),L=r("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"},null,-1),B=[k,L],H={key:2},I=r("path",{d:"M245.66,85.66l-32,32a8,8,0,0,1-11.32-11.32L220.69,88H208c-38.67,0-46.59,19-56.62,43.08C141.05,155.88,129.33,184,80,184H79a32,32,0,1,1,0-16h1c38.67,0,46.59-19,56.62-43.08C147,100.12,158.67,72,208,72h12.69L202.34,53.66a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,245.66,85.66Z"},null,-1),S=[I],_={key:3},x=r("path",{d:"M244.24,75.76l-32-32a6,6,0,0,0-8.48,8.48L225.51,74H208c-48,0-59.44,27.46-69.54,51.69-9.43,22.64-17.66,42.33-53,44.16a38,38,0,1,0,.06,12c43.34-2.06,54.29-28.29,64-51.55C159.44,106.53,168,86,208,86h17.51l-21.75,21.76a6,6,0,1,0,8.48,8.48l32-32A6,6,0,0,0,244.24,75.76ZM48,202a26,26,0,1,1,26-26A26,26,0,0,1,48,202Z"},null,-1),z=[x],D={key:4},N=r("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"},null,-1),E=[N],P={key:5},V=r("path",{d:"M242.83,77.17l-32-32a4,4,0,0,0-5.66,5.66L230.34,76H208c-46.67,0-57.84,26.81-67.69,50.46-9.46,22.69-18.4,44.16-56.55,45.48a36,36,0,1,0,0,8c43.49-1.42,54.33-27.39,63.91-50.39C157.45,106.12,166.67,84,208,84h22.34l-25.17,25.17a4,4,0,0,0,5.66,5.66l32-32A4,4,0,0,0,242.83,77.17ZM48,204a28,28,0,1,1,28-28A28,28,0,0,1,48,204Z"},null,-1),$=[V],j={name:"PhFlowArrow"},G=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,i=d("weight","regular"),u=d("size","1em"),h=d("color","currentColor"),g=d("mirrored",!1),n=s(()=>{var e;return(e=a.weight)!=null?e:i}),c=s(()=>{var e;return(e=a.size)!=null?e:u}),p=s(()=>{var e;return(e=a.color)!=null?e:h}),f=s(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(e,F)=>(l(),t("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:p.value,transform:f.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(l(),t("g",Z,C)):n.value==="duotone"?(l(),t("g",b,B)):n.value==="fill"?(l(),t("g",H,S)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",D,E)):n.value==="thin"?(l(),t("g",P,$)):w("",!0)],16,A))}});export{G}; -//# sourceMappingURL=PhFlowArrow.vue.9bde0f49.js.map +import{d as y,B as n,f as s,o as l,X as t,Z as m,R as w,e8 as v,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="33a49fce-c8a3-4ded-9141-1877bd6cdf58",o._sentryDebugIdIdentifier="sentry-dbid-33a49fce-c8a3-4ded-9141-1877bd6cdf58")}catch{}})();const A=["width","height","fill","transform"],Z={key:0},b=r("path",{d:"M248.49,71.51l-32-32a12,12,0,0,0-17,17L211,68h-3c-52,0-64.8,30.71-75.08,55.38-8.82,21.17-15.45,37.05-42.75,40.09a44,44,0,1,0,.28,24.08c43.34-3.87,55.07-32,64.63-54.93C164.9,109,172,92,208,92h3l-11.52,11.51a12,12,0,0,0,17,17l32-32A12,12,0,0,0,248.49,71.51ZM48,196a20,20,0,1,1,20-20A20,20,0,0,1,48,196Z"},null,-1),M=[b],C={key:1},k=r("path",{d:"M80,176a32,32,0,1,1-32-32A32,32,0,0,1,80,176Z",opacity:"0.2"},null,-1),L=r("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"},null,-1),B=[k,L],H={key:2},I=r("path",{d:"M245.66,85.66l-32,32a8,8,0,0,1-11.32-11.32L220.69,88H208c-38.67,0-46.59,19-56.62,43.08C141.05,155.88,129.33,184,80,184H79a32,32,0,1,1,0-16h1c38.67,0,46.59-19,56.62-43.08C147,100.12,158.67,72,208,72h12.69L202.34,53.66a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,245.66,85.66Z"},null,-1),S=[I],_={key:3},x=r("path",{d:"M244.24,75.76l-32-32a6,6,0,0,0-8.48,8.48L225.51,74H208c-48,0-59.44,27.46-69.54,51.69-9.43,22.64-17.66,42.33-53,44.16a38,38,0,1,0,.06,12c43.34-2.06,54.29-28.29,64-51.55C159.44,106.53,168,86,208,86h17.51l-21.75,21.76a6,6,0,1,0,8.48,8.48l32-32A6,6,0,0,0,244.24,75.76ZM48,202a26,26,0,1,1,26-26A26,26,0,0,1,48,202Z"},null,-1),z=[x],D={key:4},N=r("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"},null,-1),E=[N],P={key:5},V=r("path",{d:"M242.83,77.17l-32-32a4,4,0,0,0-5.66,5.66L230.34,76H208c-46.67,0-57.84,26.81-67.69,50.46-9.46,22.69-18.4,44.16-56.55,45.48a36,36,0,1,0,0,8c43.49-1.42,54.33-27.39,63.91-50.39C157.45,106.12,166.67,84,208,84h22.34l-25.17,25.17a4,4,0,0,0,5.66,5.66l32-32A4,4,0,0,0,242.83,77.17ZM48,204a28,28,0,1,1,28-28A28,28,0,0,1,48,204Z"},null,-1),$=[V],j={name:"PhFlowArrow"},G=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,c=n("weight","regular"),u=n("size","1em"),h=n("color","currentColor"),g=n("mirrored",!1),d=s(()=>{var e;return(e=a.weight)!=null?e:c}),i=s(()=>{var e;return(e=a.size)!=null?e:u}),p=s(()=>{var e;return(e=a.color)!=null?e:h}),f=s(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(e,F)=>(l(),t("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:i.value,height:i.value,fill:p.value,transform:f.value},e.$attrs),[m(e.$slots,"default"),d.value==="bold"?(l(),t("g",Z,M)):d.value==="duotone"?(l(),t("g",C,B)):d.value==="fill"?(l(),t("g",H,S)):d.value==="light"?(l(),t("g",_,z)):d.value==="regular"?(l(),t("g",D,E)):d.value==="thin"?(l(),t("g",P,$)):w("",!0)],16,A))}});export{G}; +//# sourceMappingURL=PhFlowArrow.vue.a7015891.js.map diff --git a/abstra_statics/dist/assets/PhGlobe.vue.5d1ae5ae.js b/abstra_statics/dist/assets/PhGlobe.vue.8ad99031.js similarity index 89% rename from abstra_statics/dist/assets/PhGlobe.vue.5d1ae5ae.js rename to abstra_statics/dist/assets/PhGlobe.vue.8ad99031.js index 5e3040a25a..a807088f8c 100644 --- a/abstra_statics/dist/assets/PhGlobe.vue.5d1ae5ae.js +++ b/abstra_statics/dist/assets/PhGlobe.vue.8ad99031.js @@ -1,2 +1,2 @@ -import{d as M,B as l,f as h,o as t,X as Z,Z as g,R as c,e8 as p,a as A}from"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="9c510d0b-60ee-428e-af66-1a18e0d0c0ef",r._sentryDebugIdIdentifier="sentry-dbid-9c510d0b-60ee-428e-af66-1a18e0d0c0ef")}catch{}})();const f=["width","height","fill","transform"],y={key:0},v=A("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1),w=[v],b={key:1},k=A("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),B=A("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),C=[k,B],I={key:2},D=A("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),S=[D],_={key:3},x=A("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1),z=[x],N={key:4},E=A("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),P=[E],V={key:5},$=A("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1),j=[$],G={name:"PhGlobe"},W=M({...G,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,d=l("weight","regular"),n=l("size","1em"),i=l("color","currentColor"),s=l("mirrored",!1),o=h(()=>{var a;return(a=e.weight)!=null?a:d}),m=h(()=>{var a;return(a=e.size)!=null?a:n}),H=h(()=>{var a;return(a=e.color)!=null?a:i}),u=h(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,q)=>(t(),Z("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:H.value,transform:u.value},a.$attrs),[g(a.$slots,"default"),o.value==="bold"?(t(),Z("g",y,w)):o.value==="duotone"?(t(),Z("g",b,C)):o.value==="fill"?(t(),Z("g",I,S)):o.value==="light"?(t(),Z("g",_,z)):o.value==="regular"?(t(),Z("g",N,P)):o.value==="thin"?(t(),Z("g",V,j)):c("",!0)],16,f))}});export{W as I}; -//# sourceMappingURL=PhGlobe.vue.5d1ae5ae.js.map +import{d as M,B as l,f as h,o as t,X as Z,Z as g,R as p,e8 as f,a as A}from"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="f11a4d1b-0e58-455a-a1b9-f5eaadb6a72a",r._sentryDebugIdIdentifier="sentry-dbid-f11a4d1b-0e58-455a-a1b9-f5eaadb6a72a")}catch{}})();const c=["width","height","fill","transform"],y={key:0},v=A("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1),b=[v],w={key:1},k=A("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),B=A("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),C=[k,B],I={key:2},D=A("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),S=[D],_={key:3},x=A("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1),z=[x],N={key:4},E=A("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),P=[E],V={key:5},$=A("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1),j=[$],G={name:"PhGlobe"},W=M({...G,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,d=l("weight","regular"),n=l("size","1em"),i=l("color","currentColor"),s=l("mirrored",!1),o=h(()=>{var a;return(a=e.weight)!=null?a:d}),m=h(()=>{var a;return(a=e.size)!=null?a:n}),H=h(()=>{var a;return(a=e.color)!=null?a:i}),u=h(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,q)=>(t(),Z("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:H.value,transform:u.value},a.$attrs),[g(a.$slots,"default"),o.value==="bold"?(t(),Z("g",y,b)):o.value==="duotone"?(t(),Z("g",w,C)):o.value==="fill"?(t(),Z("g",I,S)):o.value==="light"?(t(),Z("g",_,z)):o.value==="regular"?(t(),Z("g",N,P)):o.value==="thin"?(t(),Z("g",V,j)):p("",!0)],16,c))}});export{W as I}; +//# sourceMappingURL=PhGlobe.vue.8ad99031.js.map diff --git a/abstra_statics/dist/assets/PhIdentificationBadge.vue.45493857.js b/abstra_statics/dist/assets/PhIdentificationBadge.vue.c9ecd119.js similarity index 82% rename from abstra_statics/dist/assets/PhIdentificationBadge.vue.45493857.js rename to abstra_statics/dist/assets/PhIdentificationBadge.vue.c9ecd119.js index 72e2a961d7..6df62c2836 100644 --- a/abstra_statics/dist/assets/PhIdentificationBadge.vue.45493857.js +++ b/abstra_statics/dist/assets/PhIdentificationBadge.vue.c9ecd119.js @@ -1,2 +1,2 @@ -import{d as A,B as n,f as d,o as t,X as l,Z as p,R as m,e8 as c,a as r}from"./vue-router.33f35a18.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="1aad5018-6c03-4026-b654-c08a7fdb861b",i._sentryDebugIdIdentifier="sentry-dbid-1aad5018-6c03-4026-b654-c08a7fdb861b")}catch{}})();const M=["width","height","fill","transform"],y={key:0},f=r("path",{d:"M52,52V204H80a12,12,0,0,1,0,24H40a12,12,0,0,1-12-12V40A12,12,0,0,1,40,28H80a12,12,0,0,1,0,24ZM216,28H176a12,12,0,0,0,0,24h28V204H176a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28Z"},null,-1),w=[f],$={key:1},b=r("path",{d:"M216,40V216H40V40Z",opacity:"0.2"},null,-1),k=r("path",{d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"},null,-1),B=[b,k],S={key:2},I=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM104,176a8,8,0,0,1,0,16H72a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8h32a8,8,0,0,1,0,16H80v96Zm88,8a8,8,0,0,1-8,8H152a8,8,0,0,1,0-16h24V80H152a8,8,0,0,1,0-16h32a8,8,0,0,1,8,8Z"},null,-1),z=[I],x={key:3},C=r("path",{d:"M46,46V210H80a6,6,0,0,1,0,12H40a6,6,0,0,1-6-6V40a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12ZM216,34H176a6,6,0,0,0,0,12h34V210H176a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34Z"},null,-1),D=[C],N={key:4},_=r("path",{d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"},null,-1),P=[_],E={key:5},j=r("path",{d:"M44,44V212H80a4,4,0,0,1,0,8H40a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8Zm172-8H176a4,4,0,0,0,0,8h36V212H176a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36Z"},null,-1),q=[j],W={name:"PhBracketsSquare"},h0=A({...W,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,h=n("weight","regular"),u=n("size","1em"),s=n("color","currentColor"),g=n("mirrored",!1),o=d(()=>{var a;return(a=e.weight)!=null?a:h}),H=d(()=>{var a;return(a=e.size)!=null?a:u}),V=d(()=>{var a;return(a=e.color)!=null?a:s}),Z=d(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,v)=>(t(),l("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:V.value,transform:Z.value},a.$attrs),[p(a.$slots,"default"),o.value==="bold"?(t(),l("g",y,w)):o.value==="duotone"?(t(),l("g",$,B)):o.value==="fill"?(t(),l("g",S,z)):o.value==="light"?(t(),l("g",x,D)):o.value==="regular"?(t(),l("g",N,P)):o.value==="thin"?(t(),l("g",E,q)):m("",!0)],16,M))}}),F=["width","height","fill","transform"],G={key:0},R=r("path",{d:"M200,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V40A20,20,0,0,0,200,20Zm-4,192H60V44H196ZM84,68A12,12,0,0,1,96,56h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,68Zm8.8,127.37a48,48,0,0,1,70.4,0,12,12,0,0,0,17.6-16.32,72,72,0,0,0-19.21-14.68,44,44,0,1,0-67.19,0,72.12,72.12,0,0,0-19.2,14.68,12,12,0,0,0,17.6,16.32ZM128,116a20,20,0,1,1-20,20A20,20,0,0,1,128,116Z"},null,-1),X=[R],J={key:1},K=r("path",{d:"M200,32H56a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H200a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32ZM128,168a32,32,0,1,1,32-32A32,32,0,0,1,128,168Z",opacity:"0.2"},null,-1),L=r("path",{d:"M75.19,198.4a8,8,0,0,0,11.21-1.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6A67.88,67.88,0,0,0,155,165.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,73.6,187.2,8,8,0,0,0,75.19,198.4ZM128,112a24,24,0,1,1-24,24A24,24,0,0,1,128,112Zm72-88H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24Zm0,192H56V40H200ZM88,64a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,64Z"},null,-1),O=[K,L],Q={key:2},T=r("path",{d:"M200,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24ZM96,48h64a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16Zm84.81,150.4a8,8,0,0,1-11.21-1.6,52,52,0,0,0-83.2,0,8,8,0,1,1-12.8-9.6A67.88,67.88,0,0,1,101,165.51a40,40,0,1,1,53.94,0A67.88,67.88,0,0,1,182.4,187.2,8,8,0,0,1,180.81,198.4ZM152,136a24,24,0,1,1-24-24A24,24,0,0,1,152,136Z"},null,-1),U=[T],Y={key:3},a0=r("path",{d:"M151.11,166.13a38,38,0,1,0-46.22,0A65.75,65.75,0,0,0,75.2,188.4a6,6,0,0,0,9.6,7.2,54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.2A65.75,65.75,0,0,0,151.11,166.13ZM128,110a26,26,0,1,1-26,26A26,26,0,0,1,128,110Zm72-84H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V40A14,14,0,0,0,200,26Zm2,190a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2H200a2,2,0,0,1,2,2ZM90,64a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H96A6,6,0,0,1,90,64Z"},null,-1),e0=[a0],t0={key:4},l0=r("path",{d:"M75.19,198.4a8,8,0,0,0,11.21-1.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6A67.88,67.88,0,0,0,155,165.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,73.6,187.2,8,8,0,0,0,75.19,198.4ZM128,112a24,24,0,1,1-24,24A24,24,0,0,1,128,112Zm72-88H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24Zm0,192H56V40H200ZM88,64a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,64Z"},null,-1),r0=[l0],o0={key:5},i0=r("path",{d:"M146.7,166.75a36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,76.8,189.6a4,4,0,0,0,6.4,4.8,56,56,0,0,1,89.6,0,4,4,0,0,0,6.4-4.8A63.65,63.65,0,0,0,146.7,166.75ZM100,136a28,28,0,1,1,28,28A28,28,0,0,1,100,136ZM200,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V40A12,12,0,0,0,200,28Zm4,188a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4ZM92,64a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H96A4,4,0,0,1,92,64Z"},null,-1),n0=[i0],d0={name:"PhIdentificationBadge"},u0=A({...d0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,h=n("weight","regular"),u=n("size","1em"),s=n("color","currentColor"),g=n("mirrored",!1),o=d(()=>{var a;return(a=e.weight)!=null?a:h}),H=d(()=>{var a;return(a=e.size)!=null?a:u}),V=d(()=>{var a;return(a=e.color)!=null?a:s}),Z=d(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,v)=>(t(),l("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:V.value,transform:Z.value},a.$attrs),[p(a.$slots,"default"),o.value==="bold"?(t(),l("g",G,X)):o.value==="duotone"?(t(),l("g",J,O)):o.value==="fill"?(t(),l("g",Q,U)):o.value==="light"?(t(),l("g",Y,e0)):o.value==="regular"?(t(),l("g",t0,r0)):o.value==="thin"?(t(),l("g",o0,n0)):m("",!0)],16,F))}});export{u0 as G,h0 as I}; -//# sourceMappingURL=PhIdentificationBadge.vue.45493857.js.map +import{d as A,B as n,f as H,o as t,X as l,Z as p,R as m,e8 as c,a as r}from"./vue-router.324eaed2.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="fb512916-0036-47b2-93e4-8c9a55e34331",i._sentryDebugIdIdentifier="sentry-dbid-fb512916-0036-47b2-93e4-8c9a55e34331")}catch{}})();const M=["width","height","fill","transform"],y={key:0},f=r("path",{d:"M52,52V204H80a12,12,0,0,1,0,24H40a12,12,0,0,1-12-12V40A12,12,0,0,1,40,28H80a12,12,0,0,1,0,24ZM216,28H176a12,12,0,0,0,0,24h28V204H176a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28Z"},null,-1),w=[f],$={key:1},k=r("path",{d:"M216,40V216H40V40Z",opacity:"0.2"},null,-1),b=r("path",{d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"},null,-1),B=[k,b],S={key:2},I=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM104,176a8,8,0,0,1,0,16H72a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8h32a8,8,0,0,1,0,16H80v96Zm88,8a8,8,0,0,1-8,8H152a8,8,0,0,1,0-16h24V80H152a8,8,0,0,1,0-16h32a8,8,0,0,1,8,8Z"},null,-1),z=[I],x={key:3},C=r("path",{d:"M46,46V210H80a6,6,0,0,1,0,12H40a6,6,0,0,1-6-6V40a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12ZM216,34H176a6,6,0,0,0,0,12h34V210H176a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34Z"},null,-1),D=[C],N={key:4},_=r("path",{d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"},null,-1),P=[_],E={key:5},j=r("path",{d:"M44,44V212H80a4,4,0,0,1,0,8H40a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8Zm172-8H176a4,4,0,0,0,0,8h36V212H176a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36Z"},null,-1),q=[j],W={name:"PhBracketsSquare"},h0=A({...W,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,h=n("weight","regular"),u=n("size","1em"),s=n("color","currentColor"),g=n("mirrored",!1),o=H(()=>{var a;return(a=e.weight)!=null?a:h}),d=H(()=>{var a;return(a=e.size)!=null?a:u}),V=H(()=>{var a;return(a=e.color)!=null?a:s}),Z=H(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,v)=>(t(),l("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:V.value,transform:Z.value},a.$attrs),[p(a.$slots,"default"),o.value==="bold"?(t(),l("g",y,w)):o.value==="duotone"?(t(),l("g",$,B)):o.value==="fill"?(t(),l("g",S,z)):o.value==="light"?(t(),l("g",x,D)):o.value==="regular"?(t(),l("g",N,P)):o.value==="thin"?(t(),l("g",E,q)):m("",!0)],16,M))}}),F=["width","height","fill","transform"],G={key:0},R=r("path",{d:"M200,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V40A20,20,0,0,0,200,20Zm-4,192H60V44H196ZM84,68A12,12,0,0,1,96,56h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,68Zm8.8,127.37a48,48,0,0,1,70.4,0,12,12,0,0,0,17.6-16.32,72,72,0,0,0-19.21-14.68,44,44,0,1,0-67.19,0,72.12,72.12,0,0,0-19.2,14.68,12,12,0,0,0,17.6,16.32ZM128,116a20,20,0,1,1-20,20A20,20,0,0,1,128,116Z"},null,-1),X=[R],J={key:1},K=r("path",{d:"M200,32H56a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H200a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32ZM128,168a32,32,0,1,1,32-32A32,32,0,0,1,128,168Z",opacity:"0.2"},null,-1),L=r("path",{d:"M75.19,198.4a8,8,0,0,0,11.21-1.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6A67.88,67.88,0,0,0,155,165.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,73.6,187.2,8,8,0,0,0,75.19,198.4ZM128,112a24,24,0,1,1-24,24A24,24,0,0,1,128,112Zm72-88H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24Zm0,192H56V40H200ZM88,64a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,64Z"},null,-1),O=[K,L],Q={key:2},T=r("path",{d:"M200,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24ZM96,48h64a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16Zm84.81,150.4a8,8,0,0,1-11.21-1.6,52,52,0,0,0-83.2,0,8,8,0,1,1-12.8-9.6A67.88,67.88,0,0,1,101,165.51a40,40,0,1,1,53.94,0A67.88,67.88,0,0,1,182.4,187.2,8,8,0,0,1,180.81,198.4ZM152,136a24,24,0,1,1-24-24A24,24,0,0,1,152,136Z"},null,-1),U=[T],Y={key:3},a0=r("path",{d:"M151.11,166.13a38,38,0,1,0-46.22,0A65.75,65.75,0,0,0,75.2,188.4a6,6,0,0,0,9.6,7.2,54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.2A65.75,65.75,0,0,0,151.11,166.13ZM128,110a26,26,0,1,1-26,26A26,26,0,0,1,128,110Zm72-84H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V40A14,14,0,0,0,200,26Zm2,190a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2H200a2,2,0,0,1,2,2ZM90,64a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H96A6,6,0,0,1,90,64Z"},null,-1),e0=[a0],t0={key:4},l0=r("path",{d:"M75.19,198.4a8,8,0,0,0,11.21-1.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6A67.88,67.88,0,0,0,155,165.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,73.6,187.2,8,8,0,0,0,75.19,198.4ZM128,112a24,24,0,1,1-24,24A24,24,0,0,1,128,112Zm72-88H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24Zm0,192H56V40H200ZM88,64a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,64Z"},null,-1),r0=[l0],o0={key:5},i0=r("path",{d:"M146.7,166.75a36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,76.8,189.6a4,4,0,0,0,6.4,4.8,56,56,0,0,1,89.6,0,4,4,0,0,0,6.4-4.8A63.65,63.65,0,0,0,146.7,166.75ZM100,136a28,28,0,1,1,28,28A28,28,0,0,1,100,136ZM200,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V40A12,12,0,0,0,200,28Zm4,188a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4ZM92,64a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H96A4,4,0,0,1,92,64Z"},null,-1),n0=[i0],H0={name:"PhIdentificationBadge"},u0=A({...H0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,h=n("weight","regular"),u=n("size","1em"),s=n("color","currentColor"),g=n("mirrored",!1),o=H(()=>{var a;return(a=e.weight)!=null?a:h}),d=H(()=>{var a;return(a=e.size)!=null?a:u}),V=H(()=>{var a;return(a=e.color)!=null?a:s}),Z=H(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,v)=>(t(),l("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:V.value,transform:Z.value},a.$attrs),[p(a.$slots,"default"),o.value==="bold"?(t(),l("g",G,X)):o.value==="duotone"?(t(),l("g",J,O)):o.value==="fill"?(t(),l("g",Q,U)):o.value==="light"?(t(),l("g",Y,e0)):o.value==="regular"?(t(),l("g",t0,r0)):o.value==="thin"?(t(),l("g",o0,n0)):m("",!0)],16,F))}});export{u0 as G,h0 as I}; +//# sourceMappingURL=PhIdentificationBadge.vue.c9ecd119.js.map diff --git a/abstra_statics/dist/assets/PhKanban.vue.2acea65f.js b/abstra_statics/dist/assets/PhKanban.vue.e9ec854d.js similarity index 75% rename from abstra_statics/dist/assets/PhKanban.vue.2acea65f.js rename to abstra_statics/dist/assets/PhKanban.vue.e9ec854d.js index 4fc9f4118b..a9fb11e700 100644 --- a/abstra_statics/dist/assets/PhKanban.vue.2acea65f.js +++ b/abstra_statics/dist/assets/PhKanban.vue.e9ec854d.js @@ -1,2 +1,2 @@ -import{d as u,B as h,f as H,o as t,X as r,Z as g,R as f,e8 as p,a as l}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="24eee861-8f46-4c17-a676-f4d38fd98e81",o._sentryDebugIdIdentifier="sentry-dbid-24eee861-8f46-4c17-a676-f4d38fd98e81")}catch{}})();const c=["width","height","fill","transform"],y={key:0},w=l("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),M=[w],A={key:1},b=l("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),k=l("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),B=[b,k],D={key:2},I=l("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),S=[I],_={key:3},x=l("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),z=[x],C={key:4},N=l("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),E=[N],P={key:5},$=l("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),j=[$],K={name:"PhKanban"},R=u({...K,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,n=h("weight","regular"),m=h("size","1em"),i=h("color","currentColor"),s=h("mirrored",!1),V=H(()=>{var a;return(a=e.weight)!=null?a:n}),d=H(()=>{var a;return(a=e.size)!=null?a:m}),Z=H(()=>{var a;return(a=e.color)!=null?a:i}),v=H(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,q)=>(t(),r("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:Z.value,transform:v.value},a.$attrs),[g(a.$slots,"default"),V.value==="bold"?(t(),r("g",y,M)):V.value==="duotone"?(t(),r("g",A,B)):V.value==="fill"?(t(),r("g",D,S)):V.value==="light"?(t(),r("g",_,z)):V.value==="regular"?(t(),r("g",C,E)):V.value==="thin"?(t(),r("g",P,j)):f("",!0)],16,c))}});export{R as G}; -//# sourceMappingURL=PhKanban.vue.2acea65f.js.map +import{d as u,B as h,f as H,o as t,X as r,Z as g,R as f,e8 as c,a as l}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="b7d1b386-603e-4f5f-bc51-44f9721c1ebe",o._sentryDebugIdIdentifier="sentry-dbid-b7d1b386-603e-4f5f-bc51-44f9721c1ebe")}catch{}})();const p=["width","height","fill","transform"],y={key:0},b=l("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),w=[b],M={key:1},A=l("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),k=l("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),B=[A,k],D={key:2},I=l("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),S=[I],_={key:3},x=l("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),z=[x],C={key:4},N=l("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),E=[N],P={key:5},$=l("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),j=[$],K={name:"PhKanban"},R=u({...K,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,n=h("weight","regular"),m=h("size","1em"),i=h("color","currentColor"),s=h("mirrored",!1),V=H(()=>{var a;return(a=e.weight)!=null?a:n}),d=H(()=>{var a;return(a=e.size)!=null?a:m}),Z=H(()=>{var a;return(a=e.color)!=null?a:i}),v=H(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,q)=>(t(),r("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:Z.value,transform:v.value},a.$attrs),[g(a.$slots,"default"),V.value==="bold"?(t(),r("g",y,w)):V.value==="duotone"?(t(),r("g",M,B)):V.value==="fill"?(t(),r("g",D,S)):V.value==="light"?(t(),r("g",_,z)):V.value==="regular"?(t(),r("g",C,E)):V.value==="thin"?(t(),r("g",P,j)):f("",!0)],16,p))}});export{R as G}; +//# sourceMappingURL=PhKanban.vue.e9ec854d.js.map diff --git a/abstra_statics/dist/assets/PhPencil.vue.2def7849.js b/abstra_statics/dist/assets/PhPencil.vue.91f72c2e.js similarity index 73% rename from abstra_statics/dist/assets/PhPencil.vue.2def7849.js rename to abstra_statics/dist/assets/PhPencil.vue.91f72c2e.js index 2731a2b353..c718eaefb2 100644 --- a/abstra_statics/dist/assets/PhPencil.vue.2def7849.js +++ b/abstra_statics/dist/assets/PhPencil.vue.91f72c2e.js @@ -1,2 +1,2 @@ -import{d as h,B as d,f as i,o as l,X as t,Z as m,R as c,e8 as M,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="8fa21fc3-2020-4235-bd61-98e5f20bf20b",o._sentryDebugIdIdentifier="sentry-dbid-8fa21fc3-2020-4235-bd61-98e5f20bf20b")}catch{}})();const y=["width","height","fill","transform"],v={key:0},b=r("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM93,180l71-71,11,11-71,71ZM76,163,65,152l71-71,11,11ZM52,173l15.51,15.51h0L83,204H52ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1),w=[b],H={key:1},A=r("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),V=r("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"},null,-1),k=[A,V],B={key:2},D=r("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160l90.35-90.35,16.68,16.69L68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188l90.35-90.35h0l16.68,16.69Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM48.49,160,136,72.48,155.51,92,68,179.51ZM46,208V174.48L81.51,210H48A2,2,0,0,1,46,208Zm50-.49L76.49,188,164,100.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"},null,-1),x=[_],z={key:4},C=r("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"},null,-1),N=[C],P={key:5},E=r("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17ZM45.66,160,136,69.65,158.34,92,68,182.34ZM44,208V169.66l21.17,21.17h0L86.34,212H48A4,4,0,0,1,44,208Zm52,2.34L73.66,188,164,97.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"},null,-1),$=[E],j={name:"PhPencil"},R=h({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),Z=d("size","1em"),f=d("color","currentColor"),g=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:Z}),p=i(()=>{var e;return(e=a.color)!=null?e:f}),L=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(e,q)=>(l(),t("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:p.value,transform:L.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(l(),t("g",v,w)):n.value==="duotone"?(l(),t("g",H,k)):n.value==="fill"?(l(),t("g",B,I)):n.value==="light"?(l(),t("g",S,x)):n.value==="regular"?(l(),t("g",z,N)):n.value==="thin"?(l(),t("g",P,$)):c("",!0)],16,y))}});export{R as G}; -//# sourceMappingURL=PhPencil.vue.2def7849.js.map +import{d as h,B as d,f as i,o as l,X as t,Z as m,R as f,e8 as M,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="7b6ecfd1-16a0-47d7-9229-6a41803c6f32",o._sentryDebugIdIdentifier="sentry-dbid-7b6ecfd1-16a0-47d7-9229-6a41803c6f32")}catch{}})();const y=["width","height","fill","transform"],v={key:0},w=r("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM93,180l71-71,11,11-71,71ZM76,163,65,152l71-71,11,11ZM52,173l15.51,15.51h0L83,204H52ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1),H=[w],b={key:1},A=r("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),V=r("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"},null,-1),k=[A,V],B={key:2},D=r("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160l90.35-90.35,16.68,16.69L68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188l90.35-90.35h0l16.68,16.69Z"},null,-1),I=[D],S={key:3},_=r("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM48.49,160,136,72.48,155.51,92,68,179.51ZM46,208V174.48L81.51,210H48A2,2,0,0,1,46,208Zm50-.49L76.49,188,164,100.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"},null,-1),x=[_],z={key:4},C=r("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"},null,-1),N=[C],P={key:5},E=r("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17ZM45.66,160,136,69.65,158.34,92,68,182.34ZM44,208V169.66l21.17,21.17h0L86.34,212H48A4,4,0,0,1,44,208Zm52,2.34L73.66,188,164,97.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"},null,-1),$=[E],j={name:"PhPencil"},R=h({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=d("weight","regular"),Z=d("size","1em"),g=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var e;return(e=a.weight)!=null?e:s}),u=i(()=>{var e;return(e=a.size)!=null?e:Z}),L=i(()=>{var e;return(e=a.color)!=null?e:g}),c=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(l(),t("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:L.value,transform:c.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(l(),t("g",v,H)):n.value==="duotone"?(l(),t("g",b,k)):n.value==="fill"?(l(),t("g",B,I)):n.value==="light"?(l(),t("g",S,x)):n.value==="regular"?(l(),t("g",z,N)):n.value==="thin"?(l(),t("g",P,$)):f("",!0)],16,y))}});export{R as G}; +//# sourceMappingURL=PhPencil.vue.91f72c2e.js.map diff --git a/abstra_statics/dist/assets/PhQuestion.vue.020af0e7.js b/abstra_statics/dist/assets/PhQuestion.vue.6a6a9376.js similarity index 83% rename from abstra_statics/dist/assets/PhQuestion.vue.020af0e7.js rename to abstra_statics/dist/assets/PhQuestion.vue.6a6a9376.js index 84c4dc4803..0f2a87c3c1 100644 --- a/abstra_statics/dist/assets/PhQuestion.vue.020af0e7.js +++ b/abstra_statics/dist/assets/PhQuestion.vue.6a6a9376.js @@ -1,2 +1,2 @@ -import{d as Z,B as n,f as d,o as t,X as r,Z as f,R as h,e8 as y,a as o}from"./vue-router.33f35a18.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[a]="a1a6b48f-1bd0-4584-967b-d55f697e2444",l._sentryDebugIdIdentifier="sentry-dbid-a1a6b48f-1bd0-4584-967b-d55f697e2444")}catch{}})();const A=["width","height","fill","transform"],b={key:0},w=o("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"},null,-1),M=[w],k={key:1},C=o("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),B=o("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),D=[C,B],I={key:2},S=o("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"},null,-1),_=[S],x={key:3},z=o("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),N=[z],V={key:4},E=o("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),P=[E],$={key:5},j=o("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Q=[j],q={name:"PhQuestion"},R=Z({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const a=l,i=n("weight","regular"),c=n("size","1em"),u=n("color","currentColor"),m=n("mirrored",!1),s=d(()=>{var e;return(e=a.weight)!=null?e:i}),v=d(()=>{var e;return(e=a.size)!=null?e:c}),g=d(()=>{var e;return(e=a.color)!=null?e:u}),p=d(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,F)=>(t(),r("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:v.value,height:v.value,fill:g.value,transform:p.value},e.$attrs),[f(e.$slots,"default"),s.value==="bold"?(t(),r("g",b,M)):s.value==="duotone"?(t(),r("g",k,D)):s.value==="fill"?(t(),r("g",I,_)):s.value==="light"?(t(),r("g",x,N)):s.value==="regular"?(t(),r("g",V,P)):s.value==="thin"?(t(),r("g",$,Q)):h("",!0)],16,A))}});export{R as H}; -//# sourceMappingURL=PhQuestion.vue.020af0e7.js.map +import{d as Z,B as d,f as n,o as t,X as r,Z as f,R as h,e8 as y,a as o}from"./vue-router.324eaed2.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[a]="031262bd-6db6-4dfb-9493-4959f3e6630c",l._sentryDebugIdIdentifier="sentry-dbid-031262bd-6db6-4dfb-9493-4959f3e6630c")}catch{}})();const A=["width","height","fill","transform"],b={key:0},w=o("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"},null,-1),M=[w],k={key:1},C=o("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),B=o("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),D=[C,B],I={key:2},S=o("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"},null,-1),_=[S],x={key:3},z=o("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),N=[z],V={key:4},E=o("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),P=[E],$={key:5},j=o("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Q=[j],q={name:"PhQuestion"},R=Z({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const a=l,i=d("weight","regular"),c=d("size","1em"),u=d("color","currentColor"),m=d("mirrored",!1),s=n(()=>{var e;return(e=a.weight)!=null?e:i}),v=n(()=>{var e;return(e=a.size)!=null?e:c}),g=n(()=>{var e;return(e=a.color)!=null?e:u}),p=n(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,F)=>(t(),r("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:v.value,height:v.value,fill:g.value,transform:p.value},e.$attrs),[f(e.$slots,"default"),s.value==="bold"?(t(),r("g",b,M)):s.value==="duotone"?(t(),r("g",k,D)):s.value==="fill"?(t(),r("g",I,_)):s.value==="light"?(t(),r("g",x,N)):s.value==="regular"?(t(),r("g",V,P)):s.value==="thin"?(t(),r("g",$,Q)):h("",!0)],16,A))}});export{R as H}; +//# sourceMappingURL=PhQuestion.vue.6a6a9376.js.map diff --git a/abstra_statics/dist/assets/PhSignOut.vue.b806976f.js b/abstra_statics/dist/assets/PhSignOut.vue.d965d159.js similarity index 66% rename from abstra_statics/dist/assets/PhSignOut.vue.b806976f.js rename to abstra_statics/dist/assets/PhSignOut.vue.d965d159.js index c858a248a3..8ce0afe6aa 100644 --- a/abstra_statics/dist/assets/PhSignOut.vue.b806976f.js +++ b/abstra_statics/dist/assets/PhSignOut.vue.d965d159.js @@ -1,2 +1,2 @@ -import{d as y,B as d,f as i,o as l,X as t,Z as H,R as f,e8 as v,a as r}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="8d87023b-9a83-4018-8b81-52b55173ba9c",o._sentryDebugIdIdentifier="sentry-dbid-8d87023b-9a83-4018-8b81-52b55173ba9c")}catch{}})();const b=["width","height","fill","transform"],w={key:0},A=r("path",{d:"M124,216a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V40A12,12,0,0,1,48,28h64a12,12,0,0,1,0,24H60V204h52A12,12,0,0,1,124,216Zm108.49-96.49-40-40a12,12,0,0,0-17,17L195,116H112a12,12,0,0,0,0,24h83l-19.52,19.51a12,12,0,0,0,17,17l40-40A12,12,0,0,0,232.49,119.51Z"},null,-1),V=[A],Z={key:1},k=r("path",{d:"M224,56V200a16,16,0,0,1-16,16H48V40H208A16,16,0,0,1,224,56Z",opacity:"0.2"},null,-1),M=r("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"},null,-1),B=[k,M],L={key:2},S=r("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40A8,8,0,0,0,176,88v32H112a8,8,0,0,0,0,16h64v32a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,229.66,122.34Z"},null,-1),I=[S],_={key:3},x=r("path",{d:"M118,216a6,6,0,0,1-6,6H48a6,6,0,0,1-6-6V40a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H54V210h58A6,6,0,0,1,118,216Zm110.24-92.24-40-40a6,6,0,0,0-8.48,8.48L209.51,122H112a6,6,0,0,0,0,12h97.51l-29.75,29.76a6,6,0,1,0,8.48,8.48l40-40A6,6,0,0,0,228.24,123.76Z"},null,-1),z=[x],C={key:4},D=r("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"},null,-1),N=[D],E={key:5},P=r("path",{d:"M116,216a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H52V212h60A4,4,0,0,1,116,216Zm110.83-90.83-40-40a4,4,0,0,0-5.66,5.66L214.34,124H112a4,4,0,0,0,0,8H214.34l-33.17,33.17a4,4,0,0,0,5.66,5.66l40-40A4,4,0,0,0,226.83,125.17Z"},null,-1),$=[P],j={name:"PhSignOut"},F=y({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,s=d("weight","regular"),u=d("size","1em"),g=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var a;return(a=e.weight)!=null?a:s}),h=i(()=>{var a;return(a=e.size)!=null?a:u}),m=i(()=>{var a;return(a=e.color)!=null?a:g}),c=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,O)=>(l(),t("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:c.value},a.$attrs),[H(a.$slots,"default"),n.value==="bold"?(l(),t("g",w,V)):n.value==="duotone"?(l(),t("g",Z,B)):n.value==="fill"?(l(),t("g",L,I)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",C,N)):n.value==="thin"?(l(),t("g",E,$)):f("",!0)],16,b))}});export{F}; -//# sourceMappingURL=PhSignOut.vue.b806976f.js.map +import{d as m,B as d,f as i,o as l,X as t,Z as y,R as H,e8 as v,a as r}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="5442afcf-4f6f-43bf-961a-4fa8e95ccaaf",o._sentryDebugIdIdentifier="sentry-dbid-5442afcf-4f6f-43bf-961a-4fa8e95ccaaf")}catch{}})();const w=["width","height","fill","transform"],A={key:0},V=r("path",{d:"M124,216a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V40A12,12,0,0,1,48,28h64a12,12,0,0,1,0,24H60V204h52A12,12,0,0,1,124,216Zm108.49-96.49-40-40a12,12,0,0,0-17,17L195,116H112a12,12,0,0,0,0,24h83l-19.52,19.51a12,12,0,0,0,17,17l40-40A12,12,0,0,0,232.49,119.51Z"},null,-1),Z=[V],b={key:1},k=r("path",{d:"M224,56V200a16,16,0,0,1-16,16H48V40H208A16,16,0,0,1,224,56Z",opacity:"0.2"},null,-1),M=r("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"},null,-1),B=[k,M],L={key:2},S=r("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40A8,8,0,0,0,176,88v32H112a8,8,0,0,0,0,16h64v32a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,229.66,122.34Z"},null,-1),I=[S],_={key:3},x=r("path",{d:"M118,216a6,6,0,0,1-6,6H48a6,6,0,0,1-6-6V40a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H54V210h58A6,6,0,0,1,118,216Zm110.24-92.24-40-40a6,6,0,0,0-8.48,8.48L209.51,122H112a6,6,0,0,0,0,12h97.51l-29.75,29.76a6,6,0,1,0,8.48,8.48l40-40A6,6,0,0,0,228.24,123.76Z"},null,-1),z=[x],C={key:4},D=r("path",{d:"M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"},null,-1),N=[D],E={key:5},P=r("path",{d:"M116,216a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H52V212h60A4,4,0,0,1,116,216Zm110.83-90.83-40-40a4,4,0,0,0-5.66,5.66L214.34,124H112a4,4,0,0,0,0,8H214.34l-33.17,33.17a4,4,0,0,0,5.66,5.66l40-40A4,4,0,0,0,226.83,125.17Z"},null,-1),$=[P],j={name:"PhSignOut"},F=m({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,s=d("weight","regular"),u=d("size","1em"),f=d("color","currentColor"),g=d("mirrored",!1),n=i(()=>{var a;return(a=e.weight)!=null?a:s}),h=i(()=>{var a;return(a=e.size)!=null?a:u}),c=i(()=>{var a;return(a=e.color)!=null?a:f}),p=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(a,O)=>(l(),t("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:c.value,transform:p.value},a.$attrs),[y(a.$slots,"default"),n.value==="bold"?(l(),t("g",A,Z)):n.value==="duotone"?(l(),t("g",b,B)):n.value==="fill"?(l(),t("g",L,I)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",C,N)):n.value==="thin"?(l(),t("g",E,$)):H("",!0)],16,w))}});export{F}; +//# sourceMappingURL=PhSignOut.vue.d965d159.js.map diff --git a/abstra_statics/dist/assets/PhWebhooksLogo.vue.4375a0bc.js b/abstra_statics/dist/assets/PhWebhooksLogo.vue.96003388.js similarity index 89% rename from abstra_statics/dist/assets/PhWebhooksLogo.vue.4375a0bc.js rename to abstra_statics/dist/assets/PhWebhooksLogo.vue.96003388.js index 8862a8bc1a..3292e8ae70 100644 --- a/abstra_statics/dist/assets/PhWebhooksLogo.vue.4375a0bc.js +++ b/abstra_statics/dist/assets/PhWebhooksLogo.vue.96003388.js @@ -1,2 +1,2 @@ -import{d as c,B as o,f as i,o as e,X as l,Z as p,R as H,e8 as $,a as t}from"./vue-router.33f35a18.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},h=new Error().stack;h&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[h]="ae66fe39-5676-4a31-9165-043ad6831361",u._sentryDebugIdIdentifier="sentry-dbid-ae66fe39-5676-4a31-9165-043ad6831361")}catch{}})();const M=["width","height","fill","transform"],y={key:0},w=t("path",{d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"},null,-1),f=[w],k={key:1},C=t("path",{d:"M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z",opacity:"0.2"},null,-1),V=t("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1),b=[C,V],S={key:2},z=t("path",{d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"},null,-1),B=[z],L={key:3},x=t("path",{d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"},null,-1),N=[x],P={key:4},_=t("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1),D=[_],E={key:5},I=t("path",{d:"M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"},null,-1),j=[I],W={name:"PhScroll"},Q0=c({...W,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),s=o("color","currentColor"),d=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:s}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",y,f)):r.value==="duotone"?(e(),l("g",k,b)):r.value==="fill"?(e(),l("g",S,B)):r.value==="light"?(e(),l("g",L,N)):r.value==="regular"?(e(),l("g",P,D)):r.value==="thin"?(e(),l("g",E,j)):H("",!0)],16,M))}}),q=["width","height","fill","transform"],F={key:0},G=t("path",{d:"M128,44a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,44Zm0,168a72,72,0,1,1,72-72A72.08,72.08,0,0,1,128,212ZM164.49,99.51a12,12,0,0,1,0,17l-28,28a12,12,0,0,1-17-17l28-28A12,12,0,0,1,164.49,99.51ZM92,16A12,12,0,0,1,104,4h48a12,12,0,0,1,0,24H104A12,12,0,0,1,92,16Z"},null,-1),T=[G],U={key:1},R=t("path",{d:"M216,136a88,88,0,1,1-88-88A88,88,0,0,1,216,136Z",opacity:"0.2"},null,-1),X=t("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,216ZM173.66,90.34a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32l40-40A8,8,0,0,1,173.66,90.34ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"},null,-1),J=[R,X],K={key:2},O=t("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm45.66,61.66-40,40a8,8,0,0,1-11.32-11.32l40-40a8,8,0,0,1,11.32,11.32ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"},null,-1),Q=[O],Y={key:3},a0=t("path",{d:"M128,42a94,94,0,1,0,94,94A94.11,94.11,0,0,0,128,42Zm0,176a82,82,0,1,1,82-82A82.1,82.1,0,0,1,128,218ZM172.24,91.76a6,6,0,0,1,0,8.48l-40,40a6,6,0,1,1-8.48-8.48l40-40A6,6,0,0,1,172.24,91.76ZM98,16a6,6,0,0,1,6-6h48a6,6,0,0,1,0,12H104A6,6,0,0,1,98,16Z"},null,-1),e0=[a0],l0={key:4},t0=t("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,216ZM173.66,90.34a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32l40-40A8,8,0,0,1,173.66,90.34ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"},null,-1),r0=[t0],h0={key:5},o0=t("path",{d:"M128,44a92,92,0,1,0,92,92A92.1,92.1,0,0,0,128,44Zm0,176a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,220ZM170.83,93.17a4,4,0,0,1,0,5.66l-40,40a4,4,0,1,1-5.66-5.66l40-40A4,4,0,0,1,170.83,93.17ZM100,16a4,4,0,0,1,4-4h48a4,4,0,0,1,0,8H104A4,4,0,0,1,100,16Z"},null,-1),i0=[o0],u0={name:"PhTimer"},Y0=c({...u0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),s=o("color","currentColor"),d=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:s}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",F,T)):r.value==="duotone"?(e(),l("g",U,J)):r.value==="fill"?(e(),l("g",K,Q)):r.value==="light"?(e(),l("g",Y,e0)):r.value==="regular"?(e(),l("g",l0,r0)):r.value==="thin"?(e(),l("g",h0,i0)):H("",!0)],16,q))}}),A0=["width","height","fill","transform"],n0={key:0},Z0=t("path",{d:"M152,80a12,12,0,0,1,12-12h80a12,12,0,0,1,0,24H164A12,12,0,0,1,152,80Zm92,36H164a12,12,0,0,0,0,24h80a12,12,0,0,0,0-24Zm0,48H188a12,12,0,0,0,0,24h56a12,12,0,0,0,0-24Zm-88.38,25a12,12,0,1,1-23.24,6c-5.72-22.23-28.24-39-52.38-39s-46.66,16.76-52.38,39a12,12,0,1,1-23.24-6c5.38-20.9,20.09-38.16,39.11-48a52,52,0,1,1,73,0C135.53,150.85,150.24,168.11,155.62,189ZM80,132a28,28,0,1,0-28-28A28,28,0,0,0,80,132Z"},null,-1),s0=[Z0],d0={key:1},m0=t("path",{d:"M120,104A40,40,0,1,1,80,64,40,40,0,0,1,120,104Z",opacity:"0.2"},null,-1),g0=t("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-96.25,22a8,8,0,0,1-5.76,9.74,7.55,7.55,0,0,1-2,.26,8,8,0,0,1-7.75-6c-6.16-23.94-30.34-42-56.25-42s-50.09,18.05-56.25,42a8,8,0,0,1-15.5-4c5.59-21.71,21.84-39.29,42.46-48a48,48,0,1,1,58.58,0C129.91,150.71,146.16,168.29,151.75,190ZM80,136a32,32,0,1,0-32-32A32,32,0,0,0,80,136Z"},null,-1),c0=[m0,g0],p0={key:2},H0=t("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM109.29,142a48,48,0,1,0-58.58,0c-20.62,8.73-36.87,26.3-42.46,48A8,8,0,0,0,16,200H144a8,8,0,0,0,7.75-10C146.16,168.29,129.91,150.72,109.29,142Z"},null,-1),$0=[H0],v0={key:3},M0=t("path",{d:"M154,80a6,6,0,0,1,6-6h88a6,6,0,0,1,0,12H160A6,6,0,0,1,154,80Zm94,42H160a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12Zm0,48H184a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm-98.19,20.5a6,6,0,1,1-11.62,3C131.7,168.29,107.23,150,80,150s-51.7,18.29-58.19,43.49a6,6,0,1,1-11.62-3c5.74-22.28,23-40.07,44.67-48a46,46,0,1,1,50.28,0C126.79,150.43,144.08,168.22,149.81,190.5ZM80,138a34,34,0,1,0-34-34A34,34,0,0,0,80,138Z"},null,-1),y0=[M0],w0={key:4},f0=t("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-96.25,22a8,8,0,0,1-5.76,9.74,7.55,7.55,0,0,1-2,.26,8,8,0,0,1-7.75-6c-6.16-23.94-30.34-42-56.25-42s-50.09,18.05-56.25,42a8,8,0,0,1-15.5-4c5.59-21.71,21.84-39.29,42.46-48a48,48,0,1,1,58.58,0C129.91,150.71,146.16,168.29,151.75,190ZM80,136a32,32,0,1,0-32-32A32,32,0,0,0,80,136Z"},null,-1),k0=[f0],C0={key:5},V0=t("path",{d:"M156,80a4,4,0,0,1,4-4h88a4,4,0,0,1,0,8H160A4,4,0,0,1,156,80Zm92,44H160a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8Zm0,48H184a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM147.87,191a4,4,0,0,1-2.87,4.87,3.87,3.87,0,0,1-1,.13,4,4,0,0,1-3.87-3c-6.71-26.08-32-45-60.13-45s-53.41,18.92-60.13,45a4,4,0,1,1-7.74-2c5.92-23,24.57-41.14,47.52-48a44,44,0,1,1,40.7,0C123.3,149.86,142,168,147.87,191ZM80,140a36,36,0,1,0-36-36A36,36,0,0,0,80,140Z"},null,-1),b0=[V0],S0={name:"PhUserList"},a1=c({...S0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),s=o("color","currentColor"),d=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:s}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",n0,s0)):r.value==="duotone"?(e(),l("g",d0,c0)):r.value==="fill"?(e(),l("g",p0,$0)):r.value==="light"?(e(),l("g",v0,y0)):r.value==="regular"?(e(),l("g",w0,k0)):r.value==="thin"?(e(),l("g",C0,b0)):H("",!0)],16,A0))}}),z0=["width","height","fill","transform"],B0={key:0},L0=t("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"},null,-1),x0=[L0],N0={key:1},P0=t("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"},null,-1),_0=t("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1),D0=[P0,_0],E0={key:2},I0=t("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"},null,-1),j0=[I0],W0={key:3},q0=t("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"},null,-1),F0=[q0],G0={key:4},T0=t("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1),U0=[T0],R0={key:5},X0=t("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"},null,-1),J0=[X0],K0={name:"PhWebhooksLogo"},e1=c({...K0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),s=o("color","currentColor"),d=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:s}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",B0,x0)):r.value==="duotone"?(e(),l("g",N0,D0)):r.value==="fill"?(e(),l("g",E0,j0)):r.value==="light"?(e(),l("g",W0,F0)):r.value==="regular"?(e(),l("g",G0,U0)):r.value==="thin"?(e(),l("g",R0,J0)):H("",!0)],16,z0))}});export{a1 as F,e1 as G,Q0 as I,Y0 as a}; -//# sourceMappingURL=PhWebhooksLogo.vue.4375a0bc.js.map +import{d as c,B as o,f as i,o as e,X as l,Z as p,R as H,e8 as $,a as t}from"./vue-router.324eaed2.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},h=new Error().stack;h&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[h]="18dd5f00-ff5b-4294-a78e-e3b9f51a339a",u._sentryDebugIdIdentifier="sentry-dbid-18dd5f00-ff5b-4294-a78e-e3b9f51a339a")}catch{}})();const M=["width","height","fill","transform"],y={key:0},f=t("path",{d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"},null,-1),w=[f],k={key:1},C=t("path",{d:"M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z",opacity:"0.2"},null,-1),V=t("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1),b=[C,V],S={key:2},z=t("path",{d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"},null,-1),B=[z],L={key:3},x=t("path",{d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"},null,-1),N=[x],P={key:4},_=t("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1),D=[_],E={key:5},I=t("path",{d:"M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"},null,-1),j=[I],W={name:"PhScroll"},Q0=c({...W,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),d=o("color","currentColor"),s=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:d}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",y,w)):r.value==="duotone"?(e(),l("g",k,b)):r.value==="fill"?(e(),l("g",S,B)):r.value==="light"?(e(),l("g",L,N)):r.value==="regular"?(e(),l("g",P,D)):r.value==="thin"?(e(),l("g",E,j)):H("",!0)],16,M))}}),q=["width","height","fill","transform"],F={key:0},G=t("path",{d:"M128,44a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,44Zm0,168a72,72,0,1,1,72-72A72.08,72.08,0,0,1,128,212ZM164.49,99.51a12,12,0,0,1,0,17l-28,28a12,12,0,0,1-17-17l28-28A12,12,0,0,1,164.49,99.51ZM92,16A12,12,0,0,1,104,4h48a12,12,0,0,1,0,24H104A12,12,0,0,1,92,16Z"},null,-1),T=[G],U={key:1},R=t("path",{d:"M216,136a88,88,0,1,1-88-88A88,88,0,0,1,216,136Z",opacity:"0.2"},null,-1),X=t("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,216ZM173.66,90.34a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32l40-40A8,8,0,0,1,173.66,90.34ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"},null,-1),J=[R,X],K={key:2},O=t("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm45.66,61.66-40,40a8,8,0,0,1-11.32-11.32l40-40a8,8,0,0,1,11.32,11.32ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"},null,-1),Q=[O],Y={key:3},a0=t("path",{d:"M128,42a94,94,0,1,0,94,94A94.11,94.11,0,0,0,128,42Zm0,176a82,82,0,1,1,82-82A82.1,82.1,0,0,1,128,218ZM172.24,91.76a6,6,0,0,1,0,8.48l-40,40a6,6,0,1,1-8.48-8.48l40-40A6,6,0,0,1,172.24,91.76ZM98,16a6,6,0,0,1,6-6h48a6,6,0,0,1,0,12H104A6,6,0,0,1,98,16Z"},null,-1),e0=[a0],l0={key:4},t0=t("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,216ZM173.66,90.34a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32l40-40A8,8,0,0,1,173.66,90.34ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"},null,-1),r0=[t0],h0={key:5},o0=t("path",{d:"M128,44a92,92,0,1,0,92,92A92.1,92.1,0,0,0,128,44Zm0,176a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,220ZM170.83,93.17a4,4,0,0,1,0,5.66l-40,40a4,4,0,1,1-5.66-5.66l40-40A4,4,0,0,1,170.83,93.17ZM100,16a4,4,0,0,1,4-4h48a4,4,0,0,1,0,8H104A4,4,0,0,1,100,16Z"},null,-1),i0=[o0],u0={name:"PhTimer"},Y0=c({...u0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),d=o("color","currentColor"),s=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:d}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",F,T)):r.value==="duotone"?(e(),l("g",U,J)):r.value==="fill"?(e(),l("g",K,Q)):r.value==="light"?(e(),l("g",Y,e0)):r.value==="regular"?(e(),l("g",l0,r0)):r.value==="thin"?(e(),l("g",h0,i0)):H("",!0)],16,q))}}),A0=["width","height","fill","transform"],n0={key:0},Z0=t("path",{d:"M152,80a12,12,0,0,1,12-12h80a12,12,0,0,1,0,24H164A12,12,0,0,1,152,80Zm92,36H164a12,12,0,0,0,0,24h80a12,12,0,0,0,0-24Zm0,48H188a12,12,0,0,0,0,24h56a12,12,0,0,0,0-24Zm-88.38,25a12,12,0,1,1-23.24,6c-5.72-22.23-28.24-39-52.38-39s-46.66,16.76-52.38,39a12,12,0,1,1-23.24-6c5.38-20.9,20.09-38.16,39.11-48a52,52,0,1,1,73,0C135.53,150.85,150.24,168.11,155.62,189ZM80,132a28,28,0,1,0-28-28A28,28,0,0,0,80,132Z"},null,-1),d0=[Z0],s0={key:1},m0=t("path",{d:"M120,104A40,40,0,1,1,80,64,40,40,0,0,1,120,104Z",opacity:"0.2"},null,-1),g0=t("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-96.25,22a8,8,0,0,1-5.76,9.74,7.55,7.55,0,0,1-2,.26,8,8,0,0,1-7.75-6c-6.16-23.94-30.34-42-56.25-42s-50.09,18.05-56.25,42a8,8,0,0,1-15.5-4c5.59-21.71,21.84-39.29,42.46-48a48,48,0,1,1,58.58,0C129.91,150.71,146.16,168.29,151.75,190ZM80,136a32,32,0,1,0-32-32A32,32,0,0,0,80,136Z"},null,-1),c0=[m0,g0],p0={key:2},H0=t("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM109.29,142a48,48,0,1,0-58.58,0c-20.62,8.73-36.87,26.3-42.46,48A8,8,0,0,0,16,200H144a8,8,0,0,0,7.75-10C146.16,168.29,129.91,150.72,109.29,142Z"},null,-1),$0=[H0],v0={key:3},M0=t("path",{d:"M154,80a6,6,0,0,1,6-6h88a6,6,0,0,1,0,12H160A6,6,0,0,1,154,80Zm94,42H160a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12Zm0,48H184a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm-98.19,20.5a6,6,0,1,1-11.62,3C131.7,168.29,107.23,150,80,150s-51.7,18.29-58.19,43.49a6,6,0,1,1-11.62-3c5.74-22.28,23-40.07,44.67-48a46,46,0,1,1,50.28,0C126.79,150.43,144.08,168.22,149.81,190.5ZM80,138a34,34,0,1,0-34-34A34,34,0,0,0,80,138Z"},null,-1),y0=[M0],f0={key:4},w0=t("path",{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-96.25,22a8,8,0,0,1-5.76,9.74,7.55,7.55,0,0,1-2,.26,8,8,0,0,1-7.75-6c-6.16-23.94-30.34-42-56.25-42s-50.09,18.05-56.25,42a8,8,0,0,1-15.5-4c5.59-21.71,21.84-39.29,42.46-48a48,48,0,1,1,58.58,0C129.91,150.71,146.16,168.29,151.75,190ZM80,136a32,32,0,1,0-32-32A32,32,0,0,0,80,136Z"},null,-1),k0=[w0],C0={key:5},V0=t("path",{d:"M156,80a4,4,0,0,1,4-4h88a4,4,0,0,1,0,8H160A4,4,0,0,1,156,80Zm92,44H160a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8Zm0,48H184a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM147.87,191a4,4,0,0,1-2.87,4.87,3.87,3.87,0,0,1-1,.13,4,4,0,0,1-3.87-3c-6.71-26.08-32-45-60.13-45s-53.41,18.92-60.13,45a4,4,0,1,1-7.74-2c5.92-23,24.57-41.14,47.52-48a44,44,0,1,1,40.7,0C123.3,149.86,142,168,147.87,191ZM80,140a36,36,0,1,0-36-36A36,36,0,0,0,80,140Z"},null,-1),b0=[V0],S0={name:"PhUserList"},a1=c({...S0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),d=o("color","currentColor"),s=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:d}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",n0,d0)):r.value==="duotone"?(e(),l("g",s0,c0)):r.value==="fill"?(e(),l("g",p0,$0)):r.value==="light"?(e(),l("g",v0,y0)):r.value==="regular"?(e(),l("g",f0,k0)):r.value==="thin"?(e(),l("g",C0,b0)):H("",!0)],16,A0))}}),z0=["width","height","fill","transform"],B0={key:0},L0=t("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"},null,-1),x0=[L0],N0={key:1},P0=t("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"},null,-1),_0=t("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1),D0=[P0,_0],E0={key:2},I0=t("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"},null,-1),j0=[I0],W0={key:3},q0=t("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"},null,-1),F0=[q0],G0={key:4},T0=t("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1),U0=[T0],R0={key:5},X0=t("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"},null,-1),J0=[X0],K0={name:"PhWebhooksLogo"},e1=c({...K0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const h=u,n=o("weight","regular"),Z=o("size","1em"),d=o("color","currentColor"),s=o("mirrored",!1),r=i(()=>{var a;return(a=h.weight)!=null?a:n}),A=i(()=>{var a;return(a=h.size)!=null?a:Z}),m=i(()=>{var a;return(a=h.color)!=null?a:d}),g=i(()=>h.mirrored!==void 0?h.mirrored?"scale(-1, 1)":void 0:s?"scale(-1, 1)":void 0);return(a,v)=>(e(),l("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:A.value,height:A.value,fill:m.value,transform:g.value},a.$attrs),[p(a.$slots,"default"),r.value==="bold"?(e(),l("g",B0,x0)):r.value==="duotone"?(e(),l("g",N0,D0)):r.value==="fill"?(e(),l("g",E0,j0)):r.value==="light"?(e(),l("g",W0,F0)):r.value==="regular"?(e(),l("g",G0,U0)):r.value==="thin"?(e(),l("g",R0,J0)):H("",!0)],16,z0))}});export{a1 as F,e1 as G,Q0 as I,Y0 as a}; +//# sourceMappingURL=PhWebhooksLogo.vue.96003388.js.map diff --git a/abstra_statics/dist/assets/PlayerConfigProvider.90e436c2.js b/abstra_statics/dist/assets/PlayerConfigProvider.8618ed20.js similarity index 98% rename from abstra_statics/dist/assets/PlayerConfigProvider.90e436c2.js rename to abstra_statics/dist/assets/PlayerConfigProvider.8618ed20.js index 593fa12d92..70f91e88c6 100644 --- a/abstra_statics/dist/assets/PlayerConfigProvider.90e436c2.js +++ b/abstra_statics/dist/assets/PlayerConfigProvider.8618ed20.js @@ -1,2 +1,2 @@ -var I=Object.defineProperty;var L=(t,e,a)=>e in t?I(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var c=(t,e,a)=>(L(t,typeof e!="symbol"?e+"":e,a),a);import{S as s,e as z,U as b,d as O,V as U,g as V,W as R,o as v,X as f,u as p,R as j,b as H,w as B,Y as N,Z as K,A as q,$ as J}from"./vue-router.33f35a18.js";import{i as x,a as y,b as Z,l as W,c as k}from"./colorHelpers.aaea81c6.js";import{t as G}from"./index.dec2a631.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e9bc399e-cc68-4689-94c5-752dd6677766",t._sentryDebugIdIdentifier="sentry-dbid-e9bc399e-cc68-4689-94c5-752dd6677766")}catch{}})();const Q={items_per_page:"/ Seite",jump_to:"Gehe zu",jump_to_confirm:"best\xE4tigen",page:"",prev_page:"Vorherige Seite",next_page:"N\xE4chste Seite",prev_5:"5 Seiten zur\xFCck",next_5:"5 Seiten vor",prev_3:"3 Seiten zur\xFCck",next_3:"3 Seiten vor"},X={locale:"de_DE",today:"Heute",now:"Jetzt",backToToday:"Zur\xFCck zu Heute",ok:"OK",clear:"Zur\xFCcksetzen",month:"Monat",year:"Jahr",timeSelect:"Zeit w\xE4hlen",dateSelect:"Datum w\xE4hlen",monthSelect:"W\xE4hle einen Monat",yearSelect:"W\xE4hle ein Jahr",decadeSelect:"W\xE4hle ein Jahrzehnt",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Vorheriger Monat (PageUp)",nextMonth:"N\xE4chster Monat (PageDown)",previousYear:"Vorheriges Jahr (Ctrl + left)",nextYear:"N\xE4chstes Jahr (Ctrl + right)",previousDecade:"Vorheriges Jahrzehnt",nextDecade:"N\xE4chstes Jahrzehnt",previousCentury:"Vorheriges Jahrhundert",nextCentury:"N\xE4chstes Jahrhundert"},ee=X,ae={placeholder:"Zeit ausw\xE4hlen"},A=ae,te={lang:s({placeholder:"Datum ausw\xE4hlen",rangePlaceholder:["Startdatum","Enddatum"]},ee),timePickerLocale:s({},A)},S=te,l="${label} ist nicht g\xFCltig. ${type} erwartet",le={locale:"de",Pagination:Q,DatePicker:S,TimePicker:A,Calendar:S,global:{placeholder:"Bitte ausw\xE4hlen"},Table:{filterTitle:"Filter-Men\xFC",filterConfirm:"OK",filterReset:"Zur\xFCcksetzen",selectAll:"Selektiere Alle",selectInvert:"Selektion Invertieren",selectionAll:"W\xE4hlen Sie alle Daten aus",sortTitle:"Sortieren",expand:"Zeile erweitern",collapse:"Zeile reduzieren",triggerDesc:"Klicken zur absteigenden Sortierung",triggerAsc:"Klicken zur aufsteigenden Sortierung",cancelSort:"Klicken zum Abbrechen der Sortierung"},Modal:{okText:"OK",cancelText:"Abbrechen",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Abbrechen"},Transfer:{titles:["",""],searchPlaceholder:"Suchen",itemUnit:"Eintrag",itemsUnit:"Eintr\xE4ge",remove:"Entfernen",selectCurrent:"Alle auf aktueller Seite ausw\xE4hlen",removeCurrent:"Auswahl auf aktueller Seite aufheben",selectAll:"Alle ausw\xE4hlen",removeAll:"Auswahl aufheben",selectInvert:"Auswahl umkehren"},Upload:{uploading:"Hochladen...",removeFile:"Datei entfernen",uploadError:"Fehler beim Hochladen",previewFile:"Dateivorschau",downloadFile:"Download-Datei"},Empty:{description:"Keine Daten"},Text:{edit:"Bearbeiten",copy:"Kopieren",copied:"Kopiert",expand:"Erweitern"},PageHeader:{back:"Zur\xFCck"},Form:{defaultValidateMessages:{default:"Feld-Validierungsfehler: ${label}",required:"Bitte geben Sie ${label} an",enum:"${label} muss eines der folgenden sein [${enum}]",whitespace:"${label} darf kein Leerzeichen sein",date:{format:"${label} ist ein ung\xFCltiges Datumsformat",parse:"${label} kann nicht in ein Datum umgewandelt werden",invalid:"${label} ist ein ung\xFCltiges Datum"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} muss genau ${len} Zeichen lang sein",min:"${label} muss mindestens ${min} Zeichen lang sein",max:"${label} darf h\xF6chstens ${max} Zeichen lang sein",range:"${label} muss zwischen ${min} und ${max} Zeichen lang sein"},number:{len:"${label} muss gleich ${len} sein",min:"${label} muss mindestens ${min} sein",max:"${label} darf maximal ${max} sein",range:"${label} muss zwischen ${min} und ${max} liegen"},array:{len:"Es m\xFCssen ${len} ${label} sein",min:"Es m\xFCssen mindestens ${min} ${label} sein",max:"Es d\xFCrfen maximal ${max} ${label} sein",range:"Die Anzahl an ${label} muss zwischen ${min} und ${max} liegen"},pattern:{mismatch:"${label} enspricht nicht dem ${pattern} Muster"}}},Image:{preview:"Vorschau"}},re=le,ne={items_per_page:"/ p\xE1gina",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"",prev_page:"P\xE1gina anterior",next_page:"P\xE1gina siguiente",prev_5:"5 p\xE1ginas previas",next_5:"5 p\xE1ginas siguientes",prev_3:"3 p\xE1ginas previas",next_3:"3 p\xE1ginas siguientes"},oe={locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xF1o anterior (Control + left)",nextYear:"A\xF1o siguiente (Control + right)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},ie=oe,ce={placeholder:"Seleccionar hora"},F=ce,se={lang:s({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"]},ie),timePickerLocale:s({},F)},P=se,r="${label} no es un ${type} v\xE1lido",de={locale:"es",Pagination:ne,DatePicker:P,TimePicker:F,Calendar:P,global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar men\xFA",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selecci\xF3n",selectNone:"Vac\xEDe todo",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar en orden descendente",triggerAsc:"Click para ordenar en orden ascendente",cancelSort:"Click para cancelar ordenamiento"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aqu\xED",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar p\xE1gina actual",removeCurrent:"Remover p\xE1gina actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir p\xE1gina actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"\xEDcono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},PageHeader:{back:"Volver"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Error de validaci\xF3n del campo ${label}",required:"Por favor ingresar ${label}",enum:"${label} debe ser uno de [${enum}]",whitespace:"${label} no puede ser un car\xE1cter en blanco",date:{format:"El formato de fecha de ${label} es inv\xE1lido",parse:"${label} no se puede convertir a una fecha",invalid:"${label} es una fecha inv\xE1lida"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label} debe tener ${len} caracteres",min:"${label} debe tener al menos ${min} caracteres",max:"${label} debe tener hasta ${max} caracteres",range:"${label} debe tener entre ${min}-${max} caracteres"},number:{len:"${label} debe ser igual a ${len}",min:"${label} valor m\xEDnimo es ${min}",max:"${label} valor m\xE1ximo es ${max}",range:"${label} debe estar entre ${min}-${max}"},array:{len:"Debe ser ${len} ${label}",min:"Al menos ${min} ${label}",max:"A lo mucho ${max} ${label}",range:"El monto de ${label} debe estar entre ${min}-${max}"},pattern:{mismatch:"${label} no coincide con el patr\xF3n ${pattern}"}}},Image:{preview:"Previsualizaci\xF3n"}},me=de,ue={items_per_page:"/ page",jump_to:"Aller \xE0",jump_to_confirm:"confirmer",page:"",prev_page:"Page pr\xE9c\xE9dente",next_page:"Page suivante",prev_5:"5 Pages pr\xE9c\xE9dentes",next_5:"5 Pages suivantes",prev_3:"3 Pages pr\xE9c\xE9dentes",next_3:"3 Pages suivantes"},pe={locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"Ok",clear:"R\xE9tablir",month:"Mois",year:"Ann\xE9e",timeSelect:"S\xE9lectionner l'heure",dateSelect:"S\xE9lectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xE9e",decadeSelect:"Choisissez une d\xE9cennie",yearFormat:"YYYY",dateFormat:"DD/MM/YYYY",dayFormat:"DD",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mois pr\xE9c\xE9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xE9e pr\xE9c\xE9dente (Ctrl + gauche)",nextYear:"Ann\xE9e prochaine (Ctrl + droite)",previousDecade:"D\xE9cennie pr\xE9c\xE9dente",nextDecade:"D\xE9cennie suivante",previousCentury:"Si\xE8cle pr\xE9c\xE9dent",nextCentury:"Si\xE8cle suivant"},ge=pe,he={placeholder:"S\xE9lectionner l'heure",rangePlaceholder:["Heure de d\xE9but","Heure de fin"]},w=he,$e={lang:s({placeholder:"S\xE9lectionner une date",yearPlaceholder:"S\xE9lectionner une ann\xE9e",quarterPlaceholder:"S\xE9lectionner un trimestre",monthPlaceholder:"S\xE9lectionner un mois",weekPlaceholder:"S\xE9lectionner une semaine",rangePlaceholder:["Date de d\xE9but","Date de fin"],rangeYearPlaceholder:["Ann\xE9e de d\xE9but","Ann\xE9e de fin"],rangeMonthPlaceholder:["Mois de d\xE9but","Mois de fin"],rangeWeekPlaceholder:["Semaine de d\xE9but","Semaine de fin"]},ge),timePickerLocale:s({},w)},T=$e,n="La valeur du champ ${label} n'est pas valide pour le type ${type}",be={locale:"fr",Pagination:ue,DatePicker:T,TimePicker:w,Calendar:T,Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"R\xE9initialiser",filterEmptyText:"Aucun filtre",emptyText:"Aucune donn\xE9e",selectAll:"S\xE9lectionner la page actuelle",selectInvert:"Inverser la s\xE9lection de la page actuelle",selectNone:"D\xE9s\xE9lectionner toutes les donn\xE9es",selectionAll:"S\xE9lectionner toutes les donn\xE9es",sortTitle:"Trier",expand:"D\xE9velopper la ligne",collapse:"R\xE9duire la ligne",triggerDesc:"Trier par ordre d\xE9croissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"\xE9l\xE9ment",itemsUnit:"\xE9l\xE9ments",remove:"D\xE9s\xE9lectionner",selectCurrent:"S\xE9lectionner la page actuelle",removeCurrent:"D\xE9s\xE9lectionner la page actuelle",selectAll:"S\xE9lectionner toutes les donn\xE9es",removeAll:"D\xE9s\xE9lectionner toutes les donn\xE9es",selectInvert:"Inverser la s\xE9lection de la page actuelle"},Upload:{uploading:"T\xE9l\xE9chargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de t\xE9l\xE9chargement",previewFile:"Fichier de pr\xE9visualisation",downloadFile:"T\xE9l\xE9charger un fichier"},Empty:{description:"Aucune donn\xE9e"},Icon:{icon:"ic\xF4ne"},Text:{edit:"\xC9diter",copy:"Copier",copied:"Copie effectu\xE9e",expand:"D\xE9velopper"},PageHeader:{back:"Retour"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit \xEAtre parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas \xEAtre vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas \xEAtre convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"La taille du champ ${label} doit \xEAtre de ${len} caract\xE8res",min:"La taille du champ ${label} doit \xEAtre au minimum de ${min} caract\xE8res",max:"La taille du champ ${label} doit \xEAtre au maximum de ${max} caract\xE8res",range:"La taille du champ ${label} doit \xEAtre entre ${min} et ${max} caract\xE8res"},number:{len:"La valeur du champ ${label} doit \xEAtre \xE9gale \xE0 ${len}",min:"La valeur du champ ${label} doit \xEAtre plus grande que ${min}",max:"La valeur du champ ${label} doit \xEAtre plus petit que ${max}",range:"La valeur du champ ${label} doit \xEAtre entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit \xEAtre de ${len}",min:"La taille du tableau ${label} doit \xEAtre au minimum de ${min}",max:"La taille du tableau ${label} doit \xEAtre au maximum de ${max}",range:"La taille du tableau ${label} doit \xEAtre entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au mod\xE8le ${pattern}"}}},Image:{preview:"Aper\xE7u"}},ve=be,fe={items_per_page:"/ \u092A\u0943\u0937\u094D\u0920",jump_to:"\u0907\u0938 \u092A\u0930 \u091A\u0932\u0947\u0902",jump_to_confirm:"\u092A\u0941\u0937\u094D\u091F\u093F \u0915\u0930\u0947\u0902",page:"",prev_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",prev_5:"\u092A\u093F\u091B\u0932\u0947 5 \u092A\u0943\u0937\u094D\u0920",next_5:"\u0905\u0917\u0932\u0947 5 \u092A\u0943\u0937\u094D\u0920",prev_3:"\u092A\u093F\u091B\u0932\u0947 3 \u092A\u0943\u0937\u094D\u0920",next_3:"\u0905\u0917\u0932\u0947 3 \u092A\u0947\u091C"},xe={locale:"hi_IN",today:"\u0906\u091C",now:"\u0905\u092D\u0940",backToToday:"\u0906\u091C \u0924\u0915",ok:"\u0920\u0940\u0915",clear:"\u0938\u094D\u092A\u0937\u094D\u091F",month:"\u092E\u0939\u0940\u0928\u093E",year:"\u0938\u093E\u0932",timeSelect:"\u0938\u092E\u092F \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",dateSelect:"\u0924\u093E\u0930\u0940\u0916\u093C \u091A\u0941\u0928\u0947\u0902",weekSelect:"\u090F\u0915 \u0938\u092A\u094D\u0924\u093E\u0939 \u091A\u0941\u0928\u0947\u0902",monthSelect:"\u090F\u0915 \u092E\u0939\u0940\u0928\u093E \u091A\u0941\u0928\u0947\u0902",yearSelect:"\u090F\u0915 \u0935\u0930\u094D\u0937 \u091A\u0941\u0928\u0947\u0902",decadeSelect:"\u090F\u0915 \u0926\u0936\u0915 \u091A\u0941\u0928\u0947\u0902",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u092A\u093F\u091B\u0932\u093E \u092E\u0939\u0940\u0928\u093E (\u092A\u0947\u091C\u0905\u092A)",nextMonth:"\u0905\u0917\u0932\u0947 \u092E\u0939\u0940\u0928\u0947 (\u092A\u0947\u091C\u0921\u093E\u0909\u0928)",previousYear:"\u092A\u093F\u091B\u0932\u0947 \u0938\u093E\u0932 (Ctrl + \u092C\u093E\u090F\u0902)",nextYear:"\u0905\u0917\u0932\u0947 \u0938\u093E\u0932 (Ctrl + \u0926\u093E\u0939\u093F\u0928\u093E)",previousDecade:"\u092A\u093F\u091B\u0932\u093E \u0926\u0936\u0915",nextDecade:"\u0905\u0917\u0932\u0947 \u0926\u0936\u0915",previousCentury:"\u092A\u0940\u091B\u094D\u0932\u0940 \u0936\u0924\u093E\u092C\u094D\u0926\u0940",nextCentury:"\u0905\u0917\u0932\u0940 \u0938\u0926\u0940"},ye=xe,ke={placeholder:"\u0938\u092E\u092F \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",rangePlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u0938\u092E\u092F","\u0905\u0902\u0924 \u0938\u092E\u092F"]},M=ke,Se={lang:s({placeholder:"\u0924\u093E\u0930\u0940\u0916\u093C \u091A\u0941\u0928\u0947\u0902",yearPlaceholder:"\u0935\u0930\u094D\u0937 \u091A\u0941\u0928\u0947\u0902",quarterPlaceholder:"\u0924\u093F\u092E\u093E\u0939\u0940 \u091A\u0941\u0928\u0947\u0902",monthPlaceholder:"\u092E\u0939\u0940\u0928\u093E \u091A\u0941\u0928\u093F\u090F",weekPlaceholder:"\u0938\u092A\u094D\u0924\u093E\u0939 \u091A\u0941\u0928\u0947\u0902",rangePlaceholder:["\u092A\u094D\u0930\u093E\u0930\u0902\u092D \u0924\u093F\u0925\u093F","\u0938\u092E\u093E\u092A\u094D\u0924\u093F \u0924\u093F\u0925\u093F"],rangeYearPlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u0935\u0930\u094D\u0937","\u0905\u0902\u0924 \u0935\u0930\u094D\u0937"],rangeMonthPlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u092E\u0939\u0940\u0928\u093E","\u0905\u0902\u0924 \u092E\u0939\u0940\u0928\u093E"],rangeWeekPlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u0938\u092A\u094D\u0924\u093E\u0939","\u0905\u0902\u0924 \u0938\u092A\u094D\u0924\u093E\u0939"]},ye),timePickerLocale:s({},M)},D=Se,o="${label} \u092E\u093E\u0928\u094D\u092F ${type} \u0928\u0939\u0940\u0902 \u0939\u0948",Pe={locale:"hi",Pagination:fe,DatePicker:D,TimePicker:M,Calendar:D,global:{placeholder:"\u0915\u0943\u092A\u092F\u093E \u091A\u0941\u0928\u0947\u0902"},Table:{filterTitle:"\u0938\u0942\u091A\u0940 \u092C\u0902\u0926 \u0915\u0930\u0947\u0902",filterConfirm:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947",filterReset:"\u0930\u0940\u0938\u0947\u091F",filterEmptyText:"\u0915\u094B\u0908 \u092B\u093C\u093F\u0932\u094D\u091F\u0930 \u0928\u0939\u0940\u0902",emptyText:"\u0915\u094B\u0908 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0928\u0939\u0940\u0902",selectAll:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",selectInvert:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0918\u0941\u092E\u093E\u090F\u0902",selectNone:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",selectionAll:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",sortTitle:"\u0926\u094D\u0935\u093E\u0930\u093E \u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",expand:"\u092A\u0902\u0915\u094D\u0924\u093F \u0915\u093E \u0935\u093F\u0938\u094D\u0924\u093E\u0930 \u0915\u0930\u0947\u0902",collapse:"\u092A\u0902\u0915\u094D\u0924\u093F \u0938\u0902\u0915\u094D\u0937\u093F\u092A\u094D\u0924 \u0915\u0930\u0947\u0902",triggerDesc:"\u0905\u0935\u0930\u094B\u0939\u0940 \u0915\u094D\u0930\u092E\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902",triggerAsc:"\u0906\u0930\u094B\u0939\u0940 \u0915\u094D\u0930\u092E\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902",cancelSort:"\u091B\u0901\u091F\u093E\u0908 \u0930\u0926\u094D\u0926 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902"},Modal:{okText:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947",cancelText:"\u0930\u0926\u094D\u0926 \u0915\u0930\u0928\u093E",justOkText:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947"},Popconfirm:{okText:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947",cancelText:"\u0930\u0926\u094D\u0926 \u0915\u0930\u0928\u093E"},Transfer:{titles:["",""],searchPlaceholder:"\u092F\u0939\u093E\u0902 \u0916\u094B\u091C\u0947\u0902",itemUnit:"\u0924\u0924\u094D\u0924\u094D\u0935",itemsUnit:"\u0935\u093F\u0937\u092F-\u0935\u0938\u094D\u0924\u0941",remove:"\u0939\u091F\u093E\u090F",selectCurrent:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",removeCurrent:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0939\u091F\u093E\u090F\u0902",selectAll:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",removeAll:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0939\u091F\u093E\u090F\u0902",selectInvert:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u094B \u0909\u0932\u094D\u091F\u093E \u0915\u0930\u0947\u0902"},Upload:{uploading:"\u0905\u092A\u0932\u094B\u0921 \u0939\u094B \u0930\u0939\u093E...",removeFile:"\u092B\u093C\u093E\u0907\u0932 \u0928\u093F\u0915\u093E\u0932\u0947\u0902",uploadError:"\u0905\u092A\u0932\u094B\u0921 \u092E\u0947\u0902 \u0924\u094D\u0930\u0941\u091F\u093F",previewFile:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0942\u0930\u094D\u0935\u093E\u0935\u0932\u094B\u0915\u0928",downloadFile:"\u092B\u093C\u093E\u0907\u0932 \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902"},Empty:{description:"\u0915\u094B\u0908 \u0906\u0915\u0921\u093C\u093E \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948"},Icon:{icon:"\u0906\u0907\u0915\u0928"},Text:{edit:"\u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",copy:"\u092A\u094D\u0930\u0924\u093F\u0932\u093F\u092A\u093F",copied:"\u0915\u0949\u092A\u0940 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",expand:"\u0935\u093F\u0938\u094D\u0924\u093E\u0930"},PageHeader:{back:"\u0935\u093E\u092A\u0938"},Form:{optional:"(\u0910\u091A\u094D\u091B\u093F\u0915)",defaultValidateMessages:{default:"${label} \u0915\u0947 \u0932\u093F\u090F \u092B\u0940\u0932\u094D\u0921 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0924\u094D\u0930\u0941\u091F\u093F",required:"\u0915\u0943\u092A\u092F\u093E ${label} \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902",enum:"${label} [${enum}] \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",whitespace:"${label} \u090F\u0915 \u0916\u093E\u0932\u0940 \u0905\u0915\u094D\u0937\u0930 \u0928\u0939\u0940\u0902 \u0939\u094B \u0938\u0915\u0924\u093E",date:{format:"${label} \u0924\u093F\u0925\u093F \u092A\u094D\u0930\u093E\u0930\u0942\u092A \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948",parse:"${label} \u0915\u094B \u0924\u093E\u0930\u0940\u0916 \u092E\u0947\u0902 \u0928\u0939\u0940\u0902 \u092C\u0926\u0932\u093E \u091C\u093E \u0938\u0915\u0924\u093E",invalid:"${label} \u090F\u0915 \u0905\u092E\u093E\u0928\u094D\u092F \u0924\u093F\u0925\u093F \u0939\u0948"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label} ${len} \u0905\u0915\u094D\u0937\u0930 \u0915\u093E \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",min:"${label} \u0915\u092E \u0938\u0947 \u0915\u092E ${min} \u0935\u0930\u094D\u0923\u094B\u0902 \u0915\u093E \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",max:"${label} \u0905\u0927\u093F\u0915\u0924\u092E ${max} \u0935\u0930\u094D\u0923\u094B\u0902 \u0915\u093E \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",range:"${label} ${min}-${max} \u0935\u0930\u094D\u0923\u094B\u0902 \u0915\u0947 \u092C\u0940\u091A \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F"},number:{len:"${label} ${len} \u0915\u0947 \u092C\u0930\u093E\u092C\u0930 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",min:"${label} \u0915\u092E \u0938\u0947 \u0915\u092E ${min} \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",max:"${label} \u0905\u0927\u093F\u0915\u0924\u092E ${max} \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",range:"${label} ${min}-${max} \u0915\u0947 \u092C\u0940\u091A \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F"},array:{len:"${len} ${label} \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",min:"\u0915\u092E \u0938\u0947 \u0915\u092E ${min} ${label}",max:"\u091C\u094D\u092F\u093E\u0926\u093E \u0938\u0947 \u091C\u094D\u092F\u093E\u0926\u093E ${max} ${label}",range:"${label} \u0915\u0940 \u0930\u093E\u0936\u093F ${min}-${max} \u0915\u0947 \u092C\u0940\u091A \u0939\u094B\u0928\u0940 \u091A\u093E\u0939\u093F\u090F"},pattern:{mismatch:"${label} ${pattern} \u092A\u0948\u091F\u0930\u094D\u0928 \u0938\u0947 \u092E\u0947\u0932 \u0928\u0939\u0940\u0902 \u0916\u093E\u0924\u093E"}}},Image:{preview:"\u092A\u0942\u0930\u094D\u0935\u093E\u0935\u0932\u094B\u0915\u0928"}},Te=Pe,De={items_per_page:"/ p\xE1gina",jump_to:"V\xE1 at\xE9",jump_to_confirm:"confirme",page:"",prev_page:"P\xE1gina anterior",next_page:"Pr\xF3xima p\xE1gina",prev_5:"5 p\xE1ginas anteriores",next_5:"5 pr\xF3ximas p\xE1ginas",prev_3:"3 p\xE1ginas anteriores",next_3:"3 pr\xF3ximas p\xE1ginas"},Ce={locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"Ok",clear:"Limpar",month:"M\xEAs",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher m\xEAs",yearSelect:"Escolher ano",decadeSelect:"Escolher d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"M\xEAs anterior (PageUp)",nextMonth:"Pr\xF3ximo m\xEAs (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Pr\xF3ximo ano (Control + direita)",previousDecade:"D\xE9cada anterior",nextDecade:"Pr\xF3xima d\xE9cada",previousCentury:"S\xE9culo anterior",nextCentury:"Pr\xF3ximo s\xE9culo",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","S\xE1b"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]},_e=Ce,Ye={placeholder:"Hora"},E=Ye,Ae={lang:s({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},_e),timePickerLocale:s({},E)},C=Ae,i="${label} n\xE3o \xE9 um ${type} v\xE1lido",Fe={locale:"pt-br",Pagination:De,DatePicker:C,TimePicker:E,Calendar:C,global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Menu de Filtro",filterConfirm:"OK",filterReset:"Resetar",filterEmptyText:"Sem filtros",emptyText:"Sem conte\xFAdo",selectAll:"Selecionar p\xE1gina atual",selectInvert:"Inverter sele\xE7\xE3o",selectNone:"Apagar todo o conte\xFAdo",selectionAll:"Selecionar todo o conte\xFAdo",sortTitle:"Ordenar t\xEDtulo",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organiza\xE7\xE3o"},Tour:{Next:"Pr\xF3ximo",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Procurar",itemUnit:"item",itemsUnit:"items",remove:"Remover",selectCurrent:"Selecionar p\xE1gina atual",removeCurrent:"Remover p\xE1gina atual",selectAll:"Selecionar todos",removeAll:"Remover todos",selectInvert:"Inverter sele\xE7\xE3o atual"},Upload:{uploading:"Enviando...",removeFile:"Remover arquivo",uploadError:"Erro no envio",previewFile:"Visualizar arquivo",downloadFile:"Baixar arquivo"},Empty:{description:"N\xE3o h\xE1 dados"},Icon:{icon:"\xEDcone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},PageHeader:{back:"Retornar"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Erro ${label} na valida\xE7\xE3o de campo",required:"Por favor, insira ${label}",enum:"${label} deve ser um dos seguinte: [${enum}]",whitespace:"${label} n\xE3o pode ser um car\xE1cter vazio",date:{format:" O formato de data ${label} \xE9 inv\xE1lido",parse:"${label} n\xE3o pode ser convertido para uma data",invalid:"${label} \xE9 uma data inv\xE1lida"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label} deve possuir ${len} caracteres",min:"${label} deve possuir ao menos ${min} caracteres",max:"${label} deve possuir no m\xE1ximo ${max} caracteres",range:"${label} deve possuir entre ${min} e ${max} caracteres"},number:{len:"${label} deve ser igual \xE0 ${len}",min:"O valor m\xEDnimo de ${label} \xE9 ${min}",max:"O valor m\xE1ximo de ${label} \xE9 ${max}",range:"${label} deve estar entre ${min} e ${max}"},array:{len:"Deve ser ${len} ${label}",min:"No m\xEDnimo ${min} ${label}",max:"No m\xE1ximo ${max} ${label}",range:"A quantidade de ${label} deve estar entre ${min} e ${max}"},pattern:{mismatch:"${label} n\xE3o se encaixa no padr\xE3o ${pattern}"}}},Image:{preview:"Pr\xE9-visualiza\xE7\xE3o"}},we=Fe,_="#ffffff",Y="#1b1b23";class Me{constructor(){c(this,"state",z({antLocale:void 0,style:void 0,fontFamilyUrl:void 0,antTheme:void 0}));c(this,"imageIsDarkCache",{});c(this,"update",async e=>{this.state.value.antLocale=this.getAntLocale(e),this.state.value.style=await this.getStyle(e),this.state.value.fontFamilyUrl=this.getFontUrl(e.fontFamily),this.state.value.antTheme=await this.getAntTheme(e),this.updateGlobalFontFamily(e.fontFamily)});c(this,"updateGlobalFontFamily",e=>{document.documentElement.style.setProperty("--ac-global-font-family",e)});c(this,"getAntLocale",e=>({en:b,pt:we,es:me,de:re,fr:ve,hi:Te})[e.locale]||b);c(this,"isBackgroundDark",async e=>this.imageIsDarkCache[e]?this.imageIsDarkCache[e]:x(e)?(this.imageIsDarkCache[e]=y(e),this.imageIsDarkCache[e]):(this.imageIsDarkCache[e]=await Z(e),this.imageIsDarkCache[e]));c(this,"getStyle",async e=>{const a=m=>y(m)?_:Y,d=await this.isBackgroundDark(e.background);return{"--color-main":e.mainColor,"--color-main-light":W(e.mainColor,.15),"--color-main-hover":k(e.mainColor),"--color-main-active":k(e.mainColor),"--color-secondary":"transparent","--color-secondary-lighter":"transparent","--color-secondary-darker":"transparent","--button-font-color-main":a(e.mainColor),"--font-family":e.fontFamily,"--font-color":d?_:Y,...this.getBackgroundStyle(e.background)}});c(this,"getAntTheme",async e=>{const a=await this.isBackgroundDark(e.background),d={fontFamily:e.fontFamily,colorPrimary:e.mainColor},m=[];if(a){const{darkAlgorithm:u}=G;m.push(u)}return{token:d,algorithm:m}});c(this,"getFontUrl",e=>`https://fonts.googleapis.com/css2?family=${e.split(" ").join("+")}:wght@300;400;500;700;900&display=swap`)}getBackgroundStyle(e){return x(e)?{backgroundColor:e}:{backgroundImage:`url(${e})`,backgroundSize:"cover"}}}const Ee=["href"],Ie=O({__name:"PlayerConfigProvider",props:{background:{},mainColor:{},fontFamily:{},locale:{}},setup(t){const e=t,a=new Me;return U("playerConfig",a.state),V(()=>[e.background,e.fontFamily,e.locale,e.mainColor],([d,m,u,g])=>{a.update({background:d,fontFamily:m,locale:u,mainColor:g})}),R(()=>{a.update({background:e.background,fontFamily:e.fontFamily,locale:e.locale,mainColor:e.mainColor})}),(d,m)=>{var u,g,h,$;return v(),f("div",{class:"config-provider",style:N((u=p(a).state.value)==null?void 0:u.style)},[(g=p(a).state.value)!=null&&g.fontFamilyUrl?(v(),f("link",{key:0,href:p(a).state.value.fontFamilyUrl,rel:"stylesheet"},null,8,Ee)):j("",!0),H(p(q),{theme:(h=p(a).state.value)==null?void 0:h.antTheme,locale:($=p(a).state.value)==null?void 0:$.antLocale},{default:B(()=>[K(d.$slots,"default",{},void 0,!0)]),_:3},8,["theme","locale"])],4)}}});const Ve=J(Ie,[["__scopeId","data-v-2c16e2a4"]]);export{Ve as W}; -//# sourceMappingURL=PlayerConfigProvider.90e436c2.js.map +var I=Object.defineProperty;var L=(t,e,a)=>e in t?I(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var c=(t,e,a)=>(L(t,typeof e!="symbol"?e+"":e,a),a);import{S as s,e as z,U as b,d as O,V as U,g as V,W as R,o as v,X as f,u as p,R as j,b as H,w as B,Y as N,Z as K,A as q,$ as J}from"./vue-router.324eaed2.js";import{i as x,a as y,b as Z,l as W,c as k}from"./colorHelpers.78fae216.js";import{t as G}from"./index.40f13cf1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ecee1f7e-dd55-4701-87f9-426600a51ac4",t._sentryDebugIdIdentifier="sentry-dbid-ecee1f7e-dd55-4701-87f9-426600a51ac4")}catch{}})();const Q={items_per_page:"/ Seite",jump_to:"Gehe zu",jump_to_confirm:"best\xE4tigen",page:"",prev_page:"Vorherige Seite",next_page:"N\xE4chste Seite",prev_5:"5 Seiten zur\xFCck",next_5:"5 Seiten vor",prev_3:"3 Seiten zur\xFCck",next_3:"3 Seiten vor"},X={locale:"de_DE",today:"Heute",now:"Jetzt",backToToday:"Zur\xFCck zu Heute",ok:"OK",clear:"Zur\xFCcksetzen",month:"Monat",year:"Jahr",timeSelect:"Zeit w\xE4hlen",dateSelect:"Datum w\xE4hlen",monthSelect:"W\xE4hle einen Monat",yearSelect:"W\xE4hle ein Jahr",decadeSelect:"W\xE4hle ein Jahrzehnt",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Vorheriger Monat (PageUp)",nextMonth:"N\xE4chster Monat (PageDown)",previousYear:"Vorheriges Jahr (Ctrl + left)",nextYear:"N\xE4chstes Jahr (Ctrl + right)",previousDecade:"Vorheriges Jahrzehnt",nextDecade:"N\xE4chstes Jahrzehnt",previousCentury:"Vorheriges Jahrhundert",nextCentury:"N\xE4chstes Jahrhundert"},ee=X,ae={placeholder:"Zeit ausw\xE4hlen"},A=ae,te={lang:s({placeholder:"Datum ausw\xE4hlen",rangePlaceholder:["Startdatum","Enddatum"]},ee),timePickerLocale:s({},A)},S=te,l="${label} ist nicht g\xFCltig. ${type} erwartet",le={locale:"de",Pagination:Q,DatePicker:S,TimePicker:A,Calendar:S,global:{placeholder:"Bitte ausw\xE4hlen"},Table:{filterTitle:"Filter-Men\xFC",filterConfirm:"OK",filterReset:"Zur\xFCcksetzen",selectAll:"Selektiere Alle",selectInvert:"Selektion Invertieren",selectionAll:"W\xE4hlen Sie alle Daten aus",sortTitle:"Sortieren",expand:"Zeile erweitern",collapse:"Zeile reduzieren",triggerDesc:"Klicken zur absteigenden Sortierung",triggerAsc:"Klicken zur aufsteigenden Sortierung",cancelSort:"Klicken zum Abbrechen der Sortierung"},Modal:{okText:"OK",cancelText:"Abbrechen",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Abbrechen"},Transfer:{titles:["",""],searchPlaceholder:"Suchen",itemUnit:"Eintrag",itemsUnit:"Eintr\xE4ge",remove:"Entfernen",selectCurrent:"Alle auf aktueller Seite ausw\xE4hlen",removeCurrent:"Auswahl auf aktueller Seite aufheben",selectAll:"Alle ausw\xE4hlen",removeAll:"Auswahl aufheben",selectInvert:"Auswahl umkehren"},Upload:{uploading:"Hochladen...",removeFile:"Datei entfernen",uploadError:"Fehler beim Hochladen",previewFile:"Dateivorschau",downloadFile:"Download-Datei"},Empty:{description:"Keine Daten"},Text:{edit:"Bearbeiten",copy:"Kopieren",copied:"Kopiert",expand:"Erweitern"},PageHeader:{back:"Zur\xFCck"},Form:{defaultValidateMessages:{default:"Feld-Validierungsfehler: ${label}",required:"Bitte geben Sie ${label} an",enum:"${label} muss eines der folgenden sein [${enum}]",whitespace:"${label} darf kein Leerzeichen sein",date:{format:"${label} ist ein ung\xFCltiges Datumsformat",parse:"${label} kann nicht in ein Datum umgewandelt werden",invalid:"${label} ist ein ung\xFCltiges Datum"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} muss genau ${len} Zeichen lang sein",min:"${label} muss mindestens ${min} Zeichen lang sein",max:"${label} darf h\xF6chstens ${max} Zeichen lang sein",range:"${label} muss zwischen ${min} und ${max} Zeichen lang sein"},number:{len:"${label} muss gleich ${len} sein",min:"${label} muss mindestens ${min} sein",max:"${label} darf maximal ${max} sein",range:"${label} muss zwischen ${min} und ${max} liegen"},array:{len:"Es m\xFCssen ${len} ${label} sein",min:"Es m\xFCssen mindestens ${min} ${label} sein",max:"Es d\xFCrfen maximal ${max} ${label} sein",range:"Die Anzahl an ${label} muss zwischen ${min} und ${max} liegen"},pattern:{mismatch:"${label} enspricht nicht dem ${pattern} Muster"}}},Image:{preview:"Vorschau"}},re=le,ne={items_per_page:"/ p\xE1gina",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"",prev_page:"P\xE1gina anterior",next_page:"P\xE1gina siguiente",prev_5:"5 p\xE1ginas previas",next_5:"5 p\xE1ginas siguientes",prev_3:"3 p\xE1ginas previas",next_3:"3 p\xE1ginas siguientes"},oe={locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xF1o anterior (Control + left)",nextYear:"A\xF1o siguiente (Control + right)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},ie=oe,ce={placeholder:"Seleccionar hora"},F=ce,se={lang:s({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"]},ie),timePickerLocale:s({},F)},P=se,r="${label} no es un ${type} v\xE1lido",de={locale:"es",Pagination:ne,DatePicker:P,TimePicker:F,Calendar:P,global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar men\xFA",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selecci\xF3n",selectNone:"Vac\xEDe todo",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar en orden descendente",triggerAsc:"Click para ordenar en orden ascendente",cancelSort:"Click para cancelar ordenamiento"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aqu\xED",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar p\xE1gina actual",removeCurrent:"Remover p\xE1gina actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir p\xE1gina actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"\xEDcono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},PageHeader:{back:"Volver"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Error de validaci\xF3n del campo ${label}",required:"Por favor ingresar ${label}",enum:"${label} debe ser uno de [${enum}]",whitespace:"${label} no puede ser un car\xE1cter en blanco",date:{format:"El formato de fecha de ${label} es inv\xE1lido",parse:"${label} no se puede convertir a una fecha",invalid:"${label} es una fecha inv\xE1lida"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label} debe tener ${len} caracteres",min:"${label} debe tener al menos ${min} caracteres",max:"${label} debe tener hasta ${max} caracteres",range:"${label} debe tener entre ${min}-${max} caracteres"},number:{len:"${label} debe ser igual a ${len}",min:"${label} valor m\xEDnimo es ${min}",max:"${label} valor m\xE1ximo es ${max}",range:"${label} debe estar entre ${min}-${max}"},array:{len:"Debe ser ${len} ${label}",min:"Al menos ${min} ${label}",max:"A lo mucho ${max} ${label}",range:"El monto de ${label} debe estar entre ${min}-${max}"},pattern:{mismatch:"${label} no coincide con el patr\xF3n ${pattern}"}}},Image:{preview:"Previsualizaci\xF3n"}},me=de,ue={items_per_page:"/ page",jump_to:"Aller \xE0",jump_to_confirm:"confirmer",page:"",prev_page:"Page pr\xE9c\xE9dente",next_page:"Page suivante",prev_5:"5 Pages pr\xE9c\xE9dentes",next_5:"5 Pages suivantes",prev_3:"3 Pages pr\xE9c\xE9dentes",next_3:"3 Pages suivantes"},pe={locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"Ok",clear:"R\xE9tablir",month:"Mois",year:"Ann\xE9e",timeSelect:"S\xE9lectionner l'heure",dateSelect:"S\xE9lectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xE9e",decadeSelect:"Choisissez une d\xE9cennie",yearFormat:"YYYY",dateFormat:"DD/MM/YYYY",dayFormat:"DD",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mois pr\xE9c\xE9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xE9e pr\xE9c\xE9dente (Ctrl + gauche)",nextYear:"Ann\xE9e prochaine (Ctrl + droite)",previousDecade:"D\xE9cennie pr\xE9c\xE9dente",nextDecade:"D\xE9cennie suivante",previousCentury:"Si\xE8cle pr\xE9c\xE9dent",nextCentury:"Si\xE8cle suivant"},ge=pe,he={placeholder:"S\xE9lectionner l'heure",rangePlaceholder:["Heure de d\xE9but","Heure de fin"]},w=he,$e={lang:s({placeholder:"S\xE9lectionner une date",yearPlaceholder:"S\xE9lectionner une ann\xE9e",quarterPlaceholder:"S\xE9lectionner un trimestre",monthPlaceholder:"S\xE9lectionner un mois",weekPlaceholder:"S\xE9lectionner une semaine",rangePlaceholder:["Date de d\xE9but","Date de fin"],rangeYearPlaceholder:["Ann\xE9e de d\xE9but","Ann\xE9e de fin"],rangeMonthPlaceholder:["Mois de d\xE9but","Mois de fin"],rangeWeekPlaceholder:["Semaine de d\xE9but","Semaine de fin"]},ge),timePickerLocale:s({},w)},T=$e,n="La valeur du champ ${label} n'est pas valide pour le type ${type}",be={locale:"fr",Pagination:ue,DatePicker:T,TimePicker:w,Calendar:T,Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"R\xE9initialiser",filterEmptyText:"Aucun filtre",emptyText:"Aucune donn\xE9e",selectAll:"S\xE9lectionner la page actuelle",selectInvert:"Inverser la s\xE9lection de la page actuelle",selectNone:"D\xE9s\xE9lectionner toutes les donn\xE9es",selectionAll:"S\xE9lectionner toutes les donn\xE9es",sortTitle:"Trier",expand:"D\xE9velopper la ligne",collapse:"R\xE9duire la ligne",triggerDesc:"Trier par ordre d\xE9croissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"\xE9l\xE9ment",itemsUnit:"\xE9l\xE9ments",remove:"D\xE9s\xE9lectionner",selectCurrent:"S\xE9lectionner la page actuelle",removeCurrent:"D\xE9s\xE9lectionner la page actuelle",selectAll:"S\xE9lectionner toutes les donn\xE9es",removeAll:"D\xE9s\xE9lectionner toutes les donn\xE9es",selectInvert:"Inverser la s\xE9lection de la page actuelle"},Upload:{uploading:"T\xE9l\xE9chargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de t\xE9l\xE9chargement",previewFile:"Fichier de pr\xE9visualisation",downloadFile:"T\xE9l\xE9charger un fichier"},Empty:{description:"Aucune donn\xE9e"},Icon:{icon:"ic\xF4ne"},Text:{edit:"\xC9diter",copy:"Copier",copied:"Copie effectu\xE9e",expand:"D\xE9velopper"},PageHeader:{back:"Retour"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit \xEAtre parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas \xEAtre vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas \xEAtre convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"La taille du champ ${label} doit \xEAtre de ${len} caract\xE8res",min:"La taille du champ ${label} doit \xEAtre au minimum de ${min} caract\xE8res",max:"La taille du champ ${label} doit \xEAtre au maximum de ${max} caract\xE8res",range:"La taille du champ ${label} doit \xEAtre entre ${min} et ${max} caract\xE8res"},number:{len:"La valeur du champ ${label} doit \xEAtre \xE9gale \xE0 ${len}",min:"La valeur du champ ${label} doit \xEAtre plus grande que ${min}",max:"La valeur du champ ${label} doit \xEAtre plus petit que ${max}",range:"La valeur du champ ${label} doit \xEAtre entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit \xEAtre de ${len}",min:"La taille du tableau ${label} doit \xEAtre au minimum de ${min}",max:"La taille du tableau ${label} doit \xEAtre au maximum de ${max}",range:"La taille du tableau ${label} doit \xEAtre entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au mod\xE8le ${pattern}"}}},Image:{preview:"Aper\xE7u"}},ve=be,fe={items_per_page:"/ \u092A\u0943\u0937\u094D\u0920",jump_to:"\u0907\u0938 \u092A\u0930 \u091A\u0932\u0947\u0902",jump_to_confirm:"\u092A\u0941\u0937\u094D\u091F\u093F \u0915\u0930\u0947\u0902",page:"",prev_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",prev_5:"\u092A\u093F\u091B\u0932\u0947 5 \u092A\u0943\u0937\u094D\u0920",next_5:"\u0905\u0917\u0932\u0947 5 \u092A\u0943\u0937\u094D\u0920",prev_3:"\u092A\u093F\u091B\u0932\u0947 3 \u092A\u0943\u0937\u094D\u0920",next_3:"\u0905\u0917\u0932\u0947 3 \u092A\u0947\u091C"},xe={locale:"hi_IN",today:"\u0906\u091C",now:"\u0905\u092D\u0940",backToToday:"\u0906\u091C \u0924\u0915",ok:"\u0920\u0940\u0915",clear:"\u0938\u094D\u092A\u0937\u094D\u091F",month:"\u092E\u0939\u0940\u0928\u093E",year:"\u0938\u093E\u0932",timeSelect:"\u0938\u092E\u092F \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",dateSelect:"\u0924\u093E\u0930\u0940\u0916\u093C \u091A\u0941\u0928\u0947\u0902",weekSelect:"\u090F\u0915 \u0938\u092A\u094D\u0924\u093E\u0939 \u091A\u0941\u0928\u0947\u0902",monthSelect:"\u090F\u0915 \u092E\u0939\u0940\u0928\u093E \u091A\u0941\u0928\u0947\u0902",yearSelect:"\u090F\u0915 \u0935\u0930\u094D\u0937 \u091A\u0941\u0928\u0947\u0902",decadeSelect:"\u090F\u0915 \u0926\u0936\u0915 \u091A\u0941\u0928\u0947\u0902",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u092A\u093F\u091B\u0932\u093E \u092E\u0939\u0940\u0928\u093E (\u092A\u0947\u091C\u0905\u092A)",nextMonth:"\u0905\u0917\u0932\u0947 \u092E\u0939\u0940\u0928\u0947 (\u092A\u0947\u091C\u0921\u093E\u0909\u0928)",previousYear:"\u092A\u093F\u091B\u0932\u0947 \u0938\u093E\u0932 (Ctrl + \u092C\u093E\u090F\u0902)",nextYear:"\u0905\u0917\u0932\u0947 \u0938\u093E\u0932 (Ctrl + \u0926\u093E\u0939\u093F\u0928\u093E)",previousDecade:"\u092A\u093F\u091B\u0932\u093E \u0926\u0936\u0915",nextDecade:"\u0905\u0917\u0932\u0947 \u0926\u0936\u0915",previousCentury:"\u092A\u0940\u091B\u094D\u0932\u0940 \u0936\u0924\u093E\u092C\u094D\u0926\u0940",nextCentury:"\u0905\u0917\u0932\u0940 \u0938\u0926\u0940"},ye=xe,ke={placeholder:"\u0938\u092E\u092F \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",rangePlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u0938\u092E\u092F","\u0905\u0902\u0924 \u0938\u092E\u092F"]},M=ke,Se={lang:s({placeholder:"\u0924\u093E\u0930\u0940\u0916\u093C \u091A\u0941\u0928\u0947\u0902",yearPlaceholder:"\u0935\u0930\u094D\u0937 \u091A\u0941\u0928\u0947\u0902",quarterPlaceholder:"\u0924\u093F\u092E\u093E\u0939\u0940 \u091A\u0941\u0928\u0947\u0902",monthPlaceholder:"\u092E\u0939\u0940\u0928\u093E \u091A\u0941\u0928\u093F\u090F",weekPlaceholder:"\u0938\u092A\u094D\u0924\u093E\u0939 \u091A\u0941\u0928\u0947\u0902",rangePlaceholder:["\u092A\u094D\u0930\u093E\u0930\u0902\u092D \u0924\u093F\u0925\u093F","\u0938\u092E\u093E\u092A\u094D\u0924\u093F \u0924\u093F\u0925\u093F"],rangeYearPlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u0935\u0930\u094D\u0937","\u0905\u0902\u0924 \u0935\u0930\u094D\u0937"],rangeMonthPlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u092E\u0939\u0940\u0928\u093E","\u0905\u0902\u0924 \u092E\u0939\u0940\u0928\u093E"],rangeWeekPlaceholder:["\u0906\u0930\u0902\u092D\u093F\u0915 \u0938\u092A\u094D\u0924\u093E\u0939","\u0905\u0902\u0924 \u0938\u092A\u094D\u0924\u093E\u0939"]},ye),timePickerLocale:s({},M)},D=Se,o="${label} \u092E\u093E\u0928\u094D\u092F ${type} \u0928\u0939\u0940\u0902 \u0939\u0948",Pe={locale:"hi",Pagination:fe,DatePicker:D,TimePicker:M,Calendar:D,global:{placeholder:"\u0915\u0943\u092A\u092F\u093E \u091A\u0941\u0928\u0947\u0902"},Table:{filterTitle:"\u0938\u0942\u091A\u0940 \u092C\u0902\u0926 \u0915\u0930\u0947\u0902",filterConfirm:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947",filterReset:"\u0930\u0940\u0938\u0947\u091F",filterEmptyText:"\u0915\u094B\u0908 \u092B\u093C\u093F\u0932\u094D\u091F\u0930 \u0928\u0939\u0940\u0902",emptyText:"\u0915\u094B\u0908 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0928\u0939\u0940\u0902",selectAll:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",selectInvert:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0918\u0941\u092E\u093E\u090F\u0902",selectNone:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",selectionAll:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",sortTitle:"\u0926\u094D\u0935\u093E\u0930\u093E \u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",expand:"\u092A\u0902\u0915\u094D\u0924\u093F \u0915\u093E \u0935\u093F\u0938\u094D\u0924\u093E\u0930 \u0915\u0930\u0947\u0902",collapse:"\u092A\u0902\u0915\u094D\u0924\u093F \u0938\u0902\u0915\u094D\u0937\u093F\u092A\u094D\u0924 \u0915\u0930\u0947\u0902",triggerDesc:"\u0905\u0935\u0930\u094B\u0939\u0940 \u0915\u094D\u0930\u092E\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902",triggerAsc:"\u0906\u0930\u094B\u0939\u0940 \u0915\u094D\u0930\u092E\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902",cancelSort:"\u091B\u0901\u091F\u093E\u0908 \u0930\u0926\u094D\u0926 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902"},Modal:{okText:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947",cancelText:"\u0930\u0926\u094D\u0926 \u0915\u0930\u0928\u093E",justOkText:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947"},Popconfirm:{okText:"\u0905\u091A\u094D\u091B\u0940 \u0924\u0930\u0939 \u0938\u0947",cancelText:"\u0930\u0926\u094D\u0926 \u0915\u0930\u0928\u093E"},Transfer:{titles:["",""],searchPlaceholder:"\u092F\u0939\u093E\u0902 \u0916\u094B\u091C\u0947\u0902",itemUnit:"\u0924\u0924\u094D\u0924\u094D\u0935",itemsUnit:"\u0935\u093F\u0937\u092F-\u0935\u0938\u094D\u0924\u0941",remove:"\u0939\u091F\u093E\u090F",selectCurrent:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",removeCurrent:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0939\u091F\u093E\u090F\u0902",selectAll:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",removeAll:"\u0938\u092D\u0940 \u0921\u0947\u091F\u093E \u0939\u091F\u093E\u090F\u0902",selectInvert:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u094B \u0909\u0932\u094D\u091F\u093E \u0915\u0930\u0947\u0902"},Upload:{uploading:"\u0905\u092A\u0932\u094B\u0921 \u0939\u094B \u0930\u0939\u093E...",removeFile:"\u092B\u093C\u093E\u0907\u0932 \u0928\u093F\u0915\u093E\u0932\u0947\u0902",uploadError:"\u0905\u092A\u0932\u094B\u0921 \u092E\u0947\u0902 \u0924\u094D\u0930\u0941\u091F\u093F",previewFile:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0942\u0930\u094D\u0935\u093E\u0935\u0932\u094B\u0915\u0928",downloadFile:"\u092B\u093C\u093E\u0907\u0932 \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902"},Empty:{description:"\u0915\u094B\u0908 \u0906\u0915\u0921\u093C\u093E \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948"},Icon:{icon:"\u0906\u0907\u0915\u0928"},Text:{edit:"\u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",copy:"\u092A\u094D\u0930\u0924\u093F\u0932\u093F\u092A\u093F",copied:"\u0915\u0949\u092A\u0940 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",expand:"\u0935\u093F\u0938\u094D\u0924\u093E\u0930"},PageHeader:{back:"\u0935\u093E\u092A\u0938"},Form:{optional:"(\u0910\u091A\u094D\u091B\u093F\u0915)",defaultValidateMessages:{default:"${label} \u0915\u0947 \u0932\u093F\u090F \u092B\u0940\u0932\u094D\u0921 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0924\u094D\u0930\u0941\u091F\u093F",required:"\u0915\u0943\u092A\u092F\u093E ${label} \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902",enum:"${label} [${enum}] \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",whitespace:"${label} \u090F\u0915 \u0916\u093E\u0932\u0940 \u0905\u0915\u094D\u0937\u0930 \u0928\u0939\u0940\u0902 \u0939\u094B \u0938\u0915\u0924\u093E",date:{format:"${label} \u0924\u093F\u0925\u093F \u092A\u094D\u0930\u093E\u0930\u0942\u092A \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948",parse:"${label} \u0915\u094B \u0924\u093E\u0930\u0940\u0916 \u092E\u0947\u0902 \u0928\u0939\u0940\u0902 \u092C\u0926\u0932\u093E \u091C\u093E \u0938\u0915\u0924\u093E",invalid:"${label} \u090F\u0915 \u0905\u092E\u093E\u0928\u094D\u092F \u0924\u093F\u0925\u093F \u0939\u0948"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label} ${len} \u0905\u0915\u094D\u0937\u0930 \u0915\u093E \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",min:"${label} \u0915\u092E \u0938\u0947 \u0915\u092E ${min} \u0935\u0930\u094D\u0923\u094B\u0902 \u0915\u093E \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",max:"${label} \u0905\u0927\u093F\u0915\u0924\u092E ${max} \u0935\u0930\u094D\u0923\u094B\u0902 \u0915\u093E \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",range:"${label} ${min}-${max} \u0935\u0930\u094D\u0923\u094B\u0902 \u0915\u0947 \u092C\u0940\u091A \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F"},number:{len:"${label} ${len} \u0915\u0947 \u092C\u0930\u093E\u092C\u0930 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",min:"${label} \u0915\u092E \u0938\u0947 \u0915\u092E ${min} \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",max:"${label} \u0905\u0927\u093F\u0915\u0924\u092E ${max} \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",range:"${label} ${min}-${max} \u0915\u0947 \u092C\u0940\u091A \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F"},array:{len:"${len} ${label} \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F",min:"\u0915\u092E \u0938\u0947 \u0915\u092E ${min} ${label}",max:"\u091C\u094D\u092F\u093E\u0926\u093E \u0938\u0947 \u091C\u094D\u092F\u093E\u0926\u093E ${max} ${label}",range:"${label} \u0915\u0940 \u0930\u093E\u0936\u093F ${min}-${max} \u0915\u0947 \u092C\u0940\u091A \u0939\u094B\u0928\u0940 \u091A\u093E\u0939\u093F\u090F"},pattern:{mismatch:"${label} ${pattern} \u092A\u0948\u091F\u0930\u094D\u0928 \u0938\u0947 \u092E\u0947\u0932 \u0928\u0939\u0940\u0902 \u0916\u093E\u0924\u093E"}}},Image:{preview:"\u092A\u0942\u0930\u094D\u0935\u093E\u0935\u0932\u094B\u0915\u0928"}},Te=Pe,De={items_per_page:"/ p\xE1gina",jump_to:"V\xE1 at\xE9",jump_to_confirm:"confirme",page:"",prev_page:"P\xE1gina anterior",next_page:"Pr\xF3xima p\xE1gina",prev_5:"5 p\xE1ginas anteriores",next_5:"5 pr\xF3ximas p\xE1ginas",prev_3:"3 p\xE1ginas anteriores",next_3:"3 pr\xF3ximas p\xE1ginas"},Ce={locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"Ok",clear:"Limpar",month:"M\xEAs",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher m\xEAs",yearSelect:"Escolher ano",decadeSelect:"Escolher d\xE9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"M\xEAs anterior (PageUp)",nextMonth:"Pr\xF3ximo m\xEAs (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Pr\xF3ximo ano (Control + direita)",previousDecade:"D\xE9cada anterior",nextDecade:"Pr\xF3xima d\xE9cada",previousCentury:"S\xE9culo anterior",nextCentury:"Pr\xF3ximo s\xE9culo",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","S\xE1b"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]},_e=Ce,Ye={placeholder:"Hora"},E=Ye,Ae={lang:s({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},_e),timePickerLocale:s({},E)},C=Ae,i="${label} n\xE3o \xE9 um ${type} v\xE1lido",Fe={locale:"pt-br",Pagination:De,DatePicker:C,TimePicker:E,Calendar:C,global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Menu de Filtro",filterConfirm:"OK",filterReset:"Resetar",filterEmptyText:"Sem filtros",emptyText:"Sem conte\xFAdo",selectAll:"Selecionar p\xE1gina atual",selectInvert:"Inverter sele\xE7\xE3o",selectNone:"Apagar todo o conte\xFAdo",selectionAll:"Selecionar todo o conte\xFAdo",sortTitle:"Ordenar t\xEDtulo",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organiza\xE7\xE3o"},Tour:{Next:"Pr\xF3ximo",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Procurar",itemUnit:"item",itemsUnit:"items",remove:"Remover",selectCurrent:"Selecionar p\xE1gina atual",removeCurrent:"Remover p\xE1gina atual",selectAll:"Selecionar todos",removeAll:"Remover todos",selectInvert:"Inverter sele\xE7\xE3o atual"},Upload:{uploading:"Enviando...",removeFile:"Remover arquivo",uploadError:"Erro no envio",previewFile:"Visualizar arquivo",downloadFile:"Baixar arquivo"},Empty:{description:"N\xE3o h\xE1 dados"},Icon:{icon:"\xEDcone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},PageHeader:{back:"Retornar"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Erro ${label} na valida\xE7\xE3o de campo",required:"Por favor, insira ${label}",enum:"${label} deve ser um dos seguinte: [${enum}]",whitespace:"${label} n\xE3o pode ser um car\xE1cter vazio",date:{format:" O formato de data ${label} \xE9 inv\xE1lido",parse:"${label} n\xE3o pode ser convertido para uma data",invalid:"${label} \xE9 uma data inv\xE1lida"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label} deve possuir ${len} caracteres",min:"${label} deve possuir ao menos ${min} caracteres",max:"${label} deve possuir no m\xE1ximo ${max} caracteres",range:"${label} deve possuir entre ${min} e ${max} caracteres"},number:{len:"${label} deve ser igual \xE0 ${len}",min:"O valor m\xEDnimo de ${label} \xE9 ${min}",max:"O valor m\xE1ximo de ${label} \xE9 ${max}",range:"${label} deve estar entre ${min} e ${max}"},array:{len:"Deve ser ${len} ${label}",min:"No m\xEDnimo ${min} ${label}",max:"No m\xE1ximo ${max} ${label}",range:"A quantidade de ${label} deve estar entre ${min} e ${max}"},pattern:{mismatch:"${label} n\xE3o se encaixa no padr\xE3o ${pattern}"}}},Image:{preview:"Pr\xE9-visualiza\xE7\xE3o"}},we=Fe,_="#ffffff",Y="#1b1b23";class Me{constructor(){c(this,"state",z({antLocale:void 0,style:void 0,fontFamilyUrl:void 0,antTheme:void 0}));c(this,"imageIsDarkCache",{});c(this,"update",async e=>{this.state.value.antLocale=this.getAntLocale(e),this.state.value.style=await this.getStyle(e),this.state.value.fontFamilyUrl=this.getFontUrl(e.fontFamily),this.state.value.antTheme=await this.getAntTheme(e),this.updateGlobalFontFamily(e.fontFamily)});c(this,"updateGlobalFontFamily",e=>{document.documentElement.style.setProperty("--ac-global-font-family",e)});c(this,"getAntLocale",e=>({en:b,pt:we,es:me,de:re,fr:ve,hi:Te})[e.locale]||b);c(this,"isBackgroundDark",async e=>this.imageIsDarkCache[e]?this.imageIsDarkCache[e]:x(e)?(this.imageIsDarkCache[e]=y(e),this.imageIsDarkCache[e]):(this.imageIsDarkCache[e]=await Z(e),this.imageIsDarkCache[e]));c(this,"getStyle",async e=>{const a=m=>y(m)?_:Y,d=await this.isBackgroundDark(e.background);return{"--color-main":e.mainColor,"--color-main-light":W(e.mainColor,.15),"--color-main-hover":k(e.mainColor),"--color-main-active":k(e.mainColor),"--color-secondary":"transparent","--color-secondary-lighter":"transparent","--color-secondary-darker":"transparent","--button-font-color-main":a(e.mainColor),"--font-family":e.fontFamily,"--font-color":d?_:Y,...this.getBackgroundStyle(e.background)}});c(this,"getAntTheme",async e=>{const a=await this.isBackgroundDark(e.background),d={fontFamily:e.fontFamily,colorPrimary:e.mainColor},m=[];if(a){const{darkAlgorithm:u}=G;m.push(u)}return{token:d,algorithm:m}});c(this,"getFontUrl",e=>`https://fonts.googleapis.com/css2?family=${e.split(" ").join("+")}:wght@300;400;500;700;900&display=swap`)}getBackgroundStyle(e){return x(e)?{backgroundColor:e}:{backgroundImage:`url(${e})`,backgroundSize:"cover"}}}const Ee=["href"],Ie=O({__name:"PlayerConfigProvider",props:{background:{},mainColor:{},fontFamily:{},locale:{}},setup(t){const e=t,a=new Me;return U("playerConfig",a.state),V(()=>[e.background,e.fontFamily,e.locale,e.mainColor],([d,m,u,g])=>{a.update({background:d,fontFamily:m,locale:u,mainColor:g})}),R(()=>{a.update({background:e.background,fontFamily:e.fontFamily,locale:e.locale,mainColor:e.mainColor})}),(d,m)=>{var u,g,h,$;return v(),f("div",{class:"config-provider",style:N((u=p(a).state.value)==null?void 0:u.style)},[(g=p(a).state.value)!=null&&g.fontFamilyUrl?(v(),f("link",{key:0,href:p(a).state.value.fontFamilyUrl,rel:"stylesheet"},null,8,Ee)):j("",!0),H(p(q),{theme:(h=p(a).state.value)==null?void 0:h.antTheme,locale:($=p(a).state.value)==null?void 0:$.antLocale},{default:B(()=>[K(d.$slots,"default",{},void 0,!0)]),_:3},8,["theme","locale"])],4)}}});const Ve=J(Ie,[["__scopeId","data-v-2c16e2a4"]]);export{Ve as W}; +//# sourceMappingURL=PlayerConfigProvider.8618ed20.js.map diff --git a/abstra_statics/dist/assets/PlayerNavbar.c92a19bc.js b/abstra_statics/dist/assets/PlayerNavbar.0bdb1677.js similarity index 81% rename from abstra_statics/dist/assets/PlayerNavbar.c92a19bc.js rename to abstra_statics/dist/assets/PlayerNavbar.0bdb1677.js index 5a78463c2b..f47fe29f0f 100644 --- a/abstra_statics/dist/assets/PlayerNavbar.c92a19bc.js +++ b/abstra_statics/dist/assets/PlayerNavbar.0bdb1677.js @@ -1,2 +1,2 @@ -import{b as L}from"./workspaceStore.be837912.js";import{i as D}from"./metadata.bccf44f5.js";import{L as P}from"./LoadingOutlined.64419cb9.js";import{d as Z,B as y,f as h,o as a,X as o,Z as A,R as v,e8 as S,a as l,aR as x,eb as z,ed as $,c as b,ec as B,u,e9 as k,$ as V,D as N,w as H,aF as f,d8 as M,b as _,bP as w,Y as I,cK as R}from"./vue-router.33f35a18.js";import{F}from"./PhSignOut.vue.b806976f.js";import"./index.8f5819bb.js";import{A as U}from"./Avatar.dcb46dd7.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[n]="b95f32d3-4623-410d-a86c-714eb49b25a0",d._sentryDebugIdIdentifier="sentry-dbid-b95f32d3-4623-410d-a86c-714eb49b25a0")}catch{}})();const E=["width","height","fill","transform"],j={key:0},q=l("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1),W=[q],T={key:1},G=l("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),K=l("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),O=[G,K],X={key:2},Y=l("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1),J=[Y],Q={key:3},e0=l("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1),a0=[e0],t0={key:4},r0=l("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),l0=[r0],n0={key:5},o0=l("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1),s0=[o0],i0={name:"PhList"},d0=Z({...i0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(d){const n=d,c=y("weight","regular"),p=y("size","1em"),m=y("color","currentColor"),g=y("mirrored",!1),e=h(()=>{var t;return(t=n.weight)!=null?t:c}),r=h(()=>{var t;return(t=n.size)!=null?t:p}),s=h(()=>{var t;return(t=n.color)!=null?t:m}),i=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(t,C)=>(a(),o("svg",S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r.value,height:r.value,fill:s.value,transform:i.value},t.$attrs),[A(t.$slots,"default"),e.value==="bold"?(a(),o("g",j,W)):e.value==="duotone"?(a(),o("g",T,O)):e.value==="fill"?(a(),o("g",X,J)):e.value==="light"?(a(),o("g",Q,a0)):e.value==="regular"?(a(),o("g",t0,l0)):e.value==="thin"?(a(),o("g",n0,s0)):v("",!0)],16,E))}}),u0=["width","height","fill","transform"],c0={key:0},p0=l("path",{d:"M144.49,136.49l-40,40a12,12,0,0,1-17-17L107,140H24a12,12,0,0,1,0-24h83L87.51,96.49a12,12,0,0,1,17-17l40,40A12,12,0,0,1,144.49,136.49ZM200,28H136a12,12,0,0,0,0,24h52V204H136a12,12,0,0,0,0,24h64a12,12,0,0,0,12-12V40A12,12,0,0,0,200,28Z"},null,-1),g0=[p0],h0={key:1},v0=l("path",{d:"M200,40V216H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40Z",opacity:"0.2"},null,-1),m0=l("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),y0=[v0,m0],H0={key:2},b0=l("path",{d:"M141.66,133.66l-40,40A8,8,0,0,1,88,168V136H24a8,8,0,0,1,0-16H88V88a8,8,0,0,1,13.66-5.66l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),f0=[b0],_0={key:3},k0=l("path",{d:"M140.24,132.24l-40,40a6,6,0,0,1-8.48-8.48L121.51,134H24a6,6,0,0,1,0-12h97.51L91.76,92.24a6,6,0,0,1,8.48-8.48l40,40A6,6,0,0,1,140.24,132.24ZM200,34H136a6,6,0,0,0,0,12h58V210H136a6,6,0,0,0,0,12h64a6,6,0,0,0,6-6V40A6,6,0,0,0,200,34Z"},null,-1),Z0=[k0],$0={key:4},M0=l("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),w0=[M0],A0={key:5},S0=l("path",{d:"M138.83,130.83l-40,40a4,4,0,0,1-5.66-5.66L126.34,132H24a4,4,0,0,1,0-8H126.34L93.17,90.83a4,4,0,0,1,5.66-5.66l40,40A4,4,0,0,1,138.83,130.83ZM200,36H136a4,4,0,0,0,0,8h60V212H136a4,4,0,0,0,0,8h64a4,4,0,0,0,4-4V40A4,4,0,0,0,200,36Z"},null,-1),V0=[S0],C0={name:"PhSignIn"},L0=Z({...C0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(d){const n=d,c=y("weight","regular"),p=y("size","1em"),m=y("color","currentColor"),g=y("mirrored",!1),e=h(()=>{var t;return(t=n.weight)!=null?t:c}),r=h(()=>{var t;return(t=n.size)!=null?t:p}),s=h(()=>{var t;return(t=n.color)!=null?t:m}),i=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(t,C)=>(a(),o("svg",S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r.value,height:r.value,fill:s.value,transform:i.value},t.$attrs),[A(t.$slots,"default"),e.value==="bold"?(a(),o("g",c0,g0)):e.value==="duotone"?(a(),o("g",h0,y0)):e.value==="fill"?(a(),o("g",H0,f0)):e.value==="light"?(a(),o("g",_0,Z0)):e.value==="regular"?(a(),o("g",$0,w0)):e.value==="thin"?(a(),o("g",A0,V0)):v("",!0)],16,u0))}}),D0={class:"sidebar-content"},P0={class:"section"},x0=["onClick"],z0={class:"item-title"},B0=Z({__name:"Sidebar",props:{runnerData:{},open:{type:Boolean},currentPath:{},loading:{}},emits:["selectRuntime","closeSidebar"],setup(d,{emit:n}){const c=d,p=window.innerWidth<760,m=e=>{g(e.id)||(n("selectRuntime",e),p&&n("closeSidebar"))},g=e=>e===c.currentPath;return(e,r)=>{var s;return a(),o("div",{class:$(["sidebar",{open:e.open}])},[l("div",D0,[l("div",P0,[(a(!0),o(x,null,z(((s=e.runnerData)==null?void 0:s.sidebar)||[],i=>(a(),o("div",{key:i.id,class:$(["item",{active:g(i.path),disabled:e.loading===i.id}]),onClick:t=>m(i)},[(a(),b(B(u(D)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),l("div",z0,k(i.name),1),e.loading===i.id?(a(),b(u(P),{key:0})):v("",!0)],10,x0))),128))])])],2)}}});const N0=V(B0,[["__scopeId","data-v-46d7eca7"]]),I0={class:"left-side"},R0={key:1,class:"brand"},F0=["src"],U0={class:"right-side"},E0={style:{display:"flex","flex-direction":"column",gap:"10px"}},j0={style:{display:"flex",gap:"5px"}},q0={style:{display:"flex",gap:"5px"}},W0=Z({__name:"PlayerNavbar",props:{mainColor:{},currentPath:{},hideLogin:{type:Boolean},emailPlaceholder:{},loading:{},runnerData:{}},emits:["navigate","login-click"],setup(d,{emit:n}){const c=d,p=N({openSidebar:!1}),m=L(),g=h(()=>{var r,s;return(s=(r=m.user)==null?void 0:r.claims.email)!=null?s:c.emailPlaceholder}),e=h(()=>{const r=c.runnerData.sidebar;return r&&r.length>0});return(r,s)=>(a(),o("header",{class:$(["navbar",e.value&&"background"])},[l("div",I0,[e.value?(a(),b(u(d0),{key:0,class:"sidebar-menu-icon",onClick:s[0]||(s[0]=i=>p.openSidebar=!p.openSidebar)})):v("",!0),r.runnerData.logoUrl||r.runnerData.brandName?(a(),o("div",R0,[r.runnerData.logoUrl?(a(),o("img",{key:0,src:r.runnerData.logoUrl,class:"logo-image"},null,8,F0)):v("",!0),r.runnerData.brandName?(a(),b(u(M),{key:1,class:"brand-name",ellipsis:""},{default:H(()=>[f(k(r.runnerData.brandName),1)]),_:1})):v("",!0)])):v("",!0)]),l("div",U0,[g.value?(a(),b(u(R),{key:0,placement:"bottomRight"},{content:H(()=>[l("div",E0,[_(u(M),{size:"small",type:"secondary"},{default:H(()=>[f(k(g.value),1)]),_:1}),_(u(w),{type:"text",onClick:u(m).logout},{default:H(()=>[l("div",j0,[_(u(F),{size:"20"}),f(" Logout ")])]),_:1},8,["onClick"])])]),default:H(()=>[_(u(U),{shape:"square",size:"small",style:I({backgroundColor:r.mainColor})},{default:H(()=>[f(k(g.value[0].toUpperCase()),1)]),_:1},8,["style"])]),_:1})):r.hideLogin?v("",!0):(a(),b(u(w),{key:1,type:"text",onClick:s[1]||(s[1]=i=>n("login-click"))},{default:H(()=>[l("div",q0,[f(" Login "),_(u(L0),{size:"20"})])]),_:1}))]),e.value?(a(),b(N0,{key:0,"current-path":r.currentPath,"runner-data":c.runnerData,open:p.openSidebar,loading:c.loading,onSelectRuntime:s[2]||(s[2]=i=>n("navigate",i)),onCloseSidebar:s[3]||(s[3]=i=>p.openSidebar=!1)},null,8,["current-path","runner-data","open","loading"])):v("",!0)],2))}});const Q0=V(W0,[["__scopeId","data-v-d8d35227"]]);export{Q0 as P}; -//# sourceMappingURL=PlayerNavbar.c92a19bc.js.map +import{b as L}from"./workspaceStore.5977d9e8.js";import{i as D}from"./metadata.4c5c5434.js";import{L as P}from"./LoadingOutlined.09a06334.js";import{d as Z,B as y,f as h,o as a,X as o,Z as A,R as v,e8 as S,a as l,aR as x,eb as z,ed as $,c as f,ec as B,u,e9 as k,$ as V,D as N,w as H,aF as b,d8 as M,b as _,bP as w,Y as I,cK as R}from"./vue-router.324eaed2.js";import{F}from"./PhSignOut.vue.d965d159.js";import"./index.ea51f4a9.js";import{A as U}from"./Avatar.4c029798.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[n]="df0526c6-e741-432b-8095-74cbc80e1957",d._sentryDebugIdIdentifier="sentry-dbid-df0526c6-e741-432b-8095-74cbc80e1957")}catch{}})();const E=["width","height","fill","transform"],j={key:0},q=l("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1),W=[q],T={key:1},G=l("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),K=l("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),O=[G,K],X={key:2},Y=l("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1),J=[Y],Q={key:3},e0=l("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1),a0=[e0],t0={key:4},r0=l("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),l0=[r0],n0={key:5},o0=l("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1),s0=[o0],i0={name:"PhList"},d0=Z({...i0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(d){const n=d,c=y("weight","regular"),p=y("size","1em"),m=y("color","currentColor"),g=y("mirrored",!1),e=h(()=>{var t;return(t=n.weight)!=null?t:c}),r=h(()=>{var t;return(t=n.size)!=null?t:p}),s=h(()=>{var t;return(t=n.color)!=null?t:m}),i=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(t,C)=>(a(),o("svg",S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r.value,height:r.value,fill:s.value,transform:i.value},t.$attrs),[A(t.$slots,"default"),e.value==="bold"?(a(),o("g",j,W)):e.value==="duotone"?(a(),o("g",T,O)):e.value==="fill"?(a(),o("g",X,J)):e.value==="light"?(a(),o("g",Q,a0)):e.value==="regular"?(a(),o("g",t0,l0)):e.value==="thin"?(a(),o("g",n0,s0)):v("",!0)],16,E))}}),u0=["width","height","fill","transform"],c0={key:0},p0=l("path",{d:"M144.49,136.49l-40,40a12,12,0,0,1-17-17L107,140H24a12,12,0,0,1,0-24h83L87.51,96.49a12,12,0,0,1,17-17l40,40A12,12,0,0,1,144.49,136.49ZM200,28H136a12,12,0,0,0,0,24h52V204H136a12,12,0,0,0,0,24h64a12,12,0,0,0,12-12V40A12,12,0,0,0,200,28Z"},null,-1),g0=[p0],h0={key:1},v0=l("path",{d:"M200,40V216H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40Z",opacity:"0.2"},null,-1),m0=l("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),y0=[v0,m0],H0={key:2},f0=l("path",{d:"M141.66,133.66l-40,40A8,8,0,0,1,88,168V136H24a8,8,0,0,1,0-16H88V88a8,8,0,0,1,13.66-5.66l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),b0=[f0],_0={key:3},k0=l("path",{d:"M140.24,132.24l-40,40a6,6,0,0,1-8.48-8.48L121.51,134H24a6,6,0,0,1,0-12h97.51L91.76,92.24a6,6,0,0,1,8.48-8.48l40,40A6,6,0,0,1,140.24,132.24ZM200,34H136a6,6,0,0,0,0,12h58V210H136a6,6,0,0,0,0,12h64a6,6,0,0,0,6-6V40A6,6,0,0,0,200,34Z"},null,-1),Z0=[k0],$0={key:4},M0=l("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),w0=[M0],A0={key:5},S0=l("path",{d:"M138.83,130.83l-40,40a4,4,0,0,1-5.66-5.66L126.34,132H24a4,4,0,0,1,0-8H126.34L93.17,90.83a4,4,0,0,1,5.66-5.66l40,40A4,4,0,0,1,138.83,130.83ZM200,36H136a4,4,0,0,0,0,8h60V212H136a4,4,0,0,0,0,8h64a4,4,0,0,0,4-4V40A4,4,0,0,0,200,36Z"},null,-1),V0=[S0],C0={name:"PhSignIn"},L0=Z({...C0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(d){const n=d,c=y("weight","regular"),p=y("size","1em"),m=y("color","currentColor"),g=y("mirrored",!1),e=h(()=>{var t;return(t=n.weight)!=null?t:c}),r=h(()=>{var t;return(t=n.size)!=null?t:p}),s=h(()=>{var t;return(t=n.color)!=null?t:m}),i=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:g?"scale(-1, 1)":void 0);return(t,C)=>(a(),o("svg",S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r.value,height:r.value,fill:s.value,transform:i.value},t.$attrs),[A(t.$slots,"default"),e.value==="bold"?(a(),o("g",c0,g0)):e.value==="duotone"?(a(),o("g",h0,y0)):e.value==="fill"?(a(),o("g",H0,b0)):e.value==="light"?(a(),o("g",_0,Z0)):e.value==="regular"?(a(),o("g",$0,w0)):e.value==="thin"?(a(),o("g",A0,V0)):v("",!0)],16,u0))}}),D0={class:"sidebar-content"},P0={class:"section"},x0=["onClick"],z0={class:"item-title"},B0=Z({__name:"Sidebar",props:{runnerData:{},open:{type:Boolean},currentPath:{},loading:{}},emits:["selectRuntime","closeSidebar"],setup(d,{emit:n}){const c=d,p=window.innerWidth<760,m=e=>{g(e.id)||(n("selectRuntime",e),p&&n("closeSidebar"))},g=e=>e===c.currentPath;return(e,r)=>{var s;return a(),o("div",{class:$(["sidebar",{open:e.open}])},[l("div",D0,[l("div",P0,[(a(!0),o(x,null,z(((s=e.runnerData)==null?void 0:s.sidebar)||[],i=>(a(),o("div",{key:i.id,class:$(["item",{active:g(i.path),disabled:e.loading===i.id}]),onClick:t=>m(i)},[(a(),f(B(u(D)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),l("div",z0,k(i.name),1),e.loading===i.id?(a(),f(u(P),{key:0})):v("",!0)],10,x0))),128))])])],2)}}});const N0=V(B0,[["__scopeId","data-v-46d7eca7"]]),I0={class:"left-side"},R0={key:1,class:"brand"},F0=["src"],U0={class:"right-side"},E0={style:{display:"flex","flex-direction":"column",gap:"10px"}},j0={style:{display:"flex",gap:"5px"}},q0={style:{display:"flex",gap:"5px"}},W0=Z({__name:"PlayerNavbar",props:{mainColor:{},currentPath:{},hideLogin:{type:Boolean},emailPlaceholder:{},loading:{},runnerData:{}},emits:["navigate","login-click"],setup(d,{emit:n}){const c=d,p=N({openSidebar:!1}),m=L(),g=h(()=>{var r,s;return(s=(r=m.user)==null?void 0:r.claims.email)!=null?s:c.emailPlaceholder}),e=h(()=>{const r=c.runnerData.sidebar;return r&&r.length>0});return(r,s)=>(a(),o("header",{class:$(["navbar",e.value&&"background"])},[l("div",I0,[e.value?(a(),f(u(d0),{key:0,class:"sidebar-menu-icon",onClick:s[0]||(s[0]=i=>p.openSidebar=!p.openSidebar)})):v("",!0),r.runnerData.logoUrl||r.runnerData.brandName?(a(),o("div",R0,[r.runnerData.logoUrl?(a(),o("img",{key:0,src:r.runnerData.logoUrl,class:"logo-image"},null,8,F0)):v("",!0),r.runnerData.brandName?(a(),f(u(M),{key:1,class:"brand-name",ellipsis:""},{default:H(()=>[b(k(r.runnerData.brandName),1)]),_:1})):v("",!0)])):v("",!0)]),l("div",U0,[g.value?(a(),f(u(R),{key:0,placement:"bottomRight"},{content:H(()=>[l("div",E0,[_(u(M),{size:"small",type:"secondary"},{default:H(()=>[b(k(g.value),1)]),_:1}),_(u(w),{type:"text",onClick:u(m).logout},{default:H(()=>[l("div",j0,[_(u(F),{size:"20"}),b(" Logout ")])]),_:1},8,["onClick"])])]),default:H(()=>[_(u(U),{shape:"square",size:"small",style:I({backgroundColor:r.mainColor})},{default:H(()=>[b(k(g.value[0].toUpperCase()),1)]),_:1},8,["style"])]),_:1})):r.hideLogin?v("",!0):(a(),f(u(w),{key:1,type:"text",onClick:s[1]||(s[1]=i=>n("login-click"))},{default:H(()=>[l("div",q0,[b(" Login "),_(u(L0),{size:"20"})])]),_:1}))]),e.value?(a(),f(N0,{key:0,"current-path":r.currentPath,"runner-data":c.runnerData,open:p.openSidebar,loading:c.loading,onSelectRuntime:s[2]||(s[2]=i=>n("navigate",i)),onCloseSidebar:s[3]||(s[3]=i=>p.openSidebar=!1)},null,8,["current-path","runner-data","open","loading"])):v("",!0)],2))}});const Q0=V(W0,[["__scopeId","data-v-d8d35227"]]);export{Q0 as P}; +//# sourceMappingURL=PlayerNavbar.0bdb1677.js.map diff --git a/abstra_statics/dist/assets/PreferencesEditor.e2c83c4d.js b/abstra_statics/dist/assets/PreferencesEditor.84dda27f.js similarity index 98% rename from abstra_statics/dist/assets/PreferencesEditor.e2c83c4d.js rename to abstra_statics/dist/assets/PreferencesEditor.84dda27f.js index 01d63a555a..09e9ba2460 100644 --- a/abstra_statics/dist/assets/PreferencesEditor.e2c83c4d.js +++ b/abstra_statics/dist/assets/PreferencesEditor.84dda27f.js @@ -1,6 +1,6 @@ -import{d as v,B,f as b,o as c,X as y,Z as R,R as w,e8 as ie,a as f,b as d,w as g,aF as x,u,d9 as G,aR as T,eb as H,c as m,ec as he,$ as K,e as P,D as le,W as pe,ag as se,Y as ue,el as W,e9 as U,aZ as me,eP as ge,r as O,cQ as D,aA as Z,eQ as Se,cv as M,bH as E,cu as fe,dd as _,cB as ee}from"./vue-router.33f35a18.js";import"./editor.c70395a0.js";import{W as ye}from"./workspaces.91ed8c72.js";import{P as ve}from"./PlayerNavbar.c92a19bc.js";import{W as be}from"./PlayerConfigProvider.90e436c2.js";import{_ as ae}from"./AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js";import{C as ke}from"./ContentLayout.d691ad7a.js";import{L as Ce}from"./LoadingContainer.4ab818eb.js";import{S as we}from"./SaveButton.dae129ff.js";import{m as te}from"./workspaceStore.be837912.js";import{a as Ae}from"./asyncComputed.c677c545.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./record.075b7d45.js";import"./metadata.bccf44f5.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./LoadingOutlined.64419cb9.js";import"./PhSignOut.vue.b806976f.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";import"./index.dec2a631.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e1e6a0b5-0ebd-4c37-a61d-f550bb826ae6",e._sentryDebugIdIdentifier="sentry-dbid-e1e6a0b5-0ebd-4c37-a61d-f550bb826ae6")}catch{}})();const Ne=["width","height","fill","transform"],Me={key:0},Be=f("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},null,-1),xe=[Be],Oe={key:1},Fe=f("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),Le=f("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1),Pe=[Fe,Le],$e={key:2},Te=f("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),Re=[Te],He={key:3},_e=f("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"},null,-1),Ee=[_e],De={key:4},Ge=f("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1),Ie=[Ge],Ke={key:5},We=f("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},null,-1),Ue=[We],Ze={name:"PhEye"},oe=v({...Ze,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const a=e,t=B("weight","regular"),r=B("size","1em"),o=B("color","currentColor"),i=B("mirrored",!1),n=b(()=>{var p;return(p=a.weight)!=null?p:t}),s=b(()=>{var p;return(p=a.size)!=null?p:r}),l=b(()=>{var p;return(p=a.color)!=null?p:o}),h=b(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(p,k)=>(c(),y("svg",ie({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:l.value,transform:h.value},p.$attrs),[R(p.$slots,"default"),n.value==="bold"?(c(),y("g",Me,xe)):n.value==="duotone"?(c(),y("g",Oe,Pe)):n.value==="fill"?(c(),y("g",$e,Re)):n.value==="light"?(c(),y("g",He,Ee)):n.value==="regular"?(c(),y("g",De,Ie)):n.value==="thin"?(c(),y("g",Ke,Ue)):w("",!0)],16,Ne))}}),ze=["width","height","fill","transform"],Ve={key:0},je=f("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),qe=[je],Ye={key:1},Je=f("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xe=f("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),Qe=[Je,Xe],ea={key:2},aa=f("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),ta=[aa],oa={key:3},ra=f("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),na=[ra],ia={key:4},la=f("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),sa=[la],ua={key:5},da=f("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),ca=[da],ha={name:"PhXCircle"},pa=v({...ha,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const a=e,t=B("weight","regular"),r=B("size","1em"),o=B("color","currentColor"),i=B("mirrored",!1),n=b(()=>{var p;return(p=a.weight)!=null?p:t}),s=b(()=>{var p;return(p=a.size)!=null?p:r}),l=b(()=>{var p;return(p=a.color)!=null?p:o}),h=b(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(p,k)=>(c(),y("svg",ie({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:l.value,transform:h.value},p.$attrs),[R(p.$slots,"default"),n.value==="bold"?(c(),y("g",Ve,qe)):n.value==="duotone"?(c(),y("g",Ye,Qe)):n.value==="fill"?(c(),y("g",ea,ta)):n.value==="light"?(c(),y("g",oa,na)):n.value==="regular"?(c(),y("g",ia,sa)):n.value==="thin"?(c(),y("g",ua,ca)):w("",!0)],16,ze))}}),ma=[{type:"text-input",key:null,label:"Insert your text here!",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,mask:null,disabled:!1,errors:[]},{type:"email-input",key:null,label:"Insert your email",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,invalidEmailMessage:"i18n_error_invalid_email",disabled:!1,errors:[]},{type:"phone-input",key:null,label:"Insert a phone number.",value:{countryCode:"",nationalNumber:""},placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[],invalidMessage:"i18n_error_invalid_phone_number"},{type:"number-input",key:null,label:"Number",value:null,placeholder:"",required:!0,hint:null,fullWidth:!1,min:null,max:null,disabled:!1,errors:[]},{type:"date-input",key:null,hint:null,label:"Pick a date of your preference.",value:"",required:!0,fullWidth:!1,disabled:!1,errors:[]},{type:"time-input",key:null,label:"Choose the desired time.",format:"24hs",hint:null,value:{hour:0,minute:0},required:!0,fullWidth:!1,disabled:!1,errors:[]},{type:"cnpj-input",key:null,label:"Insert your CNPJ here!",value:"",placeholder:"00.000.000/0001-00",required:!0,hint:null,fullWidth:!1,disabled:!1,invalidMessage:"i18n_error_invalid_cnpj",errors:[]},{type:"cpf-input",key:null,label:"Insert your CPF here!",value:"",placeholder:"000.000.000-00",required:!0,hint:null,fullWidth:!1,disabled:!1,invalidMessage:"i18n_error_invalid_cpf",errors:[]},{type:"tag-input",key:null,label:"Insert the desired tags.",value:[],placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"dropdown-input",key:null,label:"",options:[{label:"Option 1",value:1},{label:"Option 2",value:2}],hint:null,multiple:!1,placeholder:"",value:[],required:!0,fullWidth:!1,disabled:!1,errors:[]},{type:"currency-input",key:null,label:"Insert the proper amount.",value:null,placeholder:"",required:!0,hint:null,fullWidth:!1,min:null,max:null,currency:"USD",disabled:!1,errors:[]},{type:"textarea-input",key:null,label:"Insert your text here!",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"rich-text-input",key:null,label:"Insert your rich text here!",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"code-input",key:null,label:"Send your code here!",value:"",language:null,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"click-input",key:null,label:"Click here!",hint:null,disabled:!1,fullWidth:!1,errors:[]},{type:"progress-output",current:50,total:100,text:"",fullWidth:!1},{type:"file-input",key:null,hint:null,label:"Upload a file.",value:[],required:!0,multiple:!1,fullWidth:!1,disabled:!1,maxFileSize:null,errors:[]},{type:"image-input",key:null,hint:null,label:"Upload",value:[],required:!0,multiple:!1,fullWidth:!1,disabled:!1,maxFileSize:null,errors:[]},{type:"video-input",key:null,hint:null,label:"Upload your video",value:[],required:!0,multiple:!1,fullWidth:!1,disabled:!1,maxFileSize:null,errors:[]},{type:"pandas-row-selection-input",key:null,hint:null,table:{schema:{fields:[{name:"index",type:"integer"},{name:"change the",type:"integer"},{name:"df property",type:"integer"}],primaryKey:["index"],pandas_version:"0.20.0"},data:[{index:0,"change the":1,"df property":4},{index:1,"change the":2,"df property":5},{index:2,"change the":3,"df property":6}]},required:!0,fullWidth:!1,displayIndex:!1,disabled:!1,label:"",multiple:!1,filterable:!1,value:[],errors:[]},{type:"plotly-output",figure:{data:[{coloraxis:"coloraxis",hovertemplate:"total_bill=%{x}
tip=%{y}
count=%{z}",name:"",x:[16.99,10.34,21.01,23.68,24.59,25.29,8.77,26.88,15.04,14.78,10.27,35.26,15.42,18.43,14.83,21.58,10.33,16.29,16.97,20.65,17.92,20.29,15.77,39.42,19.82,17.81,13.37,12.69,21.7,19.65,9.55,18.35,15.06,20.69,17.78,24.06,16.31,16.93,18.69,31.27,16.04,17.46,13.94,9.68,30.4,18.29,22.23,32.4,28.55,18.04,12.54,10.29,34.81,9.94,25.56,19.49,38.01,26.41,11.24,48.27,20.29,13.81,11.02,18.29,17.59,20.08,16.45,3.07,20.23,15.01,12.02,17.07,26.86,25.28,14.73,10.51,17.92,27.2,22.76,17.29,19.44,16.66,10.07,32.68,15.98,34.83,13.03,18.28,24.71,21.16,28.97,22.49,5.75,16.32,22.75,40.17,27.28,12.03,21.01,12.46,11.35,15.38,44.3,22.42,20.92,15.36,20.49,25.21,18.24,14.31,14,7.25,38.07,23.95,25.71,17.31,29.93,10.65,12.43,24.08,11.69,13.42,14.26,15.95,12.48,29.8,8.52,14.52,11.38,22.82,19.08,20.27,11.17,12.26,18.26,8.51,10.33,14.15,16,13.16,17.47,34.3,41.19,27.05,16.43,8.35,18.64,11.87,9.78,7.51,14.07,13.13,17.26,24.55,19.77,29.85,48.17,25,13.39,16.49,21.5,12.66,16.21,13.81,17.51,24.52,20.76,31.71,10.59,10.63,50.81,15.81,7.25,31.85,16.82,32.9,17.89,14.48,9.6,34.63,34.65,23.33,45.35,23.17,40.55,20.69,20.9,30.46,18.15,23.1,15.69,19.81,28.44,15.48,16.58,7.56,10.34,43.11,13,13.51,18.71,12.74,13,16.4,20.53,16.47,26.59,38.73,24.27,12.76,30.06,25.89,48.33,13.27,28.17,12.9,28.15,11.59,7.74,30.14,12.16,13.42,8.58,15.98,13.42,16.27,10.09,20.45,13.28,22.12,24.01,15.69,11.61,10.77,15.53,10.07,12.6,32.83,35.83,29.03,27.18,22.67,17.82,18.78],xaxis:"x",xbingroup:"x",y:[1.01,1.66,3.5,3.31,3.61,4.71,2,3.12,1.96,3.23,1.71,5,1.57,3,3.02,3.92,1.67,3.71,3.5,3.35,4.08,2.75,2.23,7.58,3.18,2.34,2,2,4.3,3,1.45,2.5,3,2.45,3.27,3.6,2,3.07,2.31,5,2.24,2.54,3.06,1.32,5.6,3,5,6,2.05,3,2.5,2.6,5.2,1.56,4.34,3.51,3,1.5,1.76,6.73,3.21,2,1.98,3.76,2.64,3.15,2.47,1,2.01,2.09,1.97,3,3.14,5,2.2,1.25,3.08,4,3,2.71,3,3.4,1.83,5,2.03,5.17,2,4,5.85,3,3,3.5,1,4.3,3.25,4.73,4,1.5,3,1.5,2.5,3,2.5,3.48,4.08,1.64,4.06,4.29,3.76,4,3,1,4,2.55,4,3.5,5.07,1.5,1.8,2.92,2.31,1.68,2.5,2,2.52,4.2,1.48,2,2,2.18,1.5,2.83,1.5,2,3.25,1.25,2,2,2,2.75,3.5,6.7,5,5,2.3,1.5,1.36,1.63,1.73,2,2.5,2,2.74,2,2,5.14,5,3.75,2.61,2,3.5,2.5,2,2,3,3.48,2.24,4.5,1.61,2,10,3.16,5.15,3.18,4,3.11,2,2,4,3.55,3.68,5.65,3.5,6.5,3,5,3.5,2,3.5,4,1.5,4.19,2.56,2.02,4,1.44,2,5,2,2,4,2.01,2,2.5,4,3.23,3.41,3,2.03,2.23,2,5.16,9,2.5,6.5,1.1,3,1.5,1.44,3.09,2.2,3.48,1.92,3,1.58,2.5,2,3,2.72,2.88,2,3,3.39,1.47,3,1.25,1,1.17,4.67,5.92,2,2,1.75,3],yaxis:"y",ybingroup:"y",type:"histogram2d"}],layout:{template:{data:{histogram2dcontour:[{type:"histogram2dcontour",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],choropleth:[{type:"choropleth",colorbar:{outlinewidth:0,ticks:""}}],histogram2d:[{type:"histogram2d",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],heatmap:[{type:"heatmap",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],heatmapgl:[{type:"heatmapgl",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],contourcarpet:[{type:"contourcarpet",colorbar:{outlinewidth:0,ticks:""}}],contour:[{type:"contour",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],surface:[{type:"surface",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],mesh3d:[{type:"mesh3d",colorbar:{outlinewidth:0,ticks:""}}],scatter:[{fillpattern:{fillmode:"overlay",size:10,solidity:.2},type:"scatter"}],parcoords:[{type:"parcoords",line:{colorbar:{outlinewidth:0,ticks:""}}}],scatterpolargl:[{type:"scatterpolargl",marker:{colorbar:{outlinewidth:0,ticks:""}}}],bar:[{error_x:{color:"#2a3f5f"},error_y:{color:"#2a3f5f"},marker:{line:{color:"#E5ECF6",width:.5},pattern:{fillmode:"overlay",size:10,solidity:.2}},type:"bar"}],scattergeo:[{type:"scattergeo",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scatterpolar:[{type:"scatterpolar",marker:{colorbar:{outlinewidth:0,ticks:""}}}],histogram:[{marker:{pattern:{fillmode:"overlay",size:10,solidity:.2}},type:"histogram"}],scattergl:[{type:"scattergl",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scatter3d:[{type:"scatter3d",line:{colorbar:{outlinewidth:0,ticks:""}},marker:{colorbar:{outlinewidth:0,ticks:""}}}],scattermapbox:[{type:"scattermapbox",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scatterternary:[{type:"scatterternary",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scattercarpet:[{type:"scattercarpet",marker:{colorbar:{outlinewidth:0,ticks:""}}}],carpet:[{aaxis:{endlinecolor:"#2a3f5f",gridcolor:"white",linecolor:"white",minorgridcolor:"white",startlinecolor:"#2a3f5f"},baxis:{endlinecolor:"#2a3f5f",gridcolor:"white",linecolor:"white",minorgridcolor:"white",startlinecolor:"#2a3f5f"},type:"carpet"}],table:[{cells:{fill:{color:"#EBF0F8"},line:{color:"white"}},header:{fill:{color:"#C8D4E3"},line:{color:"white"}},type:"table"}],barpolar:[{marker:{line:{color:"#E5ECF6",width:.5},pattern:{fillmode:"overlay",size:10,solidity:.2}},type:"barpolar"}],pie:[{automargin:!0,type:"pie"}]},layout:{autotypenumbers:"strict",colorway:["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],font:{color:"#2a3f5f"},hovermode:"closest",hoverlabel:{align:"left"},paper_bgcolor:"white",plot_bgcolor:"#E5ECF6",polar:{bgcolor:"#E5ECF6",angularaxis:{gridcolor:"white",linecolor:"white",ticks:""},radialaxis:{gridcolor:"white",linecolor:"white",ticks:""}},ternary:{bgcolor:"#E5ECF6",aaxis:{gridcolor:"white",linecolor:"white",ticks:""},baxis:{gridcolor:"white",linecolor:"white",ticks:""},caxis:{gridcolor:"white",linecolor:"white",ticks:""}},coloraxis:{colorbar:{outlinewidth:0,ticks:""}},colorscale:{sequential:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]],sequentialminus:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]],diverging:[[0,"#8e0152"],[.1,"#c51b7d"],[.2,"#de77ae"],[.3,"#f1b6da"],[.4,"#fde0ef"],[.5,"#f7f7f7"],[.6,"#e6f5d0"],[.7,"#b8e186"],[.8,"#7fbc41"],[.9,"#4d9221"],[1,"#276419"]]},xaxis:{gridcolor:"white",linecolor:"white",ticks:"",title:{standoff:15},zerolinecolor:"white",automargin:!0,zerolinewidth:2},yaxis:{gridcolor:"white",linecolor:"white",ticks:"",title:{standoff:15},zerolinecolor:"white",automargin:!0,zerolinewidth:2},scene:{xaxis:{backgroundcolor:"#E5ECF6",gridcolor:"white",linecolor:"white",showbackground:!0,ticks:"",zerolinecolor:"white",gridwidth:2},yaxis:{backgroundcolor:"#E5ECF6",gridcolor:"white",linecolor:"white",showbackground:!0,ticks:"",zerolinecolor:"white",gridwidth:2},zaxis:{backgroundcolor:"#E5ECF6",gridcolor:"white",linecolor:"white",showbackground:!0,ticks:"",zerolinecolor:"white",gridwidth:2}},shapedefaults:{line:{color:"#2a3f5f"}},annotationdefaults:{arrowcolor:"#2a3f5f",arrowhead:0,arrowwidth:1},geo:{bgcolor:"white",landcolor:"#E5ECF6",subunitcolor:"white",showland:!0,showlakes:!0,lakecolor:"white"},title:{x:.05},mapbox:{style:"light"}}},xaxis:{anchor:"y",domain:[0,1],title:{text:"total_bill"}},yaxis:{anchor:"x",domain:[0,1],title:{text:"tip"}},coloraxis:{colorbar:{title:{text:"count"}},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]},legend:{tracegroupgap:0},margin:{t:60}}},fullWidth:!1,label:""},{type:"toggle-input",key:null,label:"Click to confirm the following options",onText:"Yes",offText:"No",value:!1,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"nps-input",key:null,label:"Rate us!",min:0,max:10,minHint:"Not at all likely",maxHint:"Extremely likely",value:null,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"checkbox-input",key:null,label:"Choose your option",value:!1,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"cards-input",key:null,label:"Card Title",hint:null,options:[{title:"Option 1",subtitle:"Subtitle 1",image:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Mona_Lisa.jpg/396px-Mona_Lisa.jpg",description:"option 1 description",topLeftExtra:"Left 1",topRightExtra:"Right 1"}],multiple:!1,searchable:!1,value:[],required:!0,columns:2,fullWidth:!1,layout:"list",disabled:!1,errors:[]},{type:"checklist-input",key:null,options:[{label:"Option 1",value:1},{label:"Option 2",value:2}],label:"Choose your option",value:[],required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"multiple-choice-input",key:null,label:"Select your choices",options:[{label:"Option 1",value:1},{label:"Option 2",value:2}],hint:null,multiple:!1,value:[],required:!0,fullWidth:!1,min:null,max:null,disabled:!1,errors:[]},{type:"rating-input",key:null,label:"Rate us!",value:0,required:!0,hint:null,fullWidth:!1,max:null,char:"\u2B50\uFE0F",disabled:!1,errors:[]},{type:"number-slider-input",key:null,label:"Select a value!",value:0,required:!0,hint:null,fullWidth:!1,min:null,max:null,disabled:!1,errors:[]},{type:"text-output",text:"Your text here!",size:"medium",fullWidth:!1},{type:"latex-output",text:"\\(x^2 + y^2 = z^2\\)",fullWidth:!1},{type:"link-output",linkText:"Click here",linkUrl:"https://www.abstracloud.com",sameTab:!1,fullWidth:!1},{type:"html-output",html:"
Hello World
",fullWidth:!1},{type:"custom-input",key:null,label:"",value:null,htmlBody:"

Hello World

",htmlHead:"",css:"",js:"",fullWidth:!1},{type:"markdown-output",text:"### Hello World",fullWidth:!1},{type:"image-output",imageUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Mona_Lisa.jpg/396px-Mona_Lisa.jpg",subtitle:"",fullWidth:!1,label:""},{type:"file-output",fileUrl:"https://gist.github.com/armgilles/194bcff35001e7eb53a2a8b441e8b2c6/archive/92200bc0a673d5ce2110aaad4544ed6c4010f687.zip",downloadText:"Download",fullWidth:!1},{type:"kanban-board-input",key:null,label:"",value:[],stages:[{key:"To-Do",label:"To-Do"},{key:"Doing",label:"Doing"},{key:"Done",label:"Done"}],disabled:!1,errors:[]},{type:"appointment-input",label:"",slots:[["2024-10-01T:09:00:00Z","2024-10-01T:09:45:00Z"],["2024-10-01T:14:30:00Z","2024-10-01T:15:30:00Z"],["2024-10-02T:09:00:00Z","2024-10-01T:10:00:00Z"]],value:1,key:null,disabled:!1}],ga={class:"sidebar-preview"},Sa={class:"form widgets"},fa={class:"form-wrapper"},ya=v({__name:"WorkspacePreview",props:{workspace:{}},setup(e){const a=e,t=b(()=>a.workspace.makeRunnerData());return(r,o)=>(c(),y("div",ga,[d(u(G),{level:4},{default:g(()=>[x("Preview")]),_:1}),d(be,{background:t.value.theme,"main-color":t.value.mainColor,"font-family":t.value.fontFamily,locale:t.value.language,class:"sidebar-frame"},{default:g(()=>[d(ve,{"runner-data":t.value,"current-path":"mock-path","email-placeholder":"user@example.com"},null,8,["runner-data"]),f("div",Sa,[f("div",fa,[(c(!0),y(T,null,H(u(ma),i=>(c(),y("div",{key:i.type,class:"widget"},[(c(),m(he(i.type),{"user-props":i,value:i.value,errors:[]},null,8,["user-props","value"]))]))),128))])])]),_:1},8,["background","main-color","font-family","locale"])]))}});const va=K(ya,[["__scopeId","data-v-6e53d5ce"]]),ba={class:"header-content"},ka={class:"body"},Ca={class:"body-content"},wa=v({__name:"PopOver",emits:["open","hide"],setup(e,{expose:a,emit:t}){const r=P(null),o=le({visible:!1,originX:0,originY:0,dragging:null}),i=b(()=>({visibility:o.visible?"visible":"hidden",top:`${o.originY}px`,left:`${o.originX}px`}));pe(()=>{document.addEventListener("mousemove",p),document.addEventListener("mouseup",k)}),se(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mousemove",k)});const n=()=>{o.visible=!1,t("hide")},s=S=>S>window.innerWidth/2,l=S=>{var A;if(o.visible=!0,!r.value)return;const C=(A=r==null?void 0:r.value)==null?void 0:A.getBoundingClientRect();if(S)if(s(S.clientX)?o.originX=S.clientX-C.width-32:o.originX=S.clientX+C.width+32,S.clientY+C.height>window.innerHeight){const ce=S.clientY+C.height-window.innerHeight;o.originY=S.clientY-ce-32}else o.originY=S.clientY;else o.originX=(window.innerWidth-C.width)/2,o.originY=(window.innerHeight-C.height)/2},h=S=>{o.dragging={initialX:o.originX,initialY:o.originY,clientX:S.clientX,clientY:S.clientY}},p=S=>{o.dragging&&(o.originX=o.dragging.initialX+S.clientX-o.dragging.clientX,o.originY=o.dragging.initialY+S.clientY-o.dragging.clientY)},k=()=>{o.dragging=null};return a({open:l}),(S,C)=>(c(),y("div",{ref_key:"popover",ref:r,class:"pop-over",style:ue(i.value)},[f("div",{class:"header",onMousedown:h},[f("span",ba,[R(S.$slots,"header",{},void 0,!0)]),d(u(pa),{class:"icon",onClick:n})],32),f("div",ka,[f("div",Ca,[R(S.$slots,"body",{},void 0,!0)])])],4))}});const Aa=K(wa,[["__scopeId","data-v-d5a71854"]]);/*! +import{d as v,B,f as b,o as c,X as y,Z as R,R as w,e8 as ie,a as f,b as d,w as g,aF as x,u,d9 as G,aR as T,eb as H,c as m,ec as he,$ as K,e as P,D as le,W as pe,ag as se,Y as ue,el as W,e9 as U,aZ as me,eP as ge,r as O,cQ as D,aA as Z,eQ as Se,cv as M,bH as E,cu as fe,dd as _,cB as ee}from"./vue-router.324eaed2.js";import"./editor.1b3b164b.js";import{W as ye}from"./workspaces.a34621fe.js";import{P as ve}from"./PlayerNavbar.0bdb1677.js";import{W as be}from"./PlayerConfigProvider.8618ed20.js";import{_ as ae}from"./AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js";import{C as ke}from"./ContentLayout.5465dc16.js";import{L as Ce}from"./LoadingContainer.57756ccb.js";import{S as we}from"./SaveButton.17e88f21.js";import{m as te}from"./workspaceStore.5977d9e8.js";import{a as Ae}from"./asyncComputed.3916dfed.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./record.cff1707c.js";import"./metadata.4c5c5434.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./LoadingOutlined.09a06334.js";import"./PhSignOut.vue.d965d159.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";import"./index.40f13cf1.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8737dff0-06ac-45a6-ac0a-2cdaa88435ce",e._sentryDebugIdIdentifier="sentry-dbid-8737dff0-06ac-45a6-ac0a-2cdaa88435ce")}catch{}})();const Ne=["width","height","fill","transform"],Me={key:0},Be=f("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},null,-1),xe=[Be],Oe={key:1},Fe=f("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),Le=f("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1),Pe=[Fe,Le],$e={key:2},Te=f("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),Re=[Te],He={key:3},_e=f("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"},null,-1),Ee=[_e],De={key:4},Ge=f("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1),Ie=[Ge],Ke={key:5},We=f("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},null,-1),Ue=[We],Ze={name:"PhEye"},oe=v({...Ze,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const a=e,t=B("weight","regular"),r=B("size","1em"),o=B("color","currentColor"),i=B("mirrored",!1),n=b(()=>{var p;return(p=a.weight)!=null?p:t}),s=b(()=>{var p;return(p=a.size)!=null?p:r}),l=b(()=>{var p;return(p=a.color)!=null?p:o}),h=b(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(p,k)=>(c(),y("svg",ie({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:l.value,transform:h.value},p.$attrs),[R(p.$slots,"default"),n.value==="bold"?(c(),y("g",Me,xe)):n.value==="duotone"?(c(),y("g",Oe,Pe)):n.value==="fill"?(c(),y("g",$e,Re)):n.value==="light"?(c(),y("g",He,Ee)):n.value==="regular"?(c(),y("g",De,Ie)):n.value==="thin"?(c(),y("g",Ke,Ue)):w("",!0)],16,Ne))}}),ze=["width","height","fill","transform"],Ve={key:0},je=f("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),qe=[je],Ye={key:1},Je=f("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xe=f("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),Qe=[Je,Xe],ea={key:2},aa=f("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),ta=[aa],oa={key:3},ra=f("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),na=[ra],ia={key:4},la=f("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),sa=[la],ua={key:5},da=f("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),ca=[da],ha={name:"PhXCircle"},pa=v({...ha,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const a=e,t=B("weight","regular"),r=B("size","1em"),o=B("color","currentColor"),i=B("mirrored",!1),n=b(()=>{var p;return(p=a.weight)!=null?p:t}),s=b(()=>{var p;return(p=a.size)!=null?p:r}),l=b(()=>{var p;return(p=a.color)!=null?p:o}),h=b(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(p,k)=>(c(),y("svg",ie({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:l.value,transform:h.value},p.$attrs),[R(p.$slots,"default"),n.value==="bold"?(c(),y("g",Ve,qe)):n.value==="duotone"?(c(),y("g",Ye,Qe)):n.value==="fill"?(c(),y("g",ea,ta)):n.value==="light"?(c(),y("g",oa,na)):n.value==="regular"?(c(),y("g",ia,sa)):n.value==="thin"?(c(),y("g",ua,ca)):w("",!0)],16,ze))}}),ma=[{type:"text-input",key:null,label:"Insert your text here!",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,mask:null,disabled:!1,errors:[]},{type:"email-input",key:null,label:"Insert your email",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,invalidEmailMessage:"i18n_error_invalid_email",disabled:!1,errors:[]},{type:"phone-input",key:null,label:"Insert a phone number.",value:{countryCode:"",nationalNumber:""},placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[],invalidMessage:"i18n_error_invalid_phone_number"},{type:"number-input",key:null,label:"Number",value:null,placeholder:"",required:!0,hint:null,fullWidth:!1,min:null,max:null,disabled:!1,errors:[]},{type:"date-input",key:null,hint:null,label:"Pick a date of your preference.",value:"",required:!0,fullWidth:!1,disabled:!1,errors:[]},{type:"time-input",key:null,label:"Choose the desired time.",format:"24hs",hint:null,value:{hour:0,minute:0},required:!0,fullWidth:!1,disabled:!1,errors:[]},{type:"cnpj-input",key:null,label:"Insert your CNPJ here!",value:"",placeholder:"00.000.000/0001-00",required:!0,hint:null,fullWidth:!1,disabled:!1,invalidMessage:"i18n_error_invalid_cnpj",errors:[]},{type:"cpf-input",key:null,label:"Insert your CPF here!",value:"",placeholder:"000.000.000-00",required:!0,hint:null,fullWidth:!1,disabled:!1,invalidMessage:"i18n_error_invalid_cpf",errors:[]},{type:"tag-input",key:null,label:"Insert the desired tags.",value:[],placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"dropdown-input",key:null,label:"",options:[{label:"Option 1",value:1},{label:"Option 2",value:2}],hint:null,multiple:!1,placeholder:"",value:[],required:!0,fullWidth:!1,disabled:!1,errors:[]},{type:"currency-input",key:null,label:"Insert the proper amount.",value:null,placeholder:"",required:!0,hint:null,fullWidth:!1,min:null,max:null,currency:"USD",disabled:!1,errors:[]},{type:"textarea-input",key:null,label:"Insert your text here!",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"rich-text-input",key:null,label:"Insert your rich text here!",value:"",placeholder:"",required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"code-input",key:null,label:"Send your code here!",value:"",language:null,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"click-input",key:null,label:"Click here!",hint:null,disabled:!1,fullWidth:!1,errors:[]},{type:"progress-output",current:50,total:100,text:"",fullWidth:!1},{type:"file-input",key:null,hint:null,label:"Upload a file.",value:[],required:!0,multiple:!1,fullWidth:!1,disabled:!1,maxFileSize:null,errors:[]},{type:"image-input",key:null,hint:null,label:"Upload",value:[],required:!0,multiple:!1,fullWidth:!1,disabled:!1,maxFileSize:null,errors:[]},{type:"video-input",key:null,hint:null,label:"Upload your video",value:[],required:!0,multiple:!1,fullWidth:!1,disabled:!1,maxFileSize:null,errors:[]},{type:"pandas-row-selection-input",key:null,hint:null,table:{schema:{fields:[{name:"index",type:"integer"},{name:"change the",type:"integer"},{name:"df property",type:"integer"}],primaryKey:["index"],pandas_version:"0.20.0"},data:[{index:0,"change the":1,"df property":4},{index:1,"change the":2,"df property":5},{index:2,"change the":3,"df property":6}]},required:!0,fullWidth:!1,displayIndex:!1,disabled:!1,label:"",multiple:!1,filterable:!1,value:[],errors:[]},{type:"plotly-output",figure:{data:[{coloraxis:"coloraxis",hovertemplate:"total_bill=%{x}
tip=%{y}
count=%{z}",name:"",x:[16.99,10.34,21.01,23.68,24.59,25.29,8.77,26.88,15.04,14.78,10.27,35.26,15.42,18.43,14.83,21.58,10.33,16.29,16.97,20.65,17.92,20.29,15.77,39.42,19.82,17.81,13.37,12.69,21.7,19.65,9.55,18.35,15.06,20.69,17.78,24.06,16.31,16.93,18.69,31.27,16.04,17.46,13.94,9.68,30.4,18.29,22.23,32.4,28.55,18.04,12.54,10.29,34.81,9.94,25.56,19.49,38.01,26.41,11.24,48.27,20.29,13.81,11.02,18.29,17.59,20.08,16.45,3.07,20.23,15.01,12.02,17.07,26.86,25.28,14.73,10.51,17.92,27.2,22.76,17.29,19.44,16.66,10.07,32.68,15.98,34.83,13.03,18.28,24.71,21.16,28.97,22.49,5.75,16.32,22.75,40.17,27.28,12.03,21.01,12.46,11.35,15.38,44.3,22.42,20.92,15.36,20.49,25.21,18.24,14.31,14,7.25,38.07,23.95,25.71,17.31,29.93,10.65,12.43,24.08,11.69,13.42,14.26,15.95,12.48,29.8,8.52,14.52,11.38,22.82,19.08,20.27,11.17,12.26,18.26,8.51,10.33,14.15,16,13.16,17.47,34.3,41.19,27.05,16.43,8.35,18.64,11.87,9.78,7.51,14.07,13.13,17.26,24.55,19.77,29.85,48.17,25,13.39,16.49,21.5,12.66,16.21,13.81,17.51,24.52,20.76,31.71,10.59,10.63,50.81,15.81,7.25,31.85,16.82,32.9,17.89,14.48,9.6,34.63,34.65,23.33,45.35,23.17,40.55,20.69,20.9,30.46,18.15,23.1,15.69,19.81,28.44,15.48,16.58,7.56,10.34,43.11,13,13.51,18.71,12.74,13,16.4,20.53,16.47,26.59,38.73,24.27,12.76,30.06,25.89,48.33,13.27,28.17,12.9,28.15,11.59,7.74,30.14,12.16,13.42,8.58,15.98,13.42,16.27,10.09,20.45,13.28,22.12,24.01,15.69,11.61,10.77,15.53,10.07,12.6,32.83,35.83,29.03,27.18,22.67,17.82,18.78],xaxis:"x",xbingroup:"x",y:[1.01,1.66,3.5,3.31,3.61,4.71,2,3.12,1.96,3.23,1.71,5,1.57,3,3.02,3.92,1.67,3.71,3.5,3.35,4.08,2.75,2.23,7.58,3.18,2.34,2,2,4.3,3,1.45,2.5,3,2.45,3.27,3.6,2,3.07,2.31,5,2.24,2.54,3.06,1.32,5.6,3,5,6,2.05,3,2.5,2.6,5.2,1.56,4.34,3.51,3,1.5,1.76,6.73,3.21,2,1.98,3.76,2.64,3.15,2.47,1,2.01,2.09,1.97,3,3.14,5,2.2,1.25,3.08,4,3,2.71,3,3.4,1.83,5,2.03,5.17,2,4,5.85,3,3,3.5,1,4.3,3.25,4.73,4,1.5,3,1.5,2.5,3,2.5,3.48,4.08,1.64,4.06,4.29,3.76,4,3,1,4,2.55,4,3.5,5.07,1.5,1.8,2.92,2.31,1.68,2.5,2,2.52,4.2,1.48,2,2,2.18,1.5,2.83,1.5,2,3.25,1.25,2,2,2,2.75,3.5,6.7,5,5,2.3,1.5,1.36,1.63,1.73,2,2.5,2,2.74,2,2,5.14,5,3.75,2.61,2,3.5,2.5,2,2,3,3.48,2.24,4.5,1.61,2,10,3.16,5.15,3.18,4,3.11,2,2,4,3.55,3.68,5.65,3.5,6.5,3,5,3.5,2,3.5,4,1.5,4.19,2.56,2.02,4,1.44,2,5,2,2,4,2.01,2,2.5,4,3.23,3.41,3,2.03,2.23,2,5.16,9,2.5,6.5,1.1,3,1.5,1.44,3.09,2.2,3.48,1.92,3,1.58,2.5,2,3,2.72,2.88,2,3,3.39,1.47,3,1.25,1,1.17,4.67,5.92,2,2,1.75,3],yaxis:"y",ybingroup:"y",type:"histogram2d"}],layout:{template:{data:{histogram2dcontour:[{type:"histogram2dcontour",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],choropleth:[{type:"choropleth",colorbar:{outlinewidth:0,ticks:""}}],histogram2d:[{type:"histogram2d",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],heatmap:[{type:"heatmap",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],heatmapgl:[{type:"heatmapgl",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],contourcarpet:[{type:"contourcarpet",colorbar:{outlinewidth:0,ticks:""}}],contour:[{type:"contour",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],surface:[{type:"surface",colorbar:{outlinewidth:0,ticks:""},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]}],mesh3d:[{type:"mesh3d",colorbar:{outlinewidth:0,ticks:""}}],scatter:[{fillpattern:{fillmode:"overlay",size:10,solidity:.2},type:"scatter"}],parcoords:[{type:"parcoords",line:{colorbar:{outlinewidth:0,ticks:""}}}],scatterpolargl:[{type:"scatterpolargl",marker:{colorbar:{outlinewidth:0,ticks:""}}}],bar:[{error_x:{color:"#2a3f5f"},error_y:{color:"#2a3f5f"},marker:{line:{color:"#E5ECF6",width:.5},pattern:{fillmode:"overlay",size:10,solidity:.2}},type:"bar"}],scattergeo:[{type:"scattergeo",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scatterpolar:[{type:"scatterpolar",marker:{colorbar:{outlinewidth:0,ticks:""}}}],histogram:[{marker:{pattern:{fillmode:"overlay",size:10,solidity:.2}},type:"histogram"}],scattergl:[{type:"scattergl",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scatter3d:[{type:"scatter3d",line:{colorbar:{outlinewidth:0,ticks:""}},marker:{colorbar:{outlinewidth:0,ticks:""}}}],scattermapbox:[{type:"scattermapbox",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scatterternary:[{type:"scatterternary",marker:{colorbar:{outlinewidth:0,ticks:""}}}],scattercarpet:[{type:"scattercarpet",marker:{colorbar:{outlinewidth:0,ticks:""}}}],carpet:[{aaxis:{endlinecolor:"#2a3f5f",gridcolor:"white",linecolor:"white",minorgridcolor:"white",startlinecolor:"#2a3f5f"},baxis:{endlinecolor:"#2a3f5f",gridcolor:"white",linecolor:"white",minorgridcolor:"white",startlinecolor:"#2a3f5f"},type:"carpet"}],table:[{cells:{fill:{color:"#EBF0F8"},line:{color:"white"}},header:{fill:{color:"#C8D4E3"},line:{color:"white"}},type:"table"}],barpolar:[{marker:{line:{color:"#E5ECF6",width:.5},pattern:{fillmode:"overlay",size:10,solidity:.2}},type:"barpolar"}],pie:[{automargin:!0,type:"pie"}]},layout:{autotypenumbers:"strict",colorway:["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],font:{color:"#2a3f5f"},hovermode:"closest",hoverlabel:{align:"left"},paper_bgcolor:"white",plot_bgcolor:"#E5ECF6",polar:{bgcolor:"#E5ECF6",angularaxis:{gridcolor:"white",linecolor:"white",ticks:""},radialaxis:{gridcolor:"white",linecolor:"white",ticks:""}},ternary:{bgcolor:"#E5ECF6",aaxis:{gridcolor:"white",linecolor:"white",ticks:""},baxis:{gridcolor:"white",linecolor:"white",ticks:""},caxis:{gridcolor:"white",linecolor:"white",ticks:""}},coloraxis:{colorbar:{outlinewidth:0,ticks:""}},colorscale:{sequential:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]],sequentialminus:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]],diverging:[[0,"#8e0152"],[.1,"#c51b7d"],[.2,"#de77ae"],[.3,"#f1b6da"],[.4,"#fde0ef"],[.5,"#f7f7f7"],[.6,"#e6f5d0"],[.7,"#b8e186"],[.8,"#7fbc41"],[.9,"#4d9221"],[1,"#276419"]]},xaxis:{gridcolor:"white",linecolor:"white",ticks:"",title:{standoff:15},zerolinecolor:"white",automargin:!0,zerolinewidth:2},yaxis:{gridcolor:"white",linecolor:"white",ticks:"",title:{standoff:15},zerolinecolor:"white",automargin:!0,zerolinewidth:2},scene:{xaxis:{backgroundcolor:"#E5ECF6",gridcolor:"white",linecolor:"white",showbackground:!0,ticks:"",zerolinecolor:"white",gridwidth:2},yaxis:{backgroundcolor:"#E5ECF6",gridcolor:"white",linecolor:"white",showbackground:!0,ticks:"",zerolinecolor:"white",gridwidth:2},zaxis:{backgroundcolor:"#E5ECF6",gridcolor:"white",linecolor:"white",showbackground:!0,ticks:"",zerolinecolor:"white",gridwidth:2}},shapedefaults:{line:{color:"#2a3f5f"}},annotationdefaults:{arrowcolor:"#2a3f5f",arrowhead:0,arrowwidth:1},geo:{bgcolor:"white",landcolor:"#E5ECF6",subunitcolor:"white",showland:!0,showlakes:!0,lakecolor:"white"},title:{x:.05},mapbox:{style:"light"}}},xaxis:{anchor:"y",domain:[0,1],title:{text:"total_bill"}},yaxis:{anchor:"x",domain:[0,1],title:{text:"tip"}},coloraxis:{colorbar:{title:{text:"count"}},colorscale:[[0,"#0d0887"],[.1111111111111111,"#46039f"],[.2222222222222222,"#7201a8"],[.3333333333333333,"#9c179e"],[.4444444444444444,"#bd3786"],[.5555555555555556,"#d8576b"],[.6666666666666666,"#ed7953"],[.7777777777777778,"#fb9f3a"],[.8888888888888888,"#fdca26"],[1,"#f0f921"]]},legend:{tracegroupgap:0},margin:{t:60}}},fullWidth:!1,label:""},{type:"toggle-input",key:null,label:"Click to confirm the following options",onText:"Yes",offText:"No",value:!1,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"nps-input",key:null,label:"Rate us!",min:0,max:10,minHint:"Not at all likely",maxHint:"Extremely likely",value:null,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"checkbox-input",key:null,label:"Choose your option",value:!1,required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"cards-input",key:null,label:"Card Title",hint:null,options:[{title:"Option 1",subtitle:"Subtitle 1",image:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Mona_Lisa.jpg/396px-Mona_Lisa.jpg",description:"option 1 description",topLeftExtra:"Left 1",topRightExtra:"Right 1"}],multiple:!1,searchable:!1,value:[],required:!0,columns:2,fullWidth:!1,layout:"list",disabled:!1,errors:[]},{type:"checklist-input",key:null,options:[{label:"Option 1",value:1},{label:"Option 2",value:2}],label:"Choose your option",value:[],required:!0,hint:null,fullWidth:!1,disabled:!1,errors:[]},{type:"multiple-choice-input",key:null,label:"Select your choices",options:[{label:"Option 1",value:1},{label:"Option 2",value:2}],hint:null,multiple:!1,value:[],required:!0,fullWidth:!1,min:null,max:null,disabled:!1,errors:[]},{type:"rating-input",key:null,label:"Rate us!",value:0,required:!0,hint:null,fullWidth:!1,max:null,char:"\u2B50\uFE0F",disabled:!1,errors:[]},{type:"number-slider-input",key:null,label:"Select a value!",value:0,required:!0,hint:null,fullWidth:!1,min:null,max:null,disabled:!1,errors:[]},{type:"text-output",text:"Your text here!",size:"medium",fullWidth:!1},{type:"latex-output",text:"\\(x^2 + y^2 = z^2\\)",fullWidth:!1},{type:"link-output",linkText:"Click here",linkUrl:"https://www.abstracloud.com",sameTab:!1,fullWidth:!1},{type:"html-output",html:"
Hello World
",fullWidth:!1},{type:"custom-input",key:null,label:"",value:null,htmlBody:"

Hello World

",htmlHead:"",css:"",js:"",fullWidth:!1},{type:"markdown-output",text:"### Hello World",fullWidth:!1},{type:"image-output",imageUrl:"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Mona_Lisa.jpg/396px-Mona_Lisa.jpg",subtitle:"",fullWidth:!1,label:""},{type:"file-output",fileUrl:"https://gist.github.com/armgilles/194bcff35001e7eb53a2a8b441e8b2c6/archive/92200bc0a673d5ce2110aaad4544ed6c4010f687.zip",downloadText:"Download",fullWidth:!1},{type:"kanban-board-input",key:null,label:"",value:[],stages:[{key:"To-Do",label:"To-Do"},{key:"Doing",label:"Doing"},{key:"Done",label:"Done"}],disabled:!1,errors:[]},{type:"appointment-input",label:"",slots:[["2024-10-01T:09:00:00Z","2024-10-01T:09:45:00Z"],["2024-10-01T:14:30:00Z","2024-10-01T:15:30:00Z"],["2024-10-02T:09:00:00Z","2024-10-01T:10:00:00Z"]],value:1,key:null,disabled:!1}],ga={class:"sidebar-preview"},Sa={class:"form widgets"},fa={class:"form-wrapper"},ya=v({__name:"WorkspacePreview",props:{workspace:{}},setup(e){const a=e,t=b(()=>a.workspace.makeRunnerData());return(r,o)=>(c(),y("div",ga,[d(u(G),{level:4},{default:g(()=>[x("Preview")]),_:1}),d(be,{background:t.value.theme,"main-color":t.value.mainColor,"font-family":t.value.fontFamily,locale:t.value.language,class:"sidebar-frame"},{default:g(()=>[d(ve,{"runner-data":t.value,"current-path":"mock-path","email-placeholder":"user@example.com"},null,8,["runner-data"]),f("div",Sa,[f("div",fa,[(c(!0),y(T,null,H(u(ma),i=>(c(),y("div",{key:i.type,class:"widget"},[(c(),m(he(i.type),{"user-props":i,value:i.value,errors:[]},null,8,["user-props","value"]))]))),128))])])]),_:1},8,["background","main-color","font-family","locale"])]))}});const va=K(ya,[["__scopeId","data-v-6e53d5ce"]]),ba={class:"header-content"},ka={class:"body"},Ca={class:"body-content"},wa=v({__name:"PopOver",emits:["open","hide"],setup(e,{expose:a,emit:t}){const r=P(null),o=le({visible:!1,originX:0,originY:0,dragging:null}),i=b(()=>({visibility:o.visible?"visible":"hidden",top:`${o.originY}px`,left:`${o.originX}px`}));pe(()=>{document.addEventListener("mousemove",p),document.addEventListener("mouseup",k)}),se(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mousemove",k)});const n=()=>{o.visible=!1,t("hide")},s=S=>S>window.innerWidth/2,l=S=>{var A;if(o.visible=!0,!r.value)return;const C=(A=r==null?void 0:r.value)==null?void 0:A.getBoundingClientRect();if(S)if(s(S.clientX)?o.originX=S.clientX-C.width-32:o.originX=S.clientX+C.width+32,S.clientY+C.height>window.innerHeight){const ce=S.clientY+C.height-window.innerHeight;o.originY=S.clientY-ce-32}else o.originY=S.clientY;else o.originX=(window.innerWidth-C.width)/2,o.originY=(window.innerHeight-C.height)/2},h=S=>{o.dragging={initialX:o.originX,initialY:o.originY,clientX:S.clientX,clientY:S.clientY}},p=S=>{o.dragging&&(o.originX=o.dragging.initialX+S.clientX-o.dragging.clientX,o.originY=o.dragging.initialY+S.clientY-o.dragging.clientY)},k=()=>{o.dragging=null};return a({open:l}),(S,C)=>(c(),y("div",{ref_key:"popover",ref:r,class:"pop-over",style:ue(i.value)},[f("div",{class:"header",onMousedown:h},[f("span",ba,[R(S.$slots,"header",{},void 0,!0)]),d(u(pa),{class:"icon",onClick:n})],32),f("div",ka,[f("div",Ca,[R(S.$slots,"body",{},void 0,!0)])])],4))}});const Aa=K(wa,[["__scopeId","data-v-d5a71854"]]);/*! * vue-color-kit v1.0.4 * (c) 2021 * @license MIT */function F(e){let a={r:0,g:0,b:0,a:1};/#/.test(e)?a=Ma(e):/rgb/.test(e)?a=re(e):typeof e=="string"?a=re(`rgba(${e})`):Object.prototype.toString.call(e)==="[object Object]"&&(a=e);const{r:t,g:r,b:o,a:i}=a,{h:n,s,v:l}=Ba(a);return{r:t,g:r,b:o,a:i===void 0?1:i,h:n,s,v:l}}function z(e){const a=document.createElement("canvas"),t=a.getContext("2d"),r=e*2;return a.width=r,a.height=r,t.fillStyle="#ffffff",t.fillRect(0,0,r,r),t.fillStyle="#ccd5db",t.fillRect(0,0,e,e),t.fillRect(e,e,e,e),a}function I(e,a,t,r,o,i){const n=e==="l",s=a.createLinearGradient(0,0,n?t:0,n?0:r);s.addColorStop(.01,o),s.addColorStop(.99,i),a.fillStyle=s,a.fillRect(0,0,t,r)}function Na({r:e,g:a,b:t},r){const o=n=>("0"+Number(n).toString(16)).slice(-2),i=`#${o(e)}${o(a)}${o(t)}`;return r?i.toUpperCase():i}function Ma(e){e=e.slice(1);const a=t=>parseInt(t,16)||0;return{r:a(e.slice(0,2)),g:a(e.slice(2,4)),b:a(e.slice(4,6))}}function re(e){return typeof e=="string"?(e=(/rgba?\((.*?)\)/.exec(e)||["","0,0,0,1"])[1].split(","),{r:Number(e[0])||0,g:Number(e[1])||0,b:Number(e[2])||0,a:Number(e[3]?e[3]:1)}):e}function Ba({r:e,g:a,b:t}){e=e/255,a=a/255,t=t/255;const r=Math.max(e,a,t),o=Math.min(e,a,t),i=r-o;let n=0;r===o?n=0:r===e?a>=t?n=60*(a-t)/i:n=60*(a-t)/i+360:r===a?n=60*(t-e)/i+120:r===t&&(n=60*(e-a)/i+240),n=Math.floor(n);let s=parseFloat((r===0?0:1-o/r).toFixed(2)),l=parseFloat(r.toFixed(2));return{h:n,s,v:l}}var V=v({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const e=this.$refs.canvasSaturation,a=this.size,t=e.getContext("2d");e.width=a,e.height=a,t.fillStyle=this.color,t.fillRect(0,0,a,a),I("l",t,a,a,"#FFFFFF","rgba(255,255,255,0)"),I("p",t,a,a,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(e){const{top:a,left:t}=this.$el.getBoundingClientRect(),r=e.target.getContext("2d"),o=n=>{let s=n.clientX-t,l=n.clientY-a;s<0&&(s=0),l<0&&(l=0),s>this.size&&(s=this.size),l>this.size&&(l=this.size),this.slideSaturationStyle={left:s-5+"px",top:l-5+"px"};const h=r.getImageData(Math.min(s,this.size-1),Math.min(l,this.size-1),1,1),[p,k,S]=h.data;this.$emit("selectSaturation",{r:p,g:k,b:S})};o(e);const i=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",i)}}});const xa={ref:"canvasSaturation"};function Oa(e,a,t,r,o,i){return c(),m("div",{class:"saturation",onMousedown:a[1]||(a[1]=W((...n)=>e.selectSaturation&&e.selectSaturation(...n),["prevent","stop"]))},[d("canvas",xa,null,512),d("div",{style:e.slideSaturationStyle,class:"slide"},null,4)],32)}V.render=Oa;V.__file="src/color/Saturation.vue";var j=v({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const e=this.$refs.canvasHue,a=this.width,t=this.height,r=e.getContext("2d");e.width=a,e.height=t;const o=r.createLinearGradient(0,0,0,t);o.addColorStop(0,"#FF0000"),o.addColorStop(.17*1,"#FF00FF"),o.addColorStop(.17*2,"#0000FF"),o.addColorStop(.17*3,"#00FFFF"),o.addColorStop(.17*4,"#00FF00"),o.addColorStop(.17*5,"#FFFF00"),o.addColorStop(1,"#FF0000"),r.fillStyle=o,r.fillRect(0,0,a,t)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(e){const{top:a}=this.$el.getBoundingClientRect(),t=e.target.getContext("2d"),r=i=>{let n=i.clientY-a;n<0&&(n=0),n>this.height&&(n=this.height),this.slideHueStyle={top:n-2+"px"};const s=t.getImageData(0,Math.min(n,this.height-1),1,1),[l,h,p]=s.data;this.$emit("selectHue",{r:l,g:h,b:p})};r(e);const o=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",o)};document.addEventListener("mousemove",r),document.addEventListener("mouseup",o)}}});const Fa={ref:"canvasHue"};function La(e,a,t,r,o,i){return c(),m("div",{class:"hue",onMousedown:a[1]||(a[1]=W((...n)=>e.selectHue&&e.selectHue(...n),["prevent","stop"]))},[d("canvas",Fa,null,512),d("div",{style:e.slideHueStyle,class:"slide"},null,4)],32)}j.render=La;j.__file="src/color/Hue.vue";var q=v({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const e=this.$refs.canvasAlpha,a=this.width,t=this.height,r=this.alphaSize,o=z(r),i=e.getContext("2d");e.width=a,e.height=t,i.fillStyle=i.createPattern(o,"repeat"),i.fillRect(0,0,a,t),I("p",i,a,t,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(e){const{top:a}=this.$el.getBoundingClientRect(),t=o=>{let i=o.clientY-a;i<0&&(i=0),i>this.height&&(i=this.height);let n=parseFloat((i/this.height).toFixed(2));this.$emit("selectAlpha",n)};t(e);const r=()=>{document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",t),document.addEventListener("mouseup",r)}}});const Pa={ref:"canvasAlpha"};function $a(e,a,t,r,o,i){return c(),m("div",{class:"color-alpha",onMousedown:a[1]||(a[1]=W((...n)=>e.selectAlpha&&e.selectAlpha(...n),["prevent","stop"]))},[d("canvas",Pa,null,512),d("div",{style:e.slideAlphaStyle,class:"slide"},null,4)],32)}q.render=$a;q.__file="src/color/Alpha.vue";var Y=v({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const e=this.$el,a=this.width,t=this.height,r=this.alphaSize,o=z(r),i=e.getContext("2d");e.width=a,e.height=t,i.fillStyle=i.createPattern(o,"repeat"),i.fillRect(0,0,a,t),i.fillStyle=this.color,i.fillRect(0,0,a,t)}}});function Ta(e,a,t,r,o,i){return c(),m("canvas")}Y.render=Ta;Y.__file="src/color/Preview.vue";var J=v({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(e){this.isSucking=!1,this.suckColor(e)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(e){e.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(e){const{clientX:a,clientY:t}=e,{top:r,left:o,width:i,height:n}=this.suckerCanvas.getBoundingClientRect(),s=a-o,l=t-r,p=this.suckerCanvas.getContext("2d").getImageData(Math.min(s,i-1),Math.min(l,n-1),1,1);let[k,S,C,A]=p.data;A=parseFloat((A/255).toFixed(2));const N=this.suckerPreview.style;Object.assign(N,{position:"absolute",left:a+20+"px",top:t-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${k}, ${S}, ${C}, ${A})`,zIndex:95}),this.suckerArea.length&&a>=this.suckerArea[0]&&t>=this.suckerArea[1]&&a<=this.suckerArea[2]&&t<=this.suckerArea[3]?N.display="":N.display="none"},suckColor(e){e&&e.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),e.addEventListener("click",a=>{const{clientX:t,clientY:r}=a,{top:o,left:i,width:n,height:s}=e.getBoundingClientRect(),l=t-i,h=r-o,k=e.getContext("2d").getImageData(Math.min(l,n-1),Math.min(h,s-1),1,1);let[S,C,A,N]=k.data;N=parseFloat((N/255).toFixed(2)),this.$emit("selectSucker",{r:S,g:C,b:A,a:N})}))}}});const Ra=d("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),Ha={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},_a=d("g",{fill:"none","fill-rule":"evenodd"},[d("g",{transform:"translate(1 1)","stroke-width":"4"},[d("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),d("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[d("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function Ea(e,a,t,r,o,i){return c(),m("div",null,[e.isSucking?w("v-if",!0):(c(),m("svg",{key:0,class:[{active:e.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:a[1]||(a[1]=(...n)=>e.openSucker&&e.openSucker(...n))},[Ra],2)),e.isSucking?(c(),m("svg",Ha,[_a])):w("v-if",!0)])}J.render=Ea;J.__file="src/color/Sucker.vue";var X=v({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor"],setup(e,{emit:a}){return{modelColor:b({get(){return e.color||""},set(r){a("inputColor",r)}})}}});const Da={class:"color-type"},Ga={class:"name"};function Ia(e,a,t,r,o,i){return c(),m("div",Da,[d("span",Ga,U(e.name),1),me(d("input",{"onUpdate:modelValue":a[1]||(a[1]=n=>e.modelColor=n),class:"value"},null,512),[[ge,e.modelColor]])])}X.render=Ia;X.__file="src/color/Box.vue";var Q=v({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(e,{emit:a}){const t=P(),r=P([]),o=P();e.colorsHistoryKey&&localStorage&&(r.value=JSON.parse(localStorage.getItem(e.colorsHistoryKey))||[]),o.value=z(4).toDataURL(),se(()=>{i(t.value)});function i(s){if(!s)return;const l=r.value||[],h=l.indexOf(s);h>=0&&l.splice(h,1),l.length>=8&&(l.length=7),l.unshift(s),r.value=l||[],localStorage&&e.colorsHistoryKey&&localStorage.setItem(e.colorsHistoryKey,JSON.stringify(l))}function n(s){a("selectColor",s)}return{setColorsHistory:i,colorsHistory:r,color:t,imgAlphaBase64:o,selectColor:n}}});const Ka={class:"colors"},Wa={key:0,class:"colors history"};function Ua(e,a,t,r,o,i){return c(),m("div",null,[d("ul",Ka,[(c(!0),m(T,null,H(e.colorsDefault,n=>(c(),m("li",{key:n,class:"item",onClick:s=>e.selectColor(n)},[d("div",{style:{background:`url(${e.imgAlphaBase64})`},class:"alpha"},null,4),d("div",{style:{background:n},class:"color"},null,4)],8,["onClick"]))),128))]),e.colorsHistory.length?(c(),m("ul",Wa,[(c(!0),m(T,null,H(e.colorsHistory,n=>(c(),m("li",{key:n,class:"item",onClick:s=>e.selectColor(n)},[d("div",{style:{background:`url(${e.imgAlphaBase64})`},class:"alpha"},null,4),d("div",{style:{background:n},class:"color"},null,4)],8,["onClick"]))),128))])):w("v-if",!0)])}Q.render=Ua;Q.__file="src/color/Colors.vue";var $=v({components:{Saturation:V,Hue:j,Alpha:q,Preview:Y,Sucker:J,Box:X,Colors:Q},emits:["changeColor","openSucker"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return Na(this.rgba,!0)}},created(){Object.assign(this,F(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(e){const{r:a,g:t,b:r,h:o,s:i,v:n}=F(e);Object.assign(this,{r:a,g:t,b:r,h:o,s:i,v:n}),this.setText()},selectHue(e){const{r:a,g:t,b:r,h:o,s:i,v:n}=F(e);Object.assign(this,{r:a,g:t,b:r,h:o,s:i,v:n}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(e){this.a=e,this.setText()},inputHex(e){const{r:a,g:t,b:r,a:o,h:i,s:n,v:s}=F(e);Object.assign(this,{r:a,g:t,b:r,a:o,h:i,s:n,v:s}),this.modelHex=e,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(e){const{r:a,g:t,b:r,a:o,h:i,s:n,v:s}=F(e);Object.assign(this,{r:a,g:t,b:r,a:o,h:i,s:n,v:s}),this.modelHex=this.hexString,this.modelRgba=e,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(e){this.$emit("openSucker",e)},selectSucker(e){const{r:a,g:t,b:r,a:o,h:i,s:n,v:s}=F(e);Object.assign(this,{r:a,g:t,b:r,a:o,h:i,s:n,v:s}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(e){const{r:a,g:t,b:r,a:o,h:i,s:n,v:s}=F(e);Object.assign(this,{r:a,g:t,b:r,a:o,h:i,s:n,v:s}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const Za={class:"color-set"};function za(e,a,t,r,o,i){const n=O("Saturation"),s=O("Hue"),l=O("Alpha"),h=O("Preview"),p=O("Sucker"),k=O("Box"),S=O("Colors");return c(),m("div",{class:["hu-color-picker",{light:e.isLightTheme}],style:{width:e.totalWidth+"px"}},[d("div",Za,[d(n,{ref:"saturation",color:e.rgbString,hsv:e.hsv,size:e.hueHeight,onSelectSaturation:e.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),d(s,{ref:"hue",hsv:e.hsv,width:e.hueWidth,height:e.hueHeight,onSelectHue:e.selectHue},null,8,["hsv","width","height","onSelectHue"]),d(l,{ref:"alpha",color:e.rgbString,rgba:e.rgba,width:e.hueWidth,height:e.hueHeight,onSelectAlpha:e.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),d("div",{style:{height:e.previewHeight+"px"},class:"color-show"},[d(h,{color:e.rgbaString,width:e.previewWidth,height:e.previewHeight},null,8,["color","width","height"]),e.suckerHide?w("v-if",!0):(c(),m(p,{key:0,"sucker-canvas":e.suckerCanvas,"sucker-area":e.suckerArea,onOpenSucker:e.openSucker,onSelectSucker:e.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),d(k,{name:"HEX",color:e.modelHex,onInputColor:e.inputHex},null,8,["color","onInputColor"]),d(k,{name:"RGBA",color:e.modelRgba,onInputColor:e.inputRgba},null,8,["color","onInputColor"]),d(S,{color:e.rgbaString,"colors-default":e.colorsDefault,"colors-history-key":e.colorsHistoryKey,onSelectColor:e.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),w(" custom options "),R(e.$slots,"default")],6)}$.render=za;$.__file="src/color/ColorPicker.vue";$.install=e=>{e.component($.name,$)};const Va={class:"color-input"},ja={class:"color-picker-wrapper"},qa=v({__name:"ColorInput",props:{value:{}},emits:["input","change"],setup(e,{emit:a}){const t=P(null),r=i=>{var n;return(n=t.value)==null?void 0:n.open(i)},o=({hex:i})=>{a("input",i),a("change",i)};return(i,n)=>(c(),y("div",Va,[f("div",{class:"color-input-container",style:ue({backgroundColor:i.value}),onClick:r},null,4),d(Aa,{ref_key:"popover",ref:t},{header:g(()=>[x(" Pick a Color ")]),body:g(()=>[f("div",ja,[d(u($),{color:i.value,theme:"light",onChangeColor:o},null,8,["color"])])]),_:1},512)]))}});const de=K(qa,[["__scopeId","data-v-c91cc2ee"]]),Ya=["ABeeZee","Abel","Abhaya Libre","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akaya Kanadaka","Akaya Telivigala","Akronim","Aladin","Alata","Alatsi","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Aleo","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allison","Allura","Almarai","Almendra","Almendra Display","Almendra SC","Alumni Sans","Amarante","Amaranth","Amatic SC","Amethysta","Amiko","Amiri","Amita","Anaheim","Andada Pro","Andika","Andika New Basic","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Antonio","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo","Archivo Black","Archivo Narrow","Are You Serious","Aref Ruqaa","Arima Madurai","Arimo","Arizonia","Armata","Arsenal","Artifika","Arvo","Arya","Asap","Asap Condensed","Asar","Asset","Assistant","Astloch","Asul","Athiti","Atkinson Hyperlegible","Atma","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Azeret Mono","B612","B612 Mono","Bad Script","Bahiana","Bahianita","Bai Jamjuree","Ballet","Baloo 2","Baloo Bhai 2","Baloo Bhaina 2","Baloo Chettan 2","Baloo Da 2","Baloo Paaji 2","Baloo Tamma 2","Baloo Tammudu 2","Baloo Thambi 2","Balsamiq Sans","Balthazar","Bangers","Barlow","Barlow Condensed","Barlow Semi Condensed","Barriecito","Barrio","Basic","Baskervville","Battambang","Baumans","Bayon","Be Vietnam","Be Vietnam Pro","Bebas Neue","Belgrano","Bellefair","Belleza","Bellota","Bellota Text","BenchNine","Benne","Bentham","Berkshire Swash","Besley","Beth Ellen","Bevan","Big Shoulders Display","Big Shoulders Inline Display","Big Shoulders Inline Text","Big Shoulders Stencil Display","Big Shoulders Stencil Text","Big Shoulders Text","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","BioRhyme","BioRhyme Expanded","Birthstone","Birthstone Bounce","Biryani","Bitter","Black And White Picture","Black Han Sans","Black Ops One","Blinker","Bodoni Moda","Bokor","Bona Nova","Bonbon","Bonheur Royale","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Brygada 1918","Bubblegum Sans","Bubbler One","Buenard","Bungee","Bungee Hairline","Bungee Inline","Bungee Outline","Bungee Shade","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Cairo","Caladea","Calistoga","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Caramel","Carattere","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Castoro","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Chakra Petch","Changa","Changa One","Chango","Charm","Charmonman","Chathura","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherish","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chilanka","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Coiny","Combo","Comfortaa","Comic Neue","Coming Soon","Commissioner","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Cormorant","Cormorant Garamond","Cormorant Infant","Cormorant SC","Cormorant Unicase","Cormorant Upright","Courgette","Courier Prime","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Pro","Crimson Text","Croissant One","Crushed","Cuprum","Cute Font","Cutive","Cutive Mono","DM Mono","DM Sans","DM Serif Display","DM Serif Text","Damion","Dancing Script","Dangrek","Darker Grotesque","David Libre","Dawning of a New Day","Days One","Dekko","Dela Gothic One","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Do Hyeon","Dokdo","Domine","Donegal One","Doppio One","Dorsa","Dosis","DotGothic16","Dr Sugiyama","Duru Sans","Dynalight","EB Garamond","Eagle Lake","East Sea Dokdo","Eater","Economica","Eczar","El Messiri","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Encode Sans","Encode Sans Condensed","Encode Sans Expanded","Encode Sans SC","Encode Sans Semi Condensed","Encode Sans Semi Expanded","Engagement","Englebert","Enriqueta","Ephesis","Epilogue","Erica One","Esteban","Euphoria Script","Ewert","Exo","Exo 2","Expletus Sans","Explora","Fahkwang","Fanwood Text","Farro","Farsan","Fascinate","Fascinate Inline","Faster One","Fasthand","Fauna One","Faustina","Federant","Federo","Felipa","Fenix","Festive","Finger Paint","Fira Code","Fira Mono","Fira Sans","Fira Sans Condensed","Fira Sans Extra Condensed","Fjalla One","Fjord One","Flamenco","Flavors","Fleur De Leah","Fondamento","Fontdiner Swanky","Forum","Francois One","Frank Ruhl Libre","Fraunces","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Fresca","Frijole","Fruktur","Fugaz One","Fuggles","GFS Didot","GFS Neohellenic","Gabriela","Gaegu","Gafata","Galada","Galdeano","Galindo","Gamja Flower","Gayathri","Gelasio","Gemunu Libre","Gentium Basic","Gentium Book Basic","Geo","Georama","Geostar","Geostar Fill","Germania One","Gideon Roman","Gidugu","Gilda Display","Girassol","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Glory","Gluten","Goblin One","Gochi Hand","Goldman","Gorditas","Gothic A1","Gotu","Goudy Bookletter 1911","Gowun Batang","Gowun Dodum","Graduate","Grand Hotel","Grandstander","Gravitas One","Great Vibes","Grechen Fuemen","Grenze","Grenze Gotisch","Grey Qo","Griffy","Gruppo","Gudea","Gugi","Gupter","Gurajada","Habibi","Hachi Maru Pop","Hahmlet","Halant","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Hanuman","Happy Monkey","Harmattan","Headland One","Heebo","Henny Penny","Hepta Slab","Herr Von Muellerhoff","Hi Melody","Hina Mincho","Hind","Hind Guntur","Hind Madurai","Hind Siliguri","Hind Vadodara","Holtwood One SC","Homemade Apple","Homenaje","IBM Plex Mono","IBM Plex Sans","IBM Plex Sans Arabic","IBM Plex Sans Condensed","IBM Plex Sans Devanagari","IBM Plex Sans Hebrew","IBM Plex Sans KR","IBM Plex Sans Thai","IBM Plex Sans Thai Looped","IBM Plex Serif","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Ibarra Real Nova","Iceberg","Iceland","Imbue","Imprima","Inconsolata","Inder","Indie Flower","Inika","Inknut Antiqua","Inria Sans","Inria Serif","Inter","Irish Grover","Istok Web","Italiana","Italianno","Itim","Jacques Francois","Jacques Francois Shadow","Jaldi","JetBrains Mono","Jim Nightshade","Jockey One","Jolly Lodger","Jomhuria","Jomolhari","Josefin Sans","Josefin Slab","Jost","Joti One","Jua","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","K2D","Kadwa","Kaisei Decol","Kaisei HarunoUmi","Kaisei Opti","Kaisei Tokumin","Kalam","Kameron","Kanit","Kantumruy","Karantina","Karla","Karma","Katibeh","Kaushan Script","Kavivanar","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khand","Khmer","Khula","Kirang Haerang","Kite One","Kiwi Maru","Klee One","Knewave","KoHo","Kodchasan","Koh Santepheap","Kosugi","Kosugi Maru","Kotta One","Koulen","Kranky","Kreon","Kristi","Krona One","Krub","Kufam","Kulim Park","Kumar One","Kumar One Outline","Kumbh Sans","Kurale","La Belle Aurore","Lacquer","Laila","Lakki Reddy","Lalezar","Lancelot","Langar","Lateef","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Lemonada","Lexend","Lexend Deca","Lexend Exa","Lexend Giga","Lexend Mega","Lexend Peta","Lexend Tera","Lexend Zetta","Libre Barcode 128","Libre Barcode 128 Text","Libre Barcode 39","Libre Barcode 39 Extended","Libre Barcode 39 Extended Text","Libre Barcode 39 Text","Libre Barcode EAN13 Text","Libre Baskerville","Libre Caslon Display","Libre Caslon Text","Libre Franklin","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Literata","Liu Jian Mao Cao","Livvic","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Long Cang","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","M PLUS 1p","M PLUS Rounded 1c","Ma Shan Zheng","Macondo","Macondo Swash Caps","Mada","Magra","Maiden Orange","Maitree","Major Mono Display","Mako","Mali","Mallanna","Mandali","Manjari","Manrope","Mansalva","Manuale","Marcellus","Marcellus SC","Marck Script","Margarine","Markazi Text","Marko One","Marmelad","Martel","Martel Sans","Marvel","Mate","Mate SC","Material Icons","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Meera Inimai","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Mina","Miniver","Miriam Libre","Mirza","Miss Fajardose","Mitr","Modak","Modern Antiqua","Mogra","Molengo","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","MonteCarlo","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Moul","Moulpali","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Mukta","Mukta Mahee","Mukta Malar","Mukta Vaani","Mulish","MuseoModerno","Mystery Quest","NTR","Nanum Brush Script","Nanum Gothic","Nanum Gothic Coding","Nanum Myeongjo","Nanum Pen Script","Nerko One","Neucha","Neuton","New Rocker","New Tegomin","News Cycle","Newsreader","Niconne","Niramit","Nixie One","Nobile","Nokora","Norican","Nosifer","Notable","Nothing You Could Do","Noticia Text","Noto Kufi Arabic","Noto Music","Noto Naskh Arabic","Noto Nastaliq Urdu","Noto Rashi Hebrew","Noto Sans","Noto Sans Adlam","Noto Sans Adlam Unjoined","Noto Sans Anatolian Hieroglyphs","Noto Sans Arabic","Noto Sans Armenian","Noto Sans Avestan","Noto Sans Balinese","Noto Sans Bamum","Noto Sans Bassa Vah","Noto Sans Batak","Noto Sans Bengali","Noto Sans Bhaiksuki","Noto Sans Brahmi","Noto Sans Buginese","Noto Sans Buhid","Noto Sans Canadian Aboriginal","Noto Sans Carian","Noto Sans Caucasian Albanian","Noto Sans Chakma","Noto Sans Cham","Noto Sans Cherokee","Noto Sans Coptic","Noto Sans Cuneiform","Noto Sans Cypriot","Noto Sans Deseret","Noto Sans Devanagari","Noto Sans Display","Noto Sans Duployan","Noto Sans Egyptian Hieroglyphs","Noto Sans Elbasan","Noto Sans Elymaic","Noto Sans Georgian","Noto Sans Glagolitic","Noto Sans Gothic","Noto Sans Grantha","Noto Sans Gujarati","Noto Sans Gunjala Gondi","Noto Sans Gurmukhi","Noto Sans HK","Noto Sans Hanifi Rohingya","Noto Sans Hanunoo","Noto Sans Hatran","Noto Sans Hebrew","Noto Sans Imperial Aramaic","Noto Sans Indic Siyaq Numbers","Noto Sans Inscriptional Pahlavi","Noto Sans Inscriptional Parthian","Noto Sans JP","Noto Sans Javanese","Noto Sans KR","Noto Sans Kaithi","Noto Sans Kannada","Noto Sans Kayah Li","Noto Sans Kharoshthi","Noto Sans Khmer","Noto Sans Khojki","Noto Sans Khudawadi","Noto Sans Lao","Noto Sans Lepcha","Noto Sans Limbu","Noto Sans Linear A","Noto Sans Linear B","Noto Sans Lisu","Noto Sans Lycian","Noto Sans Lydian","Noto Sans Mahajani","Noto Sans Malayalam","Noto Sans Mandaic","Noto Sans Manichaean","Noto Sans Marchen","Noto Sans Masaram Gondi","Noto Sans Math","Noto Sans Mayan Numerals","Noto Sans Medefaidrin","Noto Sans Meroitic","Noto Sans Miao","Noto Sans Modi","Noto Sans Mongolian","Noto Sans Mono","Noto Sans Mro","Noto Sans Multani","Noto Sans Myanmar","Noto Sans N Ko","Noto Sans Nabataean","Noto Sans New Tai Lue","Noto Sans Newa","Noto Sans Nushu","Noto Sans Ogham","Noto Sans Ol Chiki","Noto Sans Old Hungarian","Noto Sans Old Italic","Noto Sans Old North Arabian","Noto Sans Old Permic","Noto Sans Old Persian","Noto Sans Old Sogdian","Noto Sans Old South Arabian","Noto Sans Old Turkic","Noto Sans Oriya","Noto Sans Osage","Noto Sans Osmanya","Noto Sans Pahawh Hmong","Noto Sans Palmyrene","Noto Sans Pau Cin Hau","Noto Sans Phags Pa","Noto Sans Phoenician","Noto Sans Psalter Pahlavi","Noto Sans Rejang","Noto Sans Runic","Noto Sans SC","Noto Sans Samaritan","Noto Sans Saurashtra","Noto Sans Sharada","Noto Sans Shavian","Noto Sans Siddham","Noto Sans Sinhala","Noto Sans Sogdian","Noto Sans Sora Sompeng","Noto Sans Soyombo","Noto Sans Sundanese","Noto Sans Syloti Nagri","Noto Sans Symbols","Noto Sans Symbols 2","Noto Sans Syriac","Noto Sans TC","Noto Sans Tagalog","Noto Sans Tagbanwa","Noto Sans Tai Le","Noto Sans Tai Tham","Noto Sans Tai Viet","Noto Sans Takri","Noto Sans Tamil","Noto Sans Tamil Supplement","Noto Sans Telugu","Noto Sans Thaana","Noto Sans Thai","Noto Sans Thai Looped","Noto Sans Tifinagh","Noto Sans Tirhuta","Noto Sans Ugaritic","Noto Sans Vai","Noto Sans Wancho","Noto Sans Warang Citi","Noto Sans Yi","Noto Sans Zanabazar Square","Noto Serif","Noto Serif Ahom","Noto Serif Armenian","Noto Serif Balinese","Noto Serif Bengali","Noto Serif Devanagari","Noto Serif Display","Noto Serif Dogra","Noto Serif Ethiopic","Noto Serif Georgian","Noto Serif Grantha","Noto Serif Gujarati","Noto Serif Gurmukhi","Noto Serif Hebrew","Noto Serif JP","Noto Serif KR","Noto Serif Kannada","Noto Serif Khmer","Noto Serif Lao","Noto Serif Malayalam","Noto Serif Myanmar","Noto Serif Nyiakeng Puachue Hmong","Noto Serif SC","Noto Serif Sinhala","Noto Serif TC","Noto Serif Tamil","Noto Serif Tangut","Noto Serif Telugu","Noto Serif Thai","Noto Serif Tibetan","Noto Serif Yezidi","Noto Traditional Nushu","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Nunito Sans","Odibee Sans","Odor Mean Chey","Offside","Oi","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orelega One","Orienta","Original Surfer","Oswald","Otomanopee One","Over the Rainbow","Overlock","Overlock SC","Overpass","Overpass Mono","Ovo","Oxanium","Oxygen","Oxygen Mono","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Pacifico","Padauk","Palanquin","Palanquin Dark","Palette Mosaic","Pangolin","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Pattaya","Patua One","Pavanam","Paytone One","Peddana","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piazzolla","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Poor Story","Poppins","Port Lligat Sans","Port Lligat Slab","Potta One","Pragati Narrow","Prata","Preahvihear","Press Start 2P","Pridi","Princess Sofia","Prociono","Prompt","Prosto One","Proza Libre","Public Sans","Puritan","Purple Purse","Qahiri","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Rajdhani","Rakkas","Raleway","Raleway Dots","Ramabhadra","Ramaraja","Rambla","Rammetto One","Rampart One","Ranchers","Rancho","Ranga","Rasa","Rationale","Ravi Prakash","Recursive","Red Hat Display","Red Hat Text","Red Rose","Redressed","Reem Kufi","Reenie Beanie","Reggae One","Revalia","Rhodium Libre","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Mono","Roboto Slab","Rochester","Rock Salt","RocknRoll One","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Rowdies","Rozha One","Rubik","Rubik Beastly","Rubik Mono One","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","STIX Two Text","Sacramento","Sahitya","Sail","Saira","Saira Condensed","Saira Extra Condensed","Saira Semi Condensed","Saira Stencil One","Salsa","Sanchez","Sancreek","Sansita","Sansita Swashed","Sarabun","Sarala","Sarina","Sarpanch","Satisfy","Sawarabi Gothic","Sawarabi Mincho","Scada","Scheherazade","Scheherazade New","Schoolbell","Scope One","Seaweed Script","Secular One","Sedgwick Ave","Sedgwick Ave Display","Sen","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shippori Mincho","Shippori Mincho B1","Shojumaru","Short Stack","Shrikhand","Siemreap","Sigmar One","Signika","Signika Negative","Simonetta","Single Day","Sintony","Sirin Stencil","Six Caps","Skranji","Slabo 13px","Slabo 27px","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Solway","Song Myung","Sonsie One","Sora","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Source Serif Pro","Space Grotesk","Space Mono","Spartan","Special Elite","Spectral","Spectral SC","Spicy Rice","Spinnaker","Spirax","Squada One","Sree Krushnadevaraya","Sriracha","Srisakdi","Staatliches","Stalemate","Stalinist One","Stardos Stencil","Stick","Stick No Bills","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Style Script","Stylish","Sue Ellen Francisco","Suez One","Sulphur Point","Sumana","Sunflower","Sunshiney","Supermercado One","Sura","Suranna","Suravaram","Suwannaphum","Swanky and Moo Moo","Syncopate","Syne","Syne Mono","Syne Tactile","Tajawal","Tangerine","Taprom","Tauri","Taviraj","Teko","Telex","Tenali Ramakrishna","Tenor Sans","Text Me One","Texturina","Thasadith","The Girl Next Door","Tienne","Tillana","Timmana","Tinos","Titan One","Titillium Web","Tomorrow","Tourney","Trade Winds","Train One","Trirong","Trispace","Trocchi","Trochut","Truculenta","Trykker","Tulpen One","Turret Road","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Uchen","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","Urbanist","VT323","Vampiro One","Varela","Varela Round","Varta","Vast Shadow","Vesper Libre","Viaoda Libre","Vibes","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Vollkorn SC","Voltaire","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","WindSong","Wire One","Work Sans","Xanh Mono","Yaldevi","Yanone Kaffeesatz","Yantramanav","Yatra One","Yellowtail","Yeon Sung","Yeseva One","Yesteryear","Yomogi","Yrsa","Yusei Magic","ZCOOL KuaiLe","ZCOOL QingKe HuangYou","ZCOOL XiaoWei","Zen Antique","Zen Antique Soft","Zen Dots","Zen Kaku Gothic Antique","Zen Kaku Gothic New","Zen Kurenaido","Zen Loop","Zen Maru Gothic","Zen Old Mincho","Zen Tokyo Zoo","Zeyada","Zhi Mang Xing","Zilla Slab","Zilla Slab Highlight"],Ja=v({__name:"FontInput",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(e,{emit:a}){const r=P(e.modelValue),o=Ya,i=()=>a("update:modelValue",r.value);return(n,s)=>(c(),m(u(Z),{value:r.value,"onUpdate:value":s[0]||(s[0]=l=>r.value=l),"show-search":"",onChange:i},{default:g(()=>[(c(!0),y(T,null,H(u(o),l=>(c(),m(u(D),{key:l,value:l},{default:g(()=>[x(U(l),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"]))}}),Xa=v({__name:"LanguageInput",props:{language:{}},emits:["update:language"],setup(e,{emit:a}){return(t,r)=>(c(),m(u(Z),{value:t.language,onChange:r[0]||(r[0]=o=>a("update:language",o))},{default:g(()=>[(c(!0),y(T,null,H(u(Se),o=>(c(),m(u(D),{key:o.key,value:o.key},{default:g(()=>[x(U(o.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"]))}});function Qa(e){return e.startsWith("#")||e.match(/^(rgb|hsl)/)}function et(e){return e.startsWith("http://")||e.startsWith("https://")}function L(e){return et(e)?"external-image":Qa(e)?"color":"hosted-image"}const at=v({__name:"BackgroundSelector",props:{modelValue:{}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,r=s=>a("update:modelValue",s),o=s=>{r(s==="color"?"#ffffff":"")},i=b(()=>L(t.modelValue)==="color"?t.modelValue:""),n=b(()=>t.modelValue);return(s,l)=>(c(),y(T,null,[d(u(M),{label:"Background Type"},{default:g(()=>[d(u(Z),{value:u(L)(s.modelValue),onChange:l[0]||(l[0]=h=>o(h))},{default:g(()=>[d(u(D),{value:"color",selected:u(L)(s.modelValue)==="color"},{default:g(()=>[x(" Color ")]),_:1},8,["selected"]),d(u(D),{value:"image",selected:u(L)(s.modelValue)==="hosted-image"||u(L)(s.modelValue)==="external-image"},{default:g(()=>[x(" Image ")]),_:1},8,["selected"])]),_:1},8,["value"])]),_:1}),d(u(M),{label:u(L)(s.modelValue)==="color"?"Background Color":"Background Image path"},{default:g(()=>[u(L)(s.modelValue)==="color"?(c(),m(de,{key:0,value:i.value,onChange:r},null,8,["value"])):(c(),m(u(E),{key:1,value:n.value,type:"text",onInput:l[1]||(l[1]=h=>r(h.target.value))},null,8,["value"]))]),_:1},8,["label"])],64))}}),tt={style:{width:"50%"}},ot={style:{width:"50%"}},ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAMAAADnYz6mAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURfX19aCgoOLi4rS0tKenp+/v75OTk4yMjMLCwtvb25qams/Pz7u7u8jIyOjo6KioqNXV1a6urrW1ta1OqBIAAAExSURBVHja7dnZbsIwFEDBrCYLa///Y0tZQqoiAZWgvnTm0fIDB3CcOEUBAAAAAAAAAAAAAAAAAEBUVfewPq+CdvG4lFdC/4uERS9BggQJr0goU/CE1X5kvYuc0B13uyFwwumjLQMnnMY6v8Lfr4Ui8lpI26/V/BF7Xxg2m7fbndMQPqFvy+AJ4/7JNIVOqA9P19ES5v+b5jhnjJXQFZeGsi2u73VZJ9Szu7y0nmbt4iQcvvfz+q1mRzVlmN25nY2N346bUoyEdP7ex8v90nTol0IkbKfR+ng5nRsjJKxmw8v2x8xV/gn1ral17gnN7bll3glle3vudGnNMiFV90w+X5ayTOifMfu1Cfe+4HGmKkGChCd6g5e2RbVsHlRn9uocAAAAAAAAAAAAAAAAAID/5RP7aTTGpnHwKwAAAABJRU5ErkJggg==",Ft=v({__name:"PreferencesEditor",setup(e){const{result:a,loading:t}=Ae(()=>ye.get()),r=b(()=>{var s,l;return(s=a.value)!=null&&s.logoUrl?te("logo",(l=a.value)==null?void 0:l.logoUrl,"editor"):""}),o=b(()=>{var s,l;return(s=a.value)!=null&&s.faviconUrl?te("favicon",(l=a.value)==null?void 0:l.faviconUrl,"editor"):""}),i=le({logoUrl:!1,faviconUrl:!1}),n=(s,l)=>{i[s]=l};return(s,l)=>(c(),m(ke,null,{default:g(()=>[u(t)||!u(a)?(c(),m(Ce,{key:0})):(c(),m(u(fe),{key:1,layout:"vertical",style:{width:"100%"}},{default:g(()=>[d(u(_),{justify:"space-between",align:"center"},{default:g(()=>[d(u(G),null,{default:g(()=>[x("Preferences")]),_:1}),d(we,{model:u(a)},null,8,["model"])]),_:1}),d(u(M),{label:"Project name"},{default:g(()=>[d(u(E),{value:u(a).brandName,"onUpdate:value":l[0]||(l[0]=h=>u(a).brandName=h)},null,8,["value"])]),_:1}),d(u(M),{label:"Language"},{default:g(()=>[d(Xa,{language:u(a).language,"onUpdate:language":l[1]||(l[1]=h=>u(a).language=h)},null,8,["language"])]),_:1}),d(u(_),{gap:"40"},{default:g(()=>[f("div",tt,[d(u(G),{level:4},{default:g(()=>[x("Style")]),_:1}),d(u(M),{label:"Main color"},{default:g(()=>[d(de,{value:u(a).mainColor,onInput:l[2]||(l[2]=h=>u(a).mainColor=h),onChange:l[3]||(l[3]=h=>u(a).mainColor=u(a).mainColor)},null,8,["value"])]),_:1}),d(u(M),{label:"Font family"},{default:g(()=>[d(Ja,{modelValue:u(a).fontFamily,"onUpdate:modelValue":l[4]||(l[4]=h=>u(a).fontFamily=h)},null,8,["modelValue"])]),_:1}),d(at,{modelValue:u(a).theme,"onUpdate:modelValue":l[5]||(l[5]=h=>u(a).theme=h)},null,8,["modelValue"]),d(u(M),{label:"Logo path",tooltip:"You can reference files from your project folder (e.g., './logo.png') or use public URLs"},{default:g(()=>[d(u(_),{gap:"5"},{default:g(()=>[d(u(E),{value:u(a).logoUrl,"onUpdate:value":l[6]||(l[6]=h=>u(a).logoUrl=h)},null,8,["value"]),u(a).logoUrl?(c(),m(ae,{key:0,onClick:l[7]||(l[7]=()=>n("logoUrl",!0))},{default:g(()=>[d(u(oe))]),_:1})):w("",!0)]),_:1}),r.value?(c(),m(u(ee),{key:0,src:r.value,fallback:ne,style:{display:"none",visibility:"hidden"},preview:{visible:i.logoUrl,onVisibleChange:h=>n("logoUrl",h)}},null,8,["src","preview"])):w("",!0)]),_:1}),d(u(M),{label:"Favicon path",tooltip:"You can reference files from your project folder (e.g., './favicon.ico') or use public URLs "},{default:g(()=>[d(u(_),{gap:"5"},{default:g(()=>[d(u(E),{value:u(a).faviconUrl,"onUpdate:value":l[8]||(l[8]=h=>u(a).faviconUrl=h)},null,8,["value"]),u(a).faviconUrl?(c(),m(ae,{key:0,onClick:l[9]||(l[9]=()=>n("faviconUrl",!0))},{default:g(()=>[d(u(oe))]),_:1})):w("",!0)]),_:1}),o.value?(c(),m(u(ee),{key:0,src:o.value,fallback:ne,style:{display:"none",visibility:"hidden"},preview:{visible:i.faviconUrl,onVisibleChange:h=>n("faviconUrl",h)}},null,8,["src","preview"])):w("",!0)]),_:1})]),f("div",ot,[d(va,{workspace:u(a),"widgets-visible":!0,style:{"margin-bottom":"20px"}},null,8,["workspace"])])]),_:1})]),_:1}))]),_:1}))}});export{Ft as default}; -//# sourceMappingURL=PreferencesEditor.e2c83c4d.js.map +//# sourceMappingURL=PreferencesEditor.84dda27f.js.map diff --git a/abstra_statics/dist/assets/Project.8dd333e0.js b/abstra_statics/dist/assets/Project.83f68038.js similarity index 86% rename from abstra_statics/dist/assets/Project.8dd333e0.js rename to abstra_statics/dist/assets/Project.83f68038.js index 9c7901ed01..b54b306aa1 100644 --- a/abstra_statics/dist/assets/Project.8dd333e0.js +++ b/abstra_statics/dist/assets/Project.83f68038.js @@ -1,2 +1,2 @@ -import{N as y}from"./Navbar.ccb4b57b.js";import{B as w}from"./BaseLayout.4967fc3d.js";import{a as C}from"./asyncComputed.c677c545.js";import{d as g,B as s,f as i,o as e,X as t,Z as $,R as H,e8 as L,a as o,ea as f,r as b,c as M,w as Z,b as V}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{O as k}from"./organization.efcc2606.js";import{P as z}from"./project.0040997f.js";import"./tables.8d6766f6.js";import{_ as S,S as B}from"./Sidebar.715517e4.js";import{C as _}from"./ContentLayout.d691ad7a.js";import{G as x}from"./PhArrowCounterClockwise.vue.4a7ab991.js";import{I as N,G as P}from"./PhIdentificationBadge.vue.45493857.js";import{H as j}from"./PhCube.vue.9942e1ba.js";import{I}from"./PhGlobe.vue.5d1ae5ae.js";import"./PhChats.vue.b6dd7b5a.js";import"./PhSignOut.vue.b806976f.js";import"./router.cbdfe37b.js";import"./index.241ee38a.js";import"./Avatar.dcb46dd7.js";import"./index.6db53852.js";import"./index.8f5819bb.js";import"./BookOutlined.767e0e7a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./index.f014adef.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import"./Logo.389f375b.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[r]="6173ab0d-ddc9-4532-865d-eaeee87e0715",h._sentryDebugIdIdentifier="sentry-dbid-6173ab0d-ddc9-4532-865d-eaeee87e0715")}catch{}})();const E=["width","height","fill","transform"],D={key:0},F=o("path",{d:"M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z"},null,-1),G=[F],q={key:1},W=o("path",{d:"M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z",opacity:"0.2"},null,-1),O=o("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),R=[W,O],K={key:2},T=o("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),X=[T],J={key:3},Q=o("path",{d:"M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z"},null,-1),U=[Q],Y={key:4},a1=o("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),l1=[a1],e1={key:5},t1=o("path",{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"},null,-1),o1=[t1],r1={name:"PhDatabase"},i1=g({...r1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),u=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),c=i(()=>{var a;return(a=r.size)!=null?a:u}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",D,G)):l.value==="duotone"?(e(),t("g",q,R)):l.value==="fill"?(e(),t("g",K,X)):l.value==="light"?(e(),t("g",J,U)):l.value==="regular"?(e(),t("g",Y,l1)):l.value==="thin"?(e(),t("g",e1,o1)):H("",!0)],16,E))}}),n1=["width","height","fill","transform"],s1={key:0},u1=o("path",{d:"M228,56H160L133.33,36a20.12,20.12,0,0,0-12-4H76A20,20,0,0,0,56,52V72H36A20,20,0,0,0,16,92V204a20,20,0,0,0,20,20H188.89A19.13,19.13,0,0,0,208,204.89V184h20.89A19.13,19.13,0,0,0,248,164.89V76A20,20,0,0,0,228,56ZM184,200H40V96H80l28.8,21.6A12,12,0,0,0,116,120h68Zm40-40H208V116a20,20,0,0,0-20-20H120L93.33,76a20.12,20.12,0,0,0-12-4H80V56h40l28.8,21.6A12,12,0,0,0,156,80h68Z"},null,-1),c1=[u1],h1={key:1},d1=o("path",{d:"M232,80v88.89a7.11,7.11,0,0,1-7.11,7.11H200V112a8,8,0,0,0-8-8H120L90.13,81.6a8,8,0,0,0-4.8-1.6H64V56a8,8,0,0,1,8-8h45.33a8,8,0,0,1,4.8,1.6L152,72h72A8,8,0,0,1,232,80Z",opacity:"0.2"},null,-1),m1=o("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),v1=[d1,m1],A1={key:2},p1=o("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64Zm0,104H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),g1=[p1],H1={key:3},$1=o("path",{d:"M224,66H154L125.73,44.8a14,14,0,0,0-8.4-2.8H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H192.89A13.12,13.12,0,0,0,206,200.89V182h18.89A13.12,13.12,0,0,0,238,168.89V80A14,14,0,0,0,224,66ZM194,200.89a1.11,1.11,0,0,1-1.11,1.11H40a2,2,0,0,1-2-2V88a2,2,0,0,1,2-2H85.33a2,2,0,0,1,1.2.4l29.87,22.4A6,6,0,0,0,120,110h72a2,2,0,0,1,2,2Zm32-32a1.11,1.11,0,0,1-1.11,1.11H206V112a14,14,0,0,0-14-14H122L93.73,76.8a14,14,0,0,0-8.4-2.8H70V56a2,2,0,0,1,2-2h45.33a2,2,0,0,1,1.2.4L148.4,76.8A6,6,0,0,0,152,78h72a2,2,0,0,1,2,2Z"},null,-1),L1=[$1],Z1={key:4},V1=o("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),M1=[V1],y1={key:5},w1=o("path",{d:"M224,68H153.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H192.89A11.12,11.12,0,0,0,204,200.89V180h20.89A11.12,11.12,0,0,0,236,168.89V80A12,12,0,0,0,224,68ZM196,200.89a3.12,3.12,0,0,1-3.11,3.11H40a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4H85.33a4,4,0,0,1,2.4.8l29.87,22.4a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4Zm32-32a3.12,3.12,0,0,1-3.11,3.11H204V112a12,12,0,0,0-12-12H121.33L92.53,78.4a12.05,12.05,0,0,0-7.2-2.4H68V56a4,4,0,0,1,4-4h45.33a4,4,0,0,1,2.4.8L149.6,75.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4Z"},null,-1),C1=[w1],f1={name:"PhFolders"},b1=g({...f1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),u=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),c=i(()=>{var a;return(a=r.size)!=null?a:u}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",s1,c1)):l.value==="duotone"?(e(),t("g",h1,v1)):l.value==="fill"?(e(),t("g",A1,g1)):l.value==="light"?(e(),t("g",H1,L1)):l.value==="regular"?(e(),t("g",Z1,M1)):l.value==="thin"?(e(),t("g",y1,C1)):H("",!0)],16,n1))}}),k1=["width","height","fill","transform"],z1={key:0},S1=o("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z"},null,-1),B1=[S1],_1={key:1},x1=o("path",{d:"M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),N1=o("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1),P1=[x1,N1],j1={key:2},I1=o("path",{d:"M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),E1=[I1],D1={key:3},F1=o("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z"},null,-1),G1=[F1],q1={key:4},W1=o("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1),O1=[W1],R1={key:5},K1=o("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z"},null,-1),T1=[K1],X1={name:"PhGearSix"},J1=g({...X1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),u=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),c=i(()=>{var a;return(a=r.size)!=null?a:u}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",z1,B1)):l.value==="duotone"?(e(),t("g",_1,P1)):l.value==="fill"?(e(),t("g",j1,E1)):l.value==="light"?(e(),t("g",D1,G1)):l.value==="regular"?(e(),t("g",q1,O1)):l.value==="thin"?(e(),t("g",R1,T1)):H("",!0)],16,k1))}}),Q1=["width","height","fill","transform"],U1={key:0},Y1=o("path",{d:"M196,76a16,16,0,1,1-16-16A16,16,0,0,1,196,76Zm48,22.74A84.3,84.3,0,0,1,160.11,180H160a83.52,83.52,0,0,1-23.65-3.38l-7.86,7.87A12,12,0,0,1,120,188H108v12a12,12,0,0,1-12,12H84v12a12,12,0,0,1-12,12H40a20,20,0,0,1-20-20V187.31a19.86,19.86,0,0,1,5.86-14.14l53.52-53.52A84,84,0,1,1,244,98.74ZM202.43,53.57A59.48,59.48,0,0,0,158,36c-32,1-58,27.89-58,59.89a59.69,59.69,0,0,0,4.2,22.19,12,12,0,0,1-2.55,13.21L44,189v23H60V200a12,12,0,0,1,12-12H84V176a12,12,0,0,1,12-12h19l9.65-9.65a12,12,0,0,1,13.22-2.55A59.58,59.58,0,0,0,160,156h.08c32,0,58.87-26.07,59.89-58A59.55,59.55,0,0,0,202.43,53.57Z"},null,-1),a0=[Y1],l0={key:1},e0=o("path",{d:"M232,98.36C230.73,136.92,198.67,168,160.09,168a71.68,71.68,0,0,1-26.92-5.17h0L120,176H96v24H72v24H40a8,8,0,0,1-8-8V187.31a8,8,0,0,1,2.34-5.65l58.83-58.83h0A71.68,71.68,0,0,1,88,95.91c0-38.58,31.08-70.64,69.64-71.87A72,72,0,0,1,232,98.36Z",opacity:"0.2"},null,-1),t0=o("path",{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z"},null,-1),o0=[e0,t0],r0={key:2},i0=o("path",{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM180,92a16,16,0,1,1,16-16A16,16,0,0,1,180,92Z"},null,-1),n0=[i0],s0={key:3},u0=o("path",{d:"M215.15,40.85A78,78,0,0,0,86.2,121.31l-56.1,56.1a13.94,13.94,0,0,0-4.1,9.9V216a14,14,0,0,0,14,14H72a6,6,0,0,0,6-6V206H96a6,6,0,0,0,6-6V182h18a6,6,0,0,0,4.24-1.76l10.45-10.44A77.59,77.59,0,0,0,160,174h.1A78,78,0,0,0,215.15,40.85ZM226,98.16c-1.12,35.16-30.67,63.8-65.88,63.84a65.93,65.93,0,0,1-24.51-4.67,6,6,0,0,0-6.64,1.26L117.51,170H96a6,6,0,0,0-6,6v18H72a6,6,0,0,0-6,6v18H40a2,2,0,0,1-2-2V187.31a2,2,0,0,1,.58-1.41l58.83-58.83a6,6,0,0,0,1.26-6.64A65.61,65.61,0,0,1,94,95.92C94,60.71,122.68,31.16,157.83,30A66,66,0,0,1,226,98.16ZM190,76a10,10,0,1,1-10-10A10,10,0,0,1,190,76Z"},null,-1),c0=[u0],h0={key:4},d0=o("path",{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z"},null,-1),m0=[d0],v0={key:5},A0=o("path",{d:"M213.74,42.26A76,76,0,0,0,88.51,121.84l-57,57A11.93,11.93,0,0,0,28,187.31V216a12,12,0,0,0,12,12H72a4,4,0,0,0,4-4V204H96a4,4,0,0,0,4-4V180h20a4,4,0,0,0,2.83-1.17l11.33-11.34A75.72,75.72,0,0,0,160,172h.1A76,76,0,0,0,213.74,42.26Zm14.22,56c-1.15,36.22-31.6,65.72-67.87,65.77H160a67.52,67.52,0,0,1-25.21-4.83,4,4,0,0,0-4.45.83l-12,12H96a4,4,0,0,0-4,4v20H72a4,4,0,0,0-4,4v20H40a4,4,0,0,1-4-4V187.31a4.06,4.06,0,0,1,1.17-2.83L96,125.66a4,4,0,0,0,.83-4.45A67.51,67.51,0,0,1,92,95.91C92,59.64,121.55,29.19,157.77,28A68,68,0,0,1,228,98.23ZM188,76a8,8,0,1,1-8-8A8,8,0,0,1,188,76Z"},null,-1),p0=[A0],g0={name:"PhKey"},H0=g({...g0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),u=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),c=i(()=>{var a;return(a=r.size)!=null?a:u}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",U1,a0)):l.value==="duotone"?(e(),t("g",l0,o0)):l.value==="fill"?(e(),t("g",r0,n0)):l.value==="light"?(e(),t("g",s0,c0)):l.value==="regular"?(e(),t("g",h0,m0)):l.value==="thin"?(e(),t("g",v0,p0)):H("",!0)],16,Q1))}}),$0=["width","height","fill","transform"],L0={key:0},Z0=o("path",{d:"M232,156h-4V72a28,28,0,0,0-28-28H56A28,28,0,0,0,28,72v84H24a12,12,0,0,0-12,12v24a28,28,0,0,0,28,28H216a28,28,0,0,0,28-28V168A12,12,0,0,0,232,156ZM52,72a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4v84H52ZM220,192a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H220ZM156,96a12,12,0,0,1-12,12H112a12,12,0,0,1,0-24h32A12,12,0,0,1,156,96Z"},null,-1),V0=[Z0],M0={key:1},y0=o("path",{d:"M216,72V176H40V72A16,16,0,0,1,56,56H200A16,16,0,0,1,216,72Z",opacity:"0.2"},null,-1),w0=o("path",{d:"M232,168h-8V72a24,24,0,0,0-24-24H56A24,24,0,0,0,32,72v96H24a8,8,0,0,0-8,8v16a24,24,0,0,0,24,24H216a24,24,0,0,0,24-24V176A8,8,0,0,0,232,168ZM48,72a8,8,0,0,1,8-8H200a8,8,0,0,1,8,8v96H48ZM224,192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8v-8H224ZM152,88a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,88Z"},null,-1),C0=[y0,w0],f0={key:2},b0=o("path",{d:"M232,168h-8V72a24,24,0,0,0-24-24H56A24,24,0,0,0,32,72v96H24a8,8,0,0,0-8,8v16a24,24,0,0,0,24,24H216a24,24,0,0,0,24-24V176A8,8,0,0,0,232,168ZM112,72h32a8,8,0,0,1,0,16H112a8,8,0,0,1,0-16ZM224,192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8v-8H224Z"},null,-1),k0=[b0],z0={key:3},S0=o("path",{d:"M232,170H222V72a22,22,0,0,0-22-22H56A22,22,0,0,0,34,72v98H24a6,6,0,0,0-6,6v16a22,22,0,0,0,22,22H216a22,22,0,0,0,22-22V176A6,6,0,0,0,232,170ZM46,72A10,10,0,0,1,56,62H200a10,10,0,0,1,10,10v98H46ZM226,192a10,10,0,0,1-10,10H40a10,10,0,0,1-10-10V182H226ZM150,88a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h32A6,6,0,0,1,150,88Z"},null,-1),B0=[S0],_0={key:4},x0=o("path",{d:"M232,168h-8V72a24,24,0,0,0-24-24H56A24,24,0,0,0,32,72v96H24a8,8,0,0,0-8,8v16a24,24,0,0,0,24,24H216a24,24,0,0,0,24-24V176A8,8,0,0,0,232,168ZM48,72a8,8,0,0,1,8-8H200a8,8,0,0,1,8,8v96H48ZM224,192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8v-8H224ZM152,88a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,88Z"},null,-1),N0=[x0],P0={key:5},j0=o("path",{d:"M232,172H220V72a20,20,0,0,0-20-20H56A20,20,0,0,0,36,72V172H24a4,4,0,0,0-4,4v16a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V176A4,4,0,0,0,232,172ZM44,72A12,12,0,0,1,56,60H200a12,12,0,0,1,12,12V172H44ZM228,192a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V180H228ZM148,88a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h32A4,4,0,0,1,148,88Z"},null,-1),I0=[j0],E0={name:"PhLaptop"},D0=g({...E0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),u=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),c=i(()=>{var a;return(a=r.size)!=null?a:u}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",L0,V0)):l.value==="duotone"?(e(),t("g",M0,C0)):l.value==="fill"?(e(),t("g",f0,k0)):l.value==="light"?(e(),t("g",z0,B0)):l.value==="regular"?(e(),t("g",_0,N0)):l.value==="thin"?(e(),t("g",P0,I0)):H("",!0)],16,$0))}}),F0=["width","height","fill","transform"],G0={key:0},q0=o("path",{d:"M240.49,63.51a12,12,0,0,0-17,0L192,95,161,64l31.52-31.51a12,12,0,0,0-17-17L144,47,120.49,23.51a12,12,0,1,0-17,17L107,44,56.89,94.14a44,44,0,0,0,0,62.23l12.88,12.88L23.51,215.51a12,12,0,0,0,17,17l46.26-46.26,12.88,12.88a44,44,0,0,0,62.23,0L212,149l3.51,3.52a12,12,0,0,0,17-17L209,112l31.52-31.51A12,12,0,0,0,240.49,63.51Zm-95.6,118.63a20,20,0,0,1-28.29,0L73.86,139.4a20,20,0,0,1,0-28.29L124,61l71,71Z"},null,-1),W0=[q0],O0={key:1},R0=o("path",{d:"M212,132l-58.63,58.63a32,32,0,0,1-45.25,0L65.37,147.88a32,32,0,0,1,0-45.25L124,44Z",opacity:"0.2"},null,-1),K0=o("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"},null,-1),T0=[R0,K0],X0={key:2},J0=o("path",{d:"M237.66,77.66,203.31,112l26.35,26.34a8,8,0,0,1-11.32,11.32L212,143.31l-53,53a40,40,0,0,1-56.57,0L86.75,180.57,37.66,229.66a8,8,0,0,1-11.32-11.32l49.09-49.09L59.72,153.54a40,40,0,0,1,0-56.57l53-53-6.35-6.34a8,8,0,0,1,11.32-11.32L144,52.69l34.34-34.35a8,8,0,1,1,11.32,11.32L155.31,64,192,100.69l34.34-34.35a8,8,0,0,1,11.32,11.32Z"},null,-1),Q0=[J0],U0={key:3},Y0=o("path",{d:"M236.24,67.76a6,6,0,0,0-8.48,0L192,103.51,152.49,64l35.75-35.76a6,6,0,0,0-8.48-8.48L144,55.51,116.24,27.76a6,6,0,1,0-8.48,8.48L115.51,44,61.13,98.38a38,38,0,0,0,0,53.75l17.13,17.12-50.5,50.51a6,6,0,1,0,8.48,8.48l50.51-50.5,17.13,17.13a38,38,0,0,0,53.74,0L212,140.49l7.76,7.75a6,6,0,0,0,8.48-8.48L200.49,112l35.75-35.76A6,6,0,0,0,236.24,67.76ZM149.13,186.38a26,26,0,0,1-36.77,0L69.62,143.64a26,26,0,0,1,0-36.77L124,52.49,203.51,132Z"},null,-1),a2=[Y0],l2={key:4},e2=o("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"},null,-1),t2=[e2],o2={key:5},r2=o("path",{d:"M234.83,69.17a4,4,0,0,0-5.66,0L192,106.34,149.66,64l37.17-37.17a4,4,0,1,0-5.66-5.66L144,58.34,114.83,29.17a4,4,0,0,0-5.66,5.66L118.34,44,62.54,99.8a36.05,36.05,0,0,0,0,50.91l18.55,18.54L29.17,221.17a4,4,0,0,0,5.66,5.66l51.92-51.92,18.54,18.55a36.06,36.06,0,0,0,50.91,0l55.8-55.8,9.17,9.17a4,4,0,0,0,5.66-5.66L197.66,112l37.17-37.17A4,4,0,0,0,234.83,69.17ZM150.54,187.8a28,28,0,0,1-39.59,0L68.2,145.05a28,28,0,0,1,0-39.59L124,49.66,206.34,132Z"},null,-1),i2=[r2],n2={name:"PhPlug"},s2=g({...n2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),u=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),c=i(()=>{var a;return(a=r.size)!=null?a:u}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",G0,W0)):l.value==="duotone"?(e(),t("g",O0,T0)):l.value==="fill"?(e(),t("g",X0,Q0)):l.value==="light"?(e(),t("g",U0,a2)):l.value==="regular"?(e(),t("g",l2,t2)):l.value==="thin"?(e(),t("g",o2,i2)):H("",!0)],16,F0))}}),j2=g({__name:"Project",setup(h){const m=f().params.projectId,{result:u}=C(()=>z.get(m).then(async n=>{const d=await k.get(n.organizationId);return{project:n,organization:d}})),A=i(()=>{var n,d,a,p;return((n=u.value)==null?void 0:n.organization)&&u.value.project?[{label:"My organizations",path:"/organizations"},{label:(a=(d=u.value)==null?void 0:d.organization)==null?void 0:a.name,path:`/organizations/${(p=u.value)==null?void 0:p.organization.id}`},{label:u.value.project.name,path:`/projects/${u.value.project.id}`}]:void 0}),v=i(()=>{var n;return(n=u.value)==null?void 0:n.organization.billingMetadata}),l=i(()=>{var n;return(n=u.value)==null?void 0:n.organization.id}),c=i(()=>{var n;return(n=u.value)!=null&&n.project?[{name:"Project",items:[{name:"Live",path:"live",icon:I},{name:"Builds",path:"builds",icon:j},{name:"Connectors",path:"connectors",icon:s2,unavailable:!u.value.organization.featureFlags.CONNECTORS_CONSOLE},{name:"Tables",path:"tables",icon:i1},{name:"API Keys",path:"api-keys",icon:H0},{name:"Env Vars",path:"env-vars",icon:N},{name:"Web Editor",path:"web-editor",icon:D0,unavailable:!u.value.organization.featureFlags.WEB_EDITOR},{name:"Files",path:"files",icon:b1},{name:"Logs",icon:x,path:"logs"},{name:"Settings",icon:J1,path:"settings"},{name:"Access Control",icon:P,path:"access-control"}]}]:[]});return(n,d)=>{const a=b("RouterView");return e(),M(w,null,{content:Z(()=>[V(_,null,{default:Z(()=>[v.value&&l.value?(e(),M(S,{key:0,"billing-metadata":v.value,"organization-id":l.value},null,8,["billing-metadata","organization-id"])):H("",!0),V(a)]),_:1})]),navbar:Z(()=>[V(y,{class:"nav",breadcrumb:A.value},null,8,["breadcrumb"])]),sidebar:Z(()=>[V(B,{class:"sidebar",sections:c.value},null,8,["sections"])]),_:1})}}});export{j2 as default}; -//# sourceMappingURL=Project.8dd333e0.js.map +import{N as y}from"./Navbar.b51dae48.js";import{B as w}from"./BaseLayout.577165c3.js";import{a as f}from"./asyncComputed.3916dfed.js";import{d as g,B as s,f as i,o as e,X as t,Z as $,R as H,e8 as L,a as o,ea as C,r as b,c as M,w as Z,b as V}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{O as k}from"./organization.0ae7dfed.js";import{P as z}from"./project.a5f62f99.js";import"./tables.842b993f.js";import{_ as S,S as B}from"./Sidebar.e2719686.js";import{C as _}from"./ContentLayout.5465dc16.js";import{G as x}from"./PhArrowCounterClockwise.vue.1fa0c440.js";import{I as N,G as P}from"./PhIdentificationBadge.vue.c9ecd119.js";import{H as j}from"./PhCube.vue.38b62bfa.js";import{I}from"./PhGlobe.vue.8ad99031.js";import"./PhChats.vue.42699894.js";import"./PhSignOut.vue.d965d159.js";import"./router.0c18ec5d.js";import"./index.7d758831.js";import"./Avatar.4c029798.js";import"./index.51467614.js";import"./index.ea51f4a9.js";import"./BookOutlined.789cce39.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./index.0887bacc.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import"./Logo.bfb8cf31.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[r]="5a93cd7a-ae1c-404c-903d-10cf8b2a2d00",h._sentryDebugIdIdentifier="sentry-dbid-5a93cd7a-ae1c-404c-903d-10cf8b2a2d00")}catch{}})();const E=["width","height","fill","transform"],D={key:0},F=o("path",{d:"M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z"},null,-1),G=[F],q={key:1},W=o("path",{d:"M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z",opacity:"0.2"},null,-1),O=o("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),R=[W,O],K={key:2},T=o("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),X=[T],J={key:3},Q=o("path",{d:"M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z"},null,-1),U=[Q],Y={key:4},a1=o("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),l1=[a1],e1={key:5},t1=o("path",{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"},null,-1),o1=[t1],r1={name:"PhDatabase"},i1=g({...r1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),c=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),u=i(()=>{var a;return(a=r.size)!=null?a:c}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",D,G)):l.value==="duotone"?(e(),t("g",q,R)):l.value==="fill"?(e(),t("g",K,X)):l.value==="light"?(e(),t("g",J,U)):l.value==="regular"?(e(),t("g",Y,l1)):l.value==="thin"?(e(),t("g",e1,o1)):H("",!0)],16,E))}}),n1=["width","height","fill","transform"],s1={key:0},c1=o("path",{d:"M228,56H160L133.33,36a20.12,20.12,0,0,0-12-4H76A20,20,0,0,0,56,52V72H36A20,20,0,0,0,16,92V204a20,20,0,0,0,20,20H188.89A19.13,19.13,0,0,0,208,204.89V184h20.89A19.13,19.13,0,0,0,248,164.89V76A20,20,0,0,0,228,56ZM184,200H40V96H80l28.8,21.6A12,12,0,0,0,116,120h68Zm40-40H208V116a20,20,0,0,0-20-20H120L93.33,76a20.12,20.12,0,0,0-12-4H80V56h40l28.8,21.6A12,12,0,0,0,156,80h68Z"},null,-1),u1=[c1],h1={key:1},d1=o("path",{d:"M232,80v88.89a7.11,7.11,0,0,1-7.11,7.11H200V112a8,8,0,0,0-8-8H120L90.13,81.6a8,8,0,0,0-4.8-1.6H64V56a8,8,0,0,1,8-8h45.33a8,8,0,0,1,4.8,1.6L152,72h72A8,8,0,0,1,232,80Z",opacity:"0.2"},null,-1),m1=o("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),v1=[d1,m1],A1={key:2},p1=o("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64Zm0,104H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),g1=[p1],H1={key:3},$1=o("path",{d:"M224,66H154L125.73,44.8a14,14,0,0,0-8.4-2.8H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H192.89A13.12,13.12,0,0,0,206,200.89V182h18.89A13.12,13.12,0,0,0,238,168.89V80A14,14,0,0,0,224,66ZM194,200.89a1.11,1.11,0,0,1-1.11,1.11H40a2,2,0,0,1-2-2V88a2,2,0,0,1,2-2H85.33a2,2,0,0,1,1.2.4l29.87,22.4A6,6,0,0,0,120,110h72a2,2,0,0,1,2,2Zm32-32a1.11,1.11,0,0,1-1.11,1.11H206V112a14,14,0,0,0-14-14H122L93.73,76.8a14,14,0,0,0-8.4-2.8H70V56a2,2,0,0,1,2-2h45.33a2,2,0,0,1,1.2.4L148.4,76.8A6,6,0,0,0,152,78h72a2,2,0,0,1,2,2Z"},null,-1),L1=[$1],Z1={key:4},V1=o("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),M1=[V1],y1={key:5},w1=o("path",{d:"M224,68H153.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H192.89A11.12,11.12,0,0,0,204,200.89V180h20.89A11.12,11.12,0,0,0,236,168.89V80A12,12,0,0,0,224,68ZM196,200.89a3.12,3.12,0,0,1-3.11,3.11H40a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4H85.33a4,4,0,0,1,2.4.8l29.87,22.4a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4Zm32-32a3.12,3.12,0,0,1-3.11,3.11H204V112a12,12,0,0,0-12-12H121.33L92.53,78.4a12.05,12.05,0,0,0-7.2-2.4H68V56a4,4,0,0,1,4-4h45.33a4,4,0,0,1,2.4.8L149.6,75.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4Z"},null,-1),f1=[w1],C1={name:"PhFolders"},b1=g({...C1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),c=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),u=i(()=>{var a;return(a=r.size)!=null?a:c}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",s1,u1)):l.value==="duotone"?(e(),t("g",h1,v1)):l.value==="fill"?(e(),t("g",A1,g1)):l.value==="light"?(e(),t("g",H1,L1)):l.value==="regular"?(e(),t("g",Z1,M1)):l.value==="thin"?(e(),t("g",y1,f1)):H("",!0)],16,n1))}}),k1=["width","height","fill","transform"],z1={key:0},S1=o("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z"},null,-1),B1=[S1],_1={key:1},x1=o("path",{d:"M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),N1=o("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1),P1=[x1,N1],j1={key:2},I1=o("path",{d:"M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),E1=[I1],D1={key:3},F1=o("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z"},null,-1),G1=[F1],q1={key:4},W1=o("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1),O1=[W1],R1={key:5},K1=o("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z"},null,-1),T1=[K1],X1={name:"PhGearSix"},J1=g({...X1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),c=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),u=i(()=>{var a;return(a=r.size)!=null?a:c}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",z1,B1)):l.value==="duotone"?(e(),t("g",_1,P1)):l.value==="fill"?(e(),t("g",j1,E1)):l.value==="light"?(e(),t("g",D1,G1)):l.value==="regular"?(e(),t("g",q1,O1)):l.value==="thin"?(e(),t("g",R1,T1)):H("",!0)],16,k1))}}),Q1=["width","height","fill","transform"],U1={key:0},Y1=o("path",{d:"M196,76a16,16,0,1,1-16-16A16,16,0,0,1,196,76Zm48,22.74A84.3,84.3,0,0,1,160.11,180H160a83.52,83.52,0,0,1-23.65-3.38l-7.86,7.87A12,12,0,0,1,120,188H108v12a12,12,0,0,1-12,12H84v12a12,12,0,0,1-12,12H40a20,20,0,0,1-20-20V187.31a19.86,19.86,0,0,1,5.86-14.14l53.52-53.52A84,84,0,1,1,244,98.74ZM202.43,53.57A59.48,59.48,0,0,0,158,36c-32,1-58,27.89-58,59.89a59.69,59.69,0,0,0,4.2,22.19,12,12,0,0,1-2.55,13.21L44,189v23H60V200a12,12,0,0,1,12-12H84V176a12,12,0,0,1,12-12h19l9.65-9.65a12,12,0,0,1,13.22-2.55A59.58,59.58,0,0,0,160,156h.08c32,0,58.87-26.07,59.89-58A59.55,59.55,0,0,0,202.43,53.57Z"},null,-1),a0=[Y1],l0={key:1},e0=o("path",{d:"M232,98.36C230.73,136.92,198.67,168,160.09,168a71.68,71.68,0,0,1-26.92-5.17h0L120,176H96v24H72v24H40a8,8,0,0,1-8-8V187.31a8,8,0,0,1,2.34-5.65l58.83-58.83h0A71.68,71.68,0,0,1,88,95.91c0-38.58,31.08-70.64,69.64-71.87A72,72,0,0,1,232,98.36Z",opacity:"0.2"},null,-1),t0=o("path",{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z"},null,-1),o0=[e0,t0],r0={key:2},i0=o("path",{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM180,92a16,16,0,1,1,16-16A16,16,0,0,1,180,92Z"},null,-1),n0=[i0],s0={key:3},c0=o("path",{d:"M215.15,40.85A78,78,0,0,0,86.2,121.31l-56.1,56.1a13.94,13.94,0,0,0-4.1,9.9V216a14,14,0,0,0,14,14H72a6,6,0,0,0,6-6V206H96a6,6,0,0,0,6-6V182h18a6,6,0,0,0,4.24-1.76l10.45-10.44A77.59,77.59,0,0,0,160,174h.1A78,78,0,0,0,215.15,40.85ZM226,98.16c-1.12,35.16-30.67,63.8-65.88,63.84a65.93,65.93,0,0,1-24.51-4.67,6,6,0,0,0-6.64,1.26L117.51,170H96a6,6,0,0,0-6,6v18H72a6,6,0,0,0-6,6v18H40a2,2,0,0,1-2-2V187.31a2,2,0,0,1,.58-1.41l58.83-58.83a6,6,0,0,0,1.26-6.64A65.61,65.61,0,0,1,94,95.92C94,60.71,122.68,31.16,157.83,30A66,66,0,0,1,226,98.16ZM190,76a10,10,0,1,1-10-10A10,10,0,0,1,190,76Z"},null,-1),u0=[c0],h0={key:4},d0=o("path",{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z"},null,-1),m0=[d0],v0={key:5},A0=o("path",{d:"M213.74,42.26A76,76,0,0,0,88.51,121.84l-57,57A11.93,11.93,0,0,0,28,187.31V216a12,12,0,0,0,12,12H72a4,4,0,0,0,4-4V204H96a4,4,0,0,0,4-4V180h20a4,4,0,0,0,2.83-1.17l11.33-11.34A75.72,75.72,0,0,0,160,172h.1A76,76,0,0,0,213.74,42.26Zm14.22,56c-1.15,36.22-31.6,65.72-67.87,65.77H160a67.52,67.52,0,0,1-25.21-4.83,4,4,0,0,0-4.45.83l-12,12H96a4,4,0,0,0-4,4v20H72a4,4,0,0,0-4,4v20H40a4,4,0,0,1-4-4V187.31a4.06,4.06,0,0,1,1.17-2.83L96,125.66a4,4,0,0,0,.83-4.45A67.51,67.51,0,0,1,92,95.91C92,59.64,121.55,29.19,157.77,28A68,68,0,0,1,228,98.23ZM188,76a8,8,0,1,1-8-8A8,8,0,0,1,188,76Z"},null,-1),p0=[A0],g0={name:"PhKey"},H0=g({...g0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),c=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),u=i(()=>{var a;return(a=r.size)!=null?a:c}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",U1,a0)):l.value==="duotone"?(e(),t("g",l0,o0)):l.value==="fill"?(e(),t("g",r0,n0)):l.value==="light"?(e(),t("g",s0,u0)):l.value==="regular"?(e(),t("g",h0,m0)):l.value==="thin"?(e(),t("g",v0,p0)):H("",!0)],16,Q1))}}),$0=["width","height","fill","transform"],L0={key:0},Z0=o("path",{d:"M232,156h-4V72a28,28,0,0,0-28-28H56A28,28,0,0,0,28,72v84H24a12,12,0,0,0-12,12v24a28,28,0,0,0,28,28H216a28,28,0,0,0,28-28V168A12,12,0,0,0,232,156ZM52,72a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4v84H52ZM220,192a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H220ZM156,96a12,12,0,0,1-12,12H112a12,12,0,0,1,0-24h32A12,12,0,0,1,156,96Z"},null,-1),V0=[Z0],M0={key:1},y0=o("path",{d:"M216,72V176H40V72A16,16,0,0,1,56,56H200A16,16,0,0,1,216,72Z",opacity:"0.2"},null,-1),w0=o("path",{d:"M232,168h-8V72a24,24,0,0,0-24-24H56A24,24,0,0,0,32,72v96H24a8,8,0,0,0-8,8v16a24,24,0,0,0,24,24H216a24,24,0,0,0,24-24V176A8,8,0,0,0,232,168ZM48,72a8,8,0,0,1,8-8H200a8,8,0,0,1,8,8v96H48ZM224,192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8v-8H224ZM152,88a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,88Z"},null,-1),f0=[y0,w0],C0={key:2},b0=o("path",{d:"M232,168h-8V72a24,24,0,0,0-24-24H56A24,24,0,0,0,32,72v96H24a8,8,0,0,0-8,8v16a24,24,0,0,0,24,24H216a24,24,0,0,0,24-24V176A8,8,0,0,0,232,168ZM112,72h32a8,8,0,0,1,0,16H112a8,8,0,0,1,0-16ZM224,192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8v-8H224Z"},null,-1),k0=[b0],z0={key:3},S0=o("path",{d:"M232,170H222V72a22,22,0,0,0-22-22H56A22,22,0,0,0,34,72v98H24a6,6,0,0,0-6,6v16a22,22,0,0,0,22,22H216a22,22,0,0,0,22-22V176A6,6,0,0,0,232,170ZM46,72A10,10,0,0,1,56,62H200a10,10,0,0,1,10,10v98H46ZM226,192a10,10,0,0,1-10,10H40a10,10,0,0,1-10-10V182H226ZM150,88a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h32A6,6,0,0,1,150,88Z"},null,-1),B0=[S0],_0={key:4},x0=o("path",{d:"M232,168h-8V72a24,24,0,0,0-24-24H56A24,24,0,0,0,32,72v96H24a8,8,0,0,0-8,8v16a24,24,0,0,0,24,24H216a24,24,0,0,0,24-24V176A8,8,0,0,0,232,168ZM48,72a8,8,0,0,1,8-8H200a8,8,0,0,1,8,8v96H48ZM224,192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8v-8H224ZM152,88a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,88Z"},null,-1),N0=[x0],P0={key:5},j0=o("path",{d:"M232,172H220V72a20,20,0,0,0-20-20H56A20,20,0,0,0,36,72V172H24a4,4,0,0,0-4,4v16a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V176A4,4,0,0,0,232,172ZM44,72A12,12,0,0,1,56,60H200a12,12,0,0,1,12,12V172H44ZM228,192a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V180H228ZM148,88a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h32A4,4,0,0,1,148,88Z"},null,-1),I0=[j0],E0={name:"PhLaptop"},D0=g({...E0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),c=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),u=i(()=>{var a;return(a=r.size)!=null?a:c}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",L0,V0)):l.value==="duotone"?(e(),t("g",M0,f0)):l.value==="fill"?(e(),t("g",C0,k0)):l.value==="light"?(e(),t("g",z0,B0)):l.value==="regular"?(e(),t("g",_0,N0)):l.value==="thin"?(e(),t("g",P0,I0)):H("",!0)],16,$0))}}),F0=["width","height","fill","transform"],G0={key:0},q0=o("path",{d:"M240.49,63.51a12,12,0,0,0-17,0L192,95,161,64l31.52-31.51a12,12,0,0,0-17-17L144,47,120.49,23.51a12,12,0,1,0-17,17L107,44,56.89,94.14a44,44,0,0,0,0,62.23l12.88,12.88L23.51,215.51a12,12,0,0,0,17,17l46.26-46.26,12.88,12.88a44,44,0,0,0,62.23,0L212,149l3.51,3.52a12,12,0,0,0,17-17L209,112l31.52-31.51A12,12,0,0,0,240.49,63.51Zm-95.6,118.63a20,20,0,0,1-28.29,0L73.86,139.4a20,20,0,0,1,0-28.29L124,61l71,71Z"},null,-1),W0=[q0],O0={key:1},R0=o("path",{d:"M212,132l-58.63,58.63a32,32,0,0,1-45.25,0L65.37,147.88a32,32,0,0,1,0-45.25L124,44Z",opacity:"0.2"},null,-1),K0=o("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"},null,-1),T0=[R0,K0],X0={key:2},J0=o("path",{d:"M237.66,77.66,203.31,112l26.35,26.34a8,8,0,0,1-11.32,11.32L212,143.31l-53,53a40,40,0,0,1-56.57,0L86.75,180.57,37.66,229.66a8,8,0,0,1-11.32-11.32l49.09-49.09L59.72,153.54a40,40,0,0,1,0-56.57l53-53-6.35-6.34a8,8,0,0,1,11.32-11.32L144,52.69l34.34-34.35a8,8,0,1,1,11.32,11.32L155.31,64,192,100.69l34.34-34.35a8,8,0,0,1,11.32,11.32Z"},null,-1),Q0=[J0],U0={key:3},Y0=o("path",{d:"M236.24,67.76a6,6,0,0,0-8.48,0L192,103.51,152.49,64l35.75-35.76a6,6,0,0,0-8.48-8.48L144,55.51,116.24,27.76a6,6,0,1,0-8.48,8.48L115.51,44,61.13,98.38a38,38,0,0,0,0,53.75l17.13,17.12-50.5,50.51a6,6,0,1,0,8.48,8.48l50.51-50.5,17.13,17.13a38,38,0,0,0,53.74,0L212,140.49l7.76,7.75a6,6,0,0,0,8.48-8.48L200.49,112l35.75-35.76A6,6,0,0,0,236.24,67.76ZM149.13,186.38a26,26,0,0,1-36.77,0L69.62,143.64a26,26,0,0,1,0-36.77L124,52.49,203.51,132Z"},null,-1),a2=[Y0],l2={key:4},e2=o("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"},null,-1),t2=[e2],o2={key:5},r2=o("path",{d:"M234.83,69.17a4,4,0,0,0-5.66,0L192,106.34,149.66,64l37.17-37.17a4,4,0,1,0-5.66-5.66L144,58.34,114.83,29.17a4,4,0,0,0-5.66,5.66L118.34,44,62.54,99.8a36.05,36.05,0,0,0,0,50.91l18.55,18.54L29.17,221.17a4,4,0,0,0,5.66,5.66l51.92-51.92,18.54,18.55a36.06,36.06,0,0,0,50.91,0l55.8-55.8,9.17,9.17a4,4,0,0,0,5.66-5.66L197.66,112l37.17-37.17A4,4,0,0,0,234.83,69.17ZM150.54,187.8a28,28,0,0,1-39.59,0L68.2,145.05a28,28,0,0,1,0-39.59L124,49.66,206.34,132Z"},null,-1),i2=[r2],n2={name:"PhPlug"},s2=g({...n2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const r=h,m=s("weight","regular"),c=s("size","1em"),A=s("color","currentColor"),v=s("mirrored",!1),l=i(()=>{var a;return(a=r.weight)!=null?a:m}),u=i(()=>{var a;return(a=r.size)!=null?a:c}),n=i(()=>{var a;return(a=r.color)!=null?a:A}),d=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,p)=>(e(),t("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:n.value,transform:d.value},a.$attrs),[$(a.$slots,"default"),l.value==="bold"?(e(),t("g",G0,W0)):l.value==="duotone"?(e(),t("g",O0,T0)):l.value==="fill"?(e(),t("g",X0,Q0)):l.value==="light"?(e(),t("g",U0,a2)):l.value==="regular"?(e(),t("g",l2,t2)):l.value==="thin"?(e(),t("g",o2,i2)):H("",!0)],16,F0))}}),j2=g({__name:"Project",setup(h){const m=C().params.projectId,{result:c}=f(()=>z.get(m).then(async n=>{const d=await k.get(n.organizationId);return{project:n,organization:d}})),A=i(()=>{var n,d,a,p;return((n=c.value)==null?void 0:n.organization)&&c.value.project?[{label:"My organizations",path:"/organizations"},{label:(a=(d=c.value)==null?void 0:d.organization)==null?void 0:a.name,path:`/organizations/${(p=c.value)==null?void 0:p.organization.id}`},{label:c.value.project.name,path:`/projects/${c.value.project.id}`}]:void 0}),v=i(()=>{var n;return(n=c.value)==null?void 0:n.organization.billingMetadata}),l=i(()=>{var n;return(n=c.value)==null?void 0:n.organization.id}),u=i(()=>{var n;return(n=c.value)!=null&&n.project?[{name:"Project",items:[{name:"Live",path:"live",icon:I},{name:"Builds",path:"builds",icon:j},{name:"Connectors",path:"connectors",icon:s2,unavailable:!c.value.organization.featureFlags.CONNECTORS_CONSOLE},{name:"Tables",path:"tables",icon:i1},{name:"API Keys",path:"api-keys",icon:H0},{name:"Env Vars",path:"env-vars",icon:N},{name:"Web Editor",path:"web-editor",icon:D0,unavailable:!c.value.organization.featureFlags.WEB_EDITOR},{name:"Files",path:"files",icon:b1},{name:"Logs",icon:x,path:"logs"},{name:"Settings",icon:J1,path:"settings"},{name:"Access Control",icon:P,path:"access-control"}]}]:[]});return(n,d)=>{const a=b("RouterView");return e(),M(w,null,{content:Z(()=>[V(_,null,{default:Z(()=>[v.value&&l.value?(e(),M(S,{key:0,"billing-metadata":v.value,"organization-id":l.value},null,8,["billing-metadata","organization-id"])):H("",!0),V(a)]),_:1})]),navbar:Z(()=>[V(y,{class:"nav",breadcrumb:A.value},null,8,["breadcrumb"])]),sidebar:Z(()=>[V(B,{class:"sidebar",sections:u.value},null,8,["sections"])]),_:1})}}});export{j2 as default}; +//# sourceMappingURL=Project.83f68038.js.map diff --git a/abstra_statics/dist/assets/ProjectLogin.e17f91c6.js b/abstra_statics/dist/assets/ProjectLogin.5bfea41a.js similarity index 55% rename from abstra_statics/dist/assets/ProjectLogin.e17f91c6.js rename to abstra_statics/dist/assets/ProjectLogin.5bfea41a.js index bd64e1b53a..a91d149577 100644 --- a/abstra_statics/dist/assets/ProjectLogin.e17f91c6.js +++ b/abstra_statics/dist/assets/ProjectLogin.5bfea41a.js @@ -1,2 +1,2 @@ -import{_ as f}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import{B as y}from"./BaseLayout.4967fc3d.js";import{d as p,D as m,K as b,$ as u,aZ as v,a_ as g,o as _,X as h,a as r,Y as s,ea as w,eo as S,W as k,c as L,w as n,b as i,u as $}from"./vue-router.33f35a18.js";import{u as x}from"./editor.c70395a0.js";import{b as B}from"./index.6db53852.js";import"./Logo.389f375b.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./asyncComputed.c677c545.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";import"./index.241ee38a.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7940bcc7-0bde-4060-ba77-ad6d91540557",e._sentryDebugIdIdentifier="sentry-dbid-7940bcc7-0bde-4060-ba77-ad6d91540557")}catch{}})();const I=p({props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#ea576a"},size:{type:String,default:"10px"},radius:{type:String,default:"100%"}},setup(e){const o=m({spinnerStyle:{width:e.size,height:e.size,borderRadius:e.radius,backgroundColor:e.color}});return{...b(o)}}});const D={class:"v-spinner"};function P(e,o,a,d,c,l){return v((_(),h("div",D,[r("div",{class:"v-beat v-beat-odd",style:s(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-even",style:s(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-odd",style:s(e.spinnerStyle)},null,4)],512)),[[g,e.loading]])}const K=u(I,[["render",P],["__scopeId","data-v-06538001"]]),R={class:"content"},j=p({__name:"ProjectLogin",setup(e){const o=w(),a=S(),d=x();function c(){const t=new URL(location.href);t.searchParams.delete("api-key"),a.replace(t.pathname+t.search)}function l(){const t=o.query["api-key"];if(typeof t=="string")return t}return k(async()=>{const t=l();if(!t){a.push({name:"error"});return}await d.createLogin(t).then(c),a.push({name:"workspace"})}),(t,z)=>(_(),L(y,null,{navbar:n(()=>[i($(B),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{title:n(()=>[i(f)]),_:1})]),content:n(()=>[r("div",R,[i(K)])]),_:1}))}});const Z=u(j,[["__scopeId","data-v-944edebb"]]);export{Z as default}; -//# sourceMappingURL=ProjectLogin.e17f91c6.js.map +import{_ as f}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import{B as y}from"./BaseLayout.577165c3.js";import{d as p,D as m,K as b,$ as u,aZ as v,a_ as g,o as _,X as h,a as r,Y as s,ea as w,eo as S,W as k,c as L,w as n,b as i,u as $}from"./vue-router.324eaed2.js";import{u as x}from"./editor.1b3b164b.js";import{b as B}from"./index.51467614.js";import"./Logo.bfb8cf31.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./asyncComputed.3916dfed.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";import"./index.7d758831.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c168a746-7c33-4d41-8036-726bd4bbacc4",e._sentryDebugIdIdentifier="sentry-dbid-c168a746-7c33-4d41-8036-726bd4bbacc4")}catch{}})();const I=p({props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#ea576a"},size:{type:String,default:"10px"},radius:{type:String,default:"100%"}},setup(e){const o=m({spinnerStyle:{width:e.size,height:e.size,borderRadius:e.radius,backgroundColor:e.color}});return{...b(o)}}});const D={class:"v-spinner"};function P(e,o,a,c,d,l){return v((_(),h("div",D,[r("div",{class:"v-beat v-beat-odd",style:s(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-even",style:s(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-odd",style:s(e.spinnerStyle)},null,4)],512)),[[g,e.loading]])}const K=u(I,[["render",P],["__scopeId","data-v-06538001"]]),R={class:"content"},j=p({__name:"ProjectLogin",setup(e){const o=w(),a=S(),c=x();function d(){const t=new URL(location.href);t.searchParams.delete("api-key"),a.replace(t.pathname+t.search)}function l(){const t=o.query["api-key"];if(typeof t=="string")return t}return k(async()=>{const t=l();if(!t){a.push({name:"error"});return}await c.createLogin(t).then(d),a.push({name:"workspace"})}),(t,z)=>(_(),L(y,null,{navbar:n(()=>[i($(B),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{title:n(()=>[i(f)]),_:1})]),content:n(()=>[r("div",R,[i(K)])]),_:1}))}});const Z=u(j,[["__scopeId","data-v-944edebb"]]);export{Z as default}; +//# sourceMappingURL=ProjectLogin.5bfea41a.js.map diff --git a/abstra_statics/dist/assets/ProjectSettings.a3766a88.js b/abstra_statics/dist/assets/ProjectSettings.66d29ed1.js similarity index 75% rename from abstra_statics/dist/assets/ProjectSettings.a3766a88.js rename to abstra_statics/dist/assets/ProjectSettings.66d29ed1.js index 6596896884..ebd6e73393 100644 --- a/abstra_statics/dist/assets/ProjectSettings.a3766a88.js +++ b/abstra_statics/dist/assets/ProjectSettings.66d29ed1.js @@ -1,2 +1,2 @@ -import{a as D}from"./asyncComputed.c677c545.js";import{b as t,ee as T,f5 as B,d as j,e as E,ej as F,f as p,o as y,c as x,w as l,u as n,aF as u,d9 as S,d7 as N,d8 as c,a as v,e9 as g,cv as V,dd as H,bH as R,aV as U,cu as $,ea as q,X as M,R as X}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{P as C}from"./project.0040997f.js";import"./tables.8d6766f6.js";import{S as z}from"./SaveButton.dae129ff.js";import{a as h}from"./router.cbdfe37b.js";import{A as G}from"./index.241ee38a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="1532d208-50f1-4f32-bc9b-b983aee221a9",r._sentryDebugIdIdentifier="sentry-dbid-1532d208-50f1-4f32-bc9b-b983aee221a9")}catch{}})();function _(r){for(var o=1;o{try{const{available:s}=await e.project.checkSubdomain();a.value=s?"available":"unavailable"}catch{a.value=void 0}},500);function d(){if(!e.project.hasChangesDeep("subdomain")){a.value=void 0;return}e.project.subdomain?(a.value="loading",i()):a.value="invalid"}const b=p(()=>a.value!=="available"||!e.project.hasChangesDeep("subdomain")),w=async()=>{await navigator.clipboard.writeText(e.project.getUrl())},A=p(()=>{switch(a.value){case"invalid":return"error";case"loading":return"validating";case"available":return"success";case"unavailable":return"error";default:return}}),k=p(()=>{switch(a.value){case"loading":return"Checking availability...";case"available":return"Available";case"unavailable":return"Unavailable";case"invalid":return"Invalid subdomain";default:return}}),O=()=>{const s=C.formatSubdomain(e.project.subdomain);o("change-subdomain",s),d()};function P(){e.project.resetChanges(),a.value=void 0}return(s,f)=>(y(),x(n(G),{direction:"vertical"},{default:l(()=>[t(n(S),{level:2},{default:l(()=>[u("Subdomain")]),_:1}),t(n(N),null,{default:l(()=>[u(" Every project in Abstra Cloud comes with a default subdomain, which will appear on all shared project links. ")]),_:1}),t(n(h),null,{default:l(()=>[t(n(c),null,{default:l(()=>[u("Forms available at:")]),_:1}),t(n(c),{code:""},{default:l(()=>[v("span",null,g(s.project.getUrl("[PATH]")),1)]),_:1})]),_:1}),t(n(h),null,{default:l(()=>[t(n(c),null,{default:l(()=>[u("Hooks available at:")]),_:1}),t(n(c),{code:""},{default:l(()=>[v("span",null,g(s.project.getUrl("_hooks/[PATH]")),1)]),_:1})]),_:1}),t(n($),null,{default:l(()=>[t(n(V),{"validate-status":A.value,help:k.value,"has-feedback":""},{default:l(()=>[t(n(H),{gap:"middle"},{default:l(()=>[t(n(R),{value:s.project.subdomain,type:"text",loading:a.value==="loading",onBlur:O,onChange:f[0]||(f[0]=I=>o("change-subdomain",I.target.value))},{addonBefore:l(()=>[u("https://")]),addonAfter:l(()=>[u(".abstra.app/")]),_:1},8,["value","loading"]),t(n(U),{placement:"top",title:"Copy"},{default:l(()=>[t(n(L),{color:"red",onClick:w})]),_:1})]),_:1})]),_:1},8,["validate-status","help"]),t(z,{model:s.project,disabled:b.value,onError:P},null,8,["model","disabled"])]),_:1})]),_:1}))}}),W={key:0,class:"project-settings"},de=j({__name:"ProjectSettings",setup(r){const e=q().params.projectId,{result:a}=D(()=>C.get(e)),i=d=>{a.value.subdomain=d};return(d,b)=>n(a)?(y(),M("div",W,[t(n(S),null,{default:l(()=>[u("Project Settings")]),_:1}),t(Q,{project:n(a),onChangeSubdomain:i},null,8,["project"])])):X("",!0)}});export{de as default}; -//# sourceMappingURL=ProjectSettings.a3766a88.js.map +import{a as D}from"./asyncComputed.3916dfed.js";import{b as t,ee as T,f5 as B,d as j,e as E,ej as F,f as p,o as y,c as x,w as l,u as n,aF as u,d9 as S,d7 as N,d8 as c,a as v,e9 as g,cv as V,dd as H,bH as R,aV as U,cu as $,ea as q,X as M,R as X}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{P as C}from"./project.a5f62f99.js";import"./tables.842b993f.js";import{S as z}from"./SaveButton.17e88f21.js";import{a as h}from"./router.0c18ec5d.js";import{A as G}from"./index.7d758831.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="7d00e855-b51e-482f-953e-7c524b5e0a7f",r._sentryDebugIdIdentifier="sentry-dbid-7d00e855-b51e-482f-953e-7c524b5e0a7f")}catch{}})();function _(r){for(var o=1;o{try{const{available:s}=await e.project.checkSubdomain();a.value=s?"available":"unavailable"}catch{a.value=void 0}},500);function d(){if(!e.project.hasChangesDeep("subdomain")){a.value=void 0;return}e.project.subdomain?(a.value="loading",i()):a.value="invalid"}const f=p(()=>a.value!=="available"||!e.project.hasChangesDeep("subdomain")),w=async()=>{await navigator.clipboard.writeText(e.project.getUrl())},A=p(()=>{switch(a.value){case"invalid":return"error";case"loading":return"validating";case"available":return"success";case"unavailable":return"error";default:return}}),k=p(()=>{switch(a.value){case"loading":return"Checking availability...";case"available":return"Available";case"unavailable":return"Unavailable";case"invalid":return"Invalid subdomain";default:return}}),O=()=>{const s=C.formatSubdomain(e.project.subdomain);o("change-subdomain",s),d()};function P(){e.project.resetChanges(),a.value=void 0}return(s,b)=>(y(),x(n(G),{direction:"vertical"},{default:l(()=>[t(n(S),{level:2},{default:l(()=>[u("Subdomain")]),_:1}),t(n(N),null,{default:l(()=>[u(" Every project in Abstra Cloud comes with a default subdomain, which will appear on all shared project links. ")]),_:1}),t(n(h),null,{default:l(()=>[t(n(c),null,{default:l(()=>[u("Forms available at:")]),_:1}),t(n(c),{code:""},{default:l(()=>[v("span",null,g(s.project.getUrl("[PATH]")),1)]),_:1})]),_:1}),t(n(h),null,{default:l(()=>[t(n(c),null,{default:l(()=>[u("Hooks available at:")]),_:1}),t(n(c),{code:""},{default:l(()=>[v("span",null,g(s.project.getUrl("_hooks/[PATH]")),1)]),_:1})]),_:1}),t(n($),null,{default:l(()=>[t(n(V),{"validate-status":A.value,help:k.value,"has-feedback":""},{default:l(()=>[t(n(H),{gap:"middle"},{default:l(()=>[t(n(R),{value:s.project.subdomain,type:"text",loading:a.value==="loading",onBlur:O,onChange:b[0]||(b[0]=I=>o("change-subdomain",I.target.value))},{addonBefore:l(()=>[u("https://")]),addonAfter:l(()=>[u(".abstra.app/")]),_:1},8,["value","loading"]),t(n(U),{placement:"top",title:"Copy"},{default:l(()=>[t(n(L),{color:"red",onClick:w})]),_:1})]),_:1})]),_:1},8,["validate-status","help"]),t(z,{model:s.project,disabled:f.value,onError:P},null,8,["model","disabled"])]),_:1})]),_:1}))}}),W={key:0,class:"project-settings"},de=j({__name:"ProjectSettings",setup(r){const e=q().params.projectId,{result:a}=D(()=>C.get(e)),i=d=>{a.value.subdomain=d};return(d,f)=>n(a)?(y(),M("div",W,[t(n(S),null,{default:l(()=>[u("Project Settings")]),_:1}),t(Q,{project:n(a),onChangeSubdomain:i},null,8,["project"])])):X("",!0)}});export{de as default}; +//# sourceMappingURL=ProjectSettings.66d29ed1.js.map diff --git a/abstra_statics/dist/assets/Projects.1ceb3a6f.js b/abstra_statics/dist/assets/Projects.1ceb3a6f.js new file mode 100644 index 0000000000..ae289f8e01 --- /dev/null +++ b/abstra_statics/dist/assets/Projects.1ceb3a6f.js @@ -0,0 +1,2 @@ +import{d as h,ea as z,eo as D,e as F,f as x,o as u,X as E,u as r,c as w,R as v,b as p,w as f,aR as O,cv as $,bH as A,cu as B,cH as G,ep as M,cI as S}from"./vue-router.324eaed2.js";import{a as T}from"./asyncComputed.3916dfed.js";import{a as U}from"./ant-design.48401d91.js";import"./gateway.edd4374b.js";import{O as V}from"./organization.0ae7dfed.js";import{P as g}from"./project.a5f62f99.js";import"./tables.842b993f.js";import{C as H}from"./CrudView.0b1b90a7.js";import{F as J}from"./PhArrowSquareOut.vue.2a1b339b.js";import{I as L}from"./PhCopy.vue.b2238e41.js";import{G as X}from"./PhPencil.vue.91f72c2e.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./router.0c18ec5d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[l]="54d1c4df-d8f0-48e0-8fae-804ee257bcee",c._sentryDebugIdIdentifier="sentry-dbid-54d1c4df-d8f0-48e0-8fae-804ee257bcee")}catch{}})();const ge=h({__name:"Projects",setup(c){const l=[{key:"name",label:"Project Name"}],m=z().params.organizationId,k=D(),{loading:P,result:i,refetch:y}=T(()=>Promise.all([g.list(m),V.get(m)]).then(([t,e])=>({projects:t,organization:e}))),d=({key:t})=>k.push({name:"project",params:{projectId:t}}),C=async t=>{const e=await g.create({organizationId:m,name:t.name});d({key:e.id})},I=async({key:t})=>{var a,o;if(await U("Are you sure you want to delete this project?"))try{await((o=(a=i.value)==null?void 0:a.projects.find(s=>s.id===t))==null?void 0:o.delete())}catch(s){S.error({message:"Error deleting project",description:String(s)})}finally{await y()}},N=async({key:t})=>{var a;const e=(a=i.value)==null?void 0:a.projects.find(o=>o.id===t);if(e){const o=await e.duplicate();d({key:o.id})}},n=F({state:"idle"});function R(t){n.value={state:"renaming",projectId:t.id,newName:t.name}}async function j(t){if(n.value.state==="renaming"&&t){const{projectId:e,newName:a}=n.value;await g.rename(e,a),y()}n.value={state:"idle"}}const _=x(()=>{var t,e;return{columns:[{name:"Project Name",align:"left"},{name:"",align:"right"}],rows:(e=(t=i.value)==null?void 0:t.projects.map(a=>{var o,s;return{key:a.id,cells:[{type:"link",text:a.name,to:`/projects/${encodeURIComponent(a.id)}`},{type:"actions",actions:[{icon:J,label:"Go to project",onClick:d},{icon:X,label:"Rename project",onClick:()=>R(a)},...(s=(o=i.value)==null?void 0:o.organization)!=null&&s.featureFlags.DUPLICATE_PROJECTS?[{icon:L,label:"Duplicate",onClick:N}]:[],{icon:M,label:"Delete",onClick:I,dangerous:!0}]}]}}))!=null?e:[]}});return(t,e)=>(u(),E(O,null,[r(i)?(u(),w(H,{key:0,"entity-name":"project",loading:r(P),title:`${r(i).organization.name}'s Projects`,description:"Organize your team\u2019s work into different Projects, each with it\u2019s own environment settings and authorized users.","create-button-text":"Create Project","empty-title":"No projects here yet",table:_.value,fields:l,create:C},null,8,["loading","title","table"])):v("",!0),p(r(G),{open:n.value.state==="renaming",title:"Rename organization",onCancel:e[1]||(e[1]=a=>j(!1)),onOk:e[2]||(e[2]=a=>j(!0))},{default:f(()=>[n.value.state==="renaming"?(u(),w(r(B),{key:0,layout:"vertical"},{default:f(()=>[p(r($),{label:"New name"},{default:f(()=>[p(r(A),{value:n.value.newName,"onUpdate:value":e[0]||(e[0]=a=>n.value.newName=a)},null,8,["value"])]),_:1})]),_:1})):v("",!0)]),_:1},8,["open"])],64))}});export{ge as default}; +//# sourceMappingURL=Projects.1ceb3a6f.js.map diff --git a/abstra_statics/dist/assets/Projects.8eff7fab.js b/abstra_statics/dist/assets/Projects.8eff7fab.js deleted file mode 100644 index 92fed39fd4..0000000000 --- a/abstra_statics/dist/assets/Projects.8eff7fab.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as h,ea as z,eo as D,e as F,f as x,o as d,X as E,u as r,c as w,R as b,b as p,w as f,aR as O,cv as $,bH as A,cu as B,cH as G,ep as M,cI as S}from"./vue-router.33f35a18.js";import{a as T}from"./asyncComputed.c677c545.js";import{a as U}from"./ant-design.51753590.js";import"./gateway.a5388860.js";import{O as V}from"./organization.efcc2606.js";import{P as g}from"./project.0040997f.js";import"./tables.8d6766f6.js";import{C as H}from"./CrudView.3c2a3663.js";import{F as J}from"./PhArrowSquareOut.vue.03bd374b.js";import{I as L}from"./PhCopy.vue.edaabc1e.js";import{G as X}from"./PhPencil.vue.2def7849.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./router.cbdfe37b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[c]="6f4c6729-a889-47ea-b3f9-e866304ef9db",l._sentryDebugIdIdentifier="sentry-dbid-6f4c6729-a889-47ea-b3f9-e866304ef9db")}catch{}})();const ge=h({__name:"Projects",setup(l){const c=[{key:"name",label:"Project Name"}],m=z().params.organizationId,k=D(),{loading:P,result:i,refetch:y}=T(()=>Promise.all([g.list(m),V.get(m)]).then(([t,e])=>({projects:t,organization:e}))),u=({key:t})=>k.push({name:"project",params:{projectId:t}}),C=async t=>{const e=await g.create({organizationId:m,name:t.name});u({key:e.id})},I=async({key:t})=>{var a,o;if(await U("Are you sure you want to delete this project?"))try{await((o=(a=i.value)==null?void 0:a.projects.find(s=>s.id===t))==null?void 0:o.delete())}catch(s){S.error({message:"Error deleting project",description:String(s)})}finally{await y()}},N=async({key:t})=>{var a;const e=(a=i.value)==null?void 0:a.projects.find(o=>o.id===t);if(e){const o=await e.duplicate();u({key:o.id})}},n=F({state:"idle"});function R(t){n.value={state:"renaming",projectId:t.id,newName:t.name}}async function j(t){if(n.value.state==="renaming"&&t){const{projectId:e,newName:a}=n.value;await g.rename(e,a),y()}n.value={state:"idle"}}const _=x(()=>{var t,e;return{columns:[{name:"Project Name",align:"left"},{name:"",align:"right"}],rows:(e=(t=i.value)==null?void 0:t.projects.map(a=>{var o,s;return{key:a.id,cells:[{type:"link",text:a.name,to:`/projects/${encodeURIComponent(a.id)}`},{type:"actions",actions:[{icon:J,label:"Go to project",onClick:u},{icon:X,label:"Rename project",onClick:()=>R(a)},...(s=(o=i.value)==null?void 0:o.organization)!=null&&s.featureFlags.DUPLICATE_PROJECTS?[{icon:L,label:"Duplicate",onClick:N}]:[],{icon:M,label:"Delete",onClick:I,dangerous:!0}]}]}}))!=null?e:[]}});return(t,e)=>(d(),E(O,null,[r(i)?(d(),w(H,{key:0,"entity-name":"project",loading:r(P),title:`${r(i).organization.name}'s Projects`,description:"Organize your team\u2019s work into different Projects, each with it\u2019s own environment settings and authorized users.","create-button-text":"Create Project","empty-title":"No projects here yet",table:_.value,fields:c,create:C},null,8,["loading","title","table"])):b("",!0),p(r(G),{open:n.value.state==="renaming",title:"Rename organization",onCancel:e[1]||(e[1]=a=>j(!1)),onOk:e[2]||(e[2]=a=>j(!0))},{default:f(()=>[n.value.state==="renaming"?(d(),w(r(B),{key:0,layout:"vertical"},{default:f(()=>[p(r($),{label:"New name"},{default:f(()=>[p(r(A),{value:n.value.newName,"onUpdate:value":e[0]||(e[0]=a=>n.value.newName=a)},null,8,["value"])]),_:1})]),_:1})):b("",!0)]),_:1},8,["open"])],64))}});export{ge as default}; -//# sourceMappingURL=Projects.8eff7fab.js.map diff --git a/abstra_statics/dist/assets/RequirementsEditor.6f97ee91.js b/abstra_statics/dist/assets/RequirementsEditor.47afc6fd.js similarity index 94% rename from abstra_statics/dist/assets/RequirementsEditor.6f97ee91.js rename to abstra_statics/dist/assets/RequirementsEditor.47afc6fd.js index 2c26372a29..8a63a4badf 100644 --- a/abstra_statics/dist/assets/RequirementsEditor.6f97ee91.js +++ b/abstra_statics/dist/assets/RequirementsEditor.47afc6fd.js @@ -1,2 +1,2 @@ -var ae=Object.defineProperty;var le=(n,e,i)=>e in n?ae(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i;var F=(n,e,i)=>(le(n,typeof e!="symbol"?e+"":e,i),i);import{C as ne}from"./ContentLayout.d691ad7a.js";import{C as re}from"./CrudView.3c2a3663.js";import{a as oe}from"./asyncComputed.c677c545.js";import{d as K,B as Z,f as q,o as l,X as f,Z as de,R,e8 as ce,a as C,W as ue,ag as me,D as $,e as B,c as b,w as a,b as d,u as s,dd as k,eR as H,d8 as x,aF as m,e9 as z,bP as I,d9 as pe,d7 as ge,aR as O,eb as D,bx as U,ez as W,eA as G,cH as ye,ep as J}from"./vue-router.33f35a18.js";import{u as fe}from"./polling.3587342a.js";import"./editor.c70395a0.js";import{E as he}from"./record.075b7d45.js";import{W as be}from"./workspaces.91ed8c72.js";import"./router.cbdfe37b.js";import"./gateway.a5388860.js";import"./popupNotifcation.7fc1aee0.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./workspaceStore.be837912.js";import"./colorHelpers.aaea81c6.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="4c9ef0a8-d03e-432b-a466-27b3ddecbb8c",n._sentryDebugIdIdentifier="sentry-dbid-4c9ef0a8-d03e-432b-a466-27b3ddecbb8c")}catch{}})();const _e=["width","height","fill","transform"],we={key:0},ve=C("path",{d:"M120,137,48,201A12,12,0,1,1,32,183l61.91-55L32,73A12,12,0,1,1,48,55l72,64A12,12,0,0,1,120,137Zm96,43H120a12,12,0,0,0,0,24h96a12,12,0,0,0,0-24Z"},null,-1),ke=[ve],xe={key:1},Re=C("path",{d:"M216,80V192H40V64H200A16,16,0,0,1,216,80Z",opacity:"0.2"},null,-1),Ae=C("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),Ce=[Re,Ae],Te={key:2},Ee=C("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM77.66,173.66a8,8,0,0,1-11.32-11.32L100.69,128,66.34,93.66A8,8,0,0,1,77.66,82.34l40,40a8,8,0,0,1,0,11.32ZM192,176H128a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"},null,-1),Se=[Ee],Ve={key:3},qe=C("path",{d:"M116,132.48l-72,64a6,6,0,0,1-8-9L103,128,36,68.49a6,6,0,0,1,8-9l72,64a6,6,0,0,1,0,9ZM216,186H120a6,6,0,0,0,0,12h96a6,6,0,0,0,0-12Z"},null,-1),Me=[qe],Ze={key:4},ze=C("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),Le=[ze],Ne={key:5},Pe=C("path",{d:"M116,128a4,4,0,0,1-1.34,3l-72,64a4,4,0,1,1-5.32-6L106,128,37.34,67a4,4,0,0,1,5.32-6l72,64A4,4,0,0,1,116,128Zm100,60H120a4,4,0,0,0,0,8h96a4,4,0,0,0,0-8Z"},null,-1),je=[Pe],Fe={name:"PhTerminal"},$e=K({...Fe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(n){const e=n,i=Z("weight","regular"),r=Z("size","1em"),_=Z("color","currentColor"),w=Z("mirrored",!1),c=q(()=>{var u;return(u=e.weight)!=null?u:i}),p=q(()=>{var u;return(u=e.size)!=null?u:r}),v=q(()=>{var u;return(u=e.color)!=null?u:_}),M=q(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:w?"scale(-1, 1)":void 0);return(u,N)=>(l(),f("svg",ce({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:v.value,transform:M.value},u.$attrs),[de(u.$slots,"default"),c.value==="bold"?(l(),f("g",we,ke)):c.value==="duotone"?(l(),f("g",xe,Ce)):c.value==="fill"?(l(),f("g",Te,Se)):c.value==="light"?(l(),f("g",Ve,Me)):c.value==="regular"?(l(),f("g",Ze,Le)):c.value==="thin"?(l(),f("g",Ne,je)):R("",!0)],16,_e))}}),X="__ABSTRA_STREAM_ERROR__";class Be{async list(){return(await fetch("/_editor/api/requirements")).json()}async recommendations(){return(await fetch("/_editor/api/requirements/recommendations")).json()}async update(e,i){if(!(await fetch(`/_editor/api/requirements/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})).ok)throw new Error("Failed to update requirements")}async create(e){const i=await fetch("/_editor/api/requirements",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!i.ok)throw new Error("Failed to create requirements");return i.json()}async delete(e){if(!(await fetch(`/_editor/api/requirements/${e}`,{method:"DELETE"})).ok)throw new Error("Failed to delete requirements")}async*install(e,i){var w;const _=(w=(await fetch("/_editor/api/requirements/install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,version:i})})).body)==null?void 0:w.getReader();if(!_)throw new Error("No response body");for(;;){const c=await _.read();if(c.done)break;const p=new TextDecoder().decode(c.value);if(p===X)throw new Error("Failed to install requirements");yield p}}async*uninstall(e){var _;const r=(_=(await fetch(`/_editor/api/requirements/${e}/uninstall`,{method:"POST",headers:{"Content-Type":"application/json"}})).body)==null?void 0:_.getReader();if(!r)throw new Error("No response body");for(;;){const w=await r.read();if(w.done)break;const c=new TextDecoder().decode(w.value);if(c===X)throw new Error("Failed to uninstall requirements");yield c}}}const T=new Be;class A{constructor(e){F(this,"record");this.record=he.from(e)}static async list(){return(await T.list()).map(i=>new A(i))}static async create(e,i){const r=await T.create({name:e,version:i||null});return new A(r)}get name(){return this.record.get("name")}set name(e){this.record.set("name",e)}get version(){var e;return(e=this.record.get("version"))!=null?e:null}set version(e){this.record.set("version",e)}get installedVersion(){var e;return(e=this.record.get("installed_version"))!=null?e:null}async delete(){await T.delete(this.name)}static async recommendations(){return T.recommendations()}async install(e){var i;for await(const r of T.install(this.name,(i=this.version)!=null?i:null))e(r)}async uninstall(e){for await(const i of T.uninstall(this.name))e(i)}}const He=n=>["__future__","__main__","_thread","abc","aifc","argparse","array","ast","asynchat","asyncio","asyncore","atexit","audioop","base64","bdb","binascii","binhex","bisect","builtins","bz2","calendar","cgi","cgitb","chunk","cmath","cmd","code","codecs","codeop","collections","collections.abc","colorsys","compileall","concurrent","concurrent.futures","configparser","contextlib","contextvars","copy","copyreg","cProfile","crypt","csv","ctypes","curses","curses.ascii","curses.panel","curses.textpad","dataclasses","datetime","dbm","dbm.dumb","dbm.gnu","dbm.ndbm","decimal","difflib","dis","distutils","distutils.archive_util","distutils.bcppcompiler","distutils.ccompiler","distutils.cmd","distutils.command","distutils.command.bdist","distutils.command.bdist_dumb","distutils.command.bdist_msi","distutils.command.bdist_packager","distutils.command.bdist_rpm","distutils.command.build","distutils.command.build_clib","distutils.command.build_ext","distutils.command.build_py","distutils.command.build_scripts","distutils.command.check","distutils.command.clean","distutils.command.config","distutils.command.install","distutils.command.install_data","distutils.command.install_headers","distutils.command.install_lib","distutils.command.install_scripts","distutils.command.register","distutils.command.sdist","distutils.core","distutils.cygwinccompiler","distutils.debug","distutils.dep_util","distutils.dir_util","distutils.dist","distutils.errors","distutils.extension","distutils.fancy_getopt","distutils.file_util","distutils.filelist","distutils.log","distutils.msvccompiler","distutils.spawn","distutils.sysconfig","distutils.text_file","distutils.unixccompiler","distutils.util","distutils.version","doctest","email","email.charset","email.contentmanager","email.encoders","email.errors","email.generator","email.header","email.headerregistry","email.iterators","email.message","email.mime","email.parser","email.policy","email.utils","encodings","encodings.idna","encodings.mbcs","encodings.utf_8_sig","ensurepip","enum","errno","faulthandler","fcntl","filecmp","fileinput","fnmatch","fractions","ftplib","functools","gc","getopt","getpass","gettext","glob","graphlib","grp","gzip","hashlib","heapq","hmac","html","html.entities","html.parser","http","http.client","http.cookiejar","http.cookies","http.server","idlelib","imaplib","imghdr","imp","importlib","importlib.abc","importlib.machinery","importlib.metadata","importlib.resources","importlib.util","inspect","io","ipaddress","itertools","json","json.tool","keyword","lib2to3","linecache","locale","logging","logging.config","logging.handlers","lzma","mailbox","mailcap","marshal","math","mimetypes","mmap","modulefinder","msilib","msvcrt","multiprocessing","multiprocessing.connection","multiprocessing.dummy","multiprocessing.managers","multiprocessing.pool","multiprocessing.shared_memory","multiprocessing.sharedctypes","netrc","nis","nntplib","numbers","operator","optparse","os","os.path","ossaudiodev","pathlib","pdb","pickle","pickletools","pipes","pkgutil","platform","plistlib","poplib","posix","pprint","profile","pstats","pty","pwd","py_compile","pyclbr","pydoc","queue","quopri","random","re","readline","reprlib","resource","rlcompleter","runpy","sched","secrets","select","selectors","shelve","shlex","shutil","signal","site","smtpd","smtplib","sndhdr","socket","socketserver","spwd","sqlite3","ssl","stat","statistics","string","stringprep","struct","subprocess","sunau","symtable","sys","sysconfig","syslog","tabnanny","tarfile","telnetlib","tempfile","termios","test","test.support","test.support.bytecode_helper","test.support.import_helper","test.support.os_helper","test.support.script_helper","test.support.socket_helper","test.support.threading_helper","test.support.warnings_helper","textwrap","threading","time","timeit","tkinter","tkinter.colorchooser","tkinter.commondialog","tkinter.dnd","tkinter.filedialog","tkinter.font","tkinter.messagebox","tkinter.scrolledtext","tkinter.simpledialog","tkinter.tix","tkinter.ttk","token","tokenize","trace","traceback","tracemalloc","tty","turtle","turtledemo","types","typing","unicodedata","unittest","unittest.mock","urllib","urllib.error","urllib.parse","urllib.request","urllib.response","urllib.robotparser","uu","uuid","venv","warnings","wave","weakref","webbrowser","winreg","winsound","wsgiref","wsgiref.handlers","wsgiref.headers","wsgiref.simple_server","wsgiref.util","wsgiref.validate","xdrlib","xml","xml.dom","xml.dom.minidom","xml.dom.pulldom","xml.etree.ElementTree","xml.parsers.expat","xml.parsers.expat.errors","xml.parsers.expat.model","xml.sax","xml.sax.handler","xml.sax.saxutils","xml.sax.xmlreader","xmlrpc","xmlrpc.client","xmlrpc.server","zipapp","zipfile","zipimport","zlib","zoneinfo"].includes(n),Ie=n=>/^(\d+!)?(\d+)(\.\d+)+([\\.\-\\_])?((a(lpha)?|b(eta)?|c|r(c|ev)?|pre(view)?)\d*)?(\.?(post|dev)\d*)?$/.test(n),Oe={key:2},De={key:0,class:"logs-output"},Ue=["textContent"],pt=K({__name:"RequirementsEditor",setup(n){const{loading:e,result:i,refetch:r}=oe(()=>Promise.all([A.list(),A.recommendations()]).then(([t,o])=>({requirements:t,recommendations:o}))),{startPolling:_,endPolling:w}=fe({task:r,interval:2e3});ue(()=>_()),me(()=>w());function c(){be.openFile("requirements.txt")}const p=$({}),v=$(new Set);function M(t){return o=>{p[t.name]?p[t.name]=[...p[t.name],o]:p[t.name]=[o]}}function u(t){p[t.name]=[]}async function N(t){u(t),h.value="installing",L(t),v.add(t.name);try{await t.install(M(t)),h.value="install-success"}catch{h.value="install-error"}finally{v.delete(t.name),await r()}}const h=B("idle"),E=B(null);function L(t){E.value=t.name}async function Q(t){v.add(t.name);try{await t.delete()}finally{v.delete(t.name),await r()}}async function Y(t){u(t),h.value="uninstalling",L(t),v.add(t.name);try{await t.uninstall(M(t)),h.value="uninstall-success"}catch{h.value="uninstall-error"}finally{v.delete(t.name),await r()}}async function ee(t,o){await A.create(t,o).then(r),r()}const te=[{label:"Name",key:"name",hint:t=>He(t)?"This requirement is built-in should not be installed":void 0},{label:"Required version",key:"version",placeholder:"latest",hint:t=>!t||Ie(t)?void 0:"Invalid version"}];async function se({name:t,version:o}){await A.create(t,o),r()}const ie=q(()=>{var t,o;return{columns:[{name:"Name"},{name:"Version"},{name:"Installed"},{name:"",align:"right"}],rows:(o=(t=i.value)==null?void 0:t.requirements.map(g=>{var S,V;return{key:g.name,cells:[{type:"text",text:g.name},{type:"text",text:(S=g.version)!=null?S:" - "},{type:"slot",key:"status",payload:g},{type:"actions",actions:[{icon:$e,label:"Logs",onClick:()=>L(g),hide:!((V=p[g.name])!=null&&V.length)},g.installedVersion?{icon:J,label:"Uninstall",onClick:()=>Y(g),dangerous:!0}:{icon:H,label:"Install",onClick:()=>N(g)},{icon:J,label:"Remove requirement",onClick:()=>Q(g),dangerous:!0}]}]}}))!=null?o:[]}});return(t,o)=>(l(),b(ne,null,{default:a(()=>{var g,S,V;return[d(re,{"entity-name":"Requirements",loading:s(e),title:"Requirements",description:"Specify pip requirements for your project. This will create and update your requirements.txt file.","empty-title":"No python requirements set",table:ie.value,"create-button-text":"Add requirement",fields:te,live:"",create:se},{status:a(({payload:y})=>[d(s(k),{gap:"small",align:"center",justify:"center"},{default:a(()=>[y.installedVersion?(l(),b(s(H),{key:0})):R("",!0),y.installedVersion?(l(),b(s(x),{key:1,type:"secondary"},{default:a(()=>[m(z(y.installedVersion),1)]),_:2},1024)):(l(),b(s(x),{key:2,type:"secondary"},{default:a(()=>[m(" Not installed ")]),_:1}))]),_:2},1024)]),secondary:a(()=>[d(s(I),{onClick:o[0]||(o[0]=y=>c())},{default:a(()=>[m("Open requirements.txt")]),_:1})]),_:1},8,["loading","table"]),(g=s(i))!=null&&g.recommendations.length?(l(),b(s(pe),{key:0},{default:a(()=>[m(" Suggested requirements ")]),_:1})):R("",!0),(S=s(i))!=null&&S.recommendations.length?(l(),b(s(ge),{key:1},{default:a(()=>[m(" The following requirements are being utilized by your code but are not listed in your requirements.txt. ")]),_:1})):R("",!0),(V=s(i))!=null&&V.recommendations.length?(l(),f("ul",Oe,[(l(!0),f(O,null,D(s(i).recommendations,y=>(l(),f("li",{key:y.name},[m(z(y.name)+" ("+z(y.version)+") ",1),d(s(I),{onClick:P=>{var j;return ee(y.name,(j=y.version)!=null?j:void 0)}},{default:a(()=>[m(" Add to requirements ")]),_:2},1032,["onClick"])]))),128))])):R("",!0),d(s(ye),{open:!!E.value,onCancel:o[1]||(o[1]=y=>E.value=null)},{footer:a(()=>[]),title:a(()=>[m("Logs")]),default:a(()=>[d(s(k),{vertical:"",gap:"small"},{default:a(()=>[E.value?(l(),f("div",De,[(l(!0),f(O,null,D(p[E.value],(y,P)=>(l(),f("pre",{key:P,textContent:z(y)},null,8,Ue))),128))])):R("",!0),h.value==="installing"?(l(),b(s(k),{key:1,gap:"small",align:"center"},{default:a(()=>[d(s(U)),d(s(x),{type:"secondary"},{default:a(()=>[m("Installing requirement...")]),_:1})]),_:1})):h.value==="uninstalling"?(l(),b(s(k),{key:2,gap:"small",align:"center"},{default:a(()=>[d(s(U)),d(s(x),{type:"secondary"},{default:a(()=>[m("Uninstalling requirement...")]),_:1})]),_:1})):h.value==="install-success"?(l(),b(s(k),{key:3,gap:"small",align:"center"},{default:a(()=>[d(s(W)),d(s(x),{type:"success"},{default:a(()=>[m("Requirement installed successfully")]),_:1})]),_:1})):h.value==="install-error"?(l(),b(s(k),{key:4,gap:"small",align:"center"},{default:a(()=>[d(s(G)),d(s(x),{type:"danger"},{default:a(()=>[m("Requirement installation failed")]),_:1})]),_:1})):h.value==="uninstall-success"?(l(),b(s(k),{key:5,gap:"small",align:"center"},{default:a(()=>[d(s(W)),d(s(x),{type:"success"},{default:a(()=>[m("Requirement uninstalled successfully")]),_:1})]),_:1})):h.value==="uninstall-error"?(l(),b(s(k),{key:6,gap:"small",align:"center"},{default:a(()=>[d(s(G)),d(s(x),{type:"danger"},{default:a(()=>[m("Requirement uninstallation failed")]),_:1})]),_:1})):R("",!0)]),_:1})]),_:1},8,["open"])]}),_:1}))}});export{pt as default}; -//# sourceMappingURL=RequirementsEditor.6f97ee91.js.map +var ae=Object.defineProperty;var le=(n,e,i)=>e in n?ae(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i;var F=(n,e,i)=>(le(n,typeof e!="symbol"?e+"":e,i),i);import{C as ne}from"./ContentLayout.5465dc16.js";import{C as re}from"./CrudView.0b1b90a7.js";import{a as oe}from"./asyncComputed.3916dfed.js";import{d as K,B as Z,f as q,o as l,X as f,Z as de,R,e8 as ce,a as C,W as ue,ag as me,D as $,e as B,c as b,w as a,b as d,u as s,dd as k,eR as H,d8 as x,aF as m,e9 as z,bP as I,d9 as pe,d7 as ge,aR as O,eb as D,bx as U,ez as W,eA as G,cH as ye,ep as J}from"./vue-router.324eaed2.js";import{u as fe}from"./polling.72e5a2f8.js";import"./editor.1b3b164b.js";import{E as he}from"./record.cff1707c.js";import{W as be}from"./workspaces.a34621fe.js";import"./router.0c18ec5d.js";import"./gateway.edd4374b.js";import"./popupNotifcation.5a82bc93.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./workspaceStore.5977d9e8.js";import"./colorHelpers.78fae216.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="007c8eae-78dd-4003-8065-13d557854ed9",n._sentryDebugIdIdentifier="sentry-dbid-007c8eae-78dd-4003-8065-13d557854ed9")}catch{}})();const _e=["width","height","fill","transform"],we={key:0},ve=C("path",{d:"M120,137,48,201A12,12,0,1,1,32,183l61.91-55L32,73A12,12,0,1,1,48,55l72,64A12,12,0,0,1,120,137Zm96,43H120a12,12,0,0,0,0,24h96a12,12,0,0,0,0-24Z"},null,-1),ke=[ve],xe={key:1},Re=C("path",{d:"M216,80V192H40V64H200A16,16,0,0,1,216,80Z",opacity:"0.2"},null,-1),Ae=C("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),Ce=[Re,Ae],Te={key:2},Ee=C("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM77.66,173.66a8,8,0,0,1-11.32-11.32L100.69,128,66.34,93.66A8,8,0,0,1,77.66,82.34l40,40a8,8,0,0,1,0,11.32ZM192,176H128a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"},null,-1),Se=[Ee],Ve={key:3},qe=C("path",{d:"M116,132.48l-72,64a6,6,0,0,1-8-9L103,128,36,68.49a6,6,0,0,1,8-9l72,64a6,6,0,0,1,0,9ZM216,186H120a6,6,0,0,0,0,12h96a6,6,0,0,0,0-12Z"},null,-1),Me=[qe],Ze={key:4},ze=C("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),Le=[ze],Ne={key:5},Pe=C("path",{d:"M116,128a4,4,0,0,1-1.34,3l-72,64a4,4,0,1,1-5.32-6L106,128,37.34,67a4,4,0,0,1,5.32-6l72,64A4,4,0,0,1,116,128Zm100,60H120a4,4,0,0,0,0,8h96a4,4,0,0,0,0-8Z"},null,-1),je=[Pe],Fe={name:"PhTerminal"},$e=K({...Fe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(n){const e=n,i=Z("weight","regular"),r=Z("size","1em"),_=Z("color","currentColor"),w=Z("mirrored",!1),c=q(()=>{var u;return(u=e.weight)!=null?u:i}),p=q(()=>{var u;return(u=e.size)!=null?u:r}),v=q(()=>{var u;return(u=e.color)!=null?u:_}),M=q(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:w?"scale(-1, 1)":void 0);return(u,N)=>(l(),f("svg",ce({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:v.value,transform:M.value},u.$attrs),[de(u.$slots,"default"),c.value==="bold"?(l(),f("g",we,ke)):c.value==="duotone"?(l(),f("g",xe,Ce)):c.value==="fill"?(l(),f("g",Te,Se)):c.value==="light"?(l(),f("g",Ve,Me)):c.value==="regular"?(l(),f("g",Ze,Le)):c.value==="thin"?(l(),f("g",Ne,je)):R("",!0)],16,_e))}}),X="__ABSTRA_STREAM_ERROR__";class Be{async list(){return(await fetch("/_editor/api/requirements")).json()}async recommendations(){return(await fetch("/_editor/api/requirements/recommendations")).json()}async update(e,i){if(!(await fetch(`/_editor/api/requirements/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})).ok)throw new Error("Failed to update requirements")}async create(e){const i=await fetch("/_editor/api/requirements",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!i.ok)throw new Error("Failed to create requirements");return i.json()}async delete(e){if(!(await fetch(`/_editor/api/requirements/${e}`,{method:"DELETE"})).ok)throw new Error("Failed to delete requirements")}async*install(e,i){var w;const _=(w=(await fetch("/_editor/api/requirements/install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,version:i})})).body)==null?void 0:w.getReader();if(!_)throw new Error("No response body");for(;;){const c=await _.read();if(c.done)break;const p=new TextDecoder().decode(c.value);if(p===X)throw new Error("Failed to install requirements");yield p}}async*uninstall(e){var _;const r=(_=(await fetch(`/_editor/api/requirements/${e}/uninstall`,{method:"POST",headers:{"Content-Type":"application/json"}})).body)==null?void 0:_.getReader();if(!r)throw new Error("No response body");for(;;){const w=await r.read();if(w.done)break;const c=new TextDecoder().decode(w.value);if(c===X)throw new Error("Failed to uninstall requirements");yield c}}}const T=new Be;class A{constructor(e){F(this,"record");this.record=he.from(e)}static async list(){return(await T.list()).map(i=>new A(i))}static async create(e,i){const r=await T.create({name:e,version:i||null});return new A(r)}get name(){return this.record.get("name")}set name(e){this.record.set("name",e)}get version(){var e;return(e=this.record.get("version"))!=null?e:null}set version(e){this.record.set("version",e)}get installedVersion(){var e;return(e=this.record.get("installed_version"))!=null?e:null}async delete(){await T.delete(this.name)}static async recommendations(){return T.recommendations()}async install(e){var i;for await(const r of T.install(this.name,(i=this.version)!=null?i:null))e(r)}async uninstall(e){for await(const i of T.uninstall(this.name))e(i)}}const He=n=>["__future__","__main__","_thread","abc","aifc","argparse","array","ast","asynchat","asyncio","asyncore","atexit","audioop","base64","bdb","binascii","binhex","bisect","builtins","bz2","calendar","cgi","cgitb","chunk","cmath","cmd","code","codecs","codeop","collections","collections.abc","colorsys","compileall","concurrent","concurrent.futures","configparser","contextlib","contextvars","copy","copyreg","cProfile","crypt","csv","ctypes","curses","curses.ascii","curses.panel","curses.textpad","dataclasses","datetime","dbm","dbm.dumb","dbm.gnu","dbm.ndbm","decimal","difflib","dis","distutils","distutils.archive_util","distutils.bcppcompiler","distutils.ccompiler","distutils.cmd","distutils.command","distutils.command.bdist","distutils.command.bdist_dumb","distutils.command.bdist_msi","distutils.command.bdist_packager","distutils.command.bdist_rpm","distutils.command.build","distutils.command.build_clib","distutils.command.build_ext","distutils.command.build_py","distutils.command.build_scripts","distutils.command.check","distutils.command.clean","distutils.command.config","distutils.command.install","distutils.command.install_data","distutils.command.install_headers","distutils.command.install_lib","distutils.command.install_scripts","distutils.command.register","distutils.command.sdist","distutils.core","distutils.cygwinccompiler","distutils.debug","distutils.dep_util","distutils.dir_util","distutils.dist","distutils.errors","distutils.extension","distutils.fancy_getopt","distutils.file_util","distutils.filelist","distutils.log","distutils.msvccompiler","distutils.spawn","distutils.sysconfig","distutils.text_file","distutils.unixccompiler","distutils.util","distutils.version","doctest","email","email.charset","email.contentmanager","email.encoders","email.errors","email.generator","email.header","email.headerregistry","email.iterators","email.message","email.mime","email.parser","email.policy","email.utils","encodings","encodings.idna","encodings.mbcs","encodings.utf_8_sig","ensurepip","enum","errno","faulthandler","fcntl","filecmp","fileinput","fnmatch","fractions","ftplib","functools","gc","getopt","getpass","gettext","glob","graphlib","grp","gzip","hashlib","heapq","hmac","html","html.entities","html.parser","http","http.client","http.cookiejar","http.cookies","http.server","idlelib","imaplib","imghdr","imp","importlib","importlib.abc","importlib.machinery","importlib.metadata","importlib.resources","importlib.util","inspect","io","ipaddress","itertools","json","json.tool","keyword","lib2to3","linecache","locale","logging","logging.config","logging.handlers","lzma","mailbox","mailcap","marshal","math","mimetypes","mmap","modulefinder","msilib","msvcrt","multiprocessing","multiprocessing.connection","multiprocessing.dummy","multiprocessing.managers","multiprocessing.pool","multiprocessing.shared_memory","multiprocessing.sharedctypes","netrc","nis","nntplib","numbers","operator","optparse","os","os.path","ossaudiodev","pathlib","pdb","pickle","pickletools","pipes","pkgutil","platform","plistlib","poplib","posix","pprint","profile","pstats","pty","pwd","py_compile","pyclbr","pydoc","queue","quopri","random","re","readline","reprlib","resource","rlcompleter","runpy","sched","secrets","select","selectors","shelve","shlex","shutil","signal","site","smtpd","smtplib","sndhdr","socket","socketserver","spwd","sqlite3","ssl","stat","statistics","string","stringprep","struct","subprocess","sunau","symtable","sys","sysconfig","syslog","tabnanny","tarfile","telnetlib","tempfile","termios","test","test.support","test.support.bytecode_helper","test.support.import_helper","test.support.os_helper","test.support.script_helper","test.support.socket_helper","test.support.threading_helper","test.support.warnings_helper","textwrap","threading","time","timeit","tkinter","tkinter.colorchooser","tkinter.commondialog","tkinter.dnd","tkinter.filedialog","tkinter.font","tkinter.messagebox","tkinter.scrolledtext","tkinter.simpledialog","tkinter.tix","tkinter.ttk","token","tokenize","trace","traceback","tracemalloc","tty","turtle","turtledemo","types","typing","unicodedata","unittest","unittest.mock","urllib","urllib.error","urllib.parse","urllib.request","urllib.response","urllib.robotparser","uu","uuid","venv","warnings","wave","weakref","webbrowser","winreg","winsound","wsgiref","wsgiref.handlers","wsgiref.headers","wsgiref.simple_server","wsgiref.util","wsgiref.validate","xdrlib","xml","xml.dom","xml.dom.minidom","xml.dom.pulldom","xml.etree.ElementTree","xml.parsers.expat","xml.parsers.expat.errors","xml.parsers.expat.model","xml.sax","xml.sax.handler","xml.sax.saxutils","xml.sax.xmlreader","xmlrpc","xmlrpc.client","xmlrpc.server","zipapp","zipfile","zipimport","zlib","zoneinfo"].includes(n),Ie=n=>/^(\d+!)?(\d+)(\.\d+)+([\\.\-\\_])?((a(lpha)?|b(eta)?|c|r(c|ev)?|pre(view)?)\d*)?(\.?(post|dev)\d*)?$/.test(n),Oe={key:2},De={key:0,class:"logs-output"},Ue=["textContent"],pt=K({__name:"RequirementsEditor",setup(n){const{loading:e,result:i,refetch:r}=oe(()=>Promise.all([A.list(),A.recommendations()]).then(([t,o])=>({requirements:t,recommendations:o}))),{startPolling:_,endPolling:w}=fe({task:r,interval:2e3});ue(()=>_()),me(()=>w());function c(){be.openFile("requirements.txt")}const p=$({}),v=$(new Set);function M(t){return o=>{p[t.name]?p[t.name]=[...p[t.name],o]:p[t.name]=[o]}}function u(t){p[t.name]=[]}async function N(t){u(t),h.value="installing",L(t),v.add(t.name);try{await t.install(M(t)),h.value="install-success"}catch{h.value="install-error"}finally{v.delete(t.name),await r()}}const h=B("idle"),E=B(null);function L(t){E.value=t.name}async function Q(t){v.add(t.name);try{await t.delete()}finally{v.delete(t.name),await r()}}async function Y(t){u(t),h.value="uninstalling",L(t),v.add(t.name);try{await t.uninstall(M(t)),h.value="uninstall-success"}catch{h.value="uninstall-error"}finally{v.delete(t.name),await r()}}async function ee(t,o){await A.create(t,o).then(r),r()}const te=[{label:"Name",key:"name",hint:t=>He(t)?"This requirement is built-in should not be installed":void 0},{label:"Required version",key:"version",placeholder:"latest",hint:t=>!t||Ie(t)?void 0:"Invalid version"}];async function se({name:t,version:o}){await A.create(t,o),r()}const ie=q(()=>{var t,o;return{columns:[{name:"Name"},{name:"Version"},{name:"Installed"},{name:"",align:"right"}],rows:(o=(t=i.value)==null?void 0:t.requirements.map(g=>{var S,V;return{key:g.name,cells:[{type:"text",text:g.name},{type:"text",text:(S=g.version)!=null?S:" - "},{type:"slot",key:"status",payload:g},{type:"actions",actions:[{icon:$e,label:"Logs",onClick:()=>L(g),hide:!((V=p[g.name])!=null&&V.length)},g.installedVersion?{icon:J,label:"Uninstall",onClick:()=>Y(g),dangerous:!0}:{icon:H,label:"Install",onClick:()=>N(g)},{icon:J,label:"Remove requirement",onClick:()=>Q(g),dangerous:!0}]}]}}))!=null?o:[]}});return(t,o)=>(l(),b(ne,null,{default:a(()=>{var g,S,V;return[d(re,{"entity-name":"Requirements",loading:s(e),title:"Requirements",description:"Specify pip requirements for your project. This will create and update your requirements.txt file.","empty-title":"No python requirements set",table:ie.value,"create-button-text":"Add requirement",fields:te,live:"",create:se},{status:a(({payload:y})=>[d(s(k),{gap:"small",align:"center",justify:"center"},{default:a(()=>[y.installedVersion?(l(),b(s(H),{key:0})):R("",!0),y.installedVersion?(l(),b(s(x),{key:1,type:"secondary"},{default:a(()=>[m(z(y.installedVersion),1)]),_:2},1024)):(l(),b(s(x),{key:2,type:"secondary"},{default:a(()=>[m(" Not installed ")]),_:1}))]),_:2},1024)]),secondary:a(()=>[d(s(I),{onClick:o[0]||(o[0]=y=>c())},{default:a(()=>[m("Open requirements.txt")]),_:1})]),_:1},8,["loading","table"]),(g=s(i))!=null&&g.recommendations.length?(l(),b(s(pe),{key:0},{default:a(()=>[m(" Suggested requirements ")]),_:1})):R("",!0),(S=s(i))!=null&&S.recommendations.length?(l(),b(s(ge),{key:1},{default:a(()=>[m(" The following requirements are being utilized by your code but are not listed in your requirements.txt. ")]),_:1})):R("",!0),(V=s(i))!=null&&V.recommendations.length?(l(),f("ul",Oe,[(l(!0),f(O,null,D(s(i).recommendations,y=>(l(),f("li",{key:y.name},[m(z(y.name)+" ("+z(y.version)+") ",1),d(s(I),{onClick:P=>{var j;return ee(y.name,(j=y.version)!=null?j:void 0)}},{default:a(()=>[m(" Add to requirements ")]),_:2},1032,["onClick"])]))),128))])):R("",!0),d(s(ye),{open:!!E.value,onCancel:o[1]||(o[1]=y=>E.value=null)},{footer:a(()=>[]),title:a(()=>[m("Logs")]),default:a(()=>[d(s(k),{vertical:"",gap:"small"},{default:a(()=>[E.value?(l(),f("div",De,[(l(!0),f(O,null,D(p[E.value],(y,P)=>(l(),f("pre",{key:P,textContent:z(y)},null,8,Ue))),128))])):R("",!0),h.value==="installing"?(l(),b(s(k),{key:1,gap:"small",align:"center"},{default:a(()=>[d(s(U)),d(s(x),{type:"secondary"},{default:a(()=>[m("Installing requirement...")]),_:1})]),_:1})):h.value==="uninstalling"?(l(),b(s(k),{key:2,gap:"small",align:"center"},{default:a(()=>[d(s(U)),d(s(x),{type:"secondary"},{default:a(()=>[m("Uninstalling requirement...")]),_:1})]),_:1})):h.value==="install-success"?(l(),b(s(k),{key:3,gap:"small",align:"center"},{default:a(()=>[d(s(W)),d(s(x),{type:"success"},{default:a(()=>[m("Requirement installed successfully")]),_:1})]),_:1})):h.value==="install-error"?(l(),b(s(k),{key:4,gap:"small",align:"center"},{default:a(()=>[d(s(G)),d(s(x),{type:"danger"},{default:a(()=>[m("Requirement installation failed")]),_:1})]),_:1})):h.value==="uninstall-success"?(l(),b(s(k),{key:5,gap:"small",align:"center"},{default:a(()=>[d(s(W)),d(s(x),{type:"success"},{default:a(()=>[m("Requirement uninstalled successfully")]),_:1})]),_:1})):h.value==="uninstall-error"?(l(),b(s(k),{key:6,gap:"small",align:"center"},{default:a(()=>[d(s(G)),d(s(x),{type:"danger"},{default:a(()=>[m("Requirement uninstallation failed")]),_:1})]),_:1})):R("",!0)]),_:1})]),_:1},8,["open"])]}),_:1}))}});export{pt as default}; +//# sourceMappingURL=RequirementsEditor.47afc6fd.js.map diff --git a/abstra_statics/dist/assets/ResourcesTracker.7eebb0a9.js b/abstra_statics/dist/assets/ResourcesTracker.a2e7e98c.js similarity index 79% rename from abstra_statics/dist/assets/ResourcesTracker.7eebb0a9.js rename to abstra_statics/dist/assets/ResourcesTracker.a2e7e98c.js index 034988b399..19cb854d71 100644 --- a/abstra_statics/dist/assets/ResourcesTracker.7eebb0a9.js +++ b/abstra_statics/dist/assets/ResourcesTracker.a2e7e98c.js @@ -1,6 +1,6 @@ -import{B as u}from"./BaseLayout.4967fc3d.js";import{a as f}from"./asyncComputed.c677c545.js";import{_ as p,o as l,X as m,a as g,e8 as y,d as _,W as v,ag as C,c as d,w as b,u as i,R as w}from"./vue-router.33f35a18.js";import{u as E}from"./polling.3587342a.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="12046610-6bf4-468d-8e85-9c6e97f4bb92",t._sentryDebugIdIdentifier="sentry-dbid-12046610-6bf4-468d-8e85-9c6e97f4bb92")}catch{}})();var h={name:"Chart",emits:["select","loaded"],props:{type:String,data:null,options:null,plugins:null,width:{type:Number,default:300},height:{type:Number,default:150},canvasProps:{type:null,default:null}},chart:null,watch:{data:{handler(){this.reinit()},deep:!0},type(){this.reinit()},options(){this.reinit()}},mounted(){this.initChart()},beforeUnmount(){this.chart&&(this.chart.destroy(),this.chart=null)},methods:{initChart(){p(()=>import("./auto.29a122c8.js"),[]).then(t=>{this.chart&&(this.chart.destroy(),this.chart=null),t&&t.default&&(this.chart=new t.default(this.$refs.canvas,{type:this.type,data:this.data,options:this.options,plugins:this.plugins})),this.$emit("loaded",this.chart)})},getCanvas(){return this.$canvas},getChart(){return this.chart},getBase64Image(){return this.chart.toBase64Image()},refresh(){this.chart&&this.chart.update()},reinit(){this.initChart()},onCanvasClick(t){if(this.chart){const e=this.chart.getElementsAtEventForMode(t,"nearest",{intersect:!0},!1),a=this.chart.getElementsAtEventForMode(t,"dataset",{intersect:!0},!1);e&&e[0]&&a&&this.$emit("select",{originalEvent:t,element:e[0],dataset:a})}},generateLegend(){if(this.chart)return this.chart.generateLegend()}}};const k={class:"p-chart"},B=["width","height"];function I(t,e,a,n,s,r){return l(),m("div",k,[g("canvas",y({ref:"canvas",width:a.width,height:a.height,onClick:e[0]||(e[0]=o=>r.onCanvasClick(o))},a.canvasProps),null,16,B)])}function P(t,e){e===void 0&&(e={});var a=e.insertAt;if(!(!t||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",a==="top"&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}}var x=` +import{B as u}from"./BaseLayout.577165c3.js";import{a as f}from"./asyncComputed.3916dfed.js";import{_ as p,o as l,X as m,a as g,e8 as y,d as _,W as b,ag as v,c as d,w as C,u as i,R as w}from"./vue-router.324eaed2.js";import{u as E}from"./polling.72e5a2f8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="bc735e05-f5a1-40ca-a563-bdb37be65b6b",t._sentryDebugIdIdentifier="sentry-dbid-bc735e05-f5a1-40ca-a563-bdb37be65b6b")}catch{}})();var h={name:"Chart",emits:["select","loaded"],props:{type:String,data:null,options:null,plugins:null,width:{type:Number,default:300},height:{type:Number,default:150},canvasProps:{type:null,default:null}},chart:null,watch:{data:{handler(){this.reinit()},deep:!0},type(){this.reinit()},options(){this.reinit()}},mounted(){this.initChart()},beforeUnmount(){this.chart&&(this.chart.destroy(),this.chart=null)},methods:{initChart(){p(()=>import("./auto.29a122c8.js"),[]).then(t=>{this.chart&&(this.chart.destroy(),this.chart=null),t&&t.default&&(this.chart=new t.default(this.$refs.canvas,{type:this.type,data:this.data,options:this.options,plugins:this.plugins})),this.$emit("loaded",this.chart)})},getCanvas(){return this.$canvas},getChart(){return this.chart},getBase64Image(){return this.chart.toBase64Image()},refresh(){this.chart&&this.chart.update()},reinit(){this.initChart()},onCanvasClick(t){if(this.chart){const e=this.chart.getElementsAtEventForMode(t,"nearest",{intersect:!0},!1),a=this.chart.getElementsAtEventForMode(t,"dataset",{intersect:!0},!1);e&&e[0]&&a&&this.$emit("select",{originalEvent:t,element:e[0],dataset:a})}},generateLegend(){if(this.chart)return this.chart.generateLegend()}}};const k={class:"p-chart"},B=["width","height"];function I(t,e,a,n,s,r){return l(),m("div",k,[g("canvas",y({ref:"canvas",width:a.width,height:a.height,onClick:e[0]||(e[0]=o=>r.onCanvasClick(o))},a.canvasProps),null,16,B)])}function P(t,e){e===void 0&&(e={});var a=e.insertAt;if(!(!t||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",a==="top"&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}}var x=` .p-chart { position: relative; } -`;P(x);h.render=I;async function A(){return await(await fetch("/_editor/api/resources")).json()}const M=_({__name:"ResourcesTracker",setup(t){const{result:e,refetch:a}=f(async()=>{const{mems:r}=await A();return{data:{labels:Array.from({length:r.length},(o,c)=>c*2),datasets:[{label:"Memory",data:r,fill:!1,borderColor:"rgb(105, 193, 102)"}],options:{animation:!1}}}}),{startPolling:n,endPolling:s}=E({task:a,interval:2e3});return v(()=>n()),C(()=>s()),(r,o)=>(l(),d(u,null,{content:b(()=>[i(e)?(l(),d(i(h),{key:0,type:"line",data:i(e).data,class:"h-[30rem]",options:i(e).data.options},null,8,["data","options"])):w("",!0)]),_:1}))}});export{M as default}; -//# sourceMappingURL=ResourcesTracker.7eebb0a9.js.map +`;P(x);h.render=I;async function A(){return await(await fetch("/_editor/api/resources")).json()}const M=_({__name:"ResourcesTracker",setup(t){const{result:e,refetch:a}=f(async()=>{const{mems:r}=await A();return{data:{labels:Array.from({length:r.length},(o,c)=>c*2),datasets:[{label:"Memory",data:r,fill:!1,borderColor:"rgb(105, 193, 102)"}],options:{animation:!1}}}}),{startPolling:n,endPolling:s}=E({task:a,interval:2e3});return b(()=>n()),v(()=>s()),(r,o)=>(l(),d(u,null,{content:C(()=>[i(e)?(l(),d(i(h),{key:0,type:"line",data:i(e).data,class:"h-[30rem]",options:i(e).data.options},null,8,["data","options"])):w("",!0)]),_:1}))}});export{M as default}; +//# sourceMappingURL=ResourcesTracker.a2e7e98c.js.map diff --git a/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.24af217a.js b/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js similarity index 58% rename from abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.24af217a.js rename to abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js index d0c2f407da..9e7b21476a 100644 --- a/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.24af217a.js +++ b/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js @@ -1,2 +1,2 @@ -import{b as d,ee as p,d as b,o as y,c as g,w as r,u as i,d5 as c,aF as o,e9 as f,dd as m,p as v,bP as P,cK as _}from"./vue-router.33f35a18.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="7eefd43a-36ef-487b-9150-ccd988c884cf",a._sentryDebugIdIdentifier="sentry-dbid-7eefd43a-36ef-487b-9150-ccd988c884cf")}catch{}})();var w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"};const h=w;function u(a){for(var t=1;t(y(),g(i(_),{open:e.disabled?void 0:!1,placement:"bottom"},{content:r(()=>[d(i(m),{vertical:"",gap:"small"},{default:r(()=>[d(i(c),{style:{"font-size":"16px"}},{default:r(()=>{var n;return[o(f((n=e.disabled)==null?void 0:n.title),1)]}),_:1}),d(i(c),null,{default:r(()=>{var n;return[o(f((n=e.disabled)==null?void 0:n.message),1)]}),_:1})]),_:1})]),default:r(()=>[d(i(P),{style:{width:"100%"},loading:e.loading,icon:v(i(O)),disabled:!!e.disabled,size:"large",type:"primary",onClick:l[0]||(l[0]=n=>t("click"))},{default:r(()=>[o(" Run ")]),_:1},8,["loading","icon","disabled"])]),_:1},8,["open"]))}});export{B as _}; -//# sourceMappingURL=RunButton.vue_vue_type_script_setup_true_lang.24af217a.js.map +import{b as o,ee as p,d as b,o as y,c as g,w as r,u as i,d5 as c,aF as s,e9 as f,dd as m,p as v,bP as P,cK as _}from"./vue-router.324eaed2.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="77c584f5-74f7-4cdb-8410-280b2065efc3",a._sentryDebugIdIdentifier="sentry-dbid-77c584f5-74f7-4cdb-8410-280b2065efc3")}catch{}})();var w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"};const h=w;function u(a){for(var t=1;t(y(),g(i(_),{open:e.disabled?void 0:!1,placement:"bottom"},{content:r(()=>[o(i(m),{vertical:"",gap:"small"},{default:r(()=>[o(i(c),{style:{"font-size":"16px"}},{default:r(()=>{var n;return[s(f((n=e.disabled)==null?void 0:n.title),1)]}),_:1}),o(i(c),null,{default:r(()=>{var n;return[s(f((n=e.disabled)==null?void 0:n.message),1)]}),_:1})]),_:1})]),default:r(()=>[o(i(P),{style:{width:"100%"},loading:e.loading,icon:v(i(O)),disabled:!!e.disabled,size:"large",type:"primary",onClick:l[0]||(l[0]=n=>t("click"))},{default:r(()=>[s(" Run ")]),_:1},8,["loading","icon","disabled"])]),_:1},8,["open"]))}});export{B as _}; +//# sourceMappingURL=RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js.map diff --git a/abstra_statics/dist/assets/SaveButton.17e88f21.js b/abstra_statics/dist/assets/SaveButton.17e88f21.js new file mode 100644 index 0000000000..a8a08df42d --- /dev/null +++ b/abstra_statics/dist/assets/SaveButton.17e88f21.js @@ -0,0 +1,2 @@ +import{d as w,L as C,N as S,e as b,o as k,X as B,b as n,w as s,a as D,u as o,d5 as I,aF as r,d6 as E,bP as L,Z as c,cK as $,cI as A,$ as N}from"./vue-router.324eaed2.js";import{G as P,U as V}from"./UnsavedChangesHandler.d2b18117.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[d]="50752886-be7f-4dbe-87d6-e3dcba0d1134",a._sentryDebugIdIdentifier="sentry-dbid-50752886-be7f-4dbe-87d6-e3dcba0d1134")}catch{}})();const K={class:"popup-container"},U={style:{padding:"0px 4px"}},z=w({__name:"SaveButton",props:{model:{},neverShowPopover:{type:Boolean},disabled:{type:Boolean}},emits:["save"],setup(a,{emit:d}){var h;const l=a,m=e=>{var t;return(t=e.parentElement)!=null?t:document.body},p=new C(S.boolean(),"dontShowUnsavedChanges"),v=b((h=p.get())!=null?h:!1),_=()=>{p.set(!0),v.value=!0},i=b(!1);async function f(){i.value=!0;try{await l.model.save(),d("save")}catch{A.error({message:"Error saving"})}finally{i.value=!1}}return addEventListener("keydown",e=>{(e.metaKey||e.ctrlKey)&&e.key==="s"&&(e.preventDefault(),f())}),addEventListener("beforeunload",e=>{l.model.hasChanges()&&(e.preventDefault(),e.returnValue="")}),(e,t)=>{var g;return k(),B("div",K,[n(o($),{placement:"left",open:e.model.hasChanges()&&!v.value&&!e.neverShowPopover,"get-popup-container":m},{content:s(()=>[D("div",U,[n(o(I),null,{default:s(()=>[r("You have unsaved changes")]),_:1}),n(o(E),{onClick:_},{default:s(()=>[r("Don't show this again")]),_:1})])]),default:s(()=>{var y;return[n(o(L),{class:"save-button",loading:i.value,disabled:!((y=e.model)!=null&&y.hasChanges())||e.disabled,onClick:t[0]||(t[0]=u=>f())},{icon:s(()=>[c(e.$slots,"icon",{},()=>[n(o(P),{size:"18"})],!0)]),default:s(()=>{var u;return[(u=e.model)!=null&&u.hasChanges()?c(e.$slots,"with-changes",{key:0},()=>[r(" Save ")],!0):c(e.$slots,"without-changes",{key:1},()=>[r(" Saved ")],!0)]}),_:3},8,["loading","disabled"])]}),_:3},8,["open"]),n(V,{"has-changes":(g=e.model)==null?void 0:g.hasChanges()},null,8,["has-changes"])])}}});const G=N(z,[["__scopeId","data-v-b886e845"]]);export{G as S}; +//# sourceMappingURL=SaveButton.17e88f21.js.map diff --git a/abstra_statics/dist/assets/SaveButton.dae129ff.js b/abstra_statics/dist/assets/SaveButton.dae129ff.js deleted file mode 100644 index ede1ea58c8..0000000000 --- a/abstra_statics/dist/assets/SaveButton.dae129ff.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as w,L as C,N as S,e as m,o as k,X as B,b as n,w as s,a as D,u as o,d5 as I,aF as r,d6 as E,bP as L,Z as p,cK as $,cI as A,$ as N}from"./vue-router.33f35a18.js";import{G as P,U as V}from"./UnsavedChangesHandler.5637c452.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[d]="44e66804-d3d7-4410-943a-32a25d405397",a._sentryDebugIdIdentifier="sentry-dbid-44e66804-d3d7-4410-943a-32a25d405397")}catch{}})();const K={class:"popup-container"},U={style:{padding:"0px 4px"}},z=w({__name:"SaveButton",props:{model:{},neverShowPopover:{type:Boolean},disabled:{type:Boolean}},emits:["save"],setup(a,{emit:d}){var f;const l=a,_=e=>{var t;return(t=e.parentElement)!=null?t:document.body},c=new C(S.boolean(),"dontShowUnsavedChanges"),v=m((f=c.get())!=null?f:!1),b=()=>{c.set(!0),v.value=!0},i=m(!1);async function h(){i.value=!0;try{await l.model.save(),d("save")}catch{A.error({message:"Error saving"})}finally{i.value=!1}}return addEventListener("keydown",e=>{(e.metaKey||e.ctrlKey)&&e.key==="s"&&(e.preventDefault(),h())}),addEventListener("beforeunload",e=>{l.model.hasChanges()&&(e.preventDefault(),e.returnValue="")}),(e,t)=>{var g;return k(),B("div",K,[n(o($),{placement:"left",open:e.model.hasChanges()&&!v.value&&!e.neverShowPopover,"get-popup-container":_},{content:s(()=>[D("div",U,[n(o(I),null,{default:s(()=>[r("You have unsaved changes")]),_:1}),n(o(E),{onClick:b},{default:s(()=>[r("Don't show this again")]),_:1})])]),default:s(()=>{var y;return[n(o(L),{class:"save-button",loading:i.value,disabled:!((y=e.model)!=null&&y.hasChanges())||e.disabled,onClick:t[0]||(t[0]=u=>h())},{icon:s(()=>[p(e.$slots,"icon",{},()=>[n(o(P),{size:"18"})],!0)]),default:s(()=>{var u;return[(u=e.model)!=null&&u.hasChanges()?p(e.$slots,"with-changes",{key:0},()=>[r(" Save ")],!0):p(e.$slots,"without-changes",{key:1},()=>[r(" Saved ")],!0)]}),_:3},8,["loading","disabled"])]}),_:3},8,["open"]),n(V,{"has-changes":(g=e.model)==null?void 0:g.hasChanges()},null,8,["has-changes"])])}}});const G=N(z,[["__scopeId","data-v-b886e845"]]);export{G as S}; -//# sourceMappingURL=SaveButton.dae129ff.js.map diff --git a/abstra_statics/dist/assets/ScriptEditor.6377cdf8.js b/abstra_statics/dist/assets/ScriptEditor.6377cdf8.js deleted file mode 100644 index e396a6a710..0000000000 --- a/abstra_statics/dist/assets/ScriptEditor.6377cdf8.js +++ /dev/null @@ -1,2 +0,0 @@ -import{B as F}from"./BaseLayout.4967fc3d.js";import{R as U,S as W,E as D,a as L,L as P}from"./SourceCode.9682eb82.js";import{S as $}from"./SaveButton.dae129ff.js";import{a as V}from"./asyncComputed.c677c545.js";import{d as w,e as f,o as d,c as m,w as a,b as t,u as e,bH as H,cv as J,cu as K,X as M,eo as O,ea as q,f as X,eg as j,y as z,R as b,dd as h,d8 as I,aF as R,e9 as G,cT as Q}from"./vue-router.33f35a18.js";import"./editor.c70395a0.js";import{S as Y}from"./scripts.cc2cce9b.js";import{W as Z}from"./workspaces.91ed8c72.js";import{_ as ee}from"./RunButton.vue_vue_type_script_setup_true_lang.24af217a.js";import{T as te}from"./ThreadSelector.2b29a84a.js";import{N as ae}from"./NavbarControls.948aa1fc.js";import{b as oe}from"./index.6db53852.js";import{A as k,T}from"./TabPane.1080fde7.js";import{A as re,C as se}from"./CollapsePanel.56bdec23.js";import{B as ie}from"./Badge.71fee936.js";import"./uuid.0acc5368.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./PhCopy.vue.edaabc1e.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhCopySimple.vue.b5d1b25b.js";import"./PhCaretRight.vue.d23111f3.js";import"./PhBug.vue.ea49dd1b.js";import"./PhQuestion.vue.020af0e7.js";import"./LoadingOutlined.64419cb9.js";import"./polling.3587342a.js";import"./PhPencil.vue.2def7849.js";import"./toggleHighContrast.aa328f74.js";import"./index.f014adef.js";import"./Card.639eca4a.js";import"./UnsavedChangesHandler.5637c452.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./record.075b7d45.js";import"./index.46373660.js";import"./index.2fc2bb22.js";import"./CloseCircleOutlined.1d6fe2b1.js";import"./index.241ee38a.js";import"./popupNotifcation.7fc1aee0.js";import"./PhArrowSquareOut.vue.03bd374b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./PhChats.vue.b6dd7b5a.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},p=new Error().stack;p&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[p]="54c37757-47ba-4efe-8cd5-ec4cecf701d1",u._sentryDebugIdIdentifier="sentry-dbid-54c37757-47ba-4efe-8cd5-ec4cecf701d1")}catch{}})();const ne=w({__name:"ScriptSettings",props:{script:{}},setup(u){const n=f(u.script);return(g,v)=>(d(),m(e(K),{layout:"vertical",style:{"padding-bottom":"50px"}},{default:a(()=>[t(e(J),{label:"Name",required:""},{default:a(()=>[t(e(H),{value:n.value.title,"onUpdate:value":v[0]||(v[0]=i=>n.value.title=i)},null,8,["value"])]),_:1}),t(U,{runtime:n.value},null,8,["runtime"])]),_:1}))}}),le={style:{width:"100%",display:"flex","flex-direction":"column"}},ue=w({__name:"ScriptTester",props:{script:{},executionConfig:{},disabledWarning:{}},emits:["update-stage-run-id"],setup(u,{emit:p}){const n=u,g=f(!1),v=async()=>{var i;g.value=!0;try{n.executionConfig.attached?await n.script.run((i=n.executionConfig.stageRunId)!=null?i:null):await n.script.test()}finally{g.value=!1,p("update-stage-run-id",null)}};return(i,y)=>(d(),M("div",le,[t(ee,{loading:g.value,disabled:i.disabledWarning,onClick:v,onSave:y[0]||(y[0]=_=>i.script.save())},null,8,["loading","disabled"])]))}}),ot=w({__name:"ScriptEditor",setup(u){const p=O(),n=q();function g(){p.push({name:"stages"})}const v=f(null),i=f("source-code"),y=f("preview");function _(){var r;if(!o.value)return;const l=o.value.script.codeContent;(r=v.value)==null||r.updateLocalEditorCode(l)}const s=f({attached:!1,stageRunId:null,isInitial:!1}),A=l=>s.value={...s.value,attached:!!l},B=X(()=>{var l;return(l=o.value)!=null&&l.script.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:!s.value.isInitial&&s.value.attached&&!s.value.stageRunId?{title:"No thread selected",message:"Select a thread to run the workflow"}:null}),{result:o}=V(async()=>{const[l,r]=await Promise.all([Z.get(),Y.get(n.params.id)]);return s.value.isInitial=r.isInitial,z({workspace:l,script:r})}),E=P.create(),x=f(null),S=l=>{var r;return l!==i.value&&((r=o.value)==null?void 0:r.script.hasChanges())};return(l,r)=>(d(),m(F,null,j({navbar:a(()=>[e(o)?(d(),m(e(oe),{key:0,title:e(o).script.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:g},{extra:a(()=>[t(ae,{"editing-model":e(o).script},null,8,["editing-model"])]),_:1},8,["title"])):b("",!0)]),content:a(()=>[e(o)?(d(),m(D,{key:0},{left:a(()=>[t(e(T),{"active-key":i.value,"onUpdate:activeKey":r[0]||(r[0]=c=>i.value=c)},{rightExtra:a(()=>[t($,{model:e(o).script,onSave:_},null,8,["model"])]),default:a(()=>[t(e(k),{key:"source-code",tab:"Source code",disabled:S("source-code")},null,8,["disabled"]),t(e(k),{key:"settings",tab:"Settings",disabled:S("settings")},null,8,["disabled"])]),_:1},8,["active-key"]),i.value==="source-code"?(d(),m(L,{key:0,script:e(o).script,workspace:e(o).workspace},null,8,["script","workspace"])):b("",!0),e(o).script&&i.value==="settings"?(d(),m(ne,{key:1,script:e(o).script},null,8,["script"])):b("",!0)]),right:a(()=>[t(e(T),{"active-key":y.value,"onUpdate:activeKey":r[1]||(r[1]=c=>y.value=c)},{rightExtra:a(()=>[t(e(h),{align:"center",gap:"middle"},{default:a(()=>[t(e(h),{gap:"small"},{default:a(()=>[t(e(I),null,{default:a(()=>[R(G(s.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),t(e(Q),{checked:s.value.attached,"onUpdate:checked":A},null,8,["checked"])]),_:1})]),_:1})]),default:a(()=>[t(e(k),{key:"preview",tab:"Preview"})]),_:1},8,["active-key"]),e(o).script&&y.value==="preview"?(d(),m(ue,{key:0,ref:"tester",script:e(o).script,"execution-config":s.value,"disabled-warning":B.value,onUpdateStageRunId:r[2]||(r[2]=c=>s.value={...s.value,stageRunId:c})},null,8,["script","execution-config","disabled-warning"])):b("",!0),t(e(se),{ghost:"",style:{"margin-top":"20px"}},{default:a(()=>[t(e(re),{key:"1"},{header:a(()=>[t(e(ie),{dot:s.value.attached&&!s.value.stageRunId},{default:a(()=>[t(e(I),null,{default:a(()=>[R("Thread")]),_:1})]),_:1},8,["dot"])]),default:a(()=>[t(te,{"execution-config":s.value,"onUpdate:executionConfig":r[3]||(r[3]=c=>s.value=c),stage:e(o).script,onFixInvalidJson:r[4]||(r[4]=(c,N)=>{var C;return(C=x.value)==null?void 0:C.fixJson(c,N)})},null,8,["execution-config","stage"])]),_:1})]),_:1})]),_:1})):b("",!0)]),_:2},[e(o)?{name:"footer",fn:a(()=>[t(W,{ref_key:"smartConsole",ref:x,"stage-type":"scripts",stage:e(o).script,"log-service":e(E),workspace:e(o).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});export{ot as default}; -//# sourceMappingURL=ScriptEditor.6377cdf8.js.map diff --git a/abstra_statics/dist/assets/ScriptEditor.bc3f2f16.js b/abstra_statics/dist/assets/ScriptEditor.bc3f2f16.js new file mode 100644 index 0000000000..1519c59d34 --- /dev/null +++ b/abstra_statics/dist/assets/ScriptEditor.bc3f2f16.js @@ -0,0 +1,2 @@ +import{B as F}from"./BaseLayout.577165c3.js";import{R as U,S as W,E as D,a as L,L as P}from"./SourceCode.b049bbd7.js";import{S as $}from"./SaveButton.17e88f21.js";import{a as V}from"./asyncComputed.3916dfed.js";import{d as w,e as f,o as c,c as m,w as a,b as t,u as e,bH as H,cv as J,cu as K,X as M,eo as O,ea as q,f as X,eg as j,y as z,R as y,dd as h,d8 as I,aF as R,e9 as G,cT as Q}from"./vue-router.324eaed2.js";import"./editor.1b3b164b.js";import{S as Y}from"./scripts.c1b9be98.js";import{W as Z}from"./workspaces.a34621fe.js";import{_ as ee}from"./RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js";import{T as te}from"./ThreadSelector.d62fadec.js";import{N as ae}from"./NavbarControls.414bdd58.js";import{b as oe}from"./index.51467614.js";import{A as k,T}from"./TabPane.caed57de.js";import{A as re,C as se}from"./CollapsePanel.ce95f921.js";import{B as ie}from"./Badge.9808092c.js";import"./uuid.a06fb10a.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./PhCopy.vue.b2238e41.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhCopySimple.vue.d9faf509.js";import"./PhCaretRight.vue.70c5f54b.js";import"./PhBug.vue.ac4a72e0.js";import"./PhQuestion.vue.6a6a9376.js";import"./LoadingOutlined.09a06334.js";import"./polling.72e5a2f8.js";import"./PhPencil.vue.91f72c2e.js";import"./toggleHighContrast.4c55b574.js";import"./index.0887bacc.js";import"./Card.1902bdb7.js";import"./UnsavedChangesHandler.d2b18117.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./record.cff1707c.js";import"./index.520f8c66.js";import"./index.341662d4.js";import"./CloseCircleOutlined.6d0d12eb.js";import"./index.7d758831.js";import"./popupNotifcation.5a82bc93.js";import"./PhArrowSquareOut.vue.2a1b339b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./PhChats.vue.42699894.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},p=new Error().stack;p&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[p]="3a1ee2d3-7cb4-442b-971e-23762c1b6ab2",u._sentryDebugIdIdentifier="sentry-dbid-3a1ee2d3-7cb4-442b-971e-23762c1b6ab2")}catch{}})();const ne=w({__name:"ScriptSettings",props:{script:{}},setup(u){const n=f(u.script);return(g,v)=>(c(),m(e(K),{layout:"vertical",style:{"padding-bottom":"50px"}},{default:a(()=>[t(e(J),{label:"Name",required:""},{default:a(()=>[t(e(H),{value:n.value.title,"onUpdate:value":v[0]||(v[0]=i=>n.value.title=i)},null,8,["value"])]),_:1}),t(U,{runtime:n.value},null,8,["runtime"])]),_:1}))}}),le={style:{width:"100%",display:"flex","flex-direction":"column"}},ue=w({__name:"ScriptTester",props:{script:{},executionConfig:{},disabledWarning:{}},emits:["update-stage-run-id"],setup(u,{emit:p}){const n=u,g=f(!1),v=async()=>{var i;g.value=!0;try{n.executionConfig.attached?await n.script.run((i=n.executionConfig.stageRunId)!=null?i:null):await n.script.test()}finally{g.value=!1,p("update-stage-run-id",null)}};return(i,b)=>(c(),M("div",le,[t(ee,{loading:g.value,disabled:i.disabledWarning,onClick:v,onSave:b[0]||(b[0]=_=>i.script.save())},null,8,["loading","disabled"])]))}}),ot=w({__name:"ScriptEditor",setup(u){const p=O(),n=q();function g(){p.push({name:"stages"})}const v=f(null),i=f("source-code"),b=f("preview");function _(){var r;if(!o.value)return;const l=o.value.script.codeContent;(r=v.value)==null||r.updateLocalEditorCode(l)}const s=f({attached:!1,stageRunId:null,isInitial:!1}),A=l=>s.value={...s.value,attached:!!l},B=X(()=>{var l;return(l=o.value)!=null&&l.script.hasChanges()?{title:"Unsaved changes",message:"Save the form before running the workflow"}:!s.value.isInitial&&s.value.attached&&!s.value.stageRunId?{title:"No thread selected",message:"Select a thread to run the workflow"}:null}),{result:o}=V(async()=>{const[l,r]=await Promise.all([Z.get(),Y.get(n.params.id)]);return s.value.isInitial=r.isInitial,z({workspace:l,script:r})}),E=P.create(),x=f(null),S=l=>{var r;return l!==i.value&&((r=o.value)==null?void 0:r.script.hasChanges())};return(l,r)=>(c(),m(F,null,j({navbar:a(()=>[e(o)?(c(),m(e(oe),{key:0,title:e(o).script.title,style:{padding:"5px 25px",border:"1px solid #f6f6f6"},onBack:g},{extra:a(()=>[t(ae,{"editing-model":e(o).script},null,8,["editing-model"])]),_:1},8,["title"])):y("",!0)]),content:a(()=>[e(o)?(c(),m(D,{key:0},{left:a(()=>[t(e(T),{"active-key":i.value,"onUpdate:activeKey":r[0]||(r[0]=d=>i.value=d)},{rightExtra:a(()=>[t($,{model:e(o).script,onSave:_},null,8,["model"])]),default:a(()=>[t(e(k),{key:"source-code",tab:"Source code",disabled:S("source-code")},null,8,["disabled"]),t(e(k),{key:"settings",tab:"Settings",disabled:S("settings")},null,8,["disabled"])]),_:1},8,["active-key"]),i.value==="source-code"?(c(),m(L,{key:0,script:e(o).script,workspace:e(o).workspace},null,8,["script","workspace"])):y("",!0),e(o).script&&i.value==="settings"?(c(),m(ne,{key:1,script:e(o).script},null,8,["script"])):y("",!0)]),right:a(()=>[t(e(T),{"active-key":b.value,"onUpdate:activeKey":r[1]||(r[1]=d=>b.value=d)},{rightExtra:a(()=>[t(e(h),{align:"center",gap:"middle"},{default:a(()=>[t(e(h),{gap:"small"},{default:a(()=>[t(e(I),null,{default:a(()=>[R(G(s.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),t(e(Q),{checked:s.value.attached,"onUpdate:checked":A},null,8,["checked"])]),_:1})]),_:1})]),default:a(()=>[t(e(k),{key:"preview",tab:"Preview"})]),_:1},8,["active-key"]),e(o).script&&b.value==="preview"?(c(),m(ue,{key:0,ref:"tester",script:e(o).script,"execution-config":s.value,"disabled-warning":B.value,onUpdateStageRunId:r[2]||(r[2]=d=>s.value={...s.value,stageRunId:d})},null,8,["script","execution-config","disabled-warning"])):y("",!0),t(e(se),{ghost:"",style:{"margin-top":"20px"}},{default:a(()=>[t(e(re),{key:"1"},{header:a(()=>[t(e(ie),{dot:s.value.attached&&!s.value.stageRunId},{default:a(()=>[t(e(I),null,{default:a(()=>[R("Thread")]),_:1})]),_:1},8,["dot"])]),default:a(()=>[t(te,{"execution-config":s.value,"onUpdate:executionConfig":r[3]||(r[3]=d=>s.value=d),stage:e(o).script,onFixInvalidJson:r[4]||(r[4]=(d,N)=>{var C;return(C=x.value)==null?void 0:C.fixJson(d,N)})},null,8,["execution-config","stage"])]),_:1})]),_:1})]),_:1})):y("",!0)]),_:2},[e(o)?{name:"footer",fn:a(()=>[t(W,{ref_key:"smartConsole",ref:x,"stage-type":"scripts",stage:e(o).script,"log-service":e(E),workspace:e(o).workspace},null,8,["stage","log-service","workspace"])]),key:"0"}:void 0]),1024))}});export{ot as default}; +//# sourceMappingURL=ScriptEditor.bc3f2f16.js.map diff --git a/abstra_statics/dist/assets/Sidebar.715517e4.js b/abstra_statics/dist/assets/Sidebar.e2719686.js similarity index 88% rename from abstra_statics/dist/assets/Sidebar.715517e4.js rename to abstra_statics/dist/assets/Sidebar.e2719686.js index 4a4285234f..09303d8f28 100644 --- a/abstra_statics/dist/assets/Sidebar.715517e4.js +++ b/abstra_statics/dist/assets/Sidebar.e2719686.js @@ -1,2 +1,2 @@ -import{C as D,T as N}from"./router.cbdfe37b.js";import{d as x,B as S,f as _,o as a,X as d,Z as I,R as b,e8 as V,a as u,c as p,w as o,b as k,aF as C,e9 as v,u as f,d8 as P,bP as M,e as Z,Y as R,$ as z,ea as L,r as E,eb as A,cF as F,aR as B,bw as j,ec as q,ed as T,d1 as $,by as G}from"./vue-router.33f35a18.js";import{A as O}from"./index.f014adef.js";import{_ as W}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="790a6b07-357a-4744-904c-f7444df8f98d",l._sentryDebugIdIdentifier="sentry-dbid-790a6b07-357a-4744-904c-f7444df8f98d")}catch{}})();const H=["width","height","fill","transform"],U={key:0},X=u("path",{d:"M228.75,100.05c-3.52-3.67-7.15-7.46-8.34-10.33-1.06-2.56-1.14-7.83-1.21-12.47-.15-10-.34-22.44-9.18-31.27s-21.27-9-31.27-9.18c-4.64-.07-9.91-.15-12.47-1.21-2.87-1.19-6.66-4.82-10.33-8.34C148.87,20.46,140.05,12,128,12s-20.87,8.46-27.95,15.25c-3.67,3.52-7.46,7.15-10.33,8.34-2.56,1.06-7.83,1.14-12.47,1.21C67.25,37,54.81,37.14,46,46S37,67.25,36.8,77.25c-.07,4.64-.15,9.91-1.21,12.47-1.19,2.87-4.82,6.66-8.34,10.33C20.46,107.13,12,116,12,128S20.46,148.87,27.25,156c3.52,3.67,7.15,7.46,8.34,10.33,1.06,2.56,1.14,7.83,1.21,12.47.15,10,.34,22.44,9.18,31.27s21.27,9,31.27,9.18c4.64.07,9.91.15,12.47,1.21,2.87,1.19,6.66,4.82,10.33,8.34C107.13,235.54,116,244,128,244s20.87-8.46,27.95-15.25c3.67-3.52,7.46-7.15,10.33-8.34,2.56-1.06,7.83-1.14,12.47-1.21,10-.15,22.44-.34,31.27-9.18s9-21.27,9.18-31.27c.07-4.64.15-9.91,1.21-12.47,1.19-2.87,4.82-6.66,8.34-10.33C235.54,148.87,244,140.05,244,128S235.54,107.13,228.75,100.05Zm-17.32,39.29c-4.82,5-10.28,10.72-13.19,17.76-2.82,6.8-2.93,14.16-3,21.29-.08,5.36-.19,12.71-2.15,14.66s-9.3,2.07-14.66,2.15c-7.13.11-14.49.22-21.29,3-7,2.91-12.73,8.37-17.76,13.19C135.78,214.84,130.4,220,128,220s-7.78-5.16-11.34-8.57c-5-4.82-10.72-10.28-17.76-13.19-6.8-2.82-14.16-2.93-21.29-3-5.36-.08-12.71-.19-14.66-2.15s-2.07-9.3-2.15-14.66c-.11-7.13-.22-14.49-3-21.29-2.91-7-8.37-12.73-13.19-17.76C41.16,135.78,36,130.4,36,128s5.16-7.78,8.57-11.34c4.82-5,10.28-10.72,13.19-17.76,2.82-6.8,2.93-14.16,3-21.29C60.88,72.25,61,64.9,63,63s9.3-2.07,14.66-2.15c7.13-.11,14.49-.22,21.29-3,7-2.91,12.73-8.37,17.76-13.19C120.22,41.16,125.6,36,128,36s7.78,5.16,11.34,8.57c5,4.82,10.72,10.28,17.76,13.19,6.8,2.82,14.16,2.93,21.29,3,5.36.08,12.71.19,14.66,2.15s2.07,9.3,2.15,14.66c.11,7.13.22,14.49,3,21.29,2.91,7,8.37,12.73,13.19,17.76,3.41,3.56,8.57,8.94,8.57,11.34S214.84,135.78,211.43,139.34ZM116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"},null,-1),Y=[X],J={key:1},K=u("path",{d:"M232,128c0,12.51-17.82,21.95-22.68,33.69-4.68,11.32,1.42,30.64-7.78,39.85s-28.53,3.1-39.85,7.78C150,214.18,140.5,232,128,232s-22-17.82-33.69-22.68c-11.32-4.68-30.65,1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82,150,24,140.5,24,128s17.82-22,22.68-33.69C51.36,83,45.26,63.66,54.46,54.46S83,51.36,94.31,46.68C106.05,41.82,115.5,24,128,24S150,41.82,161.69,46.68c11.32,4.68,30.65-1.42,39.85,7.78s3.1,28.53,7.78,39.85C214.18,106.05,232,115.5,232,128Z",opacity:"0.2"},null,-1),Q=u("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.15,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.15,214.31,142.11ZM120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),e1=[K,Q],t1={key:2},s1=u("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1),a1=[s1],c1={key:3},n1=u("path",{d:"M224.42,104.2c-3.9-4.07-7.93-8.27-9.55-12.18-1.5-3.63-1.58-9-1.67-14.68-.14-9.38-.3-20-7.42-27.12S188,42.94,178.66,42.8c-5.68-.09-11-.17-14.68-1.67-3.91-1.62-8.11-5.65-12.18-9.55C145.16,25.22,137.64,18,128,18s-17.16,7.22-23.8,13.58c-4.07,3.9-8.27,7.93-12.18,9.55-3.63,1.5-9,1.58-14.68,1.67-9.38.14-20,.3-27.12,7.42S42.94,68,42.8,77.34c-.09,5.68-.17,11-1.67,14.68-1.62,3.91-5.65,8.11-9.55,12.18C25.22,110.84,18,118.36,18,128s7.22,17.16,13.58,23.8c3.9,4.07,7.93,8.27,9.55,12.18,1.5,3.63,1.58,9,1.67,14.68.14,9.38.3,20,7.42,27.12S68,213.06,77.34,213.2c5.68.09,11,.17,14.68,1.67,3.91,1.62,8.11,5.65,12.18,9.55C110.84,230.78,118.36,238,128,238s17.16-7.22,23.8-13.58c4.07-3.9,8.27-7.93,12.18-9.55,3.63-1.5,9-1.58,14.68-1.67,9.38-.14,20-.3,27.12-7.42s7.28-17.74,7.42-27.12c.09-5.68.17-11,1.67-14.68,1.62-3.91,5.65-8.11,9.55-12.18C230.78,145.16,238,137.64,238,128S230.78,110.84,224.42,104.2Zm-8.66,39.3c-4.67,4.86-9.5,9.9-12,15.9-2.38,5.74-2.48,12.52-2.58,19.08-.11,7.44-.23,15.14-3.9,18.82s-11.38,3.79-18.82,3.9c-6.56.1-13.34.2-19.08,2.58-6,2.48-11,7.31-15.91,12-5.25,5-10.68,10.24-15.49,10.24s-10.24-5.21-15.5-10.24c-4.86-4.67-9.9-9.5-15.9-12-5.74-2.38-12.52-2.48-19.08-2.58-7.44-.11-15.14-.23-18.82-3.9s-3.79-11.38-3.9-18.82c-.1-6.56-.2-13.34-2.58-19.08-2.48-6-7.31-11-12-15.91C35.21,138.24,30,132.81,30,128s5.21-10.24,10.24-15.5c4.67-4.86,9.5-9.9,12-15.9,2.38-5.74,2.48-12.52,2.58-19.08.11-7.44.23-15.14,3.9-18.82s11.38-3.79,18.82-3.9c6.56-.1,13.34-.2,19.08-2.58,6-2.48,11-7.31,15.91-12C117.76,35.21,123.19,30,128,30s10.24,5.21,15.5,10.24c4.86,4.67,9.9,9.5,15.9,12,5.74,2.38,12.52,2.48,19.08,2.58,7.44.11,15.14.23,18.82,3.9s3.79,11.38,3.9,18.82c.1,6.56.2,13.34,2.58,19.08,2.48,6,7.31,11,12,15.91,5,5.25,10.24,10.68,10.24,15.49S220.79,138.24,215.76,143.5ZM122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"},null,-1),o1=[n1],l1={key:4},r1=u("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.15,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.15,214.31,142.11ZM120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),i1=[r1],u1={key:5},d1=u("path",{d:"M223,105.58c-4-4.2-8.2-8.54-10-12.8-1.65-4-1.73-9.53-1.82-15.41-.14-9-.29-19.19-6.83-25.74s-16.74-6.69-25.74-6.83c-5.88-.09-11.43-.17-15.41-1.82-4.26-1.76-8.6-5.93-12.8-9.95-6.68-6.41-13.59-13-22.42-13s-15.74,6.62-22.42,13c-4.2,4-8.54,8.2-12.8,10-4,1.65-9.53,1.73-15.41,1.82-9,.14-19.19.29-25.74,6.83S44.94,68.37,44.8,77.37c-.09,5.88-.17,11.43-1.82,15.41-1.76,4.26-5.93,8.6-9.95,12.8-6.41,6.68-13,13.59-13,22.42s6.62,15.74,13,22.42c4,4.2,8.2,8.54,10,12.8,1.65,4,1.73,9.53,1.82,15.41.14,9,.29,19.19,6.83,25.74s16.74,6.69,25.74,6.83c5.88.09,11.43.17,15.41,1.82,4.26,1.76,8.6,5.93,12.8,9.95,6.68,6.41,13.59,13,22.42,13s15.74-6.62,22.42-13c4.2-4,8.54-8.2,12.8-10,4-1.65,9.53-1.73,15.41-1.82,9-.14,19.19-.29,25.74-6.83s6.69-16.74,6.83-25.74c.09-5.88.17-11.43,1.82-15.41,1.76-4.26,5.93-8.6,9.95-12.8,6.41-6.68,13-13.59,13-22.42S229.38,112.26,223,105.58Zm-5.78,39.3c-4.54,4.73-9.24,9.63-11.57,15.28-2.23,5.39-2.33,12-2.43,18.35-.12,8.2-.24,16-4.49,20.2s-12,4.37-20.2,4.49c-6.37.1-13,.2-18.35,2.43-5.65,2.33-10.55,7-15.28,11.57C139.09,222.75,133.62,228,128,228s-11.09-5.25-16.88-10.8c-4.73-4.54-9.63-9.24-15.28-11.57-5.39-2.23-12-2.33-18.35-2.43-8.2-.12-15.95-.24-20.2-4.49s-4.37-12-4.49-20.2c-.1-6.37-.2-13-2.43-18.35-2.33-5.65-7-10.55-11.57-15.28C33.25,139.09,28,133.62,28,128s5.25-11.09,10.8-16.88c4.54-4.73,9.24-9.63,11.57-15.28,2.23-5.39,2.33-12,2.43-18.35.12-8.2.24-15.95,4.49-20.2s12-4.37,20.2-4.49c6.37-.1,13-.2,18.35-2.43,5.65-2.33,10.55-7,15.28-11.57C116.91,33.25,122.38,28,128,28s11.09,5.25,16.88,10.8c4.73,4.54,9.63,9.24,15.28,11.57,5.39,2.23,12,2.33,18.35,2.43,8.2.12,16,.24,20.2,4.49s4.37,12,4.49,20.2c.1,6.37.2,13,2.43,18.35,2.33,5.65,7,10.55,11.57,15.28,5.55,5.79,10.8,11.26,10.8,16.88S222.75,139.09,217.2,144.88ZM124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"},null,-1),p1=[d1],f1={name:"PhSealWarning"},m1=x({...f1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const s=l,i=S("weight","regular"),y=S("size","1em"),c=S("color","currentColor"),m=S("mirrored",!1),n=_(()=>{var e;return(e=s.weight)!=null?e:i}),t=_(()=>{var e;return(e=s.size)!=null?e:y}),g=_(()=>{var e;return(e=s.color)!=null?e:c}),r=_(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,h)=>(a(),d("svg",V({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:t.value,height:t.value,fill:g.value,transform:r.value},e.$attrs),[I(e.$slots,"default"),n.value==="bold"?(a(),d("g",U,Y)):n.value==="duotone"?(a(),d("g",J,e1)):n.value==="fill"?(a(),d("g",t1,a1)):n.value==="light"?(a(),d("g",c1,o1)):n.value==="regular"?(a(),d("g",l1,i1)):n.value==="thin"?(a(),d("g",u1,p1)):b("",!0)],16,H))}}),w1=x({__name:"BillingAlert",props:{organizationId:{},billingMetadata:{}},setup(l){const s=l,i=_(()=>{var c,m;return(m=(c=s.billingMetadata)==null?void 0:c.messageCTA)!=null?m:"Contact Us"}),y=()=>{D.showNewMessage("Help me with my plan"),N.billingAlertCtaClicked(s.organizationId,i.value)};return(c,m)=>{var n;return(n=c.billingMetadata)!=null&&n.message?(a(),p(f(O),{key:0,type:"error"},{message:o(()=>[k(f(P),{type:"secondary"},{default:o(()=>{var t;return[C(v((t=c.billingMetadata)==null?void 0:t.message),1)]}),_:1})]),action:o(()=>{var t;return[(t=c.billingMetadata)!=null&&t.messageLink?(a(),p(f(M),{key:0,type:"primary",target:"_blank",href:c.billingMetadata.messageLink},{default:o(()=>[C(v(i.value),1)]),_:1},8,["href"])):(a(),p(f(M),{key:1,type:"primary",onClick:y},{default:o(()=>[C(v(i.value),1)]),_:1}))]}),_:1})):b("",!0)}}}),g1={class:"text"},_1=x({__name:"Tooltip",props:{text:{type:String,required:!0},left:{type:Number},top:{type:Number},fixed:{type:Boolean,default:!1}},setup(l){const s=l,i=Z(Date.now()),y=()=>{i.value=Date.now()},c=Z(null),m=()=>{var e,h,w;const t=(e=c.value)==null?void 0:e.getBoundingClientRect();if(!t)return{};const{x:g,y:r}=t;return i.value,{position:"fixed",top:`${r+((h=s.top)!=null?h:0)}px`,left:`${g+((w=s.left)!=null?w:0)}px`}},n=_(()=>{var t;return s.fixed?m():{left:`${(t=s.left)!=null?t:-14}px`,...s.top?{top:`${s.top}px`}:{}}});return(t,g)=>(a(),d("div",{ref_key:"tooltipBox",ref:c,class:"tooltip-box",onMouseenter:y},[I(t.$slots,"default",{},void 0,!0),u("div",{class:"tooltip",style:R(n.value)},[u("span",g1,v(l.text),1)],4)],544))}});const y1=z(_1,[["__scopeId","data-v-c3a6ca5e"]]),C1={style:{width:"100%",padding:"10px 15px"}},v1={style:{"margin-right":"5px"}},h1=x({__name:"Sidebar",props:{sections:{}},setup(l){const s=l,i=L();function y(){var t,g;return[(g=(t=s.sections.map(r=>r.items).flat().find(r=>{const e=i.path.split("/"),h=e[e.length-1];return r.path===h}))==null?void 0:t.name)!=null?g:"forms"]}const c=_(y),m=_(()=>s.sections.map(n=>({...n,items:n.items.filter(t=>!t.unavailable)})));return(n,t)=>{const g=E("RouterLink");return a(),p(f(G),{style:{"border-right":"1px solid #f6f6f6",width:"200px"},"selected-keys":c.value},{default:o(()=>[u("div",C1,[k(W)]),(a(!0),d(B,null,A(m.value,r=>(a(),p(f(F),{key:r.name},{title:o(()=>[C(v(r.name),1)]),default:o(()=>[(a(!0),d(B,null,A(r.items,e=>(a(),p(f(j),{key:e.name,role:"button",class:"menu-item",disabled:e.unavailable||r.cloud,tabindex:"0"},{icon:o(()=>[(a(),p(q(e.icon),{class:T({disabled:e.unavailable,active:c.value.includes(e.path)}),size:"20"},null,8,["class"]))]),default:o(()=>[k(g,{to:e.path,class:T({active:c.value.includes(e.path),disabled:e.unavailable})},{default:o(()=>[u("span",v1,v(e.name),1)]),_:2},1032,["to","class"]),e.unavailable?(a(),p(f($),{key:0},{default:o(()=>[C("SOON")]),_:1})):b("",!0),e.beta?(a(),p(f($),{key:1},{default:o(()=>[C("BETA")]),_:1})):b("",!0),e.warning?(a(),p(y1,{key:2,text:e.warning,fixed:!0,top:18,left:18},{default:o(()=>[k(f(m1),{color:"#D35249",size:"20"})]),_:2},1032,["text"])):b("",!0)]),_:2},1032,["disabled"]))),128))]),_:2},1024))),128))]),_:1},8,["selected-keys"])}}});const M1=z(h1,[["__scopeId","data-v-c737c533"]]);export{M1 as S,w1 as _}; -//# sourceMappingURL=Sidebar.715517e4.js.map +import{C as D,T as N}from"./router.0c18ec5d.js";import{d as x,B as S,f as _,o as a,X as d,Z as I,R as b,e8 as V,a as u,c as p,w as o,b as k,aF as C,e9 as v,u as m,d8 as P,bP as M,e as Z,Y as R,$ as z,ea as L,r as E,eb as A,cF as F,aR as B,bw as j,ec as q,ed as T,d1 as $,by as G}from"./vue-router.324eaed2.js";import{A as O}from"./index.0887bacc.js";import{_ as W}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="4a532c10-104c-4454-9ae6-09481ab96165",l._sentryDebugIdIdentifier="sentry-dbid-4a532c10-104c-4454-9ae6-09481ab96165")}catch{}})();const H=["width","height","fill","transform"],U={key:0},X=u("path",{d:"M228.75,100.05c-3.52-3.67-7.15-7.46-8.34-10.33-1.06-2.56-1.14-7.83-1.21-12.47-.15-10-.34-22.44-9.18-31.27s-21.27-9-31.27-9.18c-4.64-.07-9.91-.15-12.47-1.21-2.87-1.19-6.66-4.82-10.33-8.34C148.87,20.46,140.05,12,128,12s-20.87,8.46-27.95,15.25c-3.67,3.52-7.46,7.15-10.33,8.34-2.56,1.06-7.83,1.14-12.47,1.21C67.25,37,54.81,37.14,46,46S37,67.25,36.8,77.25c-.07,4.64-.15,9.91-1.21,12.47-1.19,2.87-4.82,6.66-8.34,10.33C20.46,107.13,12,116,12,128S20.46,148.87,27.25,156c3.52,3.67,7.15,7.46,8.34,10.33,1.06,2.56,1.14,7.83,1.21,12.47.15,10,.34,22.44,9.18,31.27s21.27,9,31.27,9.18c4.64.07,9.91.15,12.47,1.21,2.87,1.19,6.66,4.82,10.33,8.34C107.13,235.54,116,244,128,244s20.87-8.46,27.95-15.25c3.67-3.52,7.46-7.15,10.33-8.34,2.56-1.06,7.83-1.14,12.47-1.21,10-.15,22.44-.34,31.27-9.18s9-21.27,9.18-31.27c.07-4.64.15-9.91,1.21-12.47,1.19-2.87,4.82-6.66,8.34-10.33C235.54,148.87,244,140.05,244,128S235.54,107.13,228.75,100.05Zm-17.32,39.29c-4.82,5-10.28,10.72-13.19,17.76-2.82,6.8-2.93,14.16-3,21.29-.08,5.36-.19,12.71-2.15,14.66s-9.3,2.07-14.66,2.15c-7.13.11-14.49.22-21.29,3-7,2.91-12.73,8.37-17.76,13.19C135.78,214.84,130.4,220,128,220s-7.78-5.16-11.34-8.57c-5-4.82-10.72-10.28-17.76-13.19-6.8-2.82-14.16-2.93-21.29-3-5.36-.08-12.71-.19-14.66-2.15s-2.07-9.3-2.15-14.66c-.11-7.13-.22-14.49-3-21.29-2.91-7-8.37-12.73-13.19-17.76C41.16,135.78,36,130.4,36,128s5.16-7.78,8.57-11.34c4.82-5,10.28-10.72,13.19-17.76,2.82-6.8,2.93-14.16,3-21.29C60.88,72.25,61,64.9,63,63s9.3-2.07,14.66-2.15c7.13-.11,14.49-.22,21.29-3,7-2.91,12.73-8.37,17.76-13.19C120.22,41.16,125.6,36,128,36s7.78,5.16,11.34,8.57c5,4.82,10.72,10.28,17.76,13.19,6.8,2.82,14.16,2.93,21.29,3,5.36.08,12.71.19,14.66,2.15s2.07,9.3,2.15,14.66c.11,7.13.22,14.49,3,21.29,2.91,7,8.37,12.73,13.19,17.76,3.41,3.56,8.57,8.94,8.57,11.34S214.84,135.78,211.43,139.34ZM116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"},null,-1),Y=[X],J={key:1},K=u("path",{d:"M232,128c0,12.51-17.82,21.95-22.68,33.69-4.68,11.32,1.42,30.64-7.78,39.85s-28.53,3.1-39.85,7.78C150,214.18,140.5,232,128,232s-22-17.82-33.69-22.68c-11.32-4.68-30.65,1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82,150,24,140.5,24,128s17.82-22,22.68-33.69C51.36,83,45.26,63.66,54.46,54.46S83,51.36,94.31,46.68C106.05,41.82,115.5,24,128,24S150,41.82,161.69,46.68c11.32,4.68,30.65-1.42,39.85,7.78s3.1,28.53,7.78,39.85C214.18,106.05,232,115.5,232,128Z",opacity:"0.2"},null,-1),Q=u("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.15,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.15,214.31,142.11ZM120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),e1=[K,Q],t1={key:2},s1=u("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1),a1=[s1],c1={key:3},n1=u("path",{d:"M224.42,104.2c-3.9-4.07-7.93-8.27-9.55-12.18-1.5-3.63-1.58-9-1.67-14.68-.14-9.38-.3-20-7.42-27.12S188,42.94,178.66,42.8c-5.68-.09-11-.17-14.68-1.67-3.91-1.62-8.11-5.65-12.18-9.55C145.16,25.22,137.64,18,128,18s-17.16,7.22-23.8,13.58c-4.07,3.9-8.27,7.93-12.18,9.55-3.63,1.5-9,1.58-14.68,1.67-9.38.14-20,.3-27.12,7.42S42.94,68,42.8,77.34c-.09,5.68-.17,11-1.67,14.68-1.62,3.91-5.65,8.11-9.55,12.18C25.22,110.84,18,118.36,18,128s7.22,17.16,13.58,23.8c3.9,4.07,7.93,8.27,9.55,12.18,1.5,3.63,1.58,9,1.67,14.68.14,9.38.3,20,7.42,27.12S68,213.06,77.34,213.2c5.68.09,11,.17,14.68,1.67,3.91,1.62,8.11,5.65,12.18,9.55C110.84,230.78,118.36,238,128,238s17.16-7.22,23.8-13.58c4.07-3.9,8.27-7.93,12.18-9.55,3.63-1.5,9-1.58,14.68-1.67,9.38-.14,20-.3,27.12-7.42s7.28-17.74,7.42-27.12c.09-5.68.17-11,1.67-14.68,1.62-3.91,5.65-8.11,9.55-12.18C230.78,145.16,238,137.64,238,128S230.78,110.84,224.42,104.2Zm-8.66,39.3c-4.67,4.86-9.5,9.9-12,15.9-2.38,5.74-2.48,12.52-2.58,19.08-.11,7.44-.23,15.14-3.9,18.82s-11.38,3.79-18.82,3.9c-6.56.1-13.34.2-19.08,2.58-6,2.48-11,7.31-15.91,12-5.25,5-10.68,10.24-15.49,10.24s-10.24-5.21-15.5-10.24c-4.86-4.67-9.9-9.5-15.9-12-5.74-2.38-12.52-2.48-19.08-2.58-7.44-.11-15.14-.23-18.82-3.9s-3.79-11.38-3.9-18.82c-.1-6.56-.2-13.34-2.58-19.08-2.48-6-7.31-11-12-15.91C35.21,138.24,30,132.81,30,128s5.21-10.24,10.24-15.5c4.67-4.86,9.5-9.9,12-15.9,2.38-5.74,2.48-12.52,2.58-19.08.11-7.44.23-15.14,3.9-18.82s11.38-3.79,18.82-3.9c6.56-.1,13.34-.2,19.08-2.58,6-2.48,11-7.31,15.91-12C117.76,35.21,123.19,30,128,30s10.24,5.21,15.5,10.24c4.86,4.67,9.9,9.5,15.9,12,5.74,2.38,12.52,2.48,19.08,2.58,7.44.11,15.14.23,18.82,3.9s3.79,11.38,3.9,18.82c.1,6.56.2,13.34,2.58,19.08,2.48,6,7.31,11,12,15.91,5,5.25,10.24,10.68,10.24,15.49S220.79,138.24,215.76,143.5ZM122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"},null,-1),o1=[n1],l1={key:4},r1=u("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.15,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.15,214.31,142.11ZM120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),i1=[r1],u1={key:5},d1=u("path",{d:"M223,105.58c-4-4.2-8.2-8.54-10-12.8-1.65-4-1.73-9.53-1.82-15.41-.14-9-.29-19.19-6.83-25.74s-16.74-6.69-25.74-6.83c-5.88-.09-11.43-.17-15.41-1.82-4.26-1.76-8.6-5.93-12.8-9.95-6.68-6.41-13.59-13-22.42-13s-15.74,6.62-22.42,13c-4.2,4-8.54,8.2-12.8,10-4,1.65-9.53,1.73-15.41,1.82-9,.14-19.19.29-25.74,6.83S44.94,68.37,44.8,77.37c-.09,5.88-.17,11.43-1.82,15.41-1.76,4.26-5.93,8.6-9.95,12.8-6.41,6.68-13,13.59-13,22.42s6.62,15.74,13,22.42c4,4.2,8.2,8.54,10,12.8,1.65,4,1.73,9.53,1.82,15.41.14,9,.29,19.19,6.83,25.74s16.74,6.69,25.74,6.83c5.88.09,11.43.17,15.41,1.82,4.26,1.76,8.6,5.93,12.8,9.95,6.68,6.41,13.59,13,22.42,13s15.74-6.62,22.42-13c4.2-4,8.54-8.2,12.8-10,4-1.65,9.53-1.73,15.41-1.82,9-.14,19.19-.29,25.74-6.83s6.69-16.74,6.83-25.74c.09-5.88.17-11.43,1.82-15.41,1.76-4.26,5.93-8.6,9.95-12.8,6.41-6.68,13-13.59,13-22.42S229.38,112.26,223,105.58Zm-5.78,39.3c-4.54,4.73-9.24,9.63-11.57,15.28-2.23,5.39-2.33,12-2.43,18.35-.12,8.2-.24,16-4.49,20.2s-12,4.37-20.2,4.49c-6.37.1-13,.2-18.35,2.43-5.65,2.33-10.55,7-15.28,11.57C139.09,222.75,133.62,228,128,228s-11.09-5.25-16.88-10.8c-4.73-4.54-9.63-9.24-15.28-11.57-5.39-2.23-12-2.33-18.35-2.43-8.2-.12-15.95-.24-20.2-4.49s-4.37-12-4.49-20.2c-.1-6.37-.2-13-2.43-18.35-2.33-5.65-7-10.55-11.57-15.28C33.25,139.09,28,133.62,28,128s5.25-11.09,10.8-16.88c4.54-4.73,9.24-9.63,11.57-15.28,2.23-5.39,2.33-12,2.43-18.35.12-8.2.24-15.95,4.49-20.2s12-4.37,20.2-4.49c6.37-.1,13-.2,18.35-2.43,5.65-2.33,10.55-7,15.28-11.57C116.91,33.25,122.38,28,128,28s11.09,5.25,16.88,10.8c4.73,4.54,9.63,9.24,15.28,11.57,5.39,2.23,12,2.33,18.35,2.43,8.2.12,16,.24,20.2,4.49s4.37,12,4.49,20.2c.1,6.37.2,13,2.43,18.35,2.33,5.65,7,10.55,11.57,15.28,5.55,5.79,10.8,11.26,10.8,16.88S222.75,139.09,217.2,144.88ZM124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"},null,-1),p1=[d1],m1={name:"PhSealWarning"},f1=x({...m1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const s=l,i=S("weight","regular"),y=S("size","1em"),c=S("color","currentColor"),f=S("mirrored",!1),n=_(()=>{var e;return(e=s.weight)!=null?e:i}),t=_(()=>{var e;return(e=s.size)!=null?e:y}),g=_(()=>{var e;return(e=s.color)!=null?e:c}),r=_(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:f?"scale(-1, 1)":void 0);return(e,h)=>(a(),d("svg",V({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:t.value,height:t.value,fill:g.value,transform:r.value},e.$attrs),[I(e.$slots,"default"),n.value==="bold"?(a(),d("g",U,Y)):n.value==="duotone"?(a(),d("g",J,e1)):n.value==="fill"?(a(),d("g",t1,a1)):n.value==="light"?(a(),d("g",c1,o1)):n.value==="regular"?(a(),d("g",l1,i1)):n.value==="thin"?(a(),d("g",u1,p1)):b("",!0)],16,H))}}),w1=x({__name:"BillingAlert",props:{organizationId:{},billingMetadata:{}},setup(l){const s=l,i=_(()=>{var c,f;return(f=(c=s.billingMetadata)==null?void 0:c.messageCTA)!=null?f:"Contact Us"}),y=()=>{D.showNewMessage("Help me with my plan"),N.billingAlertCtaClicked(s.organizationId,i.value)};return(c,f)=>{var n;return(n=c.billingMetadata)!=null&&n.message?(a(),p(m(O),{key:0,type:"error"},{message:o(()=>[k(m(P),{type:"secondary"},{default:o(()=>{var t;return[C(v((t=c.billingMetadata)==null?void 0:t.message),1)]}),_:1})]),action:o(()=>{var t;return[(t=c.billingMetadata)!=null&&t.messageLink?(a(),p(m(M),{key:0,type:"primary",target:"_blank",href:c.billingMetadata.messageLink},{default:o(()=>[C(v(i.value),1)]),_:1},8,["href"])):(a(),p(m(M),{key:1,type:"primary",onClick:y},{default:o(()=>[C(v(i.value),1)]),_:1}))]}),_:1})):b("",!0)}}}),g1={class:"text"},_1=x({__name:"Tooltip",props:{text:{type:String,required:!0},left:{type:Number},top:{type:Number},fixed:{type:Boolean,default:!1}},setup(l){const s=l,i=Z(Date.now()),y=()=>{i.value=Date.now()},c=Z(null),f=()=>{var e,h,w;const t=(e=c.value)==null?void 0:e.getBoundingClientRect();if(!t)return{};const{x:g,y:r}=t;return i.value,{position:"fixed",top:`${r+((h=s.top)!=null?h:0)}px`,left:`${g+((w=s.left)!=null?w:0)}px`}},n=_(()=>{var t;return s.fixed?f():{left:`${(t=s.left)!=null?t:-14}px`,...s.top?{top:`${s.top}px`}:{}}});return(t,g)=>(a(),d("div",{ref_key:"tooltipBox",ref:c,class:"tooltip-box",onMouseenter:y},[I(t.$slots,"default",{},void 0,!0),u("div",{class:"tooltip",style:R(n.value)},[u("span",g1,v(l.text),1)],4)],544))}});const y1=z(_1,[["__scopeId","data-v-c3a6ca5e"]]),C1={style:{width:"100%",padding:"10px 15px"}},v1={style:{"margin-right":"5px"}},h1=x({__name:"Sidebar",props:{sections:{}},setup(l){const s=l,i=L();function y(){var t,g;return[(g=(t=s.sections.map(r=>r.items).flat().find(r=>{const e=i.path.split("/"),h=e[e.length-1];return r.path===h}))==null?void 0:t.name)!=null?g:"forms"]}const c=_(y),f=_(()=>s.sections.map(n=>({...n,items:n.items.filter(t=>!t.unavailable)})));return(n,t)=>{const g=E("RouterLink");return a(),p(m(G),{style:{"border-right":"1px solid #f6f6f6",width:"200px"},"selected-keys":c.value},{default:o(()=>[u("div",C1,[k(W)]),(a(!0),d(B,null,A(f.value,r=>(a(),p(m(F),{key:r.name},{title:o(()=>[C(v(r.name),1)]),default:o(()=>[(a(!0),d(B,null,A(r.items,e=>(a(),p(m(j),{key:e.name,role:"button",class:"menu-item",disabled:e.unavailable||r.cloud,tabindex:"0"},{icon:o(()=>[(a(),p(q(e.icon),{class:T({disabled:e.unavailable,active:c.value.includes(e.path)}),size:"20"},null,8,["class"]))]),default:o(()=>[k(g,{to:e.path,class:T({active:c.value.includes(e.path),disabled:e.unavailable})},{default:o(()=>[u("span",v1,v(e.name),1)]),_:2},1032,["to","class"]),e.unavailable?(a(),p(m($),{key:0},{default:o(()=>[C("SOON")]),_:1})):b("",!0),e.beta?(a(),p(m($),{key:1},{default:o(()=>[C("BETA")]),_:1})):b("",!0),e.warning?(a(),p(y1,{key:2,text:e.warning,fixed:!0,top:18,left:18},{default:o(()=>[k(m(f1),{color:"#D35249",size:"20"})]),_:2},1032,["text"])):b("",!0)]),_:2},1032,["disabled"]))),128))]),_:2},1024))),128))]),_:1},8,["selected-keys"])}}});const M1=z(h1,[["__scopeId","data-v-c737c533"]]);export{M1 as S,w1 as _}; +//# sourceMappingURL=Sidebar.e2719686.js.map diff --git a/abstra_statics/dist/assets/SourceCode.9682eb82.js b/abstra_statics/dist/assets/SourceCode.b049bbd7.js similarity index 97% rename from abstra_statics/dist/assets/SourceCode.9682eb82.js rename to abstra_statics/dist/assets/SourceCode.b049bbd7.js index f4b2987769..aada089afc 100644 --- a/abstra_statics/dist/assets/SourceCode.9682eb82.js +++ b/abstra_statics/dist/assets/SourceCode.b049bbd7.js @@ -1,4 +1,4 @@ -var ke=Object.defineProperty;var Ze=(i,e,t)=>e in i?ke(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var f=(i,e,t)=>(Ze(i,typeof e!="symbol"?e+"":e,t),t);import{d as b,B as y,f as v,o,X as n,Z as T,R as w,e8 as W,a as r,$ as j,D as He,c as S,eg as be,u as c,w as g,aF as V,bH as $e,b as m,cv as we,e9 as J,aR as ce,e as L,aV as z,eT as Le,di as Ve,dd as P,ed as N,g as Y,W as de,ag as he,eU as Ee,eb as Ce,ec as Ie,ea as xe,J as ie,aq as ze,r as Pe,Y as Te,d7 as Be,em as Ne,en as De,Q as ae,bP as ee}from"./vue-router.33f35a18.js";import{u as ue}from"./uuid.0acc5368.js";import{H as Fe,J as Re,S as We,A as te}from"./scripts.cc2cce9b.js";import{u as Oe}from"./editor.c70395a0.js";import{d as je,e as Ue,v as Ge}from"./validations.64a1fba7.js";import{I as Je}from"./PhCopy.vue.edaabc1e.js";import{H as qe}from"./PhCheckCircle.vue.9e5251d2.js";import{I as Ke}from"./PhCopySimple.vue.b5d1b25b.js";import{G as me}from"./PhCaretRight.vue.d23111f3.js";import{B as Ye}from"./Badge.71fee936.js";import{G as Qe}from"./PhBug.vue.ea49dd1b.js";import{H as Xe}from"./PhQuestion.vue.020af0e7.js";import{L as e0}from"./LoadingOutlined.64419cb9.js";import{W as re}from"./workspaces.91ed8c72.js";import{a as ye}from"./asyncComputed.c677c545.js";import{u as t0}from"./polling.3587342a.js";import{G as a0}from"./PhPencil.vue.2def7849.js";import{l as le,R as Ae,e as Q,M as K}from"./toggleHighContrast.aa328f74.js";import{A as l0}from"./index.f014adef.js";import{C as o0}from"./Card.639eca4a.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="7f2b3680-af12-4125-ac3e-4e11d015ae97",i._sentryDebugIdIdentifier="sentry-dbid-7f2b3680-af12-4125-ac3e-4e11d015ae97")}catch{}})();const s0=["width","height","fill","transform"],n0={key:0},r0=r("path",{d:"M237.24,213.21C216.12,203,204,180.64,204,152V134.73a19.94,19.94,0,0,0-12.62-18.59l-24.86-9.81a4,4,0,0,1-2.26-5.14l21.33-53A32,32,0,0,0,167.17,6,32.13,32.13,0,0,0,126.25,24.2l-.07.18-21,53.09a3.94,3.94,0,0,1-2.14,2.2,3.89,3.89,0,0,1-3,.06L74.6,69.43A19.89,19.89,0,0,0,52.87,74C31.06,96.43,20,122.68,20,152a115.46,115.46,0,0,0,32.29,80.3A12,12,0,0,0,61,236H232a12,12,0,0,0,5.24-22.79ZM68.19,92.73,91.06,102A28,28,0,0,0,127.5,86.31l20.95-53a8.32,8.32,0,0,1,10.33-4.81,8,8,0,0,1,4.61,10.57,1.17,1.17,0,0,0,0,.11L142,92.29a28.05,28.05,0,0,0,15.68,36.33L180,137.45V152c0,1,0,2.07.05,3.1l-122.44-49A101.91,101.91,0,0,1,68.19,92.73ZM116.74,212a83.73,83.73,0,0,1-22.09-39,12,12,0,0,0-23.25,6,110.27,110.27,0,0,0,14.49,33H66.25A91.53,91.53,0,0,1,44,152a84,84,0,0,1,3.41-24.11l136.67,54.66A86.58,86.58,0,0,0,198.66,212Z"},null,-1),i0=[r0],u0={key:1},c0=r("path",{d:"M192.8,165.12,43.93,105.57A110.88,110.88,0,0,1,61.47,82.38a8,8,0,0,1,8.67-1.81L95.52,90.85a16,16,0,0,0,20.82-9l21-53.1c4.15-10,15.47-15.33,25.63-11.53a20,20,0,0,1,11.51,26.39L153.13,96.71a16,16,0,0,0,8.93,20.75L187,127.3a8,8,0,0,1,5,7.43V152A104.58,104.58,0,0,0,192.8,165.12Z",opacity:"0.2"},null,-1),d0=r("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"},null,-1),h0=[c0,d0],p0={key:2},g0=r("path",{d:"M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"},null,-1),v0=[g0],f0={key:3},m0=r("path",{d:"M234.62,218.6C211.35,207.29,198,183,198,152V134.7a14,14,0,0,0-8.82-13l-24.89-9.83a10,10,0,0,1-5.59-13L180,45.9a26,26,0,0,0-15-34.33c-12.95-4.83-27.88,1.84-33.31,15l-21,53.11a10,10,0,0,1-13,5.61L72.37,75a13.9,13.9,0,0,0-15.2,3.19C36.49,99.42,26,124.26,26,152a109.53,109.53,0,0,0,30.62,76.16A6,6,0,0,0,61,230H232a6,6,0,0,0,2.62-11.4ZM65.77,86.52a2,2,0,0,1,2.12-.43l25.4,10.29a22,22,0,0,0,28.63-12.32l21-53c3-7.13,11-10.81,18-8.21a14,14,0,0,1,8,18.54l-21.36,53.1A22.05,22.05,0,0,0,159.86,123l24.88,9.83A2,2,0,0,1,186,134.7V152c0,1.34,0,2.65.08,4L52.74,102.61A110.07,110.07,0,0,1,65.77,86.52ZM114.33,218a89.6,89.6,0,0,1-25.5-43.5,6,6,0,1,0-11.62,3A102.87,102.87,0,0,0,97.81,218H63.56A97.56,97.56,0,0,1,38,152a87.42,87.42,0,0,1,8.71-38.86L187.35,169.4c3.15,19.92,11.77,36.66,25,48.6Z"},null,-1),y0=[m0],_0={key:4},H0=r("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"},null,-1),$0=[H0],w0={key:5},C0=r("path",{d:"M233.75,220.4C209.76,208.75,196,183.82,196,152V134.72a12,12,0,0,0-7.56-11.15l-24.89-9.83a12,12,0,0,1-6.71-15.55l21.33-53a23.88,23.88,0,0,0-31.93-31A24.72,24.72,0,0,0,133.62,27.3l-21,53.1A12,12,0,0,1,97,87.13L71.63,76.84a12,12,0,0,0-13,2.73C38.3,100.45,28,124.82,28,152a107.5,107.5,0,0,0,30.07,74.77A4,4,0,0,0,61,228H232a4,4,0,0,0,1.75-7.6ZM64.34,85.15a3.94,3.94,0,0,1,4.3-.89L94,94.55a20,20,0,0,0,26-11.2l21-53C144.39,22.19,153.61,18,161.58,21a16,16,0,0,1,9.19,21.16L149.41,95.22a20,20,0,0,0,11.18,26l24.9,9.83a4,4,0,0,1,2.51,3.72V152c0,2.36.08,4.69.22,7l-138.5-55.4A110.84,110.84,0,0,1,64.34,85.15ZM113.56,220A91.35,91.35,0,0,1,86.9,175a4,4,0,0,0-7.75,2,100.21,100.21,0,0,0,23.09,43H62.68A99.5,99.5,0,0,1,36,152a89.37,89.37,0,0,1,9.73-41.4L189.13,168c3.22,22,13.23,40.09,28.8,52Z"},null,-1),A0=[C0],M0={name:"PhBroom"},S0=b({...M0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",n0,i0)):s.value==="duotone"?(o(),n("g",u0,h0)):s.value==="fill"?(o(),n("g",p0,v0)):s.value==="light"?(o(),n("g",f0,y0)):s.value==="regular"?(o(),n("g",_0,$0)):s.value==="thin"?(o(),n("g",w0,A0)):w("",!0)],16,s0))}}),k0=["width","height","fill","transform"],Z0={key:0},b0=r("path",{d:"M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z"},null,-1),L0=[b0],V0={key:1},E0=r("path",{d:"M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",opacity:"0.2"},null,-1),I0=r("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z"},null,-1),x0=[E0,I0],z0={key:2},P0=r("path",{d:"M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"},null,-1),T0=[P0],B0={key:3},N0=r("path",{d:"M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z"},null,-1),D0=[N0],F0={key:4},R0=r("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"},null,-1),W0=[R0],O0={key:5},j0=r("path",{d:"M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z"},null,-1),U0=[j0],G0={name:"PhFolder"},J0=b({...G0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Z0,L0)):s.value==="duotone"?(o(),n("g",V0,x0)):s.value==="fill"?(o(),n("g",z0,T0)):s.value==="light"?(o(),n("g",B0,D0)):s.value==="regular"?(o(),n("g",F0,W0)):s.value==="thin"?(o(),n("g",O0,U0)):w("",!0)],16,k0))}}),q0=["width","height","fill","transform"],K0={key:0},Y0=r("path",{d:"M233.86,110.48,65.8,14.58A20,20,0,0,0,37.15,38.64L67.33,128,37.15,217.36A20,20,0,0,0,56,244a20.1,20.1,0,0,0,9.81-2.58l.09-.06,168-96.07a20,20,0,0,0,0-34.81ZM63.19,215.26,88.61,140H144a12,12,0,0,0,0-24H88.61L63.18,40.72l152.76,87.17Z"},null,-1),Q0=[Y0],X0={key:1},et=r("path",{d:"M227.91,134.86,59.93,231a8,8,0,0,1-11.44-9.67L80,128,48.49,34.72a8,8,0,0,1,11.44-9.67l168,95.85A8,8,0,0,1,227.91,134.86Z",opacity:"0.2"},null,-1),tt=r("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"},null,-1),at=[et,tt],lt={key:2},ot=r("path",{d:"M240,127.89a16,16,0,0,1-8.18,14L63.9,237.9A16.15,16.15,0,0,1,56,240a16,16,0,0,1-15-21.33l27-79.95A4,4,0,0,1,71.72,136H144a8,8,0,0,0,8-8.53,8.19,8.19,0,0,0-8.26-7.47h-72a4,4,0,0,1-3.79-2.72l-27-79.94A16,16,0,0,1,63.84,18.07l168,95.89A16,16,0,0,1,240,127.89Z"},null,-1),st=[ot],nt={key:3},rt=r("path",{d:"M230.88,115.69l-168-95.88a14,14,0,0,0-20,16.87L73.66,128,42.81,219.33A14,14,0,0,0,56,238a14.15,14.15,0,0,0,6.93-1.83L230.84,140.1a14,14,0,0,0,0-24.41Zm-5.95,14L57,225.73a2,2,0,0,1-2.86-2.42.42.42,0,0,0,0-.1L84.3,134H144a6,6,0,0,0,0-12H84.3L54.17,32.8a.3.3,0,0,0,0-.1,1.87,1.87,0,0,1,.6-2.2A1.85,1.85,0,0,1,57,30.25l168,95.89a1.93,1.93,0,0,1,1,1.74A2,2,0,0,1,224.93,129.66Z"},null,-1),it=[rt],ut={key:4},ct=r("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"},null,-1),dt=[ct],ht={key:5},pt=r("path",{d:"M229.89,117.43l-168-95.88A12,12,0,0,0,44.7,36l31.08,92L44.71,220A12,12,0,0,0,56,236a12.13,12.13,0,0,0,5.93-1.57l167.94-96.08a12,12,0,0,0,0-20.92Zm-4,14L58,227.47a4,4,0,0,1-5.72-4.83l0-.07L82.87,132H144a4,4,0,0,0,0-8H82.87L52.26,33.37A3.89,3.89,0,0,1,53.44,29,4.13,4.13,0,0,1,56,28a3.88,3.88,0,0,1,1.93.54l168,95.87a4,4,0,0,1,0,7Z"},null,-1),gt=[pt],vt={name:"PhPaperPlaneRight"},ft=b({...vt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",K0,Q0)):s.value==="duotone"?(o(),n("g",X0,at)):s.value==="fill"?(o(),n("g",lt,st)):s.value==="light"?(o(),n("g",nt,it)):s.value==="regular"?(o(),n("g",ut,dt)):s.value==="thin"?(o(),n("g",ht,gt)):w("",!0)],16,q0))}}),mt=["width","height","fill","transform"],yt={key:0},_t=r("path",{d:"M20,128A76.08,76.08,0,0,1,96,52h99l-3.52-3.51a12,12,0,1,1,17-17l24,24a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L195,76H96a52.06,52.06,0,0,0-52,52,12,12,0,0,1-24,0Zm204-12a12,12,0,0,0-12,12,52.06,52.06,0,0,1-52,52H61l3.52-3.51a12,12,0,1,0-17-17l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,1,0,17-17L61,204h99a76.08,76.08,0,0,0,76-76A12,12,0,0,0,224,116Z"},null,-1),Ht=[_t],$t={key:1},wt=r("path",{d:"M224,64v64a64,64,0,0,1-64,64H32V128A64,64,0,0,1,96,64Z",opacity:"0.2"},null,-1),Ct=r("path",{d:"M24,128A72.08,72.08,0,0,1,96,56H204.69L194.34,45.66a8,8,0,0,1,11.32-11.32l24,24a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L204.69,72H96a56.06,56.06,0,0,0-56,56,8,8,0,0,1-16,0Zm200-8a8,8,0,0,0-8,8,56.06,56.06,0,0,1-56,56H51.31l10.35-10.34a8,8,0,0,0-11.32-11.32l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L51.31,200H160a72.08,72.08,0,0,0,72-72A8,8,0,0,0,224,120Z"},null,-1),At=[wt,Ct],Mt={key:2},St=r("path",{d:"M24,128A72.08,72.08,0,0,1,96,56h96V40a8,8,0,0,1,13.66-5.66l24,24a8,8,0,0,1,0,11.32l-24,24A8,8,0,0,1,192,88V72H96a56.06,56.06,0,0,0-56,56,8,8,0,0,1-16,0Zm200-8a8,8,0,0,0-8,8,56.06,56.06,0,0,1-56,56H64V168a8,8,0,0,0-13.66-5.66l-24,24a8,8,0,0,0,0,11.32l24,24A8,8,0,0,0,64,216V200h96a72.08,72.08,0,0,0,72-72A8,8,0,0,0,224,120Z"},null,-1),kt=[St],Zt={key:3},bt=r("path",{d:"M26,128A70.08,70.08,0,0,1,96,58H209.51L195.76,44.24a6,6,0,0,1,8.48-8.48l24,24a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L209.51,70H96a58.07,58.07,0,0,0-58,58,6,6,0,0,1-12,0Zm198-6a6,6,0,0,0-6,6,58.07,58.07,0,0,1-58,58H46.49l13.75-13.76a6,6,0,0,0-8.48-8.48l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,0,0,8.48-8.48L46.49,198H160a70.08,70.08,0,0,0,70-70A6,6,0,0,0,224,122Z"},null,-1),Lt=[bt],Vt={key:4},Et=r("path",{d:"M24,128A72.08,72.08,0,0,1,96,56H204.69L194.34,45.66a8,8,0,0,1,11.32-11.32l24,24a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L204.69,72H96a56.06,56.06,0,0,0-56,56,8,8,0,0,1-16,0Zm200-8a8,8,0,0,0-8,8,56.06,56.06,0,0,1-56,56H51.31l10.35-10.34a8,8,0,0,0-11.32-11.32l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L51.31,200H160a72.08,72.08,0,0,0,72-72A8,8,0,0,0,224,120Z"},null,-1),It=[Et],xt={key:5},zt=r("path",{d:"M28,128A68.07,68.07,0,0,1,96,60H214.34L197.17,42.83a4,4,0,0,1,5.66-5.66l24,24a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L214.34,68H96a60.07,60.07,0,0,0-60,60,4,4,0,0,1-8,0Zm196-4a4,4,0,0,0-4,4,60.07,60.07,0,0,1-60,60H41.66l17.17-17.17a4,4,0,0,0-5.66-5.66l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L41.66,196H160a68.07,68.07,0,0,0,68-68A4,4,0,0,0,224,124Z"},null,-1),Pt=[zt],Tt={name:"PhRepeat"},Bt=b({...Tt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",yt,Ht)):s.value==="duotone"?(o(),n("g",$t,At)):s.value==="fill"?(o(),n("g",Mt,kt)):s.value==="light"?(o(),n("g",Zt,Lt)):s.value==="regular"?(o(),n("g",Vt,It)):s.value==="thin"?(o(),n("g",xt,Pt)):w("",!0)],16,mt))}}),Nt=["width","height","fill","transform"],Dt={key:0},Ft=r("path",{d:"M200,36H56A20,20,0,0,0,36,56V200a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,160H60V60H196Z"},null,-1),Rt=[Ft],Wt={key:1},Ot=r("path",{d:"M208,56V200a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z",opacity:"0.2"},null,-1),jt=r("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,160H56V56H200V200Z"},null,-1),Ut=[Ot,jt],Gt={key:2},Jt=r("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z"},null,-1),qt=[Jt],Kt={key:3},Yt=r("path",{d:"M200,42H56A14,14,0,0,0,42,56V200a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,158a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H200a2,2,0,0,1,2,2Z"},null,-1),Qt=[Yt],Xt={key:4},e1=r("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,160H56V56H200V200Z"},null,-1),t1=[e1],a1={key:5},l1=r("path",{d:"M200,44H56A12,12,0,0,0,44,56V200a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,156a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4Z"},null,-1),o1=[l1],s1={name:"PhStop"},n1=b({...s1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Dt,Rt)):s.value==="duotone"?(o(),n("g",Wt,Ut)):s.value==="fill"?(o(),n("g",Gt,qt)):s.value==="light"?(o(),n("g",Kt,Qt)):s.value==="regular"?(o(),n("g",Xt,t1)):s.value==="thin"?(o(),n("g",a1,o1)):w("",!0)],16,Nt))}}),r1=["width","height","fill","transform"],i1={key:0},u1=r("path",{d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"},null,-1),c1=[u1],d1={key:1},h1=r("path",{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),p1=r("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1),g1=[h1,p1],v1={key:2},f1=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"},null,-1),m1=[f1],y1={key:3},_1=r("path",{d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"},null,-1),H1=[_1],$1={key:4},w1=r("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1),C1=[w1],A1={key:5},M1=r("path",{d:"M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z"},null,-1),S1=[M1],k1={name:"PhTerminalWindow"},Z1=b({...k1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",i1,c1)):s.value==="duotone"?(o(),n("g",d1,g1)):s.value==="fill"?(o(),n("g",v1,m1)):s.value==="light"?(o(),n("g",y1,H1)):s.value==="regular"?(o(),n("g",$1,C1)):s.value==="thin"?(o(),n("g",A1,S1)):w("",!0)],16,r1))}}),b1=["width","height","fill","transform"],L1={key:0},V1=r("path",{d:"M243.78,156.53l-12-96A28,28,0,0,0,204,36H32A20,20,0,0,0,12,56v88a20,20,0,0,0,20,20H72.58l36.69,73.37A12,12,0,0,0,120,244a44.05,44.05,0,0,0,44-44V188h52a28,28,0,0,0,27.78-31.47ZM68,140H36V60H68Zm151,22.65a4,4,0,0,1-3,1.35H152a12,12,0,0,0-12,12v24a20,20,0,0,1-13.18,18.8L92,149.17V60H204a4,4,0,0,1,4,3.5l12,96A4,4,0,0,1,219,162.65Z"},null,-1),E1=[V1],I1={key:1},x1=r("path",{d:"M80,48V152H32a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8Z",opacity:"0.2"},null,-1),z1=r("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Zm150,21.29a7.88,7.88,0,0,1-6,2.71H152a8,8,0,0,0-8,8v24a24,24,0,0,1-19.29,23.54L88,150.11V56H204a8,8,0,0,1,7.94,7l12,96A7.87,7.87,0,0,1,222,165.29Z"},null,-1),P1=[x1,z1],T1={key:2},B1=r("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Z"},null,-1),N1=[B1],D1={key:3},F1=r("path",{d:"M237.83,157.27l-12-96A22,22,0,0,0,204,42H32A14,14,0,0,0,18,56v88a14,14,0,0,0,14,14H76.29l38.34,76.68A6,6,0,0,0,120,238a38,38,0,0,0,38-38V182h58a22,22,0,0,0,21.83-24.73ZM74,146H32a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H74Zm149.5,20.62A9.89,9.89,0,0,1,216,170H152a6,6,0,0,0-6,6v24a26,26,0,0,1-22.42,25.75L86,150.58V54H204a10,10,0,0,1,9.92,8.76l12,96A9.89,9.89,0,0,1,223.5,166.62Z"},null,-1),R1=[F1],W1={key:4},O1=r("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Zm150,21.29a7.88,7.88,0,0,1-6,2.71H152a8,8,0,0,0-8,8v24a24,24,0,0,1-19.29,23.54L88,150.11V56H204a8,8,0,0,1,7.94,7l12,96A7.87,7.87,0,0,1,222,165.29Z"},null,-1),j1=[O1],U1={key:5},G1=r("path",{d:"M235.85,157.52l-12-96A20,20,0,0,0,204,44H32A12,12,0,0,0,20,56v88a12,12,0,0,0,12,12H77.53l38.89,77.79A4,4,0,0,0,120,236a36,36,0,0,0,36-36V180h60a20,20,0,0,0,19.85-22.48ZM76,148H32a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H76Zm149,19.94a12,12,0,0,1-9,4.06H152a4,4,0,0,0-4,4v24a28,28,0,0,1-25.58,27.9L84,151.06V52H204a12,12,0,0,1,11.91,10.51l12,96A12,12,0,0,1,225,167.94Z"},null,-1),J1=[G1],q1={name:"PhThumbsDown"},K1=b({...q1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",L1,E1)):s.value==="duotone"?(o(),n("g",I1,P1)):s.value==="fill"?(o(),n("g",T1,N1)):s.value==="light"?(o(),n("g",D1,R1)):s.value==="regular"?(o(),n("g",W1,j1)):s.value==="thin"?(o(),n("g",U1,J1)):w("",!0)],16,b1))}}),Y1=["width","height","fill","transform"],Q1={key:0},X1=r("path",{d:"M237,77.47A28,28,0,0,0,216,68H164V56a44.05,44.05,0,0,0-44-44,12,12,0,0,0-10.73,6.63L72.58,92H32a20,20,0,0,0-20,20v88a20,20,0,0,0,20,20H204a28,28,0,0,0,27.78-24.53l12-96A28,28,0,0,0,237,77.47ZM36,116H68v80H36ZM220,96.5l-12,96a4,4,0,0,1-4,3.5H92V106.83L126.82,37.2A20,20,0,0,1,140,56V80a12,12,0,0,0,12,12h64a4,4,0,0,1,4,4.5Z"},null,-1),ea=[X1],ta={key:1},aa=r("path",{d:"M80,104V208H32a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8Z",opacity:"0.2"},null,-1),la=r("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32ZM223.94,97l-12,96a8,8,0,0,1-7.94,7H88V105.89l36.71-73.43A24,24,0,0,1,144,56V80a8,8,0,0,0,8,8h64a8,8,0,0,1,7.94,9Z"},null,-1),oa=[aa,la],sa={key:2},na=r("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32Z"},null,-1),ra=[na],ia={key:3},ua=r("path",{d:"M232.49,81.44A22,22,0,0,0,216,74H158V56a38,38,0,0,0-38-38,6,6,0,0,0-5.37,3.32L76.29,98H32a14,14,0,0,0-14,14v88a14,14,0,0,0,14,14H204a22,22,0,0,0,21.83-19.27l12-96A22,22,0,0,0,232.49,81.44ZM30,200V112a2,2,0,0,1,2-2H74v92H32A2,2,0,0,1,30,200ZM225.92,97.24l-12,96A10,10,0,0,1,204,202H86V105.42l37.58-75.17A26,26,0,0,1,146,56V80a6,6,0,0,0,6,6h64a10,10,0,0,1,9.92,11.24Z"},null,-1),ca=[ua],da={key:4},ha=r("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32ZM223.94,97l-12,96a8,8,0,0,1-7.94,7H88V105.89l36.71-73.43A24,24,0,0,1,144,56V80a8,8,0,0,0,8,8h64a8,8,0,0,1,7.94,9Z"},null,-1),pa=[ha],ga={key:5},va=r("path",{d:"M231,82.76A20,20,0,0,0,216,76H156V56a36,36,0,0,0-36-36,4,4,0,0,0-3.58,2.21L77.53,100H32a12,12,0,0,0-12,12v88a12,12,0,0,0,12,12H204a20,20,0,0,0,19.85-17.52l12-96A20,20,0,0,0,231,82.76ZM76,204H32a4,4,0,0,1-4-4V112a4,4,0,0,1,4-4H76ZM227.91,97.49l-12,96A12,12,0,0,1,204,204H84V104.94L122.42,28.1A28,28,0,0,1,148,56V80a4,4,0,0,0,4,4h64a12,12,0,0,1,11.91,13.49Z"},null,-1),fa=[va],ma={name:"PhThumbsUp"},ya=b({...ma,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Q1,ea)):s.value==="duotone"?(o(),n("g",ta,oa)):s.value==="fill"?(o(),n("g",sa,ra)):s.value==="light"?(o(),n("g",ia,ca)):s.value==="regular"?(o(),n("g",da,pa)):s.value==="thin"?(o(),n("g",ga,fa)):w("",!0)],16,Y1))}}),_a=["width","height","fill","transform"],Ha={key:0},$a=r("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"},null,-1),wa=[$a],Ca={key:1},Aa=r("path",{d:"M232,56v64L168,56Z",opacity:"0.2"},null,-1),Ma=r("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"},null,-1),Sa=[Aa,Ma],ka={key:2},Za=r("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"},null,-1),ba=[Za],La={key:3},Va=r("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"},null,-1),Ea=[Va],Ia={key:4},xa=r("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"},null,-1),za=[xa],Pa={key:5},Ta=r("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"},null,-1),Ba=[Ta],Na={name:"PhTrendUp"},Da=b({...Na,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Ha,wa)):s.value==="duotone"?(o(),n("g",Ca,Sa)):s.value==="fill"?(o(),n("g",ka,ba)):s.value==="light"?(o(),n("g",La,Ea)):s.value==="regular"?(o(),n("g",Ia,za)):s.value==="thin"?(o(),n("g",Pa,Ba)):w("",!0)],16,_a))}}),Fa={class:"editor-layout"},Ra={class:"layout-left"},Wa={class:"layout-right"},Oa=b({__name:"EditorLayout",props:{fullWidth:{type:Boolean}},setup(i){return(e,t)=>(o(),n("div",Fa,[r("section",Ra,[T(e.$slots,"left",{},void 0,!0)]),r("section",Wa,[T(e.$slots,"right",{},void 0,!0)])]))}});const J2=j(Oa,[["__scopeId","data-v-74db9fe9"]]);class Me{constructor(){f(this,"logState",He({log:[]}));f(this,"_listeners",{})}static create(){return new Me}get logs(){return this.logState.log}log(e,t){if(e.type!=="restart"&&e.log.trim()==="")return;const l=t?this.logs.find(u=>u.id===t):null;return l?(l.type==="stderr"&&e.type==="stderr"&&(e.log=l.log+` +var ke=Object.defineProperty;var Ze=(i,e,t)=>e in i?ke(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var f=(i,e,t)=>(Ze(i,typeof e!="symbol"?e+"":e,t),t);import{d as b,B as y,f as v,o,X as n,Z as T,R as w,e8 as W,a as r,$ as j,D as He,c as S,eg as be,u as c,w as g,aF as V,bH as $e,b as m,cv as we,e9 as J,aR as ce,e as L,aV as z,eT as Le,di as Ve,dd as P,ed as N,g as Y,W as de,ag as he,eU as Ee,eb as Ce,ec as Ie,ea as xe,J as ie,aq as ze,r as Pe,Y as Te,d7 as Be,em as Ne,en as De,Q as ae,bP as ee}from"./vue-router.324eaed2.js";import{u as ue}from"./uuid.a06fb10a.js";import{H as Fe,J as Re,S as We,A as te}from"./scripts.c1b9be98.js";import{u as Oe}from"./editor.1b3b164b.js";import{d as je,e as Ue,v as Ge}from"./validations.339bcb94.js";import{I as Je}from"./PhCopy.vue.b2238e41.js";import{H as qe}from"./PhCheckCircle.vue.b905d38f.js";import{I as Ke}from"./PhCopySimple.vue.d9faf509.js";import{G as me}from"./PhCaretRight.vue.70c5f54b.js";import{B as Ye}from"./Badge.9808092c.js";import{G as Qe}from"./PhBug.vue.ac4a72e0.js";import{H as Xe}from"./PhQuestion.vue.6a6a9376.js";import{L as e0}from"./LoadingOutlined.09a06334.js";import{W as re}from"./workspaces.a34621fe.js";import{a as ye}from"./asyncComputed.3916dfed.js";import{u as t0}from"./polling.72e5a2f8.js";import{G as a0}from"./PhPencil.vue.91f72c2e.js";import{l as le,R as Ae,e as Q,M as K}from"./toggleHighContrast.4c55b574.js";import{A as l0}from"./index.0887bacc.js";import{C as o0}from"./Card.1902bdb7.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="a43359ec-3df7-4ba0-95c3-227d95c24212",i._sentryDebugIdIdentifier="sentry-dbid-a43359ec-3df7-4ba0-95c3-227d95c24212")}catch{}})();const s0=["width","height","fill","transform"],n0={key:0},r0=r("path",{d:"M237.24,213.21C216.12,203,204,180.64,204,152V134.73a19.94,19.94,0,0,0-12.62-18.59l-24.86-9.81a4,4,0,0,1-2.26-5.14l21.33-53A32,32,0,0,0,167.17,6,32.13,32.13,0,0,0,126.25,24.2l-.07.18-21,53.09a3.94,3.94,0,0,1-2.14,2.2,3.89,3.89,0,0,1-3,.06L74.6,69.43A19.89,19.89,0,0,0,52.87,74C31.06,96.43,20,122.68,20,152a115.46,115.46,0,0,0,32.29,80.3A12,12,0,0,0,61,236H232a12,12,0,0,0,5.24-22.79ZM68.19,92.73,91.06,102A28,28,0,0,0,127.5,86.31l20.95-53a8.32,8.32,0,0,1,10.33-4.81,8,8,0,0,1,4.61,10.57,1.17,1.17,0,0,0,0,.11L142,92.29a28.05,28.05,0,0,0,15.68,36.33L180,137.45V152c0,1,0,2.07.05,3.1l-122.44-49A101.91,101.91,0,0,1,68.19,92.73ZM116.74,212a83.73,83.73,0,0,1-22.09-39,12,12,0,0,0-23.25,6,110.27,110.27,0,0,0,14.49,33H66.25A91.53,91.53,0,0,1,44,152a84,84,0,0,1,3.41-24.11l136.67,54.66A86.58,86.58,0,0,0,198.66,212Z"},null,-1),i0=[r0],u0={key:1},c0=r("path",{d:"M192.8,165.12,43.93,105.57A110.88,110.88,0,0,1,61.47,82.38a8,8,0,0,1,8.67-1.81L95.52,90.85a16,16,0,0,0,20.82-9l21-53.1c4.15-10,15.47-15.33,25.63-11.53a20,20,0,0,1,11.51,26.39L153.13,96.71a16,16,0,0,0,8.93,20.75L187,127.3a8,8,0,0,1,5,7.43V152A104.58,104.58,0,0,0,192.8,165.12Z",opacity:"0.2"},null,-1),d0=r("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"},null,-1),h0=[c0,d0],p0={key:2},g0=r("path",{d:"M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"},null,-1),v0=[g0],f0={key:3},m0=r("path",{d:"M234.62,218.6C211.35,207.29,198,183,198,152V134.7a14,14,0,0,0-8.82-13l-24.89-9.83a10,10,0,0,1-5.59-13L180,45.9a26,26,0,0,0-15-34.33c-12.95-4.83-27.88,1.84-33.31,15l-21,53.11a10,10,0,0,1-13,5.61L72.37,75a13.9,13.9,0,0,0-15.2,3.19C36.49,99.42,26,124.26,26,152a109.53,109.53,0,0,0,30.62,76.16A6,6,0,0,0,61,230H232a6,6,0,0,0,2.62-11.4ZM65.77,86.52a2,2,0,0,1,2.12-.43l25.4,10.29a22,22,0,0,0,28.63-12.32l21-53c3-7.13,11-10.81,18-8.21a14,14,0,0,1,8,18.54l-21.36,53.1A22.05,22.05,0,0,0,159.86,123l24.88,9.83A2,2,0,0,1,186,134.7V152c0,1.34,0,2.65.08,4L52.74,102.61A110.07,110.07,0,0,1,65.77,86.52ZM114.33,218a89.6,89.6,0,0,1-25.5-43.5,6,6,0,1,0-11.62,3A102.87,102.87,0,0,0,97.81,218H63.56A97.56,97.56,0,0,1,38,152a87.42,87.42,0,0,1,8.71-38.86L187.35,169.4c3.15,19.92,11.77,36.66,25,48.6Z"},null,-1),y0=[m0],_0={key:4},H0=r("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"},null,-1),$0=[H0],w0={key:5},C0=r("path",{d:"M233.75,220.4C209.76,208.75,196,183.82,196,152V134.72a12,12,0,0,0-7.56-11.15l-24.89-9.83a12,12,0,0,1-6.71-15.55l21.33-53a23.88,23.88,0,0,0-31.93-31A24.72,24.72,0,0,0,133.62,27.3l-21,53.1A12,12,0,0,1,97,87.13L71.63,76.84a12,12,0,0,0-13,2.73C38.3,100.45,28,124.82,28,152a107.5,107.5,0,0,0,30.07,74.77A4,4,0,0,0,61,228H232a4,4,0,0,0,1.75-7.6ZM64.34,85.15a3.94,3.94,0,0,1,4.3-.89L94,94.55a20,20,0,0,0,26-11.2l21-53C144.39,22.19,153.61,18,161.58,21a16,16,0,0,1,9.19,21.16L149.41,95.22a20,20,0,0,0,11.18,26l24.9,9.83a4,4,0,0,1,2.51,3.72V152c0,2.36.08,4.69.22,7l-138.5-55.4A110.84,110.84,0,0,1,64.34,85.15ZM113.56,220A91.35,91.35,0,0,1,86.9,175a4,4,0,0,0-7.75,2,100.21,100.21,0,0,0,23.09,43H62.68A99.5,99.5,0,0,1,36,152a89.37,89.37,0,0,1,9.73-41.4L189.13,168c3.22,22,13.23,40.09,28.8,52Z"},null,-1),A0=[C0],M0={name:"PhBroom"},S0=b({...M0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",n0,i0)):s.value==="duotone"?(o(),n("g",u0,h0)):s.value==="fill"?(o(),n("g",p0,v0)):s.value==="light"?(o(),n("g",f0,y0)):s.value==="regular"?(o(),n("g",_0,$0)):s.value==="thin"?(o(),n("g",w0,A0)):w("",!0)],16,s0))}}),k0=["width","height","fill","transform"],Z0={key:0},b0=r("path",{d:"M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z"},null,-1),L0=[b0],V0={key:1},E0=r("path",{d:"M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",opacity:"0.2"},null,-1),I0=r("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z"},null,-1),x0=[E0,I0],z0={key:2},P0=r("path",{d:"M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"},null,-1),T0=[P0],B0={key:3},N0=r("path",{d:"M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z"},null,-1),D0=[N0],F0={key:4},R0=r("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"},null,-1),W0=[R0],O0={key:5},j0=r("path",{d:"M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z"},null,-1),U0=[j0],G0={name:"PhFolder"},J0=b({...G0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Z0,L0)):s.value==="duotone"?(o(),n("g",V0,x0)):s.value==="fill"?(o(),n("g",z0,T0)):s.value==="light"?(o(),n("g",B0,D0)):s.value==="regular"?(o(),n("g",F0,W0)):s.value==="thin"?(o(),n("g",O0,U0)):w("",!0)],16,k0))}}),q0=["width","height","fill","transform"],K0={key:0},Y0=r("path",{d:"M233.86,110.48,65.8,14.58A20,20,0,0,0,37.15,38.64L67.33,128,37.15,217.36A20,20,0,0,0,56,244a20.1,20.1,0,0,0,9.81-2.58l.09-.06,168-96.07a20,20,0,0,0,0-34.81ZM63.19,215.26,88.61,140H144a12,12,0,0,0,0-24H88.61L63.18,40.72l152.76,87.17Z"},null,-1),Q0=[Y0],X0={key:1},et=r("path",{d:"M227.91,134.86,59.93,231a8,8,0,0,1-11.44-9.67L80,128,48.49,34.72a8,8,0,0,1,11.44-9.67l168,95.85A8,8,0,0,1,227.91,134.86Z",opacity:"0.2"},null,-1),tt=r("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"},null,-1),at=[et,tt],lt={key:2},ot=r("path",{d:"M240,127.89a16,16,0,0,1-8.18,14L63.9,237.9A16.15,16.15,0,0,1,56,240a16,16,0,0,1-15-21.33l27-79.95A4,4,0,0,1,71.72,136H144a8,8,0,0,0,8-8.53,8.19,8.19,0,0,0-8.26-7.47h-72a4,4,0,0,1-3.79-2.72l-27-79.94A16,16,0,0,1,63.84,18.07l168,95.89A16,16,0,0,1,240,127.89Z"},null,-1),st=[ot],nt={key:3},rt=r("path",{d:"M230.88,115.69l-168-95.88a14,14,0,0,0-20,16.87L73.66,128,42.81,219.33A14,14,0,0,0,56,238a14.15,14.15,0,0,0,6.93-1.83L230.84,140.1a14,14,0,0,0,0-24.41Zm-5.95,14L57,225.73a2,2,0,0,1-2.86-2.42.42.42,0,0,0,0-.1L84.3,134H144a6,6,0,0,0,0-12H84.3L54.17,32.8a.3.3,0,0,0,0-.1,1.87,1.87,0,0,1,.6-2.2A1.85,1.85,0,0,1,57,30.25l168,95.89a1.93,1.93,0,0,1,1,1.74A2,2,0,0,1,224.93,129.66Z"},null,-1),it=[rt],ut={key:4},ct=r("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"},null,-1),dt=[ct],ht={key:5},pt=r("path",{d:"M229.89,117.43l-168-95.88A12,12,0,0,0,44.7,36l31.08,92L44.71,220A12,12,0,0,0,56,236a12.13,12.13,0,0,0,5.93-1.57l167.94-96.08a12,12,0,0,0,0-20.92Zm-4,14L58,227.47a4,4,0,0,1-5.72-4.83l0-.07L82.87,132H144a4,4,0,0,0,0-8H82.87L52.26,33.37A3.89,3.89,0,0,1,53.44,29,4.13,4.13,0,0,1,56,28a3.88,3.88,0,0,1,1.93.54l168,95.87a4,4,0,0,1,0,7Z"},null,-1),gt=[pt],vt={name:"PhPaperPlaneRight"},ft=b({...vt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",K0,Q0)):s.value==="duotone"?(o(),n("g",X0,at)):s.value==="fill"?(o(),n("g",lt,st)):s.value==="light"?(o(),n("g",nt,it)):s.value==="regular"?(o(),n("g",ut,dt)):s.value==="thin"?(o(),n("g",ht,gt)):w("",!0)],16,q0))}}),mt=["width","height","fill","transform"],yt={key:0},_t=r("path",{d:"M20,128A76.08,76.08,0,0,1,96,52h99l-3.52-3.51a12,12,0,1,1,17-17l24,24a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L195,76H96a52.06,52.06,0,0,0-52,52,12,12,0,0,1-24,0Zm204-12a12,12,0,0,0-12,12,52.06,52.06,0,0,1-52,52H61l3.52-3.51a12,12,0,1,0-17-17l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,1,0,17-17L61,204h99a76.08,76.08,0,0,0,76-76A12,12,0,0,0,224,116Z"},null,-1),Ht=[_t],$t={key:1},wt=r("path",{d:"M224,64v64a64,64,0,0,1-64,64H32V128A64,64,0,0,1,96,64Z",opacity:"0.2"},null,-1),Ct=r("path",{d:"M24,128A72.08,72.08,0,0,1,96,56H204.69L194.34,45.66a8,8,0,0,1,11.32-11.32l24,24a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L204.69,72H96a56.06,56.06,0,0,0-56,56,8,8,0,0,1-16,0Zm200-8a8,8,0,0,0-8,8,56.06,56.06,0,0,1-56,56H51.31l10.35-10.34a8,8,0,0,0-11.32-11.32l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L51.31,200H160a72.08,72.08,0,0,0,72-72A8,8,0,0,0,224,120Z"},null,-1),At=[wt,Ct],Mt={key:2},St=r("path",{d:"M24,128A72.08,72.08,0,0,1,96,56h96V40a8,8,0,0,1,13.66-5.66l24,24a8,8,0,0,1,0,11.32l-24,24A8,8,0,0,1,192,88V72H96a56.06,56.06,0,0,0-56,56,8,8,0,0,1-16,0Zm200-8a8,8,0,0,0-8,8,56.06,56.06,0,0,1-56,56H64V168a8,8,0,0,0-13.66-5.66l-24,24a8,8,0,0,0,0,11.32l24,24A8,8,0,0,0,64,216V200h96a72.08,72.08,0,0,0,72-72A8,8,0,0,0,224,120Z"},null,-1),kt=[St],Zt={key:3},bt=r("path",{d:"M26,128A70.08,70.08,0,0,1,96,58H209.51L195.76,44.24a6,6,0,0,1,8.48-8.48l24,24a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L209.51,70H96a58.07,58.07,0,0,0-58,58,6,6,0,0,1-12,0Zm198-6a6,6,0,0,0-6,6,58.07,58.07,0,0,1-58,58H46.49l13.75-13.76a6,6,0,0,0-8.48-8.48l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,0,0,8.48-8.48L46.49,198H160a70.08,70.08,0,0,0,70-70A6,6,0,0,0,224,122Z"},null,-1),Lt=[bt],Vt={key:4},Et=r("path",{d:"M24,128A72.08,72.08,0,0,1,96,56H204.69L194.34,45.66a8,8,0,0,1,11.32-11.32l24,24a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L204.69,72H96a56.06,56.06,0,0,0-56,56,8,8,0,0,1-16,0Zm200-8a8,8,0,0,0-8,8,56.06,56.06,0,0,1-56,56H51.31l10.35-10.34a8,8,0,0,0-11.32-11.32l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L51.31,200H160a72.08,72.08,0,0,0,72-72A8,8,0,0,0,224,120Z"},null,-1),It=[Et],xt={key:5},zt=r("path",{d:"M28,128A68.07,68.07,0,0,1,96,60H214.34L197.17,42.83a4,4,0,0,1,5.66-5.66l24,24a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L214.34,68H96a60.07,60.07,0,0,0-60,60,4,4,0,0,1-8,0Zm196-4a4,4,0,0,0-4,4,60.07,60.07,0,0,1-60,60H41.66l17.17-17.17a4,4,0,0,0-5.66-5.66l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L41.66,196H160a68.07,68.07,0,0,0,68-68A4,4,0,0,0,224,124Z"},null,-1),Pt=[zt],Tt={name:"PhRepeat"},Bt=b({...Tt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",yt,Ht)):s.value==="duotone"?(o(),n("g",$t,At)):s.value==="fill"?(o(),n("g",Mt,kt)):s.value==="light"?(o(),n("g",Zt,Lt)):s.value==="regular"?(o(),n("g",Vt,It)):s.value==="thin"?(o(),n("g",xt,Pt)):w("",!0)],16,mt))}}),Nt=["width","height","fill","transform"],Dt={key:0},Ft=r("path",{d:"M200,36H56A20,20,0,0,0,36,56V200a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,160H60V60H196Z"},null,-1),Rt=[Ft],Wt={key:1},Ot=r("path",{d:"M208,56V200a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z",opacity:"0.2"},null,-1),jt=r("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,160H56V56H200V200Z"},null,-1),Ut=[Ot,jt],Gt={key:2},Jt=r("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z"},null,-1),qt=[Jt],Kt={key:3},Yt=r("path",{d:"M200,42H56A14,14,0,0,0,42,56V200a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,158a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H200a2,2,0,0,1,2,2Z"},null,-1),Qt=[Yt],Xt={key:4},e1=r("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,160H56V56H200V200Z"},null,-1),t1=[e1],a1={key:5},l1=r("path",{d:"M200,44H56A12,12,0,0,0,44,56V200a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,156a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H200a4,4,0,0,1,4,4Z"},null,-1),o1=[l1],s1={name:"PhStop"},n1=b({...s1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Dt,Rt)):s.value==="duotone"?(o(),n("g",Wt,Ut)):s.value==="fill"?(o(),n("g",Gt,qt)):s.value==="light"?(o(),n("g",Kt,Qt)):s.value==="regular"?(o(),n("g",Xt,t1)):s.value==="thin"?(o(),n("g",a1,o1)):w("",!0)],16,Nt))}}),r1=["width","height","fill","transform"],i1={key:0},u1=r("path",{d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"},null,-1),c1=[u1],d1={key:1},h1=r("path",{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),p1=r("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1),g1=[h1,p1],v1={key:2},f1=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"},null,-1),m1=[f1],y1={key:3},_1=r("path",{d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"},null,-1),H1=[_1],$1={key:4},w1=r("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1),C1=[w1],A1={key:5},M1=r("path",{d:"M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z"},null,-1),S1=[M1],k1={name:"PhTerminalWindow"},Z1=b({...k1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",i1,c1)):s.value==="duotone"?(o(),n("g",d1,g1)):s.value==="fill"?(o(),n("g",v1,m1)):s.value==="light"?(o(),n("g",y1,H1)):s.value==="regular"?(o(),n("g",$1,C1)):s.value==="thin"?(o(),n("g",A1,S1)):w("",!0)],16,r1))}}),b1=["width","height","fill","transform"],L1={key:0},V1=r("path",{d:"M243.78,156.53l-12-96A28,28,0,0,0,204,36H32A20,20,0,0,0,12,56v88a20,20,0,0,0,20,20H72.58l36.69,73.37A12,12,0,0,0,120,244a44.05,44.05,0,0,0,44-44V188h52a28,28,0,0,0,27.78-31.47ZM68,140H36V60H68Zm151,22.65a4,4,0,0,1-3,1.35H152a12,12,0,0,0-12,12v24a20,20,0,0,1-13.18,18.8L92,149.17V60H204a4,4,0,0,1,4,3.5l12,96A4,4,0,0,1,219,162.65Z"},null,-1),E1=[V1],I1={key:1},x1=r("path",{d:"M80,48V152H32a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8Z",opacity:"0.2"},null,-1),z1=r("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Zm150,21.29a7.88,7.88,0,0,1-6,2.71H152a8,8,0,0,0-8,8v24a24,24,0,0,1-19.29,23.54L88,150.11V56H204a8,8,0,0,1,7.94,7l12,96A7.87,7.87,0,0,1,222,165.29Z"},null,-1),P1=[x1,z1],T1={key:2},B1=r("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Z"},null,-1),N1=[B1],D1={key:3},F1=r("path",{d:"M237.83,157.27l-12-96A22,22,0,0,0,204,42H32A14,14,0,0,0,18,56v88a14,14,0,0,0,14,14H76.29l38.34,76.68A6,6,0,0,0,120,238a38,38,0,0,0,38-38V182h58a22,22,0,0,0,21.83-24.73ZM74,146H32a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H74Zm149.5,20.62A9.89,9.89,0,0,1,216,170H152a6,6,0,0,0-6,6v24a26,26,0,0,1-22.42,25.75L86,150.58V54H204a10,10,0,0,1,9.92,8.76l12,96A9.89,9.89,0,0,1,223.5,166.62Z"},null,-1),R1=[F1],W1={key:4},O1=r("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Zm150,21.29a7.88,7.88,0,0,1-6,2.71H152a8,8,0,0,0-8,8v24a24,24,0,0,1-19.29,23.54L88,150.11V56H204a8,8,0,0,1,7.94,7l12,96A7.87,7.87,0,0,1,222,165.29Z"},null,-1),j1=[O1],U1={key:5},G1=r("path",{d:"M235.85,157.52l-12-96A20,20,0,0,0,204,44H32A12,12,0,0,0,20,56v88a12,12,0,0,0,12,12H77.53l38.89,77.79A4,4,0,0,0,120,236a36,36,0,0,0,36-36V180h60a20,20,0,0,0,19.85-22.48ZM76,148H32a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H76Zm149,19.94a12,12,0,0,1-9,4.06H152a4,4,0,0,0-4,4v24a28,28,0,0,1-25.58,27.9L84,151.06V52H204a12,12,0,0,1,11.91,10.51l12,96A12,12,0,0,1,225,167.94Z"},null,-1),J1=[G1],q1={name:"PhThumbsDown"},K1=b({...q1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",L1,E1)):s.value==="duotone"?(o(),n("g",I1,P1)):s.value==="fill"?(o(),n("g",T1,N1)):s.value==="light"?(o(),n("g",D1,R1)):s.value==="regular"?(o(),n("g",W1,j1)):s.value==="thin"?(o(),n("g",U1,J1)):w("",!0)],16,b1))}}),Y1=["width","height","fill","transform"],Q1={key:0},X1=r("path",{d:"M237,77.47A28,28,0,0,0,216,68H164V56a44.05,44.05,0,0,0-44-44,12,12,0,0,0-10.73,6.63L72.58,92H32a20,20,0,0,0-20,20v88a20,20,0,0,0,20,20H204a28,28,0,0,0,27.78-24.53l12-96A28,28,0,0,0,237,77.47ZM36,116H68v80H36ZM220,96.5l-12,96a4,4,0,0,1-4,3.5H92V106.83L126.82,37.2A20,20,0,0,1,140,56V80a12,12,0,0,0,12,12h64a4,4,0,0,1,4,4.5Z"},null,-1),ea=[X1],ta={key:1},aa=r("path",{d:"M80,104V208H32a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8Z",opacity:"0.2"},null,-1),la=r("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32ZM223.94,97l-12,96a8,8,0,0,1-7.94,7H88V105.89l36.71-73.43A24,24,0,0,1,144,56V80a8,8,0,0,0,8,8h64a8,8,0,0,1,7.94,9Z"},null,-1),oa=[aa,la],sa={key:2},na=r("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32Z"},null,-1),ra=[na],ia={key:3},ua=r("path",{d:"M232.49,81.44A22,22,0,0,0,216,74H158V56a38,38,0,0,0-38-38,6,6,0,0,0-5.37,3.32L76.29,98H32a14,14,0,0,0-14,14v88a14,14,0,0,0,14,14H204a22,22,0,0,0,21.83-19.27l12-96A22,22,0,0,0,232.49,81.44ZM30,200V112a2,2,0,0,1,2-2H74v92H32A2,2,0,0,1,30,200ZM225.92,97.24l-12,96A10,10,0,0,1,204,202H86V105.42l37.58-75.17A26,26,0,0,1,146,56V80a6,6,0,0,0,6,6h64a10,10,0,0,1,9.92,11.24Z"},null,-1),ca=[ua],da={key:4},ha=r("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32ZM223.94,97l-12,96a8,8,0,0,1-7.94,7H88V105.89l36.71-73.43A24,24,0,0,1,144,56V80a8,8,0,0,0,8,8h64a8,8,0,0,1,7.94,9Z"},null,-1),pa=[ha],ga={key:5},va=r("path",{d:"M231,82.76A20,20,0,0,0,216,76H156V56a36,36,0,0,0-36-36,4,4,0,0,0-3.58,2.21L77.53,100H32a12,12,0,0,0-12,12v88a12,12,0,0,0,12,12H204a20,20,0,0,0,19.85-17.52l12-96A20,20,0,0,0,231,82.76ZM76,204H32a4,4,0,0,1-4-4V112a4,4,0,0,1,4-4H76ZM227.91,97.49l-12,96A12,12,0,0,1,204,204H84V104.94L122.42,28.1A28,28,0,0,1,148,56V80a4,4,0,0,0,4,4h64a12,12,0,0,1,11.91,13.49Z"},null,-1),fa=[va],ma={name:"PhThumbsUp"},ya=b({...ma,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Q1,ea)):s.value==="duotone"?(o(),n("g",ta,oa)):s.value==="fill"?(o(),n("g",sa,ra)):s.value==="light"?(o(),n("g",ia,ca)):s.value==="regular"?(o(),n("g",da,pa)):s.value==="thin"?(o(),n("g",ga,fa)):w("",!0)],16,Y1))}}),_a=["width","height","fill","transform"],Ha={key:0},$a=r("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"},null,-1),wa=[$a],Ca={key:1},Aa=r("path",{d:"M232,56v64L168,56Z",opacity:"0.2"},null,-1),Ma=r("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"},null,-1),Sa=[Aa,Ma],ka={key:2},Za=r("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"},null,-1),ba=[Za],La={key:3},Va=r("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"},null,-1),Ea=[Va],Ia={key:4},xa=r("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"},null,-1),za=[xa],Pa={key:5},Ta=r("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"},null,-1),Ba=[Ta],Na={name:"PhTrendUp"},Da=b({...Na,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const e=i,t=y("weight","regular"),l=y("size","1em"),u=y("color","currentColor"),d=y("mirrored",!1),s=v(()=>{var a;return(a=e.weight)!=null?a:t}),p=v(()=>{var a;return(a=e.size)!=null?a:l}),H=v(()=>{var a;return(a=e.color)!=null?a:u}),$=v(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:d?"scale(-1, 1)":void 0);return(a,h)=>(o(),n("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:H.value,transform:$.value},a.$attrs),[T(a.$slots,"default"),s.value==="bold"?(o(),n("g",Ha,wa)):s.value==="duotone"?(o(),n("g",Ca,Sa)):s.value==="fill"?(o(),n("g",ka,ba)):s.value==="light"?(o(),n("g",La,Ea)):s.value==="regular"?(o(),n("g",Ia,za)):s.value==="thin"?(o(),n("g",Pa,Ba)):w("",!0)],16,_a))}}),Fa={class:"editor-layout"},Ra={class:"layout-left"},Wa={class:"layout-right"},Oa=b({__name:"EditorLayout",props:{fullWidth:{type:Boolean}},setup(i){return(e,t)=>(o(),n("div",Fa,[r("section",Ra,[T(e.$slots,"left",{},void 0,!0)]),r("section",Wa,[T(e.$slots,"right",{},void 0,!0)])]))}});const J2=j(Oa,[["__scopeId","data-v-74db9fe9"]]);class Me{constructor(){f(this,"logState",He({log:[]}));f(this,"_listeners",{})}static create(){return new Me}get logs(){return this.logState.log}log(e,t){if(e.type!=="restart"&&e.log.trim()==="")return;const l=t?this.logs.find(u=>u.id===t):null;return l?(l.type==="stderr"&&e.type==="stderr"&&(e.log=l.log+` `+e.log),Object.assign(l,e)):this.logs.push({...e,id:t||ue()}),this.notifyListeners(e),t}clear(){this.logState.log=[]}listen(e){const t=ue();return this._listeners[t]=e,t}unlisten(e){delete this._listeners[e]}notifyListeners(e){Object.values(this._listeners).forEach(t=>t(e))}}const ja=b({__name:"PathInput",props:{runtime:{}},setup(i){const e=i,t=()=>{const l=je(e.runtime.path);l&&l!==e.runtime.path&&(e.runtime.path=l)};return(l,u)=>(o(),S(c($e),{value:l.runtime.path,"onUpdate:value":u[0]||(u[0]=d=>l.runtime.path=d),type:"text",onBlur:t},be({_:2},[l.runtime instanceof c(Fe)?{name:"addonBefore",fn:g(()=>[V(" https://[your-subdomain].abstra.app/_hooks/ ")]),key:"0"}:{name:"addonBefore",fn:g(()=>[V(" https://[your-subdomain].abstra.app/ ")]),key:"1"}]),1032,["value"]))}}),Ua={key:1},Ga=b({__name:"RuntimeCommonSettings",props:{runtime:{}},setup(i){const e=He({pathError:null});return(t,l)=>(o(),n(ce,null,[t.runtime instanceof c(Re)||t.runtime instanceof c(We)?w("",!0):(o(),S(c(we),{key:0,label:"URL path"},{default:g(()=>[m(ja,{runtime:t.runtime},null,8,["runtime"])]),_:1})),e.pathError?(o(),n("div",Ua,J(e.pathError),1)):w("",!0)],64))}});const q2=j(Ga,[["__scopeId","data-v-18856675"]]),Ja="/assets/typing.c1831e40.svg";class qa{constructor(e,t){f(this,"ws",null);f(this,"selfClosed",!1);f(this,"reconnectInterval");this.onMessage=e,this.stageId=t}get url(){return"/_editor/api/stdio/listen"}handleMessage(e){const t=JSON.parse(e.data);t.stage_id===this.stageId&&this.onMessage(t)}handleClose(e){this.selfClosed||this.reconnectInterval||(this.reconnectInterval=setInterval(()=>this.reset(),2e3))}clearReconnectInterval(){this.reconnectInterval&&(clearInterval(this.reconnectInterval),this.reconnectInterval=void 0)}async close(){if(!!this.ws){this.selfClosed=!0;try{this.ws.close()}catch{console.warn("already closed")}this.ws=null}}async reset(){await this.close(),await this.connect()}async connect(){return await new Promise(e=>{this.ws=new WebSocket(this.url),this.ws.onopen=()=>e(),this.ws.onclose=t=>this.handleClose(t),this.ws.onmessage=t=>this.handleMessage(t),this.selfClosed=!1,this.clearReconnectInterval()})}}const Ka=b({__name:"SmartConsoleCopy",props:{textToCopy:{}},setup(i){const e=i,t=L(!1),l=()=>{navigator.clipboard.writeText(e.textToCopy),t.value=!0,setTimeout(()=>t.value=!1,2e3)},u=v(()=>t.value?"Copied!":"Copy to clipboard");return(d,s)=>(o(),S(c(z),null,{title:g(()=>[V(J(u.value),1)]),default:g(()=>[r("div",{class:"copy-button",onClick:l},[t.value?(o(),S(c(qe),{key:1,color:"#fff",size:"22"})):(o(),S(c(Ke),{key:0,color:"#fff",size:"22"}))])]),_:1}))}});const Ya=j(Ka,[["__scopeId","data-v-cbb7de67"]]);class Qa{constructor(e,t){f(this,"_threadId");f(this,"_input");f(this,"_badgeState");f(this,"_smartConsoleState");f(this,"_logService");f(this,"_stageType");f(this,"_cachedFileContent",null);f(this,"setupThread",async()=>{this._smartConsoleState.value="creating-thread";const{thread:e}=await te.createThread();this._threadId.value=e,this._smartConsoleState.value="idle"});f(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const l=m(Ya,{textToCopy:t.textContent});Le(l,t)})});f(this,"getLastExecutionError",()=>{let e="";for(let t=this._logService.logs.length-1;t>=0;t--){const l=this._logService.logs[t];if(l.type==="stderr"){e=l.log;break}}return e});f(this,"getPreffixes",e=>{const t=[{role:"user",content:`If necessary to check, this is my current code: ${e||"No code found"} . Otherwise, just IGNORE it. @@ -7,4 +7,4 @@ ${e||"No code found"} ${l}. Otherwise, just IGNORE it.`}),t});f(this,"buildMessages",(e,t)=>{const l=this.getPreffixes(e),u=[{role:"system",content:"The Python code and its possible errors during execution are sent by default, but it should be IGNORED if the main question is not about them."},...l,{role:"user",content:this._input.value}];return t&&u.push({role:"user",content:"The last answer was bad and you must regenerate it differently."}),u});f(this,"send",async(e,t=!1)=>{this._cachedFileContent=e,this._logService.log({type:"ai-input",log:this._input.value}),this._smartConsoleState.value="processing";const l=this.buildMessages(e,t);try{const u=ue();let d="";const s=te.sendMessage(l,this._stageType,this._threadId.value,this.isIdle.bind(this));for await(const p of s){if(this.isIdle())break;this._smartConsoleState.value==="processing"&&(this._smartConsoleState.value="answering"),d+=p,this._logService.log({type:"ai-output",log:d},u)}this._input.value=""}catch(u){this._logService.log({type:"ai-output",log:"Sorry, there was an issue processing your request. Plese try again later."}),console.error(u),Ve(u)}finally{this._smartConsoleState.value="idle",this.renderCopyButtons()}});f(this,"cancel",()=>{!this._threadId.value||(te.cancelAllRuns(this._threadId.value),this._smartConsoleState.value="idle")});f(this,"isProcessing",()=>this._smartConsoleState.value==="processing");f(this,"isAnswering",()=>this._smartConsoleState.value==="answering");f(this,"isIdle",()=>this._smartConsoleState.value==="idle");f(this,"isCreatingThread",()=>this._smartConsoleState.value==="creating-thread");f(this,"setSeen",()=>{this._badgeState.value={type:"seen"}});f(this,"setUnseen",e=>{this._badgeState.value={type:"unseen",count:this._badgeState.value.type==="unseen"?this._badgeState.value.count+1:1,severity:e.type==="stderr"?"error":"info"}});f(this,"setInput",e=>{this._input.value=e||""});f(this,"regenerateLast",async()=>{for(let e=this._logService.logs.length-1;e>=0;e--){const t=this._logService.logs[e];if(t.type==="ai-input"){this.setInput(t.log);break}}await this.send(this._cachedFileContent,!0)});f(this,"fixJson",async(e,t)=>{this._logService.clear(),this._logService.log({type:"ai-input",log:`here is my json code: ${e} And I got this error:`}),this._logService.log({type:"stderr",log:t}),this.setSeen(),this.setInput("Can you fix this JSON?"),await this.send(null)});f(this,"vote",async(e,t)=>{const l=this._logService.logs[e],u=this._logService.logs[e-1],d=this._logService.logs.slice(0,e-1);await te.vote(t,u,l,d)});this._stageType=t,this._logService=e,this._threadId=L(null),this._input=L(""),this._badgeState=L({type:"seen"}),this._smartConsoleState=L("idle")}init(){this.setupThread(),this.renderCopyButtons()}get badgeState(){return this._badgeState.value}get input(){return this._input.value}}const Xa={class:"toggle-button"},e2=b({__name:"SmartConsoleHeader",props:{controller:{},open:{type:Boolean}},emits:["toggle-console"],setup(i,{emit:e}){return(t,l)=>(o(),S(c(P),{class:"header",justify:"space-between"},{default:g(()=>[m(c(P),{align:"center",gap:"middle"},{default:g(()=>[m(c(Z1),{size:"20"}),V(" Smart Console ")]),_:1}),m(c(z),{placement:"left","mouse-enter-delay":.5,title:t.open?"Hide Smart Console":"Show Smart Console"},{default:g(()=>{var u,d,s;return[r("div",Xa,[((u=t.controller)==null?void 0:u.badgeState.type)==="unseen"?(o(),S(c(Ye),{key:0,count:(d=t.controller)==null?void 0:d.badgeState.count,"number-style":{backgroundColor:((s=t.controller)==null?void 0:s.badgeState.severity)==="error"?"#e03636":"#606060"}},{default:g(()=>[m(c(me),{class:N(["icon",{open:t.open}]),onClick:l[0]||(l[0]=p=>e("toggle-console"))},null,8,["class"])]),_:1},8,["count","number-style"])):(o(),S(c(me),{key:1,class:N(["icon",{open:t.open}]),onClick:l[1]||(l[1]=p=>e("toggle-console"))},null,8,["class"]))])]}),_:1},8,["title"])]),_:1}))}});const t2=j(e2,[["__scopeId","data-v-63216dee"]]),a2=["contenteditable","onKeydown"],l2=b({__name:"SmartConsoleInput",props:{controller:{},workspace:{},stage:{}},emits:["sendMessage"],setup(i,{emit:e}){const t=i,l=L(!1),u=L(null),d=v(()=>t.controller.isCreatingThread()),s=v(()=>t.controller.isProcessing()||t.controller.isAnswering()),p=()=>{var h;!t.controller||t.controller.setInput((h=u.value)==null?void 0:h.innerText)},H=h=>{if(h.preventDefault(),h.shiftKey){document.execCommand("insertLineBreak");return}$()};Y(()=>t.controller.isCreatingThread(),()=>{!t.controller.isCreatingThread()&&(l.value=!1)});const $=async()=>{var Z;if(e("sendMessage"),!t.controller)return;if(t.controller.isCreatingThread()){l.value=!0;return}t.controller.setInput((Z=u.value)==null?void 0:Z.innerText),u.value.innerText="";let h=null;t.workspace&&t.stage&&(h=await t.workspace.readFile(t.stage.file)),await t.controller.send(h)},a=h=>{var k;h.preventDefault();const Z=(k=h.clipboardData)==null?void 0:k.getData("text/plain");document.execCommand("insertText",!1,Z)};return de(()=>{var h;(h=u.value)==null||h.addEventListener("paste",a),u.value.innerText=t.controller.input}),he(()=>{var h;return(h=u.value)==null?void 0:h.removeEventListener("paste",a)}),(h,Z)=>(o(),n("div",{class:N(["input",{disabled:s.value}])},[r("div",{ref_key:"inputRef",ref:u,class:"input-text",contenteditable:!s.value,onKeydown:Ee(H,["enter"]),onInput:p},null,40,a2),s.value?(o(),S(c(n1),{key:0,size:18,class:"icon",onClick:Z[0]||(Z[0]=k=>{var B;return(B=h.controller)==null?void 0:B.cancel()})})):w("",!0),m(c(z),{title:"Just a second, we're setting up...",open:l.value,placement:"topRight"},{default:g(()=>[s.value?w("",!0):(o(),S(c(ft),{key:0,size:18,class:N(["icon",[{disabled:h.controller.input.length===0||d.value}]]),onClick:$},null,8,["class"]))]),_:1},8,["open"])],2))}});const o2=j(l2,[["__scopeId","data-v-5a077124"]]),s2=["onClick"],n2={class:"icon"},r2={class:"title"},i2=b({__name:"SmartSuggestions",props:{controller:{},workspace:{},stage:{}},setup(i){const e=i,t=v(()=>{var d;return(d=e.controller)==null?void 0:d.isCreatingThread()}),l=async d=>{if(!e.controller||e.controller.isCreatingThread())return;e.controller.setInput(d);let s=null;e.workspace&&e.stage&&(s=await e.workspace.readFile(e.stage.file)),await e.controller.send(s)},u=[{title:"Why is this not working?!",icon:Qe},{title:"How can I improve this code?",icon:Da},{title:"What is this code doing?",icon:Xe}];return(d,s)=>(o(),S(c(P),{class:"suggestions-container",gap:"middle",justify:"center"},{default:g(()=>[(o(),n(ce,null,Ce(u,p=>r("div",{key:p.title,class:N(["suggestion",{disabled:t.value}]),onClick:H=>l(p.title)},[r("div",n2,[(o(),S(Ie(p.icon),{size:24}))]),r("div",r2,J(p.title),1)],10,s2)),64))]),_:1}))}});const u2=j(i2,[["__scopeId","data-v-2ca3db5f"]]),c2=i=>(Ne("data-v-6b2cf0ec"),i=i(),De(),i),d2=c2(()=>r("div",{class:"entry ai-output"}," Hello there! I'm both an output console and AI assistant. You can ask me anything. ",-1)),h2={key:0},p2={key:1,class:"local-entry"},g2={key:1,class:"typing-img",src:Ja},v2=b({__name:"SmartConsole",props:{logService:{},workspace:{},stageType:{},stage:{}},setup(i,{expose:e}){const t=i,l=xe(),u=Oe(),d=L(null),s=L(!1),p=L(400),H=L(!1),$=new qa(_=>t.logService.log(_),t.stage.id),a=new Qa(t.logService,t.stageType),h=L([]);Y(()=>t.logService.logs,()=>{h.value.push(null)});const Z=(_,E)=>{h.value[_]||(h.value[_]=E,a.vote(_,E))};Y(()=>{var _;return(_=u.cloudProject)==null?void 0:_.id},async _=>_&&a.setupThread());const k=()=>{t.logService.clear(),a.setupThread()},B=v(()=>({height:`${p.value}px`})),D=L(!0);async function se(){var _;if(s.value=!s.value,s.value){if(a.setSeen(),await ie(),!d.value)return;d.value.addEventListener("wheel",F),D.value&&(d.value.scrollTop=(_=d.value)==null?void 0:_.scrollHeight)}else{if(!d.value)return;d.value.removeEventListener("wheel",F)}a.renderCopyButtons()}const F=()=>{if(!d.value)return;const{scrollTop:_,scrollHeight:E,clientHeight:q}=d.value;_+q>=E?D.value=!0:D.value=!1};Y(l,()=>t.logService.clear()),e({closeConsole:()=>s.value=!1,fixJson:async(_,E)=>{s.value=!0,await a.fixJson(_,E)}}),t.logService.listen(async _=>{s.value||a.setUnseen(_),_.type!=="restart"&&(await ie(),!!d.value&&D.value&&(d.value.scrollTop=d.value.scrollHeight))});const ne=()=>{D.value=!0},U=_=>{!H.value||(p.value=document.body.clientHeight-_.clientY)},A=()=>H.value=!1;return de(async()=>{document.addEventListener("mousemove",U),document.addEventListener("mouseup",A),await $.connect(),a.init()}),ze(async()=>{d.value&&d.value.removeEventListener("wheel",F)}),he(async()=>{document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",A),await $.close()}),(_,E)=>{const q=Pe("Markdown");return o(),S(c(P),{vertical:""},{default:g(()=>[m(t2,{controller:c(a),open:s.value,onToggleConsole:se},null,8,["controller","open"]),s.value?(o(),S(c(P),{key:0,class:"terminal",style:Te(B.value),vertical:""},{default:g(()=>[r("div",{class:"resize-handler",onMousedown:E[0]||(E[0]=I=>H.value=!0)},null,32),m(c(P),{class:"cli"},{default:g(()=>[m(c(P),{class:"left",vertical:""},{default:g(()=>[r("div",{ref_key:"entriesContainer",ref:d,class:"entries"},[d2,(o(!0),n(ce,null,Ce(_.logService.logs,(I,x)=>(o(),n("div",{key:x,class:N([I.type,"entry"])},[I.type==="ai-output"?(o(),n("div",h2,[I.type==="ai-output"?(o(),S(q,{key:0,source:I.log},null,8,["source"])):w("",!0),m(c(P),{gap:"6",class:"icons"},{default:g(()=>[m(c(z),{placement:"top",title:"Copy"},{default:g(()=>[m(c(Be),{copyable:{text:I.log}},{copyableIcon:g(()=>[m(c(Je),{size:18,class:"icon"})]),_:2},1032,["copyable"])]),_:2},1024),x===_.logService.logs.length-1?(o(),S(c(z),{key:0,placement:"top",title:"Regenerate"},{default:g(()=>[m(c(Bt),{size:18,onClick:E[1]||(E[1]=X=>c(a).regenerateLast())})]),_:1})):w("",!0),m(c(z),{placement:"top",title:"Good response"},{default:g(()=>[m(c(ya),{size:18,class:N({filled:h.value[x]==="good",disabled:h.value[x]==="bad"}),onClick:X=>Z(x,"good")},null,8,["class","onClick"])]),_:2},1024),m(c(z),{placement:"top",title:"Bad response"},{default:g(()=>[m(c(K1),{size:18,class:N({filled:h.value[x]==="bad",disabled:h.value[x]==="good"}),onClick:X=>Z(x,"bad")},null,8,["class","onClick"])]),_:2},1024)]),_:2},1024)])):(o(),n("div",p2,J(I.type==="restart"?"-- restarted --":I.log),1))],2))),128))],512),_.logService.logs.length?w("",!0):(o(),S(u2,{key:0,controller:c(a),workspace:_.workspace,stage:_.stage},null,8,["controller","workspace","stage"])),m(o2,{controller:c(a),workspace:_.workspace,stage:_.stage,onSendMessage:ne},null,8,["controller","workspace","stage"])]),_:1}),m(c(P),{class:"right",vertical:"",justify:"space-between",align:"center"},{default:g(()=>{var I,x;return[m(c(z),{placement:"left",title:"Start new conversation"},{default:g(()=>[m(c(S0),{size:20,class:"broom-icon",onClick:k})]),_:1}),(I=c(a))!=null&&I.isProcessing()?(o(),S(c(e0),{key:0,style:{color:"#aaa","font-size":"18px"}})):w("",!0),(x=c(a))!=null&&x.isAnswering()?(o(),n("img",g2)):w("",!0)]}),_:1})]),_:1})]),_:1},8,["style"])):w("",!0)]),_:1})}}});const K2=j(v2,[["__scopeId","data-v-6b2cf0ec"]]);class pe{static async getAutocomplete(e){try{return await(await fetch("/_editor/api/pysa/autocomplete",{headers:{"content-type":"application/json"},body:JSON.stringify(e),method:"POST"})).json()}catch{return[]}}static async getHelp(e){try{return await(await fetch("/_editor/api/pysa/help",{headers:{"content-type":"application/json"},body:JSON.stringify(e),method:"POST"})).json()}catch{return[]}}static async getLint(e){try{return await(await fetch("/_editor/api/pysa/lint",{headers:{"content-type":"application/json"},body:JSON.stringify(e),method:"POST"})).json()}catch{return[]}}}let oe={};function f2(i){return i in oe?"\n\n```python\n"+i+" = "+oe[i]+"\n```":""}function m2(i){switch(i){case"error":return K.Error;case"warning":return K.Warning;case"info":return K.Info;case"hint":return K.Hint;default:return K.Error}}le.registerHoverProvider("python",{async provideHover(i,e){const t=i.getWordAtPosition(e);return t?{contents:(await pe.getHelp({code:i.getValue(),line:e.lineNumber,column:e.column})).map(u=>({value:u.docstring+f2(u.name)})),range:new Ae(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn)}:null}});le.registerCompletionItemProvider("python",{async provideCompletionItems(i,e){const t=await pe.getAutocomplete({code:i.getValue(),line:e.lineNumber,column:e.column-1}),l=i.getWordUntilPosition(e);return{suggestions:t.map(u=>({label:u.name,kind:le.CompletionItemKind.Function,documentation:u.documentation,insertText:u.name,insertTextRules:le.CompletionItemInsertTextRule.InsertAsSnippet,range:{startLineNumber:e.lineNumber,endLineNumber:e.lineNumber,startColumn:l.startColumn,endColumn:l.endColumn}}))}}});const _e=i=>{pe.getLint({code:i.getValue(),line:0,column:0}).then(e=>{Q.setModelMarkers(i,"python",e.map(t=>({startLineNumber:t.line,startColumn:t.column,endLineNumber:t.until_line,endColumn:t.until_column,message:t.message,severity:m2(t.severity)})))})},y2=(i,e,t={})=>{var a;const l=Q.create(i,{language:"python",value:e,minimap:{enabled:!1},readOnly:(a=t.readOnly)!=null?a:!1,contextmenu:!t.readOnly,automaticLayout:!t.readOnly,tabSize:4,fixedOverflowWidgets:!0,theme:t.theme?t.theme:"vs",fontFamily:"monospace",lineNumbers:"on",scrollBeyondLastColumn:t.readOnly?0:5,scrollBeyondLastLine:!t.readOnly,renderLineHighlight:t.readOnly?"none":"all",scrollbar:{useShadows:!1,alwaysConsumeMouseWheel:!1}}),u=l.getContribution("editor.contrib.messageController");l.onDidAttemptReadOnlyEdit(()=>{u.showMessage("Cannot edit during preview execution",l.getPosition())});const d=l.createDecorationsCollection([]),s=(h,Z)=>{d.set(h.map(k=>({range:new Ae(k.lineno,1,k.lineno,1),options:{isWholeLine:!0,className:Z}}))),oe=h.reduce((k,B)=>({...k,...B.locals}),{})},p=(h,Z)=>k=>{const B=k.filter(D=>D.filename.endsWith(Z));s(B,h)},H=()=>{d.clear(),oe={}},$=h=>{l.updateOptions({readOnly:h})};return _e(l.getModel()),l.onDidChangeModelContent(()=>{_e(l.getModel())}),{editor:l,highlight:p,clearHighlights:H,setReadOnly:$}},_2=(i,e,t)=>{const l=Q.createModel(e),u=Q.createModel(t),d=Q.createDiffEditor(i,{minimap:{enabled:!1},readOnly:!0,contextmenu:!1,automaticLayout:!0,renderWhitespace:"none",guides:{indentation:!1},fontFamily:"monospace",lineNumbers:"on",scrollBeyondLastColumn:0,scrollBeyondLastLine:!1,renderLineHighlight:"none"});return d.setModel({original:l,modified:u}),{diffEditor:d}};class H2{constructor(e,t){f(this,"_script");f(this,"_localEditorCode");f(this,"_monacoEditor");f(this,"_diffEditor");f(this,"_viewMode");f(this,"_alertMessage");f(this,"_conflictingChanges");this._localEditorCode=e,this._script=t,this._monacoEditor=null,this._diffEditor=null,this._viewMode=ae("editor"),this._alertMessage=ae(""),this._conflictingChanges=ae(!1)}get alertMessage(){return this._alertMessage.value}set alertMessage(e){this._alertMessage.value=e}get conflictingChanges(){return this._conflictingChanges.value}set conflictingChanges(e){this._conflictingChanges.value=e}get viewMode(){return this._viewMode.value}set viewMode(e){this._viewMode.value=e}get abstraIDECode(){return this._script.codeContent}get localEditorCode(){return this._localEditorCode}set localEditorCode(e){this._localEditorCode=e}set monacoEditor(e){this._monacoEditor=e}set diffEditor(e){this._diffEditor=e}finishPreview(){var e;this._viewMode.value="editor",this._script.codeContent=this._localEditorCode,(e=this._monacoEditor)==null||e.setValue(this._localEditorCode),this._script.updateInitialState("code_content",this._localEditorCode),this.alertMessage=""}updateCodeWhileEditing(e){var u;const t=e!==this._localEditorCode;if(this._localEditorCode=e,e===this._script.codeContent){this.alertMessage="",this.conflictingChanges=!1;return}const l=!this._script.hasChanges("code_content");if(l){(u=this._monacoEditor)==null||u.setValue(e),this._script.codeContent=e,this._script.updateInitialState("code_content",e);return}if(!l&&t){this.alertMessage="You have conflicting changes with your local editor code",this.conflictingChanges=!0;return}}updateCodeWhileDiff(e){var t,l;if(e===this._script.codeContent){this.alertMessage="",this.conflictingChanges=!1,this.viewMode="editor",this._localEditorCode=e;return}if(e!==this._localEditorCode){(l=(t=this._diffEditor)==null?void 0:t.getModel())==null||l.modified.setValue(e),this._localEditorCode=e;return}}updateCodeWhilePreview(e){if(this._localEditorCode=e,e===this._script.codeContent){this.alertMessage="";return}this.alertMessage="The changes on your code will be shown after the preview stops running"}updateCode(e){switch(this._viewMode.value){case"editor":return this.updateCodeWhileEditing(e);case"diff":return this.updateCodeWhileDiff(e);case"preview":return this.updateCodeWhilePreview(e)}}keepAbstraIDECode(){var e;(e=this._monacoEditor)==null||e.setValue(this._script.codeContent),this._script.save("code_content"),this._script.updateInitialState("code_content",this._script.codeContent),this._localEditorCode=this._script.codeContent,this.conflictingChanges=!1,this.alertMessage="",this.viewMode="editor"}keepLocalEditor(){var e;(e=this._monacoEditor)==null||e.setValue(this._localEditorCode),this._script.updateInitialState("code_content",this._localEditorCode),this.conflictingChanges=!1,this.alertMessage="",this.viewMode="editor"}}const $2={class:"source-code-container"},w2={class:"code-container"},C2={key:0,class:"not-found-container"},A2=b({__name:"SourceCode",props:{script:{},workspace:{}},emits:["update-file"],setup(i,{expose:e,emit:t}){const l=i,u=()=>{!l.script.file||re.openFile(l.script.file)},d=()=>{A.value.viewMode="diff",Se()},s=L(null),p=L(null);let H,$,a,h;const{result:Z}=ye(()=>fetch("/_editor/api/workspace/root").then(C=>C.text())),k=L(l.script.file);Y(()=>l.script.file,()=>k.value=l.script.file);const{result:B,refetch:D}=ye(()=>re.checkFile(k.value)),se=()=>{F.value.valid?t("update-file",Ue(k.value)):t("update-file",k.value),D()},F=v(()=>{var M;const C=Ge(k.value);return C.valid?((M=B.value)==null?void 0:M.exists)&&l.script.hasChanges("file")?{valid:!0,help:"This file already exists"}:l.script.hasChanges("file")?{valid:!0,help:"The original file will be renamed"}:C:C}),ne=()=>{!l.workspace||!Z.value||re.openFile(".")},U=L(!1),A=ae(null),_=async()=>{var M;if(!l.script.file)return;const C=await l.workspace.readFile(l.script.file);if(C===null){U.value=!0;return}U.value=!1,(M=A.value)==null||M.updateCode(C)},{startPolling:E,endPolling:q}=t0({task:_});de(()=>{X(),E()}),he(()=>{q()});const I=()=>{h(!0),A.value.viewMode="preview"},x=(C,M)=>{if(M)return a("error-line",l.script.file)(C);a("executing-line",l.script.file)(C)},X=async()=>{await ie(),l.workspace.readFile(l.script.file).then(C=>{const M=C!=null?C:"";l.script.codeContent=M,l.script.updateInitialState("code_content",M),A.value=new H2(M,l.script);const R=y2(s.value,M);$=R.clearHighlights,a=R.highlight,h=R.setReadOnly,H=R.editor,A.value.monacoEditor=H,H.onDidChangeModelContent(()=>{l.script.codeContent=H.getValue()})})},Se=async()=>{const C=await l.workspace.readFile(l.script.file);if(!C)return;const M=l.script.codeContent,R=_2(p.value,M,C);A.value.diffEditor=R.diffEditor};return e({startPreviewMode:I,setHighlight:x,restartEditor:()=>{var C;$(),h(!1),(C=A.value)==null||C.finishPreview()},updateLocalEditorCode:C=>{A.value.localEditorCode=C}}),(C,M)=>{var R,ge,ve,fe;return o(),n("div",$2,[m(c(we),{"validate-status":F.value.valid?"success":"error",help:F.value.valid?F.value.help:F.value.reason,class:"file-input"},{default:g(()=>[m(c($e),{value:k.value,"onUpdate:value":M[0]||(M[0]=G=>k.value=G),autocomplete:"off",onChange:se},{addonBefore:g(()=>[c(Z)?(o(),n("span",{key:0,class:"clickable",onClick:ne},[m(c(z),{placement:"bottomLeft","overlay-style":{maxWidth:"none"}},{title:g(()=>[V(J(c(Z)),1)]),default:g(()=>[m(c(J0),{size:"22"})]),_:1})])):w("",!0)]),addonAfter:g(()=>[r("span",{class:"clickable",onClick:u},[V(" Open in editor "),m(c(a0),{size:"20"})])]),_:1},8,["value"])]),_:1},8,["validate-status","help"]),(R=A.value)!=null&&R.alertMessage?(o(),S(c(l0),{key:0,type:"warning","show-icon":""},{message:g(()=>{var G;return[V(J((G=A.value)==null?void 0:G.alertMessage),1)]}),action:g(()=>[A.value.conflictingChanges&&A.value.viewMode!=="diff"?(o(),S(c(P),{key:0,gap:"small"},{default:g(()=>[m(c(ee),{type:"primary",onClick:d},{default:g(()=>[V("Compare")]),_:1}),m(c(z),null,{title:g(()=>[V("Keep the local editor version")]),default:g(()=>[m(c(ee),{onClick:M[1]||(M[1]=G=>{var O;return(O=A.value)==null?void 0:O.keepLocalEditor()})},{default:g(()=>[V("Discard")]),_:1})]),_:1})]),_:1})):w("",!0),A.value.conflictingChanges&&A.value.viewMode==="diff"?(o(),S(c(P),{key:1,gap:"small"},{default:g(()=>[m(c(z),null,{title:g(()=>[V("Keep your current changes")]),default:g(()=>[m(c(ee),{onClick:M[2]||(M[2]=G=>{var O;return(O=A.value)==null?void 0:O.keepAbstraIDECode()})},{default:g(()=>[V("Keep left")]),_:1})]),_:1}),m(c(z),null,{title:g(()=>[V("Keep the local editor version")]),default:g(()=>[m(c(ee),{onClick:M[3]||(M[3]=G=>{var O;return(O=A.value)==null?void 0:O.keepLocalEditor()})},{default:g(()=>[V("Keep right")]),_:1})]),_:1})]),_:1})):w("",!0)]),_:1})):w("",!0),r("div",w2,[U.value?(o(),n("div",C2,[m(c(o0),null,{title:g(()=>[V("File not found")]),_:1})])):w("",!0),r("div",{id:"code",ref_key:"codeComponent",ref:s,class:N(["monaco-element",{hide:((ge=A.value)==null?void 0:ge.viewMode)==="diff",blur:U.value}])},null,2)]),((ve=A.value)==null?void 0:ve.viewMode)==="diff"?(o(),n("div",{key:1,id:"code",ref_key:"codeDiffComponent",ref:p,class:N(["monaco-element",{hide:((fe=A.value)==null?void 0:fe.viewMode)!=="diff"}])},null,2)):w("",!0)])}}});const Y2=j(A2,[["__scopeId","data-v-97d48270"]]);export{J2 as E,n1 as I,Me as L,q2 as R,K2 as S,Y2 as a}; -//# sourceMappingURL=SourceCode.9682eb82.js.map +//# sourceMappingURL=SourceCode.b049bbd7.js.map diff --git a/abstra_statics/dist/assets/Sql.23406959.js b/abstra_statics/dist/assets/Sql.3456efbe.js similarity index 84% rename from abstra_statics/dist/assets/Sql.23406959.js rename to abstra_statics/dist/assets/Sql.3456efbe.js index e4f5ff8f88..55509930ec 100644 --- a/abstra_statics/dist/assets/Sql.23406959.js +++ b/abstra_statics/dist/assets/Sql.3456efbe.js @@ -1,2 +1,2 @@ -import{b as i,ee as P,d as k,ea as D,L as E,N as _,e as m,W as N,o as R,X as B,w as g,u,a as L,bP as x,aF as S,dd as h,cU as V,cI as I,$}from"./vue-router.33f35a18.js";import{d as z}from"./utils.3ec7e4d1.js";import{G as A}from"./PhDownloadSimple.vue.b11b5d9f.js";import{e as F}from"./toggleHighContrast.aa328f74.js";import"./gateway.a5388860.js";import{P as M}from"./project.0040997f.js";import"./tables.8d6766f6.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9ba00a7c-7f87-477b-bfde-538c2a28f70a",t._sentryDebugIdIdentifier="sentry-dbid-9ba00a7c-7f87-477b-bfde-538c2a28f70a")}catch{}})();var T={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"};const G=T;function O(t){for(var a=1;a{b.value=!0;const o=await M.executeQuery(e,f.value,[]);b.value=!1;const r=s.get();if(!r)s.set([{projectId:e,lastQuery:f.value}]);else{const n=r.findIndex(l=>l.projectId===e);n===-1?r.push({projectId:e,lastQuery:f.value}):r[n].lastQuery=f.value,s.set(r)}if(!o)return;const{returns:p,errors:c}=o;C.value=c;for(const n of c)I.error({message:"SQL Execution Failed",description:n});c.length||I.success({message:"SQL Execution Succeeded"}),y.value=p.fields.map(n=>({title:n.name,key:n.name,dataIndex:n.name})),v.value=p.result.map((n,l)=>U({key:`${l+1}`,...n}))},q=()=>{const o=y.value.map(l=>l.dataIndex),r=y.value.map(l=>l.title),p=v.value.map(l=>o.map(j=>l[j])),n=`data-${new Date().toISOString()}`;z({fileName:n,columns:r,rows:p})};return N(()=>{var p;const o=F.create(d.value,{language:"sql",value:f.value,fontFamily:"monospace",lineNumbers:"on",minimap:{enabled:!1},scrollbar:{vertical:"hidden",horizontal:"visible"},fontSize:14,scrollBeyondLastLine:!1,lineHeight:20});o.onDidChangeModelContent(()=>{f.value=o.getValue()});const r=s.get();if(r){const c=(p=r.find(n=>n.projectId===e))==null?void 0:p.lastQuery;c&&(f.value=c,o.setValue(c))}}),(o,r)=>(R(),B("div",W,[i(u(h),{gap:"large",class:"sql-container",align:"center"},{default:g(()=>[L("div",{ref_key:"sqlEditor",ref:d,class:"sql-editor"},null,512),i(u(x),{type:"primary",loading:b.value,onClick:Q},{icon:g(()=>[i(u(J))]),default:g(()=>[S(" Run ")]),_:1},8,["loading"])]),_:1}),i(u(h),{justify:"end",style:{margin:"30px 0 10px 0"}},{default:g(()=>[i(u(x),{disabled:!v.value.length,onClick:q},{default:g(()=>[i(u(h),{align:"center",gap:"small"},{default:g(()=>[S(" Export to CSV "),i(u(A))]),_:1})]),_:1},8,["disabled"])]),_:1}),i(u(V),{style:{width:"100%"},scroll:{x:100},"data-source":v.value,columns:y.value},null,8,["data-source","columns"])]))}});const le=$(X,[["__scopeId","data-v-a8dc12c0"]]);export{le as default}; -//# sourceMappingURL=Sql.23406959.js.map +import{b as i,ee as P,d as k,ea as D,L as E,N as _,e as m,W as N,o as R,X as B,w as g,u,a as L,bP as x,aF as S,dd as h,cU as V,cI as I,$}from"./vue-router.324eaed2.js";import{d as z}from"./utils.6b974807.js";import{G as A}from"./PhDownloadSimple.vue.7ab7df2c.js";import{e as F}from"./toggleHighContrast.4c55b574.js";import"./gateway.edd4374b.js";import{P as M}from"./project.a5f62f99.js";import"./tables.842b993f.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="60a3aa04-a217-4ab7-afec-b7d6a2ff4587",t._sentryDebugIdIdentifier="sentry-dbid-60a3aa04-a217-4ab7-afec-b7d6a2ff4587")}catch{}})();var T={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"};const G=T;function O(t){for(var a=1;a{b.value=!0;const o=await M.executeQuery(e,f.value,[]);b.value=!1;const r=s.get();if(!r)s.set([{projectId:e,lastQuery:f.value}]);else{const n=r.findIndex(l=>l.projectId===e);n===-1?r.push({projectId:e,lastQuery:f.value}):r[n].lastQuery=f.value,s.set(r)}if(!o)return;const{returns:p,errors:c}=o;C.value=c;for(const n of c)I.error({message:"SQL Execution Failed",description:n});c.length||I.success({message:"SQL Execution Succeeded"}),y.value=p.fields.map(n=>({title:n.name,key:n.name,dataIndex:n.name})),v.value=p.result.map((n,l)=>U({key:`${l+1}`,...n}))},q=()=>{const o=y.value.map(l=>l.dataIndex),r=y.value.map(l=>l.title),p=v.value.map(l=>o.map(j=>l[j])),n=`data-${new Date().toISOString()}`;z({fileName:n,columns:r,rows:p})};return N(()=>{var p;const o=F.create(d.value,{language:"sql",value:f.value,fontFamily:"monospace",lineNumbers:"on",minimap:{enabled:!1},scrollbar:{vertical:"hidden",horizontal:"visible"},fontSize:14,scrollBeyondLastLine:!1,lineHeight:20});o.onDidChangeModelContent(()=>{f.value=o.getValue()});const r=s.get();if(r){const c=(p=r.find(n=>n.projectId===e))==null?void 0:p.lastQuery;c&&(f.value=c,o.setValue(c))}}),(o,r)=>(R(),B("div",W,[i(u(h),{gap:"large",class:"sql-container",align:"center"},{default:g(()=>[L("div",{ref_key:"sqlEditor",ref:d,class:"sql-editor"},null,512),i(u(x),{type:"primary",loading:b.value,onClick:Q},{icon:g(()=>[i(u(J))]),default:g(()=>[S(" Run ")]),_:1},8,["loading"])]),_:1}),i(u(h),{justify:"end",style:{margin:"30px 0 10px 0"}},{default:g(()=>[i(u(x),{disabled:!v.value.length,onClick:q},{default:g(()=>[i(u(h),{align:"center",gap:"small"},{default:g(()=>[S(" Export to CSV "),i(u(A))]),_:1})]),_:1},8,["disabled"])]),_:1}),i(u(V),{style:{width:"100%"},scroll:{x:100},"data-source":v.value,columns:y.value},null,8,["data-source","columns"])]))}});const le=$(X,[["__scopeId","data-v-a8dc12c0"]]);export{le as default}; +//# sourceMappingURL=Sql.3456efbe.js.map diff --git a/abstra_statics/dist/assets/Stages.c6662b19.js b/abstra_statics/dist/assets/Stages.17263941.js similarity index 83% rename from abstra_statics/dist/assets/Stages.c6662b19.js rename to abstra_statics/dist/assets/Stages.17263941.js index cb2466a2ad..b1efa43e52 100644 --- a/abstra_statics/dist/assets/Stages.c6662b19.js +++ b/abstra_statics/dist/assets/Stages.17263941.js @@ -1,2 +1,2 @@ -import{d as x,B as Z,f as b,o as p,X as S,Z as ye,R as L,e8 as _e,a as v,b as o,ee as we,ek as be,e as I,c as w,w as a,u as e,cv as M,dd as $,bN as ke,by as Ae,eb as le,bw as Ce,aF as m,e9 as T,aR as J,el as Se,cA as Ve,cu as Y,d8 as H,cH as ne,g as Le,d5 as Ie,cO as Fe,cK as O,d7 as N,cN as D,em as Te,en as xe,$ as se,bH as K,aV as $e,bP as j,aA as Me,cQ as He,eh as Pe,eo as Ze,d9 as Oe,d6 as Ne,d1 as De,ep as je}from"./vue-router.33f35a18.js";import{C as Ue}from"./ContentLayout.d691ad7a.js";import{C as Ee}from"./CrudView.3c2a3663.js";import{a as ee}from"./ant-design.51753590.js";import{a as q}from"./asyncComputed.c677c545.js";import{c as Be}from"./string.44188c83.js";import{F as Re}from"./PhArrowSquareOut.vue.03bd374b.js";import{F as U}from"./forms.b83627f1.js";import{A as ze,H as E,J as B,S as W}from"./scripts.cc2cce9b.js";import"./editor.c70395a0.js";import{W as re}from"./workspaces.91ed8c72.js";import{A as ie}from"./index.f014adef.js";import{F as Ge,G as qe,I as We,a as Je}from"./PhWebhooksLogo.vue.4375a0bc.js";import{_ as te}from"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import{b as Ye,v as ue}from"./validations.64a1fba7.js";import"./router.cbdfe37b.js";import"./gateway.a5388860.js";import"./popupNotifcation.7fc1aee0.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./record.075b7d45.js";import"./workspaceStore.be837912.js";import"./colorHelpers.aaea81c6.js";import"./BookOutlined.767e0e7a.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="64771a31-415c-4a3b-8296-51301894c4df",n._sentryDebugIdIdentifier="sentry-dbid-64771a31-415c-4a3b-8296-51301894c4df")}catch{}})();const Xe=["width","height","fill","transform"],Qe={key:0},Ke=v("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"},null,-1),et=[Ke],tt={key:1},at=v("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"},null,-1),ot=v("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1),lt=[at,ot],nt={key:2},st=v("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"},null,-1),rt=[st],it={key:3},ut=v("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"},null,-1),ct=[ut],pt={key:4},dt=v("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1),ft=[dt],ht={key:5},mt=v("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"},null,-1),vt=[mt],gt={name:"PhSparkle"},yt=x({...gt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(n){const l=n,s=Z("weight","regular"),r=Z("size","1em"),u=Z("color","currentColor"),y=Z("mirrored",!1),d=b(()=>{var c;return(c=l.weight)!=null?c:s}),g=b(()=>{var c;return(c=l.size)!=null?c:r}),h=b(()=>{var c;return(c=l.color)!=null?c:u}),k=b(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:y?"scale(-1, 1)":void 0);return(c,C)=>(p(),S("svg",_e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:g.value,height:g.value,fill:h.value,transform:k.value},c.$attrs),[ye(c.$slots,"default"),d.value==="bold"?(p(),S("g",Qe,et)):d.value==="duotone"?(p(),S("g",tt,lt)):d.value==="fill"?(p(),S("g",nt,rt)):d.value==="light"?(p(),S("g",it,ct)):d.value==="regular"?(p(),S("g",pt,ft)):d.value==="thin"?(p(),S("g",ht,vt)):L("",!0)],16,Xe))}});function ae(n){for(var l=1;lu.value?"Retry":r.value?"Generating":"Generate"),d=[{title:"Reimbursement approval",prompt:"Create a workflow that implements a reimbursement approval process. It starts with a user submitting a request in a form by inputing a file of the receipt. In the same form, use abstra.ai to get the company name and the amount of the receipt with the parameter format, and save those values in the thread. Then, there is an approval form, filled by me, that will get the data from the thread and I will check the amount and decide if I will approve or not the reinbursement."},{title:"Customer onboarding",prompt:'Do a workflow to implememt a customer onboarding process. It starts with the customer filling a form with some data from their company, like name and CNPJ. After that form, there is a script that generates the contract document using python-docx lib and the same script saves the generated document in persistent dir. Following that, there is an approval form, in which someone will approve or not the contrct, setting a variable approved. With that variable, this form is followed by a condition and if approved is "True" it ends with a script that sends this document via docusign and if is "False" it goes to a internal analysis form.'},{title:"Credit approval",prompt:'Create a workflow to implement a credit approval process. It starts with the user filling a form that asks its name, email, monthly income and loan amount in a Abstra Page. After that there is a script that checks if the loan amount is greater than 1/3 of the monthly income, and if yes, sets a variable score as "low" and else as "high". Following this script there is a condition that takes to an automatic review form if the score is high and to a manual review form if the score is low.'},{title:"Vacation request",prompt:'Create a workflow to implement a vacation request process. It starts with a form to the employee fill that asks separately the start and end date of the vacation. This dates are converted to string and saved in the thread. After that, there is a script that calculates the number of days of the vacation and saves this value in the thread. Following that, there is an approval form, in which the manager will approve or not the vacation request. In the same form, save the vacation in abstra tables in a table "vacations", using insert function from abstra.tables.'}],g=t=>{s.value=t.prompt},h=I(-1),k=["Did you know Abstra is open-source? You can star us on GitHub!","Python is the most popular language among non-developers","With our AI, you can create a full project in less than a minute!","Breaking your process into smaller steps can help debug it","Ask anything to Smart Console, our AI assistant","Check our documentation to learn more about Abstra","You can retry a failed step in the workflow using the Kanban","Customize your workspace by changing the theme in the settings"],c=async()=>{u.value=!1,r.value=!0,h.value=0;const t=setInterval(()=>{h.value++,h.value>=k.length&&(h.value=0),h.value>=k.length&&(clearInterval(t),h.value=-1)},8e3);try{await ze.generateProject(s.value),r.value=!1,clearInterval(t),h.value=-1,s.value="",l("close-and-refetch")}catch{r.value=!1,clearInterval(t),h.value=-1,u.value=!0}},C=()=>{u.value=!1,s.value="",l("close")};return(t,V)=>(p(),w(e(ne),{open:t.open,title:"Let AI help you start your project","ok-text":y.value,"confirm-loading":r.value,onCancel:C,onOk:c},{default:a(()=>[o(e(Y),{layout:"vertical"},{default:a(()=>[o(e(M),{label:"What do you need to automate? Write a Workflow prompt below, and our AI will create it all for you \u2014 code included"},{default:a(()=>[o(e($),{justify:"end",style:{"margin-bottom":"6px"}},{default:a(()=>[o(e(ke),{trigger:"click",placement:"bottomRight"},{overlay:a(()=>[o(e(Ae),null,{default:a(()=>[(p(),S(J,null,le(d,F=>o(e(Ce),{key:F.title,onClick:z=>g(F)},{default:a(()=>[m(T(F.title),1)]),_:2},1032,["onClick"])),64))]),_:1})]),default:a(()=>[v("a",{class:"ant-dropdown-link",onClick:V[0]||(V[0]=Se(()=>{},["prevent"]))},[m(" Examples "),o(e(wt))])]),_:1})]),_:1}),o(e(Ve),{value:s.value,"onUpdate:value":V[1]||(V[1]=F=>s.value=F),rows:8,placeholder:d[0].prompt},null,8,["value","placeholder"])]),_:1})]),_:1}),o(e(H),null,{default:a(()=>[m(T(k[h.value]),1)]),_:1}),u.value?(p(),w(e(ie),{key:0,type:"error",message:"There was an internal error, please try again"})):L("",!0)]),_:1},8,["open","ok-text","confirm-loading"]))}}),R=n=>(Te("data-v-71199594"),n=n(),xe(),n),kt={key:0,class:"choose-type"},At={class:"option-content"},Ct=R(()=>v("span",null,"Forms",-1)),St={class:"option-content"},Vt=R(()=>v("span",null,"Hooks",-1)),Lt={class:"option-content"},It=R(()=>v("span",null,"Scripts",-1)),Ft={class:"option-content"},Tt=R(()=>v("span",null,"Jobs",-1)),xt=x({__name:"ChooseStageType",props:{state:{}},emits:["choose-type"],setup(n,{emit:l}){const s=n,r=b(()=>s.state.type==="form"?"#fff":void 0),u=b(()=>s.state.type==="hook"?"#fff":void 0),y=b(()=>s.state.type==="script"?"#fff":void 0),d=b(()=>s.state.type==="job"?"#fff":void 0);return Le(()=>s.state.type,g=>{g&&l("choose-type",g)}),(g,h)=>g.state.state==="choosing-type"?(p(),S("div",kt,[o(e($),{vertical:"",gap:"30"},{default:a(()=>[o(e(Ie),null,{default:a(()=>[m("Choose your stage type")]),_:1}),o(e(Fe),{value:g.state.type,"onUpdate:value":h[0]||(h[0]=k=>g.state.type=k),size:"large","button-style":"solid"},{default:a(()=>[o(e($),{gap:"24",vertical:""},{default:a(()=>[o(e($),{gap:"24"},{default:a(()=>[o(e(O),{placement:"left",title:"Forms"},{content:a(()=>[o(e(N),null,{default:a(()=>[m(" Use to collect user input via interaction with a form interface ")]),_:1}),o(te,{path:"concepts/forms"})]),default:a(()=>[o(e(D),{value:"form",class:"option"},{default:a(()=>[v("div",At,[(p(),w(e(Ge),{key:r.value,color:r.value},null,8,["color"])),Ct])]),_:1})]),_:1}),o(e(O),{placement:"right",title:"Hooks"},{content:a(()=>[o(e(N),null,{default:a(()=>[m("Use to build endpoints triggered by HTTP requests")]),_:1}),o(te,{path:"concepts/forms"})]),default:a(()=>[o(e(D),{value:"hook",class:"option"},{default:a(()=>[v("div",St,[(p(),w(e(qe),{key:u.value,color:u.value},null,8,["color"])),Vt])]),_:1})]),_:1})]),_:1}),o(e($),{gap:"24"},{default:a(()=>[o(e(O),{placement:"left",title:"Scripts"},{content:a(()=>[o(e(N),null,{default:a(()=>[m(" Use to write plain Python scripts ")]),_:1})]),default:a(()=>[o(e(D),{value:"script",class:"option"},{default:a(()=>[v("div",Lt,[(p(),w(e(We),{key:y.value,color:y.value},null,8,["color"])),It])]),_:1})]),_:1}),o(e(O),{placement:"right",title:"Jobs"},{content:a(()=>[o(e(N),null,{default:a(()=>[m(" Use to schedule your script execution periodically ")]),_:1})]),default:a(()=>[o(e(D),{value:"job",class:"option"},{default:a(()=>[v("div",Ft,[(p(),w(e(Je),{key:d.value,color:d.value},null,8,["color"])),Tt])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1})])):L("",!0)}});const $t=se(xt,[["__scopeId","data-v-71199594"]]),Mt=v("br",null,null,-1),Ht=x({__name:"NewStage",props:{state:{}},emits:["update-name","update-file"],setup(n,{emit:l}){const s=n,{result:r}=q(()=>fetch("/_editor/api/workspace/root").then(c=>c.text())),u=b(()=>s.state.state!=="creating"?"":`${r.value}/${s.state.stage.filename}`),y=b(()=>s.state.state!=="creating"?"":`${s.state.stage.type[0].toUpperCase()+s.state.stage.type.slice(1)} title`),d=c=>{l("update-name",c);const C=Ye(c);l("update-file",C),h()},{result:g,refetch:h}=q(()=>re.checkFile(s.state.stage.filename)),k=b(()=>ue(s.state.stage.filename));return(c,C)=>(p(),w(e(Y),{layout:"vertical"},{default:a(()=>{var t;return[o(e(M),{label:y.value,required:!0},{default:a(()=>[o(e(K),{value:c.state.stage.title,"onUpdate:value":d},null,8,["value"])]),_:1},8,["label"]),o(e(M),{label:"Generated file",required:!0,"validate-status":k.value.valid?"success":"error",help:k.value.valid?void 0:k.value.reason},{default:a(()=>[o(e($e),{placement:"right"},{title:a(()=>[m(" You can change this later ")]),default:a(()=>[o(e(K),{value:c.state.stage.filename,"onUpdate:value":C[0]||(C[0]=V=>c.state.stage.filename=V),disabled:!0},null,8,["value"])]),_:1})]),_:1},8,["validate-status","help"]),o(e(M),null,{default:a(()=>[o(e(H),null,{default:a(()=>[m(" Your stage source code will be generated at: ")]),_:1}),Mt,o(e(H),{code:""},{default:a(()=>[m(T(u.value),1)]),_:1})]),_:1}),(t=e(g))!=null&&t.exists?(p(),w(e(ie),{key:0,type:"warning","show-icon":""},{message:a(()=>[o(e(H),null,{default:a(()=>[m(" This file already exists and might be in use by another stage. Contents will be left unchanged. ")]),_:1})]),_:1})):L("",!0)]}),_:1}))}}),Pt=x({__name:"CreateModal",props:{open:{type:Boolean},state:{}},emits:["close","choose-type","next-step","previous-step","create-stage","update-name","update-file"],setup(n,{emit:l}){const s=n,r=I(!1),u=t=>l("update-name",t),y=t=>l("update-file",t),d=()=>l("close"),g=t=>l("choose-type",t),h=()=>l("next-step"),k=()=>l("previous-step"),c=()=>{r.value=!0,l("create-stage")},C=b(()=>!(s.state.state!=="creating"||!ue(s.state.stage.filename).valid||!s.state.stage.title||r.value));return(t,V)=>(p(),w(e(ne),{open:t.open,title:"Create a new stage",onCancel:d},{footer:a(()=>[t.state.state==="creating"?(p(),w(e(j),{key:0,onClick:k},{default:a(()=>[m("Previous")]),_:1})):L("",!0),t.state.state==="creating"?(p(),w(e(j),{key:1,type:"primary",disabled:!C.value,onClick:c},{default:a(()=>[m(" Create ")]),_:1},8,["disabled"])):L("",!0),t.state.state==="choosing-type"?(p(),w(e(j),{key:2,type:"primary",disabled:!t.state.type,onClick:h},{default:a(()=>[m(" Next ")]),_:1},8,["disabled"])):L("",!0)]),default:a(()=>[t.state.state==="choosing-type"?(p(),w($t,{key:0,state:t.state,onChooseType:g},null,8,["state"])):L("",!0),t.state.state==="creating"?(p(),w(Ht,{key:1,state:t.state,onUpdateName:u,onUpdateFile:y},null,8,["state"])):L("",!0)]),_:1},8,["open"]))}}),Zt=x({__name:"FilterStages",emits:["update-filter"],setup(n,{emit:l}){const s=[{label:"Forms",value:"form"},{label:"Hooks",value:"hook"},{label:"Scripts",value:"script"},{label:"Jobs",value:"job"}],r=u=>{if(!u){l("update-filter",[]);return}if(!Array.isArray(u)){l("update-filter",[u]);return}const y=u.map(d=>d);l("update-filter",y)};return(u,y)=>(p(),w(e(Y),null,{default:a(()=>[o(e(M),{label:"Filter"},{default:a(()=>[o(e(Me),{mode:"multiple",style:{width:"360px"},placeholder:"All","onUpdate:value":r},{default:a(()=>[(p(),S(J,null,le(s,d=>o(e(He),{key:d.value,value:d.value},{default:a(()=>[m(T(d.label),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1})]),_:1}))}}),Ot=200,Nt=n=>{if(!n)return[0,0];if(n.length===0)return[0,0];let l=-1/0,s=0;for(const r of n)r.position.x>l&&(l=r.position.x),s+=r.position.y/n.length;return[l+Ot,s]},G=n=>{if(n instanceof U)return"form";if(n instanceof E)return"hook";if(n instanceof B)return"job";if(n instanceof W)return"script";throw new Error("Invalid script type")},Dt=n=>n instanceof U?`/${n.path}`:n instanceof E?`/_hooks/${n.path}`:n instanceof B?`${n.schedule}`:"",jt={class:"ellipsis",style:{"max-width":"300px"}},Ut={class:"ellipsis",style:{"max-width":"250px"}},Et={class:"ellipsis",style:{"max-width":"200px"}},oe=100,Bt=x({__name:"Stages",setup(n){Pe(i=>({dbfa5e58:ve()}));const l=Ze(),{loading:s,result:r,refetch:u}=q(async()=>Promise.all([U.list(),E.list(),B.list(),W.list()]).then(([i,f,_,A])=>[...i,...f,..._,...A])),y=I(!1),d=async()=>{y.value=!1,u()},g=I([]),h=i=>{g.value=i},k=b(()=>r.value?g.value.length===0?r.value:r.value.filter(i=>g.value.includes(G(i))):[]),c=i=>{re.openFile(i)},C=b(()=>{const i=[{name:"Type",align:"left"},{name:"Title",align:"left"},{name:"File",align:"left"},{name:"Trigger",align:"left"},{name:"",align:"right"}],f=k.value;if(!f)return{columns:i,rows:[]};const _=f.map(A=>{const P=Be(G(A));return{key:A.id,cells:[{type:"tag",text:P},{type:"slot",key:"title",payload:{script:A}},{type:"slot",key:"file",payload:{script:A}},{type:"slot",key:"trigger",payload:{script:A}},{type:"actions",actions:[{icon:Re,label:"Open .py file",onClick:()=>c(A.file)},{icon:je,label:"Delete",onClick:()=>me(A.id)}]}]}});return{columns:i,rows:_}}),t=I({state:"idle"}),V=b(()=>t.value.state==="choosing-type"||t.value.state==="creating"),F=()=>{t.value={state:"choosing-type",type:null}},z=()=>{t.value={state:"idle"}},ce=i=>{t.value.state==="choosing-type"&&(t.value={state:"choosing-type",type:i})},pe=()=>{t.value.state==="choosing-type"&&t.value.type!==null&&(t.value={state:"creating",stage:{type:t.value.type,title:`Untitled ${t.value.type}`,filename:`untitled_${t.value.type}.py`}})},de=()=>{t.value.state==="creating"&&(t.value={state:"choosing-type",type:t.value.stage.type})},fe=i=>{t.value.state==="creating"&&(t.value.stage.title=i)},he=i=>{t.value.state==="creating"&&(t.value.stage.filename=i)},me=async i=>{var f,_;if(await ee("Are you sure you want to delete this script?")){const A=await ee("Do you want to delete the .py file associated with this script?",{okText:"Yes",cancelText:"No"});await((_=(f=r.value)==null?void 0:f.find(P=>P.id===i))==null?void 0:_.delete(A)),await u()}},ve=()=>(oe/1e3).toString()+"s",ge=async()=>{if(t.value.state!=="creating")return;const i=Nt(r.value||[]);let f;if(t.value.stage.type==="form"?f=await U.create(t.value.stage.title,t.value.stage.filename,i):t.value.stage.type==="hook"?f=await E.create(t.value.stage.title,t.value.stage.filename,i):t.value.stage.type==="job"?f=await B.create(t.value.stage.title,t.value.stage.filename,i):t.value.stage.type==="script"&&(f=await W.create(t.value.stage.title,t.value.stage.filename,i)),!f)throw new Error("Failed to create script");const _=f.id,A=t.value.stage.type;setTimeout(async()=>{await Q(_,A),z()},oe)},Q=async(i,f)=>{f==="form"&&await l.push({name:"formEditor",params:{id:i}}),f==="hook"&&await l.push({name:"hookEditor",params:{id:i}}),f==="script"&&await l.push({name:"scriptEditor",params:{id:i}}),f==="job"&&await l.push({name:"jobEditor",params:{id:i}})};return(i,f)=>(p(),S(J,null,[o(Ue,null,{default:a(()=>[o(e(Oe),null,{default:a(()=>[m("Stages")]),_:1}),o(Zt,{onUpdateFilter:h}),o(Ee,{"empty-title":"There are no scripts","entity-name":"scripts",description:"",table:C.value,loading:e(s),title:"","create-button-text":"Create new",create:F},{title:a(({payload:_})=>[v("div",jt,[o(e(Ne),{onClick:A=>Q(_.script.id,e(G)(_.script))},{default:a(()=>[m(T(_.script.title),1)]),_:2},1032,["onClick"])])]),secondary:a(()=>[e(r)&&!e(r).length?(p(),w(e(j),{key:0,onClick:f[0]||(f[0]=_=>y.value=!0)},{default:a(()=>[o(e($),{gap:"4",align:"center"},{default:a(()=>[m(" Start with AI "),o(e(yt),{size:16})]),_:1})]),_:1})):L("",!0)]),file:a(({payload:_})=>[v("div",Ut,[o(e(H),null,{default:a(()=>[m(T(_.script.file),1)]),_:2},1024)])]),trigger:a(({payload:_})=>[o(e(De),{color:"default"},{default:a(()=>[v("div",Et,T(e(Dt)(_.script)),1)]),_:2},1024)]),_:1},8,["table","loading"])]),_:1}),o(Pt,{open:V.value,state:t.value,onClose:z,onChooseType:ce,onNextStep:pe,onPreviousStep:de,onCreateStage:ge,onUpdateName:fe,onUpdateFile:he},null,8,["open","state"]),o(bt,{open:y.value,onClose:f[1]||(f[1]=_=>y.value=!1),onCloseAndRefetch:d},null,8,["open"])],64))}});const va=se(Bt,[["__scopeId","data-v-222cace4"]]);export{va as default}; -//# sourceMappingURL=Stages.c6662b19.js.map +import{d as x,B as Z,f as w,o as p,X as S,Z as ye,R as L,e8 as _e,a as v,b as o,ee as be,ek as we,e as I,c as b,w as a,u as e,cv as M,dd as $,bN as ke,by as Ae,eb as le,bw as Ce,aF as m,e9 as T,aR as J,el as Se,cA as Ve,cu as Y,d8 as H,cH as ne,g as Le,d5 as Ie,cO as Fe,cK as O,d7 as N,cN as D,em as Te,en as xe,$ as se,bH as K,aV as $e,bP as j,aA as Me,cQ as He,eh as Pe,eo as Ze,d9 as Oe,d6 as Ne,d1 as De,ep as je}from"./vue-router.324eaed2.js";import{C as Ue}from"./ContentLayout.5465dc16.js";import{C as Ee}from"./CrudView.0b1b90a7.js";import{a as ee}from"./ant-design.48401d91.js";import{a as q}from"./asyncComputed.3916dfed.js";import{c as Be}from"./string.d698465c.js";import{F as Re}from"./PhArrowSquareOut.vue.2a1b339b.js";import{F as U}from"./forms.32a04fb9.js";import{A as ze,H as E,J as B,S as W}from"./scripts.c1b9be98.js";import"./editor.1b3b164b.js";import{W as re}from"./workspaces.a34621fe.js";import{A as ie}from"./index.0887bacc.js";import{F as Ge,G as qe,I as We,a as Je}from"./PhWebhooksLogo.vue.96003388.js";import{_ as te}from"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import{b as Ye,v as ue}from"./validations.339bcb94.js";import"./router.0c18ec5d.js";import"./gateway.edd4374b.js";import"./popupNotifcation.5a82bc93.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./record.cff1707c.js";import"./workspaceStore.5977d9e8.js";import"./colorHelpers.78fae216.js";import"./BookOutlined.789cce39.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="bec551fc-b787-443c-9d3a-d3324ac9b291",n._sentryDebugIdIdentifier="sentry-dbid-bec551fc-b787-443c-9d3a-d3324ac9b291")}catch{}})();const Xe=["width","height","fill","transform"],Qe={key:0},Ke=v("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"},null,-1),et=[Ke],tt={key:1},at=v("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"},null,-1),ot=v("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1),lt=[at,ot],nt={key:2},st=v("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"},null,-1),rt=[st],it={key:3},ut=v("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"},null,-1),ct=[ut],pt={key:4},dt=v("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1),ft=[dt],ht={key:5},mt=v("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"},null,-1),vt=[mt],gt={name:"PhSparkle"},yt=x({...gt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(n){const l=n,s=Z("weight","regular"),r=Z("size","1em"),u=Z("color","currentColor"),y=Z("mirrored",!1),d=w(()=>{var c;return(c=l.weight)!=null?c:s}),g=w(()=>{var c;return(c=l.size)!=null?c:r}),h=w(()=>{var c;return(c=l.color)!=null?c:u}),k=w(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:y?"scale(-1, 1)":void 0);return(c,C)=>(p(),S("svg",_e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:g.value,height:g.value,fill:h.value,transform:k.value},c.$attrs),[ye(c.$slots,"default"),d.value==="bold"?(p(),S("g",Qe,et)):d.value==="duotone"?(p(),S("g",tt,lt)):d.value==="fill"?(p(),S("g",nt,rt)):d.value==="light"?(p(),S("g",it,ct)):d.value==="regular"?(p(),S("g",pt,ft)):d.value==="thin"?(p(),S("g",ht,vt)):L("",!0)],16,Xe))}});function ae(n){for(var l=1;lu.value?"Retry":r.value?"Generating":"Generate"),d=[{title:"Reimbursement approval",prompt:"Create a workflow that implements a reimbursement approval process. It starts with a user submitting a request in a form by inputing a file of the receipt. In the same form, use abstra.ai to get the company name and the amount of the receipt with the parameter format, and save those values in the thread. Then, there is an approval form, filled by me, that will get the data from the thread and I will check the amount and decide if I will approve or not the reinbursement."},{title:"Customer onboarding",prompt:'Do a workflow to implememt a customer onboarding process. It starts with the customer filling a form with some data from their company, like name and CNPJ. After that form, there is a script that generates the contract document using python-docx lib and the same script saves the generated document in persistent dir. Following that, there is an approval form, in which someone will approve or not the contrct, setting a variable approved. With that variable, this form is followed by a condition and if approved is "True" it ends with a script that sends this document via docusign and if is "False" it goes to a internal analysis form.'},{title:"Credit approval",prompt:'Create a workflow to implement a credit approval process. It starts with the user filling a form that asks its name, email, monthly income and loan amount in a Abstra Page. After that there is a script that checks if the loan amount is greater than 1/3 of the monthly income, and if yes, sets a variable score as "low" and else as "high". Following this script there is a condition that takes to an automatic review form if the score is high and to a manual review form if the score is low.'},{title:"Vacation request",prompt:'Create a workflow to implement a vacation request process. It starts with a form to the employee fill that asks separately the start and end date of the vacation. This dates are converted to string and saved in the thread. After that, there is a script that calculates the number of days of the vacation and saves this value in the thread. Following that, there is an approval form, in which the manager will approve or not the vacation request. In the same form, save the vacation in abstra tables in a table "vacations", using insert function from abstra.tables.'}],g=t=>{s.value=t.prompt},h=I(-1),k=["Did you know Abstra is open-source? You can star us on GitHub!","Python is the most popular language among non-developers","With our AI, you can create a full project in less than a minute!","Breaking your process into smaller steps can help debug it","Ask anything to Smart Console, our AI assistant","Check our documentation to learn more about Abstra","You can retry a failed step in the workflow using the Kanban","Customize your workspace by changing the theme in the settings"],c=async()=>{u.value=!1,r.value=!0,h.value=0;const t=setInterval(()=>{h.value++,h.value>=k.length&&(h.value=0),h.value>=k.length&&(clearInterval(t),h.value=-1)},8e3);try{await ze.generateProject(s.value),r.value=!1,clearInterval(t),h.value=-1,s.value="",l("close-and-refetch")}catch{r.value=!1,clearInterval(t),h.value=-1,u.value=!0}},C=()=>{u.value=!1,s.value="",l("close")};return(t,V)=>(p(),b(e(ne),{open:t.open,title:"Let AI help you start your project","ok-text":y.value,"confirm-loading":r.value,onCancel:C,onOk:c},{default:a(()=>[o(e(Y),{layout:"vertical"},{default:a(()=>[o(e(M),{label:"What do you need to automate? Write a Workflow prompt below, and our AI will create it all for you \u2014 code included"},{default:a(()=>[o(e($),{justify:"end",style:{"margin-bottom":"6px"}},{default:a(()=>[o(e(ke),{trigger:"click",placement:"bottomRight"},{overlay:a(()=>[o(e(Ae),null,{default:a(()=>[(p(),S(J,null,le(d,F=>o(e(Ce),{key:F.title,onClick:z=>g(F)},{default:a(()=>[m(T(F.title),1)]),_:2},1032,["onClick"])),64))]),_:1})]),default:a(()=>[v("a",{class:"ant-dropdown-link",onClick:V[0]||(V[0]=Se(()=>{},["prevent"]))},[m(" Examples "),o(e(bt))])]),_:1})]),_:1}),o(e(Ve),{value:s.value,"onUpdate:value":V[1]||(V[1]=F=>s.value=F),rows:8,placeholder:d[0].prompt},null,8,["value","placeholder"])]),_:1})]),_:1}),o(e(H),null,{default:a(()=>[m(T(k[h.value]),1)]),_:1}),u.value?(p(),b(e(ie),{key:0,type:"error",message:"There was an internal error, please try again"})):L("",!0)]),_:1},8,["open","ok-text","confirm-loading"]))}}),R=n=>(Te("data-v-71199594"),n=n(),xe(),n),kt={key:0,class:"choose-type"},At={class:"option-content"},Ct=R(()=>v("span",null,"Forms",-1)),St={class:"option-content"},Vt=R(()=>v("span",null,"Hooks",-1)),Lt={class:"option-content"},It=R(()=>v("span",null,"Scripts",-1)),Ft={class:"option-content"},Tt=R(()=>v("span",null,"Jobs",-1)),xt=x({__name:"ChooseStageType",props:{state:{}},emits:["choose-type"],setup(n,{emit:l}){const s=n,r=w(()=>s.state.type==="form"?"#fff":void 0),u=w(()=>s.state.type==="hook"?"#fff":void 0),y=w(()=>s.state.type==="script"?"#fff":void 0),d=w(()=>s.state.type==="job"?"#fff":void 0);return Le(()=>s.state.type,g=>{g&&l("choose-type",g)}),(g,h)=>g.state.state==="choosing-type"?(p(),S("div",kt,[o(e($),{vertical:"",gap:"30"},{default:a(()=>[o(e(Ie),null,{default:a(()=>[m("Choose your stage type")]),_:1}),o(e(Fe),{value:g.state.type,"onUpdate:value":h[0]||(h[0]=k=>g.state.type=k),size:"large","button-style":"solid"},{default:a(()=>[o(e($),{gap:"24",vertical:""},{default:a(()=>[o(e($),{gap:"24"},{default:a(()=>[o(e(O),{placement:"left",title:"Forms"},{content:a(()=>[o(e(N),null,{default:a(()=>[m(" Use to collect user input via interaction with a form interface ")]),_:1}),o(te,{path:"concepts/forms"})]),default:a(()=>[o(e(D),{value:"form",class:"option"},{default:a(()=>[v("div",At,[(p(),b(e(Ge),{key:r.value,color:r.value},null,8,["color"])),Ct])]),_:1})]),_:1}),o(e(O),{placement:"right",title:"Hooks"},{content:a(()=>[o(e(N),null,{default:a(()=>[m("Use to build endpoints triggered by HTTP requests")]),_:1}),o(te,{path:"concepts/forms"})]),default:a(()=>[o(e(D),{value:"hook",class:"option"},{default:a(()=>[v("div",St,[(p(),b(e(qe),{key:u.value,color:u.value},null,8,["color"])),Vt])]),_:1})]),_:1})]),_:1}),o(e($),{gap:"24"},{default:a(()=>[o(e(O),{placement:"left",title:"Scripts"},{content:a(()=>[o(e(N),null,{default:a(()=>[m(" Use to write plain Python scripts ")]),_:1})]),default:a(()=>[o(e(D),{value:"script",class:"option"},{default:a(()=>[v("div",Lt,[(p(),b(e(We),{key:y.value,color:y.value},null,8,["color"])),It])]),_:1})]),_:1}),o(e(O),{placement:"right",title:"Jobs"},{content:a(()=>[o(e(N),null,{default:a(()=>[m(" Use to schedule your script execution periodically ")]),_:1})]),default:a(()=>[o(e(D),{value:"job",class:"option"},{default:a(()=>[v("div",Ft,[(p(),b(e(Je),{key:d.value,color:d.value},null,8,["color"])),Tt])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1})])):L("",!0)}});const $t=se(xt,[["__scopeId","data-v-71199594"]]),Mt=v("br",null,null,-1),Ht=x({__name:"NewStage",props:{state:{}},emits:["update-name","update-file"],setup(n,{emit:l}){const s=n,{result:r}=q(()=>fetch("/_editor/api/workspace/root").then(c=>c.text())),u=w(()=>s.state.state!=="creating"?"":`${r.value}/${s.state.stage.filename}`),y=w(()=>s.state.state!=="creating"?"":`${s.state.stage.type[0].toUpperCase()+s.state.stage.type.slice(1)} title`),d=c=>{l("update-name",c);const C=Ye(c);l("update-file",C),h()},{result:g,refetch:h}=q(()=>re.checkFile(s.state.stage.filename)),k=w(()=>ue(s.state.stage.filename));return(c,C)=>(p(),b(e(Y),{layout:"vertical"},{default:a(()=>{var t;return[o(e(M),{label:y.value,required:!0},{default:a(()=>[o(e(K),{value:c.state.stage.title,"onUpdate:value":d},null,8,["value"])]),_:1},8,["label"]),o(e(M),{label:"Generated file",required:!0,"validate-status":k.value.valid?"success":"error",help:k.value.valid?void 0:k.value.reason},{default:a(()=>[o(e($e),{placement:"right"},{title:a(()=>[m(" You can change this later ")]),default:a(()=>[o(e(K),{value:c.state.stage.filename,"onUpdate:value":C[0]||(C[0]=V=>c.state.stage.filename=V),disabled:!0},null,8,["value"])]),_:1})]),_:1},8,["validate-status","help"]),o(e(M),null,{default:a(()=>[o(e(H),null,{default:a(()=>[m(" Your stage source code will be generated at: ")]),_:1}),Mt,o(e(H),{code:""},{default:a(()=>[m(T(u.value),1)]),_:1})]),_:1}),(t=e(g))!=null&&t.exists?(p(),b(e(ie),{key:0,type:"warning","show-icon":""},{message:a(()=>[o(e(H),null,{default:a(()=>[m(" This file already exists and might be in use by another stage. Contents will be left unchanged. ")]),_:1})]),_:1})):L("",!0)]}),_:1}))}}),Pt=x({__name:"CreateModal",props:{open:{type:Boolean},state:{}},emits:["close","choose-type","next-step","previous-step","create-stage","update-name","update-file"],setup(n,{emit:l}){const s=n,r=I(!1),u=t=>l("update-name",t),y=t=>l("update-file",t),d=()=>l("close"),g=t=>l("choose-type",t),h=()=>l("next-step"),k=()=>l("previous-step"),c=()=>{r.value=!0,l("create-stage")},C=w(()=>!(s.state.state!=="creating"||!ue(s.state.stage.filename).valid||!s.state.stage.title||r.value));return(t,V)=>(p(),b(e(ne),{open:t.open,title:"Create a new stage",onCancel:d},{footer:a(()=>[t.state.state==="creating"?(p(),b(e(j),{key:0,onClick:k},{default:a(()=>[m("Previous")]),_:1})):L("",!0),t.state.state==="creating"?(p(),b(e(j),{key:1,type:"primary",disabled:!C.value,onClick:c},{default:a(()=>[m(" Create ")]),_:1},8,["disabled"])):L("",!0),t.state.state==="choosing-type"?(p(),b(e(j),{key:2,type:"primary",disabled:!t.state.type,onClick:h},{default:a(()=>[m(" Next ")]),_:1},8,["disabled"])):L("",!0)]),default:a(()=>[t.state.state==="choosing-type"?(p(),b($t,{key:0,state:t.state,onChooseType:g},null,8,["state"])):L("",!0),t.state.state==="creating"?(p(),b(Ht,{key:1,state:t.state,onUpdateName:u,onUpdateFile:y},null,8,["state"])):L("",!0)]),_:1},8,["open"]))}}),Zt=x({__name:"FilterStages",emits:["update-filter"],setup(n,{emit:l}){const s=[{label:"Forms",value:"form"},{label:"Hooks",value:"hook"},{label:"Scripts",value:"script"},{label:"Jobs",value:"job"}],r=u=>{if(!u){l("update-filter",[]);return}if(!Array.isArray(u)){l("update-filter",[u]);return}const y=u.map(d=>d);l("update-filter",y)};return(u,y)=>(p(),b(e(Y),null,{default:a(()=>[o(e(M),{label:"Filter"},{default:a(()=>[o(e(Me),{mode:"multiple",style:{width:"360px"},placeholder:"All","onUpdate:value":r},{default:a(()=>[(p(),S(J,null,le(s,d=>o(e(He),{key:d.value,value:d.value},{default:a(()=>[m(T(d.label),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1})]),_:1}))}}),Ot=200,Nt=n=>{if(!n)return[0,0];if(n.length===0)return[0,0];let l=-1/0,s=0;for(const r of n)r.position.x>l&&(l=r.position.x),s+=r.position.y/n.length;return[l+Ot,s]},G=n=>{if(n instanceof U)return"form";if(n instanceof E)return"hook";if(n instanceof B)return"job";if(n instanceof W)return"script";throw new Error("Invalid script type")},Dt=n=>n instanceof U?`/${n.path}`:n instanceof E?`/_hooks/${n.path}`:n instanceof B?`${n.schedule}`:"",jt={class:"ellipsis",style:{"max-width":"300px"}},Ut={class:"ellipsis",style:{"max-width":"250px"}},Et={class:"ellipsis",style:{"max-width":"200px"}},oe=100,Bt=x({__name:"Stages",setup(n){Pe(i=>({dbfa5e58:ve()}));const l=Ze(),{loading:s,result:r,refetch:u}=q(async()=>Promise.all([U.list(),E.list(),B.list(),W.list()]).then(([i,f,_,A])=>[...i,...f,..._,...A])),y=I(!1),d=async()=>{y.value=!1,u()},g=I([]),h=i=>{g.value=i},k=w(()=>r.value?g.value.length===0?r.value:r.value.filter(i=>g.value.includes(G(i))):[]),c=i=>{re.openFile(i)},C=w(()=>{const i=[{name:"Type",align:"left"},{name:"Title",align:"left"},{name:"File",align:"left"},{name:"Trigger",align:"left"},{name:"",align:"right"}],f=k.value;if(!f)return{columns:i,rows:[]};const _=f.map(A=>{const P=Be(G(A));return{key:A.id,cells:[{type:"tag",text:P},{type:"slot",key:"title",payload:{script:A}},{type:"slot",key:"file",payload:{script:A}},{type:"slot",key:"trigger",payload:{script:A}},{type:"actions",actions:[{icon:Re,label:"Open .py file",onClick:()=>c(A.file)},{icon:je,label:"Delete",onClick:()=>me(A.id)}]}]}});return{columns:i,rows:_}}),t=I({state:"idle"}),V=w(()=>t.value.state==="choosing-type"||t.value.state==="creating"),F=()=>{t.value={state:"choosing-type",type:null}},z=()=>{t.value={state:"idle"}},ce=i=>{t.value.state==="choosing-type"&&(t.value={state:"choosing-type",type:i})},pe=()=>{t.value.state==="choosing-type"&&t.value.type!==null&&(t.value={state:"creating",stage:{type:t.value.type,title:`Untitled ${t.value.type}`,filename:`untitled_${t.value.type}.py`}})},de=()=>{t.value.state==="creating"&&(t.value={state:"choosing-type",type:t.value.stage.type})},fe=i=>{t.value.state==="creating"&&(t.value.stage.title=i)},he=i=>{t.value.state==="creating"&&(t.value.stage.filename=i)},me=async i=>{var f,_;if(await ee("Are you sure you want to delete this script?")){const A=await ee("Do you want to delete the .py file associated with this script?",{okText:"Yes",cancelText:"No"});await((_=(f=r.value)==null?void 0:f.find(P=>P.id===i))==null?void 0:_.delete(A)),await u()}},ve=()=>(oe/1e3).toString()+"s",ge=async()=>{if(t.value.state!=="creating")return;const i=Nt(r.value||[]);let f;if(t.value.stage.type==="form"?f=await U.create(t.value.stage.title,t.value.stage.filename,i):t.value.stage.type==="hook"?f=await E.create(t.value.stage.title,t.value.stage.filename,i):t.value.stage.type==="job"?f=await B.create(t.value.stage.title,t.value.stage.filename,i):t.value.stage.type==="script"&&(f=await W.create(t.value.stage.title,t.value.stage.filename,i)),!f)throw new Error("Failed to create script");const _=f.id,A=t.value.stage.type;setTimeout(async()=>{await Q(_,A),z()},oe)},Q=async(i,f)=>{f==="form"&&await l.push({name:"formEditor",params:{id:i}}),f==="hook"&&await l.push({name:"hookEditor",params:{id:i}}),f==="script"&&await l.push({name:"scriptEditor",params:{id:i}}),f==="job"&&await l.push({name:"jobEditor",params:{id:i}})};return(i,f)=>(p(),S(J,null,[o(Ue,null,{default:a(()=>[o(e(Oe),null,{default:a(()=>[m("Stages")]),_:1}),o(Zt,{onUpdateFilter:h}),o(Ee,{"empty-title":"There are no scripts","entity-name":"scripts",description:"",table:C.value,loading:e(s),title:"","create-button-text":"Create new",create:F},{title:a(({payload:_})=>[v("div",jt,[o(e(Ne),{onClick:A=>Q(_.script.id,e(G)(_.script))},{default:a(()=>[m(T(_.script.title),1)]),_:2},1032,["onClick"])])]),secondary:a(()=>[e(r)&&!e(r).length?(p(),b(e(j),{key:0,onClick:f[0]||(f[0]=_=>y.value=!0)},{default:a(()=>[o(e($),{gap:"4",align:"center"},{default:a(()=>[m(" Start with AI "),o(e(yt),{size:16})]),_:1})]),_:1})):L("",!0)]),file:a(({payload:_})=>[v("div",Ut,[o(e(H),null,{default:a(()=>[m(T(_.script.file),1)]),_:2},1024)])]),trigger:a(({payload:_})=>[o(e(De),{color:"default"},{default:a(()=>[v("div",Et,T(e(Dt)(_.script)),1)]),_:2},1024)]),_:1},8,["table","loading"])]),_:1}),o(Pt,{open:V.value,state:t.value,onClose:z,onChooseType:ce,onNextStep:pe,onPreviousStep:de,onCreateStage:ge,onUpdateName:fe,onUpdateFile:he},null,8,["open","state"]),o(wt,{open:y.value,onClose:f[1]||(f[1]=_=>y.value=!1),onCloseAndRefetch:d},null,8,["open"])],64))}});const va=se(Bt,[["__scopeId","data-v-222cace4"]]);export{va as default}; +//# sourceMappingURL=Stages.17263941.js.map diff --git a/abstra_statics/dist/assets/Steps.677c01d2.js b/abstra_statics/dist/assets/Steps.f9a5ddf6.js similarity index 56% rename from abstra_statics/dist/assets/Steps.677c01d2.js rename to abstra_statics/dist/assets/Steps.f9a5ddf6.js index 0effb7348b..35da0ade1f 100644 --- a/abstra_statics/dist/assets/Steps.677c01d2.js +++ b/abstra_statics/dist/assets/Steps.f9a5ddf6.js @@ -1,2 +1,2 @@ -import{A as n}from"./index.b3a210ed.js";import{d as a,f as o,o as r,X as d,b as f,u as c,Y as l,R as p,$ as u}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6cfdb3a1-8472-4339-b7df-2bbd10f1d6c4",e._sentryDebugIdIdentifier="sentry-dbid-6cfdb3a1-8472-4339-b7df-2bbd10f1d6c4")}catch{}})();const i=a({__name:"Steps",props:{stepsInfo:{type:Object,default:null}},setup(e){const t=e,s=o(()=>t.stepsInfo?Array(t.stepsInfo.total).fill(null).map(()=>({label:"",description:""})):[]);return(b,m)=>e.stepsInfo?(r(),d("nav",{key:0,class:"p-steps",style:l({maxWidth:Math.min(e.stepsInfo.total*3.5,100)+"%"})},[f(c(n),{current:e.stepsInfo.current-1,items:s.value,responsive:!1},null,8,["current","items"])],4)):p("",!0)}});const I=u(i,[["__scopeId","data-v-1ef844ba"]]);export{I as S}; -//# sourceMappingURL=Steps.677c01d2.js.map +import{A as n}from"./index.0b1755c2.js";import{d as a,f as o,o as r,X as d,b as c,u as f,Y as l,R as p,$ as u}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3d8bd2cc-fd01-42db-98c6-93b03bab8f66",e._sentryDebugIdIdentifier="sentry-dbid-3d8bd2cc-fd01-42db-98c6-93b03bab8f66")}catch{}})();const i=a({__name:"Steps",props:{stepsInfo:{type:Object,default:null}},setup(e){const t=e,s=o(()=>t.stepsInfo?Array(t.stepsInfo.total).fill(null).map(()=>({label:"",description:""})):[]);return(b,m)=>e.stepsInfo?(r(),d("nav",{key:0,class:"p-steps",style:l({maxWidth:Math.min(e.stepsInfo.total*3.5,100)+"%"})},[c(f(n),{current:e.stepsInfo.current-1,items:s.value,responsive:!1},null,8,["current","items"])],4)):p("",!0)}});const I=u(i,[["__scopeId","data-v-1ef844ba"]]);export{I as S}; +//# sourceMappingURL=Steps.f9a5ddf6.js.map diff --git a/abstra_statics/dist/assets/TabPane.1080fde7.js b/abstra_statics/dist/assets/TabPane.caed57de.js similarity index 99% rename from abstra_statics/dist/assets/TabPane.1080fde7.js rename to abstra_statics/dist/assets/TabPane.caed57de.js index 1843e032d3..1adad5df71 100644 --- a/abstra_statics/dist/assets/TabPane.1080fde7.js +++ b/abstra_statics/dist/assets/TabPane.caed57de.js @@ -1,4 +1,4 @@ -import{dY as Ke,dZ as et,d_ as ft,d$ as pt,e0 as gt,e1 as ht,e2 as mt,e3 as $t,Q as W,aq as Oe,a9 as ye,d as ee,e as U,f as H,b as p,b7 as q,ai as ie,aK as we,S as T,cg as L,W as Pe,g as se,bC as yt,e4 as xt,by as St,bw as _t,e5 as Ct,au as Ie,aN as j,V as Tt,B as wt,K as Pt,bF as It,al as Ge,ak as J,as as xe,e6 as $e,aE as Rt,aP as Et,e7 as Xe,ac as Bt,ad as Lt,an as At,ao as tt,dt as at,ap as nt,aC as Dt,aj as Ot,aL as Ce,b6 as Mt,aM as kt,az as Nt,bV as Wt,at as Ht,c4 as De,ah as zt,b4 as Kt,aW as Fe,a$ as Gt}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="41f73776-fb0a-4531-8fc6-7957073c59be",e._sentryDebugIdIdentifier="sentry-dbid-41f73776-fb0a-4531-8fc6-7957073c59be")}catch{}})();function Xt(e,t,a,o){if(!Ke(e))return e;t=et(t,e);for(var i=-1,l=t.length,n=l-1,c=e;c!=null&&++i{e(...l)}))}return Oe(()=>{a.value=!0,ye.cancel(t.value)}),o}function qt(e){const t=W([]),a=W(typeof e=="function"?e():e),o=Yt(()=>{let l=a.value;t.value.forEach(n=>{l=n(l)}),t.value=[],a.value=l});function i(l){t.value.push(l),o()}return[a,i]}const Ut=ee({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:a,attrs:o}=t;const i=U();function l(u){var v;!((v=e.tab)===null||v===void 0)&&v.disabled||e.onClick(u)}a({domRef:i});function n(u){var v;u.preventDefault(),u.stopPropagation(),e.editable.onEdit("remove",{key:(v=e.tab)===null||v===void 0?void 0:v.key,event:u})}const c=H(()=>{var u;return e.editable&&e.closable!==!1&&!(!((u=e.tab)===null||u===void 0)&&u.disabled)});return()=>{var u;const{prefixCls:v,id:b,active:S,tab:{key:g,tab:s,disabled:y,closeIcon:x},renderWrapper:w,removeAriaLabel:_,editable:D,onFocus:K}=e,O=`${v}-tab`,r=p("div",{key:g,ref:i,class:ie(O,{[`${O}-with-remove`]:c.value,[`${O}-active`]:S,[`${O}-disabled`]:y}),style:o.style,onClick:l},[p("div",{role:"tab","aria-selected":S,id:b&&`${b}-tab-${g}`,class:`${O}-btn`,"aria-controls":b&&`${b}-panel-${g}`,"aria-disabled":y,tabindex:y?null:0,onClick:m=>{m.stopPropagation(),l(m)},onKeydown:m=>{[q.SPACE,q.ENTER].includes(m.which)&&(m.preventDefault(),l(m))},onFocus:K},[typeof s=="function"?s():s]),c.value&&p("button",{type:"button","aria-label":_||"remove",tabindex:0,class:`${O}-remove`,onClick:m=>{m.stopPropagation(),n(m)}},[(x==null?void 0:x())||((u=D.removeIcon)===null||u===void 0?void 0:u.call(D))||"\xD7"])]);return w?w(r):r}}}),je={width:0,height:0,left:0,top:0};function Zt(e,t){const a=U(new Map);return we(()=>{var o,i;const l=new Map,n=e.value,c=t.value.get((o=n[0])===null||o===void 0?void 0:o.key)||je,u=c.left+c.width;for(let v=0;v{const{prefixCls:l,editable:n,locale:c}=e;return!n||n.showAdd===!1?null:p("button",{ref:i,type:"button",class:`${l}-nav-add`,style:o.style,"aria-label":(c==null?void 0:c.addAriaLabel)||"Add tab",onClick:u=>{n.onEdit("add",{event:u})}},[n.addIcon?n.addIcon():"+"])}}}),Qt={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:Ie.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:j()},Jt=ee({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:Qt,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:a,slots:o}=t;const[i,l]=L(!1),[n,c]=L(null),u=s=>{const y=e.tabs.filter(_=>!_.disabled);let x=y.findIndex(_=>_.key===n.value)||0;const w=y.length;for(let _=0;_{const{which:y}=s;if(!i.value){[q.DOWN,q.SPACE,q.ENTER].includes(y)&&(l(!0),s.preventDefault());return}switch(y){case q.UP:u(-1),s.preventDefault();break;case q.DOWN:u(1),s.preventDefault();break;case q.ESC:l(!1);break;case q.SPACE:case q.ENTER:n.value!==null&&e.onTabClick(n.value,s);break}},b=H(()=>`${e.id}-more-popup`),S=H(()=>n.value!==null?`${b.value}-${n.value}`:null),g=(s,y)=>{s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:y,event:s})};return Pe(()=>{se(n,()=>{const s=document.getElementById(S.value);s&&s.scrollIntoView&&s.scrollIntoView(!1)},{flush:"post",immediate:!0})}),se(i,()=>{i.value||c(null)}),yt({}),()=>{var s;const{prefixCls:y,id:x,tabs:w,locale:_,mobile:D,moreIcon:K=((s=o.moreIcon)===null||s===void 0?void 0:s.call(o))||p(xt,null,null),moreTransitionName:O,editable:r,tabBarGutter:m,rtl:d,onTabClick:$,popupClassName:E}=e;if(!w.length)return null;const P=`${y}-dropdown`,G=_==null?void 0:_.dropdownAriaLabel,le={[d?"marginRight":"marginLeft"]:m};w.length||(le.visibility="hidden",le.order=1);const de=ie({[`${P}-rtl`]:d,[`${E}`]:!0}),be=D?null:p(Ct,{prefixCls:P,trigger:["hover"],visible:i.value,transitionName:O,onVisibleChange:l,overlayClassName:de,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>p(St,{onClick:I=>{let{key:Z,domEvent:M}=I;$(Z,M),l(!1)},id:b.value,tabindex:-1,role:"listbox","aria-activedescendant":S.value,selectedKeys:[n.value],"aria-label":G!==void 0?G:"expanded dropdown"},{default:()=>[w.map(I=>{var Z,M;const V=r&&I.closable!==!1&&!I.disabled;return p(_t,{key:I.key,id:`${b.value}-${I.key}`,role:"option","aria-controls":x&&`${x}-panel-${I.key}`,disabled:I.disabled},{default:()=>[p("span",null,[typeof I.tab=="function"?I.tab():I.tab]),V&&p("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${P}-menu-item-remove`,onClick:Y=>{Y.stopPropagation(),g(Y,I.key)}},[((Z=I.closeIcon)===null||Z===void 0?void 0:Z.call(I))||((M=r.removeIcon)===null||M===void 0?void 0:M.call(r))||"\xD7"])]})})]}),default:()=>p("button",{type:"button",class:`${y}-nav-more`,style:le,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":b.value,id:`${x}-more`,"aria-expanded":i.value,onKeydown:v},[K])});return p("div",{class:ie(`${y}-nav-operations`,a.class),style:a.style},[be,p(it,{prefixCls:y,locale:_,editable:r},null)])}}}),lt=Symbol("tabsContextKey"),rt=e=>{Tt(lt,e)},st=()=>wt(lt,{tabs:U([]),prefixCls:U()});ee({compatConfig:{MODE:3},name:"TabsContextProvider",inheritAttrs:!1,props:{tabs:{type:Object,default:void 0},prefixCls:{type:String,default:void 0}},setup(e,t){let{slots:a}=t;return rt(Pt(e)),()=>{var o;return(o=a.default)===null||o===void 0?void 0:o.call(a)}}});const ea=.1,Ve=.01,Te=20,Ye=Math.pow(.995,Te);function ta(e,t){const[a,o]=L(),[i,l]=L(0),[n,c]=L(0),[u,v]=L(),b=U();function S(r){const{screenX:m,screenY:d}=r.touches[0];o({x:m,y:d}),clearInterval(b.value)}function g(r){if(!a.value)return;r.preventDefault();const{screenX:m,screenY:d}=r.touches[0],$=m-a.value.x,E=d-a.value.y;t($,E),o({x:m,y:d});const P=Date.now();c(P-i.value),l(P),v({x:$,y:E})}function s(){if(!a.value)return;const r=u.value;if(o(null),v(null),r){const m=r.x/n.value,d=r.y/n.value,$=Math.abs(m),E=Math.abs(d);if(Math.max($,E){if(Math.abs(P)P?($=m,y.value="x"):($=d,y.value="y"),t(-$,-$)&&r.preventDefault()}const w=U({onTouchStart:S,onTouchMove:g,onTouchEnd:s,onWheel:x});function _(r){w.value.onTouchStart(r)}function D(r){w.value.onTouchMove(r)}function K(r){w.value.onTouchEnd(r)}function O(r){w.value.onWheel(r)}Pe(()=>{var r,m;document.addEventListener("touchmove",D,{passive:!1}),document.addEventListener("touchend",K,{passive:!1}),(r=e.value)===null||r===void 0||r.addEventListener("touchstart",_,{passive:!1}),(m=e.value)===null||m===void 0||m.addEventListener("wheel",O,{passive:!1})}),Oe(()=>{document.removeEventListener("touchmove",D),document.removeEventListener("touchend",K)})}function qe(e,t){const a=U(e);function o(i){const l=typeof i=="function"?i(a.value):i;l!==a.value&&t(l,a.value),a.value=l}return[a,o]}const Ue={width:0,height:0,left:0,top:0,right:0},aa=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:xe(),editable:xe(),moreIcon:Ie.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:xe(),popupClassName:String,getPopupContainer:j(),onTabClick:{type:Function},onTabScroll:{type:Function}}),Ze=ee({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:aa(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:a,slots:o}=t;const{tabs:i,prefixCls:l}=st(),n=W(),c=W(),u=W(),v=W(),[b,S]=It(),g=H(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[s,y]=qe(0,(h,f)=>{g.value&&e.onTabScroll&&e.onTabScroll({direction:h>f?"left":"right"})}),[x,w]=qe(0,(h,f)=>{!g.value&&e.onTabScroll&&e.onTabScroll({direction:h>f?"top":"bottom"})}),[_,D]=L(0),[K,O]=L(0),[r,m]=L(null),[d,$]=L(null),[E,P]=L(0),[G,le]=L(0),[de,be]=qt(new Map),I=Zt(i,de),Z=H(()=>`${l.value}-nav-operations-hidden`),M=W(0),V=W(0);we(()=>{g.value?e.rtl?(M.value=0,V.value=Math.max(0,_.value-r.value)):(M.value=Math.min(0,r.value-_.value),V.value=0):(M.value=Math.min(0,d.value-K.value),V.value=0)});const Y=h=>hV.value?V.value:h,fe=W(),[z,pe]=L(),ge=()=>{pe(Date.now())},he=()=>{clearTimeout(fe.value)},Se=(h,f)=>{h(C=>Y(C+f))};ta(n,(h,f)=>{if(g.value){if(r.value>=_.value)return!1;Se(y,h)}else{if(d.value>=K.value)return!1;Se(w,f)}return he(),ge(),!0}),se(z,()=>{he(),z.value&&(fe.value=setTimeout(()=>{pe(0)},100))});const ce=function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const f=I.value.get(h)||{width:0,height:0,left:0,right:0,top:0};if(g.value){let C=s.value;e.rtl?f.rights.value+r.value&&(C=f.right+f.width-r.value):f.left<-s.value?C=-f.left:f.left+f.width>-s.value+r.value&&(C=-(f.left+f.width-r.value)),w(0),y(Y(C))}else{let C=x.value;f.top<-x.value?C=-f.top:f.top+f.height>-x.value+d.value&&(C=-(f.top+f.height-d.value)),y(0),w(Y(C))}},Re=W(0),Ee=W(0);we(()=>{let h,f,C,R,k,N;const re=I.value;["top","bottom"].includes(e.tabPosition)?(h="width",R=r.value,k=_.value,N=E.value,f=e.rtl?"right":"left",C=Math.abs(s.value)):(h="height",R=d.value,k=_.value,N=G.value,f="top",C=-x.value);let X=R;k+N>R&&kC+X){ue=A-1;break}}let B=0;for(let A=ae-1;A>=0;A-=1)if((re.get(Q[A].key)||Ue)[f]{var h,f,C,R,k;const N=((h=n.value)===null||h===void 0?void 0:h.offsetWidth)||0,re=((f=n.value)===null||f===void 0?void 0:f.offsetHeight)||0,X=((C=v.value)===null||C===void 0?void 0:C.$el)||{},Q=X.offsetWidth||0,ae=X.offsetHeight||0;m(N),$(re),P(Q),le(ae);const ue=(((R=c.value)===null||R===void 0?void 0:R.offsetWidth)||0)-Q,B=(((k=c.value)===null||k===void 0?void 0:k.offsetHeight)||0)-ae;D(ue),O(B),be(()=>{const A=new Map;return i.value.forEach(F=>{let{key:ve}=F;const ne=S.value.get(ve),oe=(ne==null?void 0:ne.$el)||ne;oe&&A.set(ve,{width:oe.offsetWidth,height:oe.offsetHeight,left:oe.offsetLeft,top:oe.offsetTop})}),A})},ke=H(()=>[...i.value.slice(0,Re.value),...i.value.slice(Ee.value+1)]),[ct,ut]=L(),te=H(()=>I.value.get(e.activeKey)),Ne=W(),We=()=>{ye.cancel(Ne.value)};se([te,g,()=>e.rtl],()=>{const h={};te.value&&(g.value?(e.rtl?h.right=$e(te.value.right):h.left=$e(te.value.left),h.width=$e(te.value.width)):(h.top=$e(te.value.top),h.height=$e(te.value.height))),We(),Ne.value=ye(()=>{ut(h)})}),se([()=>e.activeKey,te,I,g],()=>{ce()},{flush:"post"}),se([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{Be()},{flush:"post"});const Le=h=>{let{position:f,prefixCls:C,extra:R}=h;if(!R)return null;const k=R==null?void 0:R({position:f});return k?p("div",{class:`${C}-extra-content`},[k]):null};return Oe(()=>{he(),We()}),()=>{const{id:h,animated:f,activeKey:C,rtl:R,editable:k,locale:N,tabPosition:re,tabBarGutter:X,onTabClick:Q}=e,{class:ae,style:ue}=a,B=l.value,A=!!ke.value.length,F=`${B}-nav-wrap`;let ve,ne,oe,He;g.value?R?(ne=s.value>0,ve=s.value+r.value<_.value):(ve=s.value<0,ne=-s.value+r.value<_.value):(oe=x.value<0,He=-x.value+d.value{const{key:me}=Ae;return p(Ut,{id:h,prefixCls:B,key:me,tab:Ae,style:vt===0?void 0:_e,closable:Ae.closable,editable:k,active:me===C,removeAriaLabel:N==null?void 0:N.removeAriaLabel,ref:b(me),onClick:bt=>{Q(me,bt)},onFocus:()=>{ce(me),ge(),n.value&&(R||(n.value.scrollLeft=0),n.value.scrollTop=0)}},o)});return p("div",{role:"tablist",class:ie(`${B}-nav`,ae),style:ue,onKeydown:()=>{ge()}},[p(Le,{position:"left",prefixCls:B,extra:o.leftExtra},null),p(Ge,{onResize:Be},{default:()=>[p("div",{class:ie(F,{[`${F}-ping-left`]:ve,[`${F}-ping-right`]:ne,[`${F}-ping-top`]:oe,[`${F}-ping-bottom`]:He}),ref:n},[p(Ge,{onResize:Be},{default:()=>[p("div",{ref:c,class:`${B}-nav-list`,style:{transform:`translate(${s.value}px, ${x.value}px)`,transition:z.value?"none":void 0}},[ze,p(it,{ref:v,prefixCls:B,locale:N,editable:k,style:T(T({},ze.length===0?void 0:_e),{visibility:A?"hidden":null})},null),p("div",{class:ie(`${B}-ink-bar`,{[`${B}-ink-bar-animated`]:f.inkBar}),style:ct.value},null)])]})])]}),p(Jt,J(J({},e),{},{removeAriaLabel:N==null?void 0:N.removeAriaLabel,ref:u,prefixCls:B,tabs:ke.value,class:!A&&Z.value}),ot(o,["moreIcon"])),p(Le,{position:"right",prefixCls:B,extra:o.rightExtra},null),p(Le,{position:"right",prefixCls:B,extra:o.tabBarExtraContent},null)])}}}),na=ee({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:a}=st();return()=>{const{id:o,activeKey:i,animated:l,tabPosition:n,rtl:c,destroyInactiveTabPane:u}=e,v=l.tabPane,b=a.value,S=t.value.findIndex(g=>g.key===i);return p("div",{class:`${b}-content-holder`},[p("div",{class:[`${b}-content`,`${b}-content-${n}`,{[`${b}-content-animated`]:v}],style:S&&v?{[c?"marginRight":"marginLeft"]:`-${S}00%`}:null},[t.value.map(g=>Rt(g.node,{key:g.key,prefixCls:b,tabKey:g.key,id:o,animated:v,active:g.key===i,destroyInactiveTabPane:u}))])])}}});var oa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const ia=oa;function Qe(e){for(var t=1;t{const{componentCls:t,motionDurationSlow:a}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${a}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${a}`}}}}},[Xe(e,"slide-up"),Xe(e,"slide-down")]]},da=sa,ca=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeadBackground:o,tabsCardGutter:i,colorSplit:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:a,background:o,border:`${e.lineWidth}px ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${i}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${i}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ua=e=>{const{componentCls:t,tabsHoverColor:a,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:T(T({},tt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":T(T({},At),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:a}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},va=e=>{const{componentCls:t,margin:a,colorSplit:o}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${a}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, +import{dY as Ke,dZ as et,d_ as ft,d$ as pt,e0 as gt,e1 as ht,e2 as mt,e3 as $t,Q as W,aq as Oe,a9 as ye,d as ee,e as U,f as H,b as p,b7 as q,ai as ie,aK as we,S as T,cg as L,W as Pe,g as se,bC as yt,e4 as xt,by as St,bw as _t,e5 as Ct,au as Ie,aN as j,V as Tt,B as wt,K as Pt,bF as It,al as Ge,ak as J,as as xe,e6 as $e,aE as Rt,aP as Et,e7 as Xe,ac as Bt,ad as Lt,an as At,ao as tt,dt as at,ap as nt,aC as Dt,aj as Ot,aL as Ce,b6 as Mt,aM as kt,az as Nt,bV as Wt,at as Ht,c4 as De,ah as zt,b4 as Kt,aW as Fe,a$ as Gt}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="14f00d47-ef07-465e-881c-1f2a3761a98d",e._sentryDebugIdIdentifier="sentry-dbid-14f00d47-ef07-465e-881c-1f2a3761a98d")}catch{}})();function Xt(e,t,a,o){if(!Ke(e))return e;t=et(t,e);for(var i=-1,l=t.length,n=l-1,c=e;c!=null&&++i{e(...l)}))}return Oe(()=>{a.value=!0,ye.cancel(t.value)}),o}function qt(e){const t=W([]),a=W(typeof e=="function"?e():e),o=Yt(()=>{let l=a.value;t.value.forEach(n=>{l=n(l)}),t.value=[],a.value=l});function i(l){t.value.push(l),o()}return[a,i]}const Ut=ee({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:a,attrs:o}=t;const i=U();function l(u){var v;!((v=e.tab)===null||v===void 0)&&v.disabled||e.onClick(u)}a({domRef:i});function n(u){var v;u.preventDefault(),u.stopPropagation(),e.editable.onEdit("remove",{key:(v=e.tab)===null||v===void 0?void 0:v.key,event:u})}const c=H(()=>{var u;return e.editable&&e.closable!==!1&&!(!((u=e.tab)===null||u===void 0)&&u.disabled)});return()=>{var u;const{prefixCls:v,id:b,active:S,tab:{key:g,tab:s,disabled:y,closeIcon:x},renderWrapper:w,removeAriaLabel:_,editable:D,onFocus:K}=e,O=`${v}-tab`,r=p("div",{key:g,ref:i,class:ie(O,{[`${O}-with-remove`]:c.value,[`${O}-active`]:S,[`${O}-disabled`]:y}),style:o.style,onClick:l},[p("div",{role:"tab","aria-selected":S,id:b&&`${b}-tab-${g}`,class:`${O}-btn`,"aria-controls":b&&`${b}-panel-${g}`,"aria-disabled":y,tabindex:y?null:0,onClick:m=>{m.stopPropagation(),l(m)},onKeydown:m=>{[q.SPACE,q.ENTER].includes(m.which)&&(m.preventDefault(),l(m))},onFocus:K},[typeof s=="function"?s():s]),c.value&&p("button",{type:"button","aria-label":_||"remove",tabindex:0,class:`${O}-remove`,onClick:m=>{m.stopPropagation(),n(m)}},[(x==null?void 0:x())||((u=D.removeIcon)===null||u===void 0?void 0:u.call(D))||"\xD7"])]);return w?w(r):r}}}),je={width:0,height:0,left:0,top:0};function Zt(e,t){const a=U(new Map);return we(()=>{var o,i;const l=new Map,n=e.value,c=t.value.get((o=n[0])===null||o===void 0?void 0:o.key)||je,u=c.left+c.width;for(let v=0;v{const{prefixCls:l,editable:n,locale:c}=e;return!n||n.showAdd===!1?null:p("button",{ref:i,type:"button",class:`${l}-nav-add`,style:o.style,"aria-label":(c==null?void 0:c.addAriaLabel)||"Add tab",onClick:u=>{n.onEdit("add",{event:u})}},[n.addIcon?n.addIcon():"+"])}}}),Qt={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:Ie.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:j()},Jt=ee({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:Qt,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:a,slots:o}=t;const[i,l]=L(!1),[n,c]=L(null),u=s=>{const y=e.tabs.filter(_=>!_.disabled);let x=y.findIndex(_=>_.key===n.value)||0;const w=y.length;for(let _=0;_{const{which:y}=s;if(!i.value){[q.DOWN,q.SPACE,q.ENTER].includes(y)&&(l(!0),s.preventDefault());return}switch(y){case q.UP:u(-1),s.preventDefault();break;case q.DOWN:u(1),s.preventDefault();break;case q.ESC:l(!1);break;case q.SPACE:case q.ENTER:n.value!==null&&e.onTabClick(n.value,s);break}},b=H(()=>`${e.id}-more-popup`),S=H(()=>n.value!==null?`${b.value}-${n.value}`:null),g=(s,y)=>{s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:y,event:s})};return Pe(()=>{se(n,()=>{const s=document.getElementById(S.value);s&&s.scrollIntoView&&s.scrollIntoView(!1)},{flush:"post",immediate:!0})}),se(i,()=>{i.value||c(null)}),yt({}),()=>{var s;const{prefixCls:y,id:x,tabs:w,locale:_,mobile:D,moreIcon:K=((s=o.moreIcon)===null||s===void 0?void 0:s.call(o))||p(xt,null,null),moreTransitionName:O,editable:r,tabBarGutter:m,rtl:d,onTabClick:$,popupClassName:E}=e;if(!w.length)return null;const P=`${y}-dropdown`,G=_==null?void 0:_.dropdownAriaLabel,le={[d?"marginRight":"marginLeft"]:m};w.length||(le.visibility="hidden",le.order=1);const de=ie({[`${P}-rtl`]:d,[`${E}`]:!0}),be=D?null:p(Ct,{prefixCls:P,trigger:["hover"],visible:i.value,transitionName:O,onVisibleChange:l,overlayClassName:de,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>p(St,{onClick:I=>{let{key:Z,domEvent:M}=I;$(Z,M),l(!1)},id:b.value,tabindex:-1,role:"listbox","aria-activedescendant":S.value,selectedKeys:[n.value],"aria-label":G!==void 0?G:"expanded dropdown"},{default:()=>[w.map(I=>{var Z,M;const V=r&&I.closable!==!1&&!I.disabled;return p(_t,{key:I.key,id:`${b.value}-${I.key}`,role:"option","aria-controls":x&&`${x}-panel-${I.key}`,disabled:I.disabled},{default:()=>[p("span",null,[typeof I.tab=="function"?I.tab():I.tab]),V&&p("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${P}-menu-item-remove`,onClick:Y=>{Y.stopPropagation(),g(Y,I.key)}},[((Z=I.closeIcon)===null||Z===void 0?void 0:Z.call(I))||((M=r.removeIcon)===null||M===void 0?void 0:M.call(r))||"\xD7"])]})})]}),default:()=>p("button",{type:"button",class:`${y}-nav-more`,style:le,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":b.value,id:`${x}-more`,"aria-expanded":i.value,onKeydown:v},[K])});return p("div",{class:ie(`${y}-nav-operations`,a.class),style:a.style},[be,p(it,{prefixCls:y,locale:_,editable:r},null)])}}}),lt=Symbol("tabsContextKey"),rt=e=>{Tt(lt,e)},st=()=>wt(lt,{tabs:U([]),prefixCls:U()});ee({compatConfig:{MODE:3},name:"TabsContextProvider",inheritAttrs:!1,props:{tabs:{type:Object,default:void 0},prefixCls:{type:String,default:void 0}},setup(e,t){let{slots:a}=t;return rt(Pt(e)),()=>{var o;return(o=a.default)===null||o===void 0?void 0:o.call(a)}}});const ea=.1,Ve=.01,Te=20,Ye=Math.pow(.995,Te);function ta(e,t){const[a,o]=L(),[i,l]=L(0),[n,c]=L(0),[u,v]=L(),b=U();function S(r){const{screenX:m,screenY:d}=r.touches[0];o({x:m,y:d}),clearInterval(b.value)}function g(r){if(!a.value)return;r.preventDefault();const{screenX:m,screenY:d}=r.touches[0],$=m-a.value.x,E=d-a.value.y;t($,E),o({x:m,y:d});const P=Date.now();c(P-i.value),l(P),v({x:$,y:E})}function s(){if(!a.value)return;const r=u.value;if(o(null),v(null),r){const m=r.x/n.value,d=r.y/n.value,$=Math.abs(m),E=Math.abs(d);if(Math.max($,E){if(Math.abs(P)P?($=m,y.value="x"):($=d,y.value="y"),t(-$,-$)&&r.preventDefault()}const w=U({onTouchStart:S,onTouchMove:g,onTouchEnd:s,onWheel:x});function _(r){w.value.onTouchStart(r)}function D(r){w.value.onTouchMove(r)}function K(r){w.value.onTouchEnd(r)}function O(r){w.value.onWheel(r)}Pe(()=>{var r,m;document.addEventListener("touchmove",D,{passive:!1}),document.addEventListener("touchend",K,{passive:!1}),(r=e.value)===null||r===void 0||r.addEventListener("touchstart",_,{passive:!1}),(m=e.value)===null||m===void 0||m.addEventListener("wheel",O,{passive:!1})}),Oe(()=>{document.removeEventListener("touchmove",D),document.removeEventListener("touchend",K)})}function qe(e,t){const a=U(e);function o(i){const l=typeof i=="function"?i(a.value):i;l!==a.value&&t(l,a.value),a.value=l}return[a,o]}const Ue={width:0,height:0,left:0,top:0,right:0},aa=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:xe(),editable:xe(),moreIcon:Ie.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:xe(),popupClassName:String,getPopupContainer:j(),onTabClick:{type:Function},onTabScroll:{type:Function}}),Ze=ee({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:aa(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:a,slots:o}=t;const{tabs:i,prefixCls:l}=st(),n=W(),c=W(),u=W(),v=W(),[b,S]=It(),g=H(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[s,y]=qe(0,(h,f)=>{g.value&&e.onTabScroll&&e.onTabScroll({direction:h>f?"left":"right"})}),[x,w]=qe(0,(h,f)=>{!g.value&&e.onTabScroll&&e.onTabScroll({direction:h>f?"top":"bottom"})}),[_,D]=L(0),[K,O]=L(0),[r,m]=L(null),[d,$]=L(null),[E,P]=L(0),[G,le]=L(0),[de,be]=qt(new Map),I=Zt(i,de),Z=H(()=>`${l.value}-nav-operations-hidden`),M=W(0),V=W(0);we(()=>{g.value?e.rtl?(M.value=0,V.value=Math.max(0,_.value-r.value)):(M.value=Math.min(0,r.value-_.value),V.value=0):(M.value=Math.min(0,d.value-K.value),V.value=0)});const Y=h=>hV.value?V.value:h,fe=W(),[z,pe]=L(),ge=()=>{pe(Date.now())},he=()=>{clearTimeout(fe.value)},Se=(h,f)=>{h(C=>Y(C+f))};ta(n,(h,f)=>{if(g.value){if(r.value>=_.value)return!1;Se(y,h)}else{if(d.value>=K.value)return!1;Se(w,f)}return he(),ge(),!0}),se(z,()=>{he(),z.value&&(fe.value=setTimeout(()=>{pe(0)},100))});const ce=function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const f=I.value.get(h)||{width:0,height:0,left:0,right:0,top:0};if(g.value){let C=s.value;e.rtl?f.rights.value+r.value&&(C=f.right+f.width-r.value):f.left<-s.value?C=-f.left:f.left+f.width>-s.value+r.value&&(C=-(f.left+f.width-r.value)),w(0),y(Y(C))}else{let C=x.value;f.top<-x.value?C=-f.top:f.top+f.height>-x.value+d.value&&(C=-(f.top+f.height-d.value)),y(0),w(Y(C))}},Re=W(0),Ee=W(0);we(()=>{let h,f,C,R,k,N;const re=I.value;["top","bottom"].includes(e.tabPosition)?(h="width",R=r.value,k=_.value,N=E.value,f=e.rtl?"right":"left",C=Math.abs(s.value)):(h="height",R=d.value,k=_.value,N=G.value,f="top",C=-x.value);let X=R;k+N>R&&kC+X){ue=A-1;break}}let B=0;for(let A=ae-1;A>=0;A-=1)if((re.get(Q[A].key)||Ue)[f]{var h,f,C,R,k;const N=((h=n.value)===null||h===void 0?void 0:h.offsetWidth)||0,re=((f=n.value)===null||f===void 0?void 0:f.offsetHeight)||0,X=((C=v.value)===null||C===void 0?void 0:C.$el)||{},Q=X.offsetWidth||0,ae=X.offsetHeight||0;m(N),$(re),P(Q),le(ae);const ue=(((R=c.value)===null||R===void 0?void 0:R.offsetWidth)||0)-Q,B=(((k=c.value)===null||k===void 0?void 0:k.offsetHeight)||0)-ae;D(ue),O(B),be(()=>{const A=new Map;return i.value.forEach(F=>{let{key:ve}=F;const ne=S.value.get(ve),oe=(ne==null?void 0:ne.$el)||ne;oe&&A.set(ve,{width:oe.offsetWidth,height:oe.offsetHeight,left:oe.offsetLeft,top:oe.offsetTop})}),A})},ke=H(()=>[...i.value.slice(0,Re.value),...i.value.slice(Ee.value+1)]),[ct,ut]=L(),te=H(()=>I.value.get(e.activeKey)),Ne=W(),We=()=>{ye.cancel(Ne.value)};se([te,g,()=>e.rtl],()=>{const h={};te.value&&(g.value?(e.rtl?h.right=$e(te.value.right):h.left=$e(te.value.left),h.width=$e(te.value.width)):(h.top=$e(te.value.top),h.height=$e(te.value.height))),We(),Ne.value=ye(()=>{ut(h)})}),se([()=>e.activeKey,te,I,g],()=>{ce()},{flush:"post"}),se([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{Be()},{flush:"post"});const Le=h=>{let{position:f,prefixCls:C,extra:R}=h;if(!R)return null;const k=R==null?void 0:R({position:f});return k?p("div",{class:`${C}-extra-content`},[k]):null};return Oe(()=>{he(),We()}),()=>{const{id:h,animated:f,activeKey:C,rtl:R,editable:k,locale:N,tabPosition:re,tabBarGutter:X,onTabClick:Q}=e,{class:ae,style:ue}=a,B=l.value,A=!!ke.value.length,F=`${B}-nav-wrap`;let ve,ne,oe,He;g.value?R?(ne=s.value>0,ve=s.value+r.value<_.value):(ve=s.value<0,ne=-s.value+r.value<_.value):(oe=x.value<0,He=-x.value+d.value{const{key:me}=Ae;return p(Ut,{id:h,prefixCls:B,key:me,tab:Ae,style:vt===0?void 0:_e,closable:Ae.closable,editable:k,active:me===C,removeAriaLabel:N==null?void 0:N.removeAriaLabel,ref:b(me),onClick:bt=>{Q(me,bt)},onFocus:()=>{ce(me),ge(),n.value&&(R||(n.value.scrollLeft=0),n.value.scrollTop=0)}},o)});return p("div",{role:"tablist",class:ie(`${B}-nav`,ae),style:ue,onKeydown:()=>{ge()}},[p(Le,{position:"left",prefixCls:B,extra:o.leftExtra},null),p(Ge,{onResize:Be},{default:()=>[p("div",{class:ie(F,{[`${F}-ping-left`]:ve,[`${F}-ping-right`]:ne,[`${F}-ping-top`]:oe,[`${F}-ping-bottom`]:He}),ref:n},[p(Ge,{onResize:Be},{default:()=>[p("div",{ref:c,class:`${B}-nav-list`,style:{transform:`translate(${s.value}px, ${x.value}px)`,transition:z.value?"none":void 0}},[ze,p(it,{ref:v,prefixCls:B,locale:N,editable:k,style:T(T({},ze.length===0?void 0:_e),{visibility:A?"hidden":null})},null),p("div",{class:ie(`${B}-ink-bar`,{[`${B}-ink-bar-animated`]:f.inkBar}),style:ct.value},null)])]})])]}),p(Jt,J(J({},e),{},{removeAriaLabel:N==null?void 0:N.removeAriaLabel,ref:u,prefixCls:B,tabs:ke.value,class:!A&&Z.value}),ot(o,["moreIcon"])),p(Le,{position:"right",prefixCls:B,extra:o.rightExtra},null),p(Le,{position:"right",prefixCls:B,extra:o.tabBarExtraContent},null)])}}}),na=ee({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:a}=st();return()=>{const{id:o,activeKey:i,animated:l,tabPosition:n,rtl:c,destroyInactiveTabPane:u}=e,v=l.tabPane,b=a.value,S=t.value.findIndex(g=>g.key===i);return p("div",{class:`${b}-content-holder`},[p("div",{class:[`${b}-content`,`${b}-content-${n}`,{[`${b}-content-animated`]:v}],style:S&&v?{[c?"marginRight":"marginLeft"]:`-${S}00%`}:null},[t.value.map(g=>Rt(g.node,{key:g.key,prefixCls:b,tabKey:g.key,id:o,animated:v,active:g.key===i,destroyInactiveTabPane:u}))])])}}});var oa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const ia=oa;function Qe(e){for(var t=1;t{const{componentCls:t,motionDurationSlow:a}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${a}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${a}`}}}}},[Xe(e,"slide-up"),Xe(e,"slide-down")]]},da=sa,ca=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeadBackground:o,tabsCardGutter:i,colorSplit:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:a,background:o,border:`${e.lineWidth}px ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${i}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${i}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ua=e=>{const{componentCls:t,tabsHoverColor:a,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:T(T({},tt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":T(T({},At),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:a}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},va=e=>{const{componentCls:t,margin:a,colorSplit:o}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${a}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${a}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},ba=e=>{const{componentCls:t,padding:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${a}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${a}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${a}px ${e.paddingXXS*1.5}px`}}}}}},fa=e=>{const{componentCls:t,tabsActiveColor:a,tabsHoverColor:o,iconCls:i,tabsHorizontalGutter:l}=e,n=`${t}-tab`;return{[n]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":T({"&:focus:not(:focus-visible), &:active":{color:a}},at(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${n}-active ${n}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${n}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-disabled ${n}-btn, &${n}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${n}-remove ${i}`]:{margin:0},[i]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${n} + ${n}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${l}px`}}}},pa=e=>{const{componentCls:t,tabsHorizontalGutter:a,iconCls:o,tabsCardGutter:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${a}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${i}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ga=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeight:o,tabsCardGutter:i,tabsHoverColor:l,tabsActiveColor:n,colorSplit:c}=e;return{[t]:T(T(T(T({},tt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:a,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:T({minWidth:`${o}px`,marginLeft:{_skip_check_:!0,value:`${i}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${c}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:n}},at(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),fa(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%",["&-animated"]:{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},ha=Bt("Tabs",e=>{const t=e.controlHeightLG,a=Lt(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[ba(a),pa(a),va(a),ua(a),ca(a),ga(a),da(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let Je=0;const dt=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:j(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:Ce(),animated:Mt([Boolean,Object]),renderTabBar:j(),tabBarGutter:{type:Number},tabBarStyle:xe(),tabPosition:Ce(),destroyInactiveTabPane:kt(),hideAdd:Boolean,type:Ce(),size:Ce(),centered:Boolean,onEdit:j(),onChange:j(),onTabClick:j(),onTabScroll:j(),"onUpdate:activeKey":j(),locale:xe(),onPrevClick:j(),onNextClick:j(),tabBarExtraContent:Ie.any});function ma(e){return e.map(t=>{if(Nt(t)){const a=T({},t.props||{});for(const[g,s]of Object.entries(a))delete a[g],a[Wt(g)]=s;const o=t.children||{},i=t.key!==void 0?t.key:void 0,{tab:l=o.tab,disabled:n,forceRender:c,closable:u,animated:v,active:b,destroyInactiveTabPane:S}=a;return T(T({key:i},a),{node:t,closeIcon:o.closeIcon,tab:l,disabled:n===""||n,forceRender:c===""||c,closable:u===""||u,animated:v===""||v,active:b===""||b,destroyInactiveTabPane:S===""||S})}return null}).filter(t=>t)}const $a=ee({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:T(T({},nt(dt(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:Ht()}),slots:Object,setup(e,t){let{attrs:a,slots:o}=t;De(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),De(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),De(o.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:i,direction:l,size:n,rootPrefixCls:c,getPopupContainer:u}=zt("tabs",e),[v,b]=ha(i),S=H(()=>l.value==="rtl"),g=H(()=>{const{animated:d,tabPosition:$}=e;return d===!1||["left","right"].includes($)?{inkBar:!1,tabPane:!1}:d===!0?{inkBar:!0,tabPane:!0}:T({inkBar:!0,tabPane:!1},typeof d=="object"?d:{})}),[s,y]=L(!1);Pe(()=>{y(Kt())});const[x,w]=Fe(()=>{var d;return(d=e.tabs[0])===null||d===void 0?void 0:d.key},{value:H(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[_,D]=L(()=>e.tabs.findIndex(d=>d.key===x.value));we(()=>{var d;let $=e.tabs.findIndex(E=>E.key===x.value);$===-1&&($=Math.max(0,Math.min(_.value,e.tabs.length-1)),w((d=e.tabs[$])===null||d===void 0?void 0:d.key)),D($)});const[K,O]=Fe(null,{value:H(()=>e.id)}),r=H(()=>s.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);Pe(()=>{e.id||(O(`rc-tabs-${Je}`),Je+=1)});const m=(d,$)=>{var E,P;(E=e.onTabClick)===null||E===void 0||E.call(e,d,$);const G=d!==x.value;w(d),G&&((P=e.onChange)===null||P===void 0||P.call(e,d))};return rt({tabs:H(()=>e.tabs),prefixCls:i}),()=>{const{id:d,type:$,tabBarGutter:E,tabBarStyle:P,locale:G,destroyInactiveTabPane:le,renderTabBar:de=o.renderTabBar,onTabScroll:be,hideAdd:I,centered:Z}=e,M={id:K.value,activeKey:x.value,animated:g.value,tabPosition:r.value,rtl:S.value,mobile:s.value};let V;$==="editable-card"&&(V={onEdit:(pe,ge)=>{let{key:he,event:Se}=ge;var ce;(ce=e.onEdit)===null||ce===void 0||ce.call(e,pe==="add"?Se:he,pe)},removeIcon:()=>p(Gt,null,null),addIcon:o.addIcon?o.addIcon:()=>p(ra,null,null),showAdd:I!==!0});let Y;const fe=T(T({},M),{moreTransitionName:`${c.value}-slide-up`,editable:V,locale:G,tabBarGutter:E,onTabClick:m,onTabScroll:be,style:P,getPopupContainer:u.value,popupClassName:ie(e.popupClassName,b.value)});de?Y=de(T(T({},fe),{DefaultTabBar:Ze})):Y=p(Ze,fe,ot(o,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const z=i.value;return v(p("div",J(J({},a),{},{id:d,class:ie(z,`${z}-${r.value}`,{[b.value]:!0,[`${z}-${n.value}`]:n.value,[`${z}-card`]:["card","editable-card"].includes($),[`${z}-editable-card`]:$==="editable-card",[`${z}-centered`]:Z,[`${z}-mobile`]:s.value,[`${z}-editable`]:$==="editable-card",[`${z}-rtl`]:S.value},a.class)}),[Y,p(na,J(J({destroyInactiveTabPane:le},M),{},{animated:g.value}),null)]))}}}),Sa=ee({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:nt(dt(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:a,slots:o,emit:i}=t;const l=n=>{i("update:activeKey",n),i("change",n)};return()=>{var n;const c=ma(Dt((n=o.default)===null||n===void 0?void 0:n.call(o)));return p($a,J(J(J({},Ot(e,["onUpdate:activeKey"])),a),{},{onChange:l,tabs:c}),o)}}}),ya=()=>({tab:Ie.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),_a=ee({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:ya(),slots:Object,setup(e,t){let{attrs:a,slots:o}=t;const i=U(e.forceRender);se([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?i.value=!0:e.destroyInactiveTabPane&&(i.value=!1)},{immediate:!0});const l=H(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var n;const{prefixCls:c,forceRender:u,id:v,active:b,tabKey:S}=e;return p("div",{id:v&&`${v}-panel-${S}`,role:"tabpanel",tabindex:b?0:-1,"aria-labelledby":v&&`${v}-tab-${S}`,"aria-hidden":!b,style:[l.value,a.style],class:[`${c}-tabpane`,b&&`${c}-tabpane-active`,a.class]},[(b||i.value||u)&&((n=o.default)===null||n===void 0?void 0:n.call(o))])}}});export{_a as A,ia as P,Sa as T}; -//# sourceMappingURL=TabPane.1080fde7.js.map +//# sourceMappingURL=TabPane.caed57de.js.map diff --git a/abstra_statics/dist/assets/TableEditor.fe3fe79a.js b/abstra_statics/dist/assets/TableEditor.b7e85598.js similarity index 90% rename from abstra_statics/dist/assets/TableEditor.fe3fe79a.js rename to abstra_statics/dist/assets/TableEditor.b7e85598.js index 6618b2eb95..722ec2dd57 100644 --- a/abstra_statics/dist/assets/TableEditor.fe3fe79a.js +++ b/abstra_statics/dist/assets/TableEditor.b7e85598.js @@ -1,2 +1,2 @@ -import{_ as t0}from"./AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js";import{B as j0}from"./BaseLayout.4967fc3d.js";import{a as $0}from"./asyncComputed.c677c545.js";import{d as U,B as A,f as g,o as a,X as u,Z as F,R as M,e8 as K,a as r,c as w,w as i,b as s,u as t,bP as O,aF as E,eb as C0,cv as j,bH as Y,eg as E0,bK as R0,aR as V0,cu as A0,ea as f0,e as q,g as m0,ej as u0,bx as _0,cT as i0,$ as S0,W as T0,aA as O0,dd as G,eo as z0,D as F0,r as B0,eK as K0,aV as r0,e9 as n0,ed as G0,cJ as W0,ep as Q0,cU as J0,y as X0,cH as Y0}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{O as e1}from"./organization.efcc2606.js";import{P as H0}from"./project.0040997f.js";import{p as I0,T as e0,d as a1}from"./tables.8d6766f6.js";import{C as l1}from"./ContentLayout.d691ad7a.js";import{p as g0}from"./popupNotifcation.7fc1aee0.js";import{A as Z0}from"./index.241ee38a.js";import{A as b0}from"./index.fa9b4e97.js";import{H as q0}from"./PhCheckCircle.vue.9e5251d2.js";import{A as x0}from"./index.00d46a24.js";import{G as t1}from"./PhArrowDown.vue.ba4eea7b.js";import{a as n1}from"./ant-design.51753590.js";import{G as o1}from"./PhCaretRight.vue.d23111f3.js";import{L as r1}from"./LoadingOutlined.64419cb9.js";import{B as u1,A as i1,b as s1}from"./index.6db53852.js";import"./record.075b7d45.js";import"./string.44188c83.js";import"./Badge.71fee936.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";(function(){try{var Z=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(Z._sentryDebugIds=Z._sentryDebugIds||{},Z._sentryDebugIds[n]="861cade3-e9f1-4278-876c-d62e5d8078c3",Z._sentryDebugIdIdentifier="sentry-dbid-861cade3-e9f1-4278-876c-d62e5d8078c3")}catch{}})();const d1=["width","height","fill","transform"],c1={key:0},p1=r("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"},null,-1),v1=[p1],m1={key:1},g1=r("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),f1=r("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"},null,-1),h1=[g1,f1],y1={key:2},$1=r("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"},null,-1),V1=[$1],A1={key:3},H1=r("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"},null,-1),Z1=[H1],b1={key:4},k1=r("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"},null,-1),w1=[k1],L1={key:5},M1=r("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"},null,-1),C1=[M1],_1={name:"PhArrowUp"},S1=U({..._1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",c1,v1)):o.value==="duotone"?(a(),u("g",m1,h1)):o.value==="fill"?(a(),u("g",y1,V1)):o.value==="light"?(a(),u("g",A1,Z1)):o.value==="regular"?(a(),u("g",b1,w1)):o.value==="thin"?(a(),u("g",L1,C1)):M("",!0)],16,d1))}}),z1=["width","height","fill","transform"],B1={key:0},I1=r("path",{d:"M120.49,167.51a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17,0l-32-32a12,12,0,1,1,17-17L68,179V48a12,12,0,0,1,24,0V179l11.51-11.52A12,12,0,0,1,120.49,167.51Zm96-96-32-32a12,12,0,0,0-17,0l-32,32a12,12,0,0,0,17,17L164,77V208a12,12,0,0,0,24,0V77l11.51,11.52a12,12,0,0,0,17-17Z"},null,-1),q1=[I1],x1={key:1},D1=r("path",{d:"M176,48V208H80V48Z",opacity:"0.2"},null,-1),N1=r("path",{d:"M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"},null,-1),U1=[D1,N1],P1={key:2},j1=r("path",{d:"M119.39,172.94a8,8,0,0,1-1.73,8.72l-32,32a8,8,0,0,1-11.32,0l-32-32A8,8,0,0,1,48,168H72V48a8,8,0,0,1,16,0V168h24A8,8,0,0,1,119.39,172.94Zm94.27-98.6-32-32a8,8,0,0,0-11.32,0l-32,32A8,8,0,0,0,144,88h24V208a8,8,0,0,0,16,0V88h24a8,8,0,0,0,5.66-13.66Z"},null,-1),E1=[j1],R1={key:3},T1=r("path",{d:"M116.24,171.76a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48,0l-32-32a6,6,0,0,1,8.48-8.48L74,193.51V48a6,6,0,0,1,12,0V193.51l21.76-21.75A6,6,0,0,1,116.24,171.76Zm96-96-32-32a6,6,0,0,0-8.48,0l-32,32a6,6,0,0,0,8.48,8.48L170,62.49V208a6,6,0,0,0,12,0V62.49l21.76,21.75a6,6,0,0,0,8.48-8.48Z"},null,-1),O1=[T1],F1={key:4},K1=r("path",{d:"M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"},null,-1),G1=[K1],W1={key:5},Q1=r("path",{d:"M114.83,173.17a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L76,198.34V48a4,4,0,0,1,8,0V198.34l25.17-25.17A4,4,0,0,1,114.83,173.17Zm96-96-32-32a4,4,0,0,0-5.66,0l-32,32a4,4,0,0,0,5.66,5.66L172,57.66V208a4,4,0,0,0,8,0V57.66l25.17,25.17a4,4,0,1,0,5.66-5.66Z"},null,-1),J1=[Q1],X1={name:"PhArrowsDownUp"},Y1=U({...X1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",B1,q1)):o.value==="duotone"?(a(),u("g",x1,U1)):o.value==="fill"?(a(),u("g",P1,E1)):o.value==="light"?(a(),u("g",R1,O1)):o.value==="regular"?(a(),u("g",F1,G1)):o.value==="thin"?(a(),u("g",W1,J1)):M("",!0)],16,z1))}}),ee=["width","height","fill","transform"],ae={key:0},le=r("path",{d:"M80,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H80a20,20,0,0,0,20-20V48A20,20,0,0,0,80,28ZM76,204H60V52H76ZM156,28H132a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h24a20,20,0,0,0,20-20V48A20,20,0,0,0,156,28Zm-4,176H136V52h16Zm100-76a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,252,128Z"},null,-1),te=[le],ne={key:1},oe=r("path",{d:"M88,48V208a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H80A8,8,0,0,1,88,48Zm64-8H128a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8h24a8,8,0,0,0,8-8V48A8,8,0,0,0,152,40Z",opacity:"0.2"},null,-1),re=r("path",{d:"M80,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V48A16,16,0,0,0,80,32Zm0,176H56V48H80ZM152,32H128a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V48A16,16,0,0,0,152,32Zm0,176H128V48h24Zm96-80a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V136H192a8,8,0,0,1,0-16h16V104a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,128Z"},null,-1),ue=[oe,re],ie={key:2},se=r("path",{d:"M96,48V208a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H80A16,16,0,0,1,96,48Zm56-16H128a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V48A16,16,0,0,0,152,32Zm88,88H224V104a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V136h16a8,8,0,0,0,0-16Z"},null,-1),de=[se],ce={key:3},pe=r("path",{d:"M80,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H80a14,14,0,0,0,14-14V48A14,14,0,0,0,80,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H80a2,2,0,0,1,2,2ZM152,34H128a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V48A14,14,0,0,0,152,34Zm2,174a2,2,0,0,1-2,2H128a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h24a2,2,0,0,1,2,2Zm92-80a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V134H192a6,6,0,0,1,0-12h18V104a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,128Z"},null,-1),ve=[pe],me={key:4},ge=r("path",{d:"M80,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V48A16,16,0,0,0,80,32Zm0,176H56V48H80ZM152,32H128a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V48A16,16,0,0,0,152,32Zm0,176H128V48h24Zm96-80a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V136H192a8,8,0,0,1,0-16h16V104a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,128Z"},null,-1),fe=[ge],he={key:5},ye=r("path",{d:"M80,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H80a12,12,0,0,0,12-12V48A12,12,0,0,0,80,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H80a4,4,0,0,1,4,4ZM152,36H128a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V48A12,12,0,0,0,152,36Zm4,172a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h24a4,4,0,0,1,4,4Zm88-80a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V132H192a4,4,0,0,1,0-8h20V104a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,128Z"},null,-1),$e=[ye],Ve={name:"PhColumnsPlusRight"},Ae=U({...Ve,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",ae,te)):o.value==="duotone"?(a(),u("g",ne,ue)):o.value==="fill"?(a(),u("g",ie,de)):o.value==="light"?(a(),u("g",ce,ve)):o.value==="regular"?(a(),u("g",me,fe)):o.value==="thin"?(a(),u("g",he,$e)):M("",!0)],16,ee))}}),He=["width","height","fill","transform"],Ze={key:0},be=r("path",{d:"M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"},null,-1),ke=[be],we={key:1},Le=r("path",{d:"M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z",opacity:"0.2"},null,-1),Me=r("path",{d:"M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"},null,-1),Ce=[Le,Me],_e={key:2},Se=r("path",{d:"M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"},null,-1),ze=[Se],Be={key:3},Ie=r("path",{d:"M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"},null,-1),qe=[Ie],xe={key:4},De=r("path",{d:"M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"},null,-1),Ne=[De],Ue={key:5},Pe=r("path",{d:"M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"},null,-1),je=[Pe],Ee={name:"PhCornersIn"},Re=U({...Ee,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",Ze,ke)):o.value==="duotone"?(a(),u("g",we,Ce)):o.value==="fill"?(a(),u("g",_e,ze)):o.value==="light"?(a(),u("g",Be,qe)):o.value==="regular"?(a(),u("g",xe,Ne)):o.value==="thin"?(a(),u("g",Ue,je)):M("",!0)],16,He))}}),Te=["width","height","fill","transform"],Oe={key:0},Fe=r("path",{d:"M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"},null,-1),Ke=[Fe],Ge={key:1},We=r("path",{d:"M208,48V208H48V48Z",opacity:"0.2"},null,-1),Qe=r("path",{d:"M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"},null,-1),Je=[We,Qe],Xe={key:2},Ye=r("path",{d:"M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"},null,-1),ea=[Ye],aa={key:3},la=r("path",{d:"M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"},null,-1),ta=[la],na={key:4},oa=r("path",{d:"M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"},null,-1),ra=[oa],ua={key:5},ia=r("path",{d:"M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"},null,-1),sa=[ia],da={name:"PhCornersOut"},ca=U({...da,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",Oe,Ke)):o.value==="duotone"?(a(),u("g",Ge,Je)):o.value==="fill"?(a(),u("g",Xe,ea)):o.value==="light"?(a(),u("g",aa,ta)):o.value==="regular"?(a(),u("g",na,ra)):o.value==="thin"?(a(),u("g",ua,sa)):M("",!0)],16,Te))}}),pa=["width","height","fill","transform"],va={key:0},ma=r("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1),ga=[ma],fa={key:1},ha=r("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),ya=r("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1),$a=[ha,ya],Va={key:2},Aa=r("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),Ha=[Aa],Za={key:3},ba=r("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1),ka=[ba],wa={key:4},La=r("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1),Ma=[La],Ca={key:5},_a=r("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1),Sa=[_a],za={name:"PhGear"},Ba=U({...za,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",va,ga)):o.value==="duotone"?(a(),u("g",fa,$a)):o.value==="fill"?(a(),u("g",Va,Ha)):o.value==="light"?(a(),u("g",Za,ka)):o.value==="regular"?(a(),u("g",wa,Ma)):o.value==="thin"?(a(),u("g",Ca,Sa)):M("",!0)],16,pa))}}),Ia=["width","height","fill","transform"],qa={key:0},xa=r("path",{d:"M232.49,55.51l-32-32a12,12,0,0,0-17,0l-96,96A12,12,0,0,0,84,128v32a12,12,0,0,0,12,12h32a12,12,0,0,0,8.49-3.51l96-96A12,12,0,0,0,232.49,55.51ZM192,49l15,15L196,75,181,60Zm-69,99H108V133l56-56,15,15Zm105-7.43V208a20,20,0,0,1-20,20H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28h67.43a12,12,0,0,1,0,24H52V204H204V140.57a12,12,0,0,1,24,0Z"},null,-1),Da=[xa],Na={key:1},Ua=r("path",{d:"M200,88l-72,72H96V128l72-72Z",opacity:"0.2"},null,-1),Pa=r("path",{d:"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Z"},null,-1),ja=[Ua,Pa],Ea={key:2},Ra=r("path",{d:"M224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Zm5.66-58.34-96,96A8,8,0,0,1,128,168H96a8,8,0,0,1-8-8V128a8,8,0,0,1,2.34-5.66l96-96a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,229.66,69.66Zm-17-5.66L192,43.31,179.31,56,200,76.69Z"},null,-1),Ta=[Ra],Oa={key:3},Fa=r("path",{d:"M228.24,59.76l-32-32a6,6,0,0,0-8.48,0l-96,96A6,6,0,0,0,90,128v32a6,6,0,0,0,6,6h32a6,6,0,0,0,4.24-1.76l96-96A6,6,0,0,0,228.24,59.76ZM125.51,154H102V130.49l66-66L191.51,88ZM200,79.51,176.49,56,192,40.49,215.51,64ZM222,128v80a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34h80a6,6,0,0,1,0,12H48a2,2,0,0,0-2,2V208a2,2,0,0,0,2,2H208a2,2,0,0,0,2-2V128a6,6,0,0,1,12,0Z"},null,-1),Ka=[Fa],Ga={key:4},Wa=r("path",{d:"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Z"},null,-1),Qa=[Wa],Ja={key:5},Xa=r("path",{d:"M226.83,61.17l-32-32a4,4,0,0,0-5.66,0l-96,96A4,4,0,0,0,92,128v32a4,4,0,0,0,4,4h32a4,4,0,0,0,2.83-1.17l96-96A4,4,0,0,0,226.83,61.17ZM126.34,156H100V129.66l68-68L194.34,88ZM200,82.34,173.66,56,192,37.66,218.34,64ZM220,128v80a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36h80a4,4,0,0,1,0,8H48a4,4,0,0,0-4,4V208a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V128a4,4,0,0,1,8,0Z"},null,-1),Ya=[Xa],e2={name:"PhNotePencil"},a2=U({...e2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",qa,Da)):o.value==="duotone"?(a(),u("g",Na,ja)):o.value==="fill"?(a(),u("g",Ea,Ta)):o.value==="light"?(a(),u("g",Oa,Ka)):o.value==="regular"?(a(),u("g",Ga,Qa)):o.value==="thin"?(a(),u("g",Ja,Ya)):M("",!0)],16,Ia))}}),l2=["width","height","fill","transform"],t2={key:0},n2=r("path",{d:"M230.15,70.54,185.46,25.86a20,20,0,0,0-28.28,0L33.86,149.17A19.86,19.86,0,0,0,28,163.31V208a20,20,0,0,0,20,20H216a12,12,0,0,0,0-24H125L230.15,98.83A20,20,0,0,0,230.15,70.54ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1),o2=[n2],r2={key:1},u2=r("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),i2=r("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM48,163.31l88-88L180.69,120l-88,88H48Zm144-54.62L147.32,64l24-24L216,84.69Z"},null,-1),s2=[u2,i2],d2={key:2},c2=r("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM192,108.69,147.32,64l24-24L216,84.69Z"},null,-1),p2=[c2],v2={key:3},m2=r("path",{d:"M225.91,74.79,181.22,30.1a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H216a6,6,0,0,0,0-12H110.49L225.91,94.59A14,14,0,0,0,225.91,74.79ZM93.52,210H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.49,183.52,120ZM217.42,86.1,192,111.52,144.49,64,169.9,38.59a2,2,0,0,1,2.83,0l44.69,44.68A2,2,0,0,1,217.42,86.1Z"},null,-1),g2=[m2],f2={key:4},h2=r("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.69,147.32,64l24-24L216,84.69Z"},null,-1),y2=[h2],$2={key:5},V2=r("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.51,154.83A12,12,0,0,0,36,163.31V208a12,12,0,0,0,12,12H216a4,4,0,0,0,0-8H105.66L224.49,93.17A12,12,0,0,0,224.49,76.2ZM94.34,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.82L136,69.66,186.35,120ZM218.83,87.51,192,114.34,141.66,64l26.83-26.83a4,4,0,0,1,5.66,0l44.68,44.69A4,4,0,0,1,218.83,87.51Z"},null,-1),A2=[V2],H2={name:"PhPencilSimpleLine"},Z2=U({...H2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",t2,o2)):o.value==="duotone"?(a(),u("g",r2,s2)):o.value==="fill"?(a(),u("g",d2,p2)):o.value==="light"?(a(),u("g",v2,g2)):o.value==="regular"?(a(),u("g",f2,y2)):o.value==="thin"?(a(),u("g",$2,A2)):M("",!0)],16,l2))}}),b2=["width","height","fill","transform"],k2={key:0},w2=r("path",{d:"M208,112H48a20,20,0,0,0-20,20v24a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V132A20,20,0,0,0,208,112Zm-4,40H52V136H204Zm4-116H48A20,20,0,0,0,28,56V80a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V56A20,20,0,0,0,208,36Zm-4,40H52V60H204ZM160,220a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,160,220Z"},null,-1),L2=[w2],M2={key:1},C2=r("path",{d:"M216,128v24a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V128a8,8,0,0,1,8-8H208A8,8,0,0,1,216,128Zm-8-80H48a8,8,0,0,0-8,8V80a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V56A8,8,0,0,0,208,48Z",opacity:"0.2"},null,-1),_2=r("path",{d:"M208,112H48a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V128A16,16,0,0,0,208,112Zm0,40H48V128H208v24Zm0-112H48A16,16,0,0,0,32,56V80A16,16,0,0,0,48,96H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40Zm0,40H48V56H208V80ZM160,216a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V224H104a8,8,0,0,1,0-16h16V192a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,216Z"},null,-1),S2=[C2,_2],z2={key:2},B2=r("path",{d:"M224,128v24a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128a16,16,0,0,1,16-16H208A16,16,0,0,1,224,128ZM208,40H48A16,16,0,0,0,32,56V80A16,16,0,0,0,48,96H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40ZM152,208H136V192a8,8,0,0,0-16,0v16H104a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V224h16a8,8,0,0,0,0-16Z"},null,-1),I2=[B2],q2={key:3},x2=r("path",{d:"M208,114H48a14,14,0,0,0-14,14v24a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V128A14,14,0,0,0,208,114Zm2,38a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V128a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM208,42H48A14,14,0,0,0,34,56V80A14,14,0,0,0,48,94H208a14,14,0,0,0,14-14V56A14,14,0,0,0,208,42Zm2,38a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM158,216a6,6,0,0,1-6,6H134v18a6,6,0,0,1-12,0V222H104a6,6,0,0,1,0-12h18V192a6,6,0,0,1,12,0v18h18A6,6,0,0,1,158,216Z"},null,-1),D2=[x2],N2={key:4},U2=r("path",{d:"M208,112H48a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V128A16,16,0,0,0,208,112Zm0,40H48V128H208v24Zm0-112H48A16,16,0,0,0,32,56V80A16,16,0,0,0,48,96H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40Zm0,40H48V56H208V80ZM160,216a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V224H104a8,8,0,0,1,0-16h16V192a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,216Z"},null,-1),P2=[U2],j2={key:5},E2=r("path",{d:"M208,116H48a12,12,0,0,0-12,12v24a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V128A12,12,0,0,0,208,116Zm4,36a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V128a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4ZM208,44H48A12,12,0,0,0,36,56V80A12,12,0,0,0,48,92H208a12,12,0,0,0,12-12V56A12,12,0,0,0,208,44Zm4,36a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4ZM156,216a4,4,0,0,1-4,4H132v20a4,4,0,0,1-8,0V220H104a4,4,0,0,1,0-8h20V192a4,4,0,0,1,8,0v20h20A4,4,0,0,1,156,216Z"},null,-1),R2=[E2],T2={name:"PhRowsPlusBottom"},L0=U({...T2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",k2,L2)):o.value==="duotone"?(a(),u("g",M2,S2)):o.value==="fill"?(a(),u("g",z2,I2)):o.value==="light"?(a(),u("g",q2,D2)):o.value==="regular"?(a(),u("g",N2,P2)):o.value==="thin"?(a(),u("g",j2,R2)):M("",!0)],16,b2))}}),O2=["width","height","fill","transform"],F2={key:0},K2=r("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"},null,-1),G2=[K2],W2={key:1},Q2=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),J2=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),X2=[Q2,J2],Y2={key:2},e8=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1),a8=[e8],l8={key:3},t8=r("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"},null,-1),n8=[t8],o8={key:4},r8=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),u8=[r8],i8={key:5},s8=r("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"},null,-1),d8=[s8],c8={name:"PhWarningCircle"},D0=U({...c8,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(Z){const n=Z,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",F2,G2)):o.value==="duotone"?(a(),u("g",W2,X2)):o.value==="fill"?(a(),u("g",Y2,a8)):o.value==="light"?(a(),u("g",l8,n8)):o.value==="regular"?(a(),u("g",o8,u8)):o.value==="thin"?(a(),u("g",i8,d8)):M("",!0)],16,O2))}}),p8=U({__name:"AddData",props:{open:{type:Boolean},editableItem:{},table:{},loading:{type:Boolean}},emits:["save","close","update-nullable","record-change"],setup(Z,{emit:n}){return(l,y)=>(a(),w(t(b0),{title:"Data",width:720,open:l.open,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:y[2]||(y[2]=p=>n("close"))},{extra:i(()=>[s(t(Z0),null,{default:i(()=>[s(t(O),{onClick:y[0]||(y[0]=p=>n("close"))},{default:i(()=>[E("Cancel")]),_:1}),s(t(O),{type:"primary",loading:l.loading,onClick:y[1]||(y[1]=p=>n("save"))},{default:i(()=>[E("Save")]),_:1},8,["loading"])]),_:1})]),default:i(()=>[s(t(A0),{model:l.editableItem,layout:"vertical"},{default:i(()=>[(a(!0),u(V0,null,C0(l.table.getUnprotectedColumns(),p=>(a(),w(t(j),{key:p.id,label:p.name,required:!p.nullable},{default:i(()=>[l.editableItem?(a(),w(t(Y),{key:0,placeholder:p.type,value:l.editableItem[p.name],disabled:l.editableItem[p.name]===null,"onUpdate:value":V=>n("record-change",p.name,V)},E0({_:2},[p.nullable?{name:"addonAfter",fn:i(()=>[s(t(R0),{checked:l.editableItem[p.name]===null,"onUpdate:checked":V=>n("update-nullable",p.name,V)},{default:i(()=>[E(" NULL ")]),_:2},1032,["checked","onUpdate:checked"])]),key:"0"}:void 0]),1032,["placeholder","value","disabled","onUpdate:value"])):M("",!0)]),_:2},1032,["label","required"]))),128))]),_:1},8,["model"])]),_:1},8,["open"]))}}),N0=(Z,n)=>n.includes(Z)?{status:"error",help:"There already is a column with this name in the table"}:{status:""},v8=U({__name:"NewColumn",props:{open:{type:Boolean},table:{}},emits:["created","cancel"],setup(Z,{emit:n}){const l=Z,p=f0().params.projectId,V=g(()=>{var C;return((C=l.table)==null?void 0:C.getColumns().map(h=>h.name))||[]}),o=g(()=>N0(m.value.name,V.value)),d={name:"",type:null,default:"",nullable:!0,unique:!1},m=q(d),L=()=>{m.value={...d}},e=q([{value:"reference",label:"reference",isLeaf:!1},...I0.map(C=>({value:C,label:C,isLeaf:!0}))]),B=C=>{if(!C)return;const h=C[C.length-1];switch(C.length){case 0:return;case 1:h.loading=!0,e0.list(p).then(I=>{h.children=I.map(x=>({value:x.id,label:x.name,isLeaf:!1})),h.loading=!1});return;case 2:h.loading=!0,e0.get(p,h.value).then(I=>{h.children=I.getColumns().map(x=>({type:x.type,value:x.id,label:x.name,isLeaf:!0})),h.loading=!1});return}},f=(C,h)=>{if(!!C){if(C.length===1){m.value.type=C[0],m.value.foreignKey=void 0;return}if(C.length===3){const I=h[h.length-1];m.value.type=I.type,m.value.foreignKey={columnId:I.value}}}},z=C=>{const h=C.selectedOptions;return h?h.length===1?h[0].label:h.length===3?`reference to ${h[1].label}(${h[2].label})`:"":"Select type"},b=q({...{status:"success",message:"",fakeLoading:!1}}),T=()=>{b.value.fakeLoading=!0,o0()};m0(()=>m.value.type,()=>{!m.value.type||(m.value.default=a1[m.value.type]||"",T())});const o0=u0.exports.debounce(async()=>{if(!m.value.default){b.value.status="success",b.value.message="",b.value.fakeLoading=!1;return}const C=`select (${m.value.default})::${m.value.type} `;H0.executeQuery(p,C,[]).then(h=>{b.value.status=h.errors.length>0?"error":"success",b.value.message=h.errors[0]||"",b.value.fakeLoading=!1})},500);function R(){n("cancel")}async function a0(){if(!!l.table&&!(!m.value.name||!m.value.type))try{await l.table.addColumn(m.value),L(),n("created")}catch(C){C instanceof Error&&g0("Database error",C.message)}}return(C,h)=>(a(),w(t(b0),{title:"New column",width:720,open:l.open,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:R},{extra:i(()=>[s(t(Z0),null,{default:i(()=>[s(t(O),{onClick:R},{default:i(()=>[E("Cancel")]),_:1}),s(t(O),{type:"primary",onClick:a0},{default:i(()=>[E("Save")]),_:1})]),_:1})]),default:i(()=>[s(t(A0),{model:m.value,layout:"vertical"},{default:i(()=>[s(t(j),{key:"name",label:"Name",required:"","validate-status":o.value.status,help:o.value.help},{default:i(()=>[s(t(Y),{value:m.value.name,"onUpdate:value":h[0]||(h[0]=I=>m.value.name=I)},null,8,["value"])]),_:1},8,["validate-status","help"]),s(t(j),{key:"type",label:"Type",required:""},{default:i(()=>[s(t(x0),{options:e.value,"load-data":B,"display-render":z,"allow-clear":!1,onChange:f},null,8,["options"])]),_:1}),s(t(j),{key:"default-value",label:"Default value","validate-status":b.value.status,help:b.value.message},{default:i(()=>[s(t(Y),{value:m.value.default,"onUpdate:value":h[1]||(h[1]=I=>m.value.default=I),placeholder:"NULL",onInput:T},{suffix:i(()=>[b.value.fakeLoading?(a(),w(t(_0),{key:0})):M("",!0),!b.value.fakeLoading&&b.value.status==="success"?(a(),w(t(q0),{key:1,size:"18"})):M("",!0),!b.value.fakeLoading&&b.value.status==="error"?(a(),w(t(D0),{key:2,size:"18"})):M("",!0)]),_:1},8,["value"])]),_:1},8,["validate-status","help"]),s(t(j),{key:"nullable",label:"Nullable"},{default:i(()=>[s(t(i0),{checked:m.value.nullable,"onUpdate:checked":h[2]||(h[2]=I=>m.value.nullable=I)},null,8,["checked"])]),_:1}),s(t(j),{key:"unique",label:"Unique"},{default:i(()=>[s(t(i0),{checked:m.value.unique,"onUpdate:checked":h[3]||(h[3]=I=>m.value.unique=I)},null,8,["checked"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open"]))}}),m8={class:"icon"},g8=U({__name:"OrderByIcon",props:{column:{},orderBy:{}},emits:["reorder"],setup(Z,{emit:n}){return(l,y)=>{var p,V,o;return a(),u("div",m8,[((p=l.orderBy)==null?void 0:p.column)!==String(l.column.title)?(a(),w(t(Y1),{key:0,size:"16",onClick:y[0]||(y[0]=d=>n("reorder",String(l.column.title)))})):M("",!0),((V=l.orderBy)==null?void 0:V.column)===String(l.column.title)&&l.orderBy.direction==="asc"?(a(),w(t(S1),{key:1,size:"16",onClick:y[1]||(y[1]=d=>n("reorder",String(l.column.title)))})):M("",!0),((o=l.orderBy)==null?void 0:o.column)===String(l.column.title)&&l.orderBy.direction==="desc"?(a(),w(t(t1),{key:2,size:"16",onClick:y[2]||(y[2]=d=>n("reorder",String(l.column.title)))})):M("",!0)])}}});const M0=S0(g8,[["__scopeId","data-v-6ae5cef6"]]),f8={class:"twin-container"},h8={class:"fullwidth-input"},y8={class:"fullwidth-input"},$8={class:"using-container"},V8={class:"fullwidth-input"},A8=U({__name:"UpdateColumn",props:{open:{type:Boolean},table:{},column:{}},emits:["updated","cancel"],setup(Z,{emit:n}){const l=Z,p=f0().params.projectId,V=q(l.column.type);T0(async()=>{if(!l.column.foreignKey)return;V.value="loading...";const c=await e0.fromColumnId(p,l.column.foreignKey.columnId),v=c.getColumn(l.column.foreignKey.columnId);V.value=`reference to ${c.name}(${v.name})`});const o=g(()=>{var c;return((c=l.table)==null?void 0:c.getColumns().map(v=>v.record.initialState.name))||[]}),d=g(()=>l.column.name===l.column.record.initialState.name?{status:"",help:""}:N0(l.column.name,o.value)),{result:m,loading:L}=$0(async()=>l.table.select({},10,0).then(({total:c})=>c));function e(){l.column.record.resetChanges(),n("cancel")}const f=q({status:"success",message:"",fakeLoading:!1}),z=()=>{f.value.fakeLoading=!0,W()},W=u0.exports.debounce(async()=>{if(!l.column.default){f.value.status="success",f.value.message="",f.value.fakeLoading=!1;return}const c=`select (${l.column.default})::${l.column.type} `,v=await H0.executeQuery(p,c,[]);f.value.status=v.errors.length>0?"error":"success",f.value.message=v.errors[0]||"",f.value.fakeLoading=!1},500),b=q([{value:"reference",label:"reference",isLeaf:!1},...I0.filter(c=>c!==l.column.type).map(c=>({value:c,label:c,isLeaf:!0}))]),T=c=>{if(!c)return;const v=c[c.length-1];switch(c.length){case 0:return;case 1:v.loading=!0,e0.list(p).then(_=>{v.children=_.map(J=>({value:J.id,label:J.name,isLeaf:!1})),v.loading=!1});return;case 2:v.loading=!0,e0.get(p,v.value).then(_=>{v.children=_.getColumns().map(J=>({type:J.type,value:J.id,label:J.name,isLeaf:!0})),v.loading=!1});return}},s0=c=>{const v=c.selectedOptions;return v?v.length===1?v[0].label:v.length===3?`reference to ${v[1].label}(${v[2].label})`:"":"Select type"},o0=(c,v)=>{if(!!c){if(c.length===1){l.column.type=c[0],l.column.foreignKey=null;return}if(c.length===3){if(l.column.foreignKey&&l.column.foreignKey.columnId===c[2])return;const _=v[v.length-1];l.column.type=_.type,l.column.foreignKey={columnId:_.value}}}};async function R(c){await n1("Are you sure you want to delete this column and all its data?")&&await a0(c)}async function a0(c){var v,_;await((_=(v=l.table)==null?void 0:v.getColumn(c))==null?void 0:_.delete()),n("updated")}const C=()=>m.value===0||L.value?!1:l.column.record.hasChangesDeep("type"),h=q({type:"default"}),I=()=>{l.column.type=l.column.record.initialState.type,h.value={type:"default"}};function x(c,v){return v==="varchar"||c==="int"&&v==="boolean"||c==="boolean"&&v==="int"}m0(()=>l.column.type,()=>{z(),d0.value||(h.value={type:"user-defined",using:l0.value,mandatory:!0})});const d0=g(()=>h.value.type==="default"&&x(l.column.record.initialState.type,l.column.type)),c0=g(()=>!x(l.column.record.initialState.type,l.column.type));function p0(c){c?h.value={type:"default"}:h.value={type:"user-defined",using:l0.value,mandatory:!1}}function h0(c){if(h.value.type==="default")throw new Error("Can't change using when using default casting");h.value.using=c!=null?c:""}const Q=()=>c0.value?!0:C()&&h.value.type==="user-defined",l0=g(()=>`${l.column.record.initialState.name}::${l.column.type}`);async function y0(){if(!l.column)return;let c=h.value.type==="default"?l0.value:h.value.using;m.value===0&&(c=`${l.column.record.initialState.name}::text::${l.column.type}`);try{await l.column.update(c),n("updated")}catch(v){v instanceof Error&&g0("Database error",v.message)}}return(c,v)=>(a(),w(t(b0),{title:"Edit column",width:720,open:c.open,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:e},{extra:i(()=>[s(t(Z0),null,{default:i(()=>[s(t(O),{onClick:e},{default:i(()=>[E("Cancel")]),_:1}),s(t(O),{type:"primary",onClick:y0},{default:i(()=>[E("Save")]),_:1})]),_:1})]),footer:i(()=>[s(t0,{danger:"",onClick:v[7]||(v[7]=_=>R(String(c.column.id)))},{default:i(()=>[E("Delete")]),_:1})]),default:i(()=>[s(t(A0),{model:c.column,layout:"vertical"},{default:i(()=>[s(t(j),{key:"name",label:"Name","validate-status":d.value.status,help:d.value.help},{default:i(()=>[s(t(Y),{value:c.column.name,"onUpdate:value":v[0]||(v[0]=_=>c.column.name=_)},null,8,["value"])]),_:1},8,["validate-status","help"]),r("div",f8,[r("span",h8,[s(t(j),{key:"type",label:"Current Type"},{default:i(()=>[s(t(O0),{value:V.value,"onUpdate:value":v[1]||(v[1]=_=>V.value=_),"default-active-first-option":"",disabled:""},null,8,["value"])]),_:1})]),s(t(o1),{class:"right-arrow"}),r("span",y8,[s(t(j),{key:"new-type",label:"New Type"},{default:i(()=>[s(t(x0),{options:b.value,"load-data":T,"display-render":s0,"allow-clear":!0,onClear:I,onChange:o0},null,8,["options"])]),_:1})])]),s(t(j),{key:"default-value",label:"Default value","validate-status":f.value.status,help:f.value.message},{default:i(()=>[s(t(Y),{value:c.column.default,"onUpdate:value":v[2]||(v[2]=_=>c.column.default=_),placeholder:"NULL",onInput:z},{suffix:i(()=>[f.value.fakeLoading?(a(),w(t(_0),{key:0,size:"small"})):M("",!0),!f.value.fakeLoading&&f.value.status==="success"?(a(),w(t(q0),{key:1,size:18})):M("",!0),!f.value.fakeLoading&&f.value.status==="error"?(a(),w(t(D0),{key:2,size:18})):M("",!0)]),_:1},8,["value"])]),_:1},8,["validate-status","help"]),r("div",$8,[C()?(a(),w(t(j),{key:"default-casting",label:"Use default casting"},{default:i(()=>[s(t(i0),{checked:d0.value,disabled:c0.value,"onUpdate:checked":v[3]||(v[3]=_=>p0(!!_))},null,8,["checked","disabled"])]),_:1})):M("",!0),r("span",V8,[C()?(a(),w(t(j),{key:"using",label:"Using"},{default:i(()=>[s(t(Y),{value:h.value.type==="user-defined"?h.value.using:l0.value,disabled:!Q(),onInput:v[4]||(v[4]=_=>h0(_.target.value))},null,8,["value","disabled"])]),_:1})):M("",!0)])]),s(t(G),null,{default:i(()=>[s(t(j),{key:"nullable",label:"Nullable"},{default:i(()=>[s(t(i0),{checked:c.column.nullable,"onUpdate:checked":v[5]||(v[5]=_=>c.column.nullable=_)},null,8,["checked"])]),_:1}),s(t(j),{key:"unique",label:"Unique"},{default:i(()=>[s(t(i0),{checked:c.column.unique,"onUpdate:checked":v[6]||(v[6]=_=>c.column.unique=_)},null,8,["checked"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["open"]))}});const H8=S0(A8,[["__scopeId","data-v-5f7e2cd2"]]),Z8={style:{overflow:"hidden","white-space":"wrap"}},b8={key:1},k8={key:0,class:"table-row null"},w8={class:"button-container"},L8={class:"button-container"},M8={class:"button-container"},C8={class:"button-container"},_8=U({__name:"TableData",props:{table:{},loading:{type:Boolean}},emits:["refresh"],setup(Z,{emit:n}){var w0;const l=Z,y=q(1),p=q(10),V=g(()=>{var $,H;return{total:(H=($=h.value)==null?void 0:$.total)!=null?H:0,current:y.value,pageSize:p.value,totalBoundaryShowSizeChanger:10,showSizeChanger:!0,pageSizeOptions:["10","25","50","100"],onChange:async(D,k)=>{y.value=D,p.value=k,await x()}}}),o=q([]),d=f0(),m=z0(),L=q(typeof d.query.q=="string"?d.query.q:""),e=g(()=>{try{return JSON.parse(d.query.where)}catch{return{}}});m0(L,()=>{m.replace({query:{...d.query,where:JSON.stringify(d.query.value),q:L.value}})});const B=q(!1),f=q({type:"idle"}),z=()=>{B.value=!0,W()},W=u0.exports.debounce(()=>{x(),B.value=!1},500);function b(){f.value={type:"idle"}}async function T(){b(),n("refresh")}m0(()=>l.table,()=>{l0(),x()});function s0(){f.value={type:"creating"}}const o0=$=>{if(!l.table)throw new Error("Table not found");f.value={type:"editing",column:l.table.getColumn($)}},R=q(null),a0=$=>{var H;((H=R.value)==null?void 0:H.column)===$?R.value={column:$,direction:R.value.direction==="asc"?"desc":"asc"}:R.value={column:$,direction:"asc"},x()},C=g(()=>{var $;return(($=h.value)==null?void 0:$.rows.length)===1}),{result:h,loading:I,refetch:x}=$0(async()=>{const[{rows:$,total:H},D]=await Promise.all([l.table.select(e.value,(y.value-1)*p.value,p.value,L.value,R.value||void 0),Promise.all(l.table.getColumns().filter(k=>k.foreignKey).map(k=>e0.fromColumnId(d.params.projectId,k.foreignKey.columnId).then(P=>[k.name,P])))]);return{rows:$,total:H,columns:D.reduce((k,[P,N])=>({...k,[P]:N}),{})}}),k0=($,H)=>{var N,X;const D=(N=l.table)==null?void 0:N.getColumns().find(S=>S.name===$);if(!D)return"";const k=(X=h.value)==null?void 0:X.columns[D.name],P=k==null?void 0:k.getColumns().find(S=>{var v0;return S.id===((v0=D.foreignKey)==null?void 0:v0.columnId)});return!k||!P?"":{name:"tableEditor",params:{projectId:d.params.projectId,tableId:k.id},query:{where:JSON.stringify({[P.name]:H})}}},d0=($,H)=>{f.value.type==="adding"&&(f.value.editableItem[$]=H)},c0=($,H)=>{f.value.type==="adding"&&(f.value.editableItem[$]=H?null:"")},p0=()=>[...l.table.getColumns().map($=>{var H;return{key:(H=$.id)!=null?H:"",title:$.name,dataIndex:$.name,width:220,resizable:!0,ellipsis:!1}}),{key:"action",title:"",fixed:"right",width:100,align:"center",resizable:!1,ellipsis:!1}],h0=p0(),Q=q(h0),l0=()=>Q.value=p0();function y0($,H){Q.value=Q.value.map(D=>D.key===H.key?{...D,width:$}:D)}const c=g(()=>{var $;return(($=h.value)==null?void 0:$.rows.map(H=>({key:H.id,...H})))||[]});let v=F0((w0=l.table)==null?void 0:w0.getUnprotectedColumns().reduce(($,H)=>({...$,[H.name]:""}),{}));const _=q(!1);async function J(){if(!(!l.table||!v||f.value.type!=="adding")){_.value=!0;try{f.value.editableItem.id&&(typeof f.value.editableItem.id=="string"||typeof f.value.editableItem.id=="number")?await l.table.updateRow(f.value.editableItem.id.toString(),f.value.editableItem):await l.table.insertRow(f.value.editableItem),x(),b()}catch($){$ instanceof Error&&g0("Database error",$.message)}finally{_.value=!1}}}const U0=async $=>{if(!(!h.value||!h.value.rows.find(H=>H.id===$)))try{await l.table.deleteRow($),C.value&&(y.value=Math.max(1,y.value-1)),x()}catch(H){H instanceof Error&&g0("Database error",H.message)}},P0=$=>{var X;const H=(X=c.value)==null?void 0:X.filter(S=>$===S.key)[0],D=l.table.getColumns(),k=D.map(S=>S.name),P=D.filter(S=>S.type==="json").map(S=>S.name),N=u0.exports.pick(u0.exports.cloneDeep(H),k);P.forEach(S=>{N[S]&&(N[S]=JSON.stringify(N[S]))}),f.value={type:"adding",editableItem:N}};return($,H)=>{const D=B0("RouterLink");return a(),w(l1,{"full-width":""},{default:i(()=>[s(t(G),{justify:"space-between",style:{"margin-bottom":"16px"},gap:"middle"},{default:i(()=>[s(t(Y),{value:L.value,"onUpdate:value":[H[0]||(H[0]=k=>L.value=k),z],placeholder:"Search",style:{width:"400px"},"allow-clear":""},{prefix:i(()=>[s(t(K0))]),suffix:i(()=>[B.value?(a(),w(t(r1),{key:0})):M("",!0)]),_:1},8,["value"]),s(t(G),{justify:"flex-end",gap:"middle"},{default:i(()=>[s(t0,{type:"primary",onClick:s0},{default:i(()=>[s(t(Ae)),E("Create column ")]),_:1}),Q.value.length===3?(a(),w(t(r0),{key:0,title:"Create your first column before adding data"},{default:i(()=>[s(t0,{disabled:!0,onClick:H[1]||(H[1]=k=>f.value={type:"adding",editableItem:{}})},{default:i(()=>[s(t(L0)),E("Add data ")]),_:1})]),_:1})):(a(),w(t0,{key:1,onClick:H[2]||(H[2]=k=>f.value={type:"adding",editableItem:{}})},{default:i(()=>[s(t(L0)),E("Add data ")]),_:1}))]),_:1})]),_:1}),s(t(J0),{columns:Q.value,"data-source":c.value,pagination:V.value,bordered:"",loading:t(I)||$.loading,scroll:{x:1e3,y:720},size:"small",onResizeColumn:y0},{headerCell:i(({column:k})=>[k.title!=="id"&&k.title!=="created_at"&&k.key!=="action"?(a(),w(t(G),{key:0,align:"center",justify:"space-between",gap:"small"},{default:i(()=>[s(t(G),{style:{overflow:"hidden","white-space":"wrap"},align:"center",gap:"small"},{default:i(()=>[r("span",Z8,n0(k.title),1),s(t(G),null,{default:i(()=>[s(M0,{column:k,"order-by":R.value,onReorder:a0},null,8,["column","order-by"])]),_:2},1024)]),_:2},1024),s(t0,{type:"text",onClick:P=>o0(String(k.key))},{default:i(()=>[s(t(Ba),{size:"18"})]),_:2},1032,["onClick"])]),_:2},1024)):(a(),u("span",b8,[s(t(G),{align:"center",gap:"small"},{default:i(()=>[E(n0(k.title)+" ",1),k.key!=="action"?(a(),w(M0,{key:0,column:k,"order-by":R.value,onReorder:a0},null,8,["column","order-by"])):M("",!0)]),_:2},1024)]))]),bodyCell:i(({column:k,text:P,record:N})=>{var X;return[Q.value.map(S=>S.title).includes(k.dataIndex)?(a(),u(V0,{key:0},[P===null?(a(),u("div",k8,"NULL")):(X=$.table.getColumns().find(S=>S.name===k.dataIndex))!=null&&X.foreignKey?(a(),w(D,{key:1,to:k0(k.dataIndex,P),target:"_blank"},{default:i(()=>[E(n0(P),1)]),_:2},1032,["to"])):(a(),u("div",{key:2,class:G0(["table-row",{expanded:o.value.includes(N.id)}])},n0(P),3))],64)):M("",!0),k.key==="action"?(a(),w(t(G),{key:1,gap:"small",justify:"center"},{default:i(()=>[o.value.includes(N.id)?(a(),w(t(O),{key:0,class:"icons",onClick:S=>o.value=o.value.filter(v0=>v0!==N.id)},{icon:i(()=>[s(t(r0),{title:"Collapse"},{default:i(()=>[r("div",w8,[s(t(Re),{size:15})])]),_:1})]),_:2},1032,["onClick"])):(a(),w(t(O),{key:1,onClick:S=>o.value.push(N.id)},{icon:i(()=>[s(t(r0),{title:"Expand"},{default:i(()=>[r("div",L8,[s(t(ca),{size:15})])]),_:1})]),_:2},1032,["onClick"])),s(t(O),{onClick:S=>P0(N.id)},{icon:i(()=>[s(t(r0),{title:"Edit"},{default:i(()=>[r("div",M8,[s(t(Z2),{size:15})])]),_:1})]),_:2},1032,["onClick"]),s(t(W0),{title:"Sure to delete?",onConfirm:S=>U0(N.id)},{default:i(()=>[s(t(O),null,{icon:i(()=>[s(t(r0),{title:"Delete"},{default:i(()=>[r("div",C8,[s(t(Q0),{size:15})])]),_:1})]),_:1})]),_:2},1032,["onConfirm"])]),_:2},1024)):M("",!0)]}),_:1},8,["columns","data-source","pagination","loading"]),f.value.type==="adding"?(a(),w(p8,{key:0,open:f.value.type==="adding",table:l.table,"editable-item":f.value.editableItem,loading:_.value,onUpdateNullable:c0,onRecordChange:d0,onClose:b,onCancel:b,onSave:J},null,8,["open","table","editable-item","loading"])):M("",!0),f.value.type==="creating"?(a(),w(v8,{key:1,open:f.value.type==="creating",table:l.table,onClose:b,onCancel:b,onCreated:T},null,8,["open","table"])):M("",!0),f.value.type==="editing"?(a(),w(H8,{key:2,open:f.value.type==="editing",column:f.value.column,table:$.table,onUpdated:T,onClose:b,onCancel:b},null,8,["open","column","table"])):M("",!0)]),_:1})}}});const S8={style:{"font-size":"16px"}},ll=U({__name:"TableEditor",setup(Z){const n=z0(),l=f0(),y=l.params.tableId,p=l.params.projectId,V=q(!1),o=()=>{var f;V.value=!1,(f=d.value)==null||f.table.save(),L()},{result:d,loading:m,refetch:L}=$0(()=>Promise.all([H0.get(p).then(async f=>{const z=await e1.get(f.organizationId);return{project:f,organization:z}}),e0.get(p,y)]).then(([{project:f,organization:z},W])=>X0({project:f,organization:z,table:W}))),e=g(()=>!m.value&&d.value?[{label:"My organizations",path:"/organizations"},{label:d.value.organization.name,path:`/organizations/${d.value.organization.id}`},{label:d.value.project.name,path:`/projects/${d.value.project.id}/tables`}]:void 0);function B(){n.push({name:"tables",params:{projectId:p}})}return(f,z)=>{const W=B0("RouterLink");return a(),w(j0,null,{navbar:i(()=>[s(t(s1),{style:{padding:"5px 25px"},onBack:B},{title:i(()=>[s(t(G),{align:"center",gap:"small"},{default:i(()=>{var b;return[r("span",S8,n0((b=t(d))==null?void 0:b.table.name),1),s(t0,{type:"text",onClick:z[0]||(z[0]=T=>V.value=!0)},{default:i(()=>[s(t(a2),{size:"16"})]),_:1})]}),_:1}),s(t(Y0),{title:"Change table name",open:V.value,onCancel:z[2]||(z[2]=b=>V.value=!1),onOk:o},{default:i(()=>[t(d)?(a(),w(t(Y),{key:0,value:t(d).table.name,"onUpdate:value":z[1]||(z[1]=b=>t(d).table.name=b)},null,8,["value"])):M("",!0)]),_:1},8,["open"])]),subTitle:i(()=>[e.value?(a(),w(t(u1),{key:0,style:{margin:"0px 20px"}},{default:i(()=>[(a(!0),u(V0,null,C0(e.value,(b,T)=>(a(),w(t(i1),{key:T},{default:i(()=>[s(W,{to:b.path},{default:i(()=>[E(n0(b.label),1)]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1})):M("",!0)]),_:1})]),content:i(()=>[t(d)?(a(),w(_8,{key:0,loading:t(m),table:t(d).table,onRefresh:z[3]||(z[3]=b=>t(L)())},null,8,["loading","table"])):M("",!0)]),_:1})}}});export{ll as default}; -//# sourceMappingURL=TableEditor.fe3fe79a.js.map +import{_ as t0}from"./AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js";import{B as j0}from"./BaseLayout.577165c3.js";import{a as $0}from"./asyncComputed.3916dfed.js";import{d as U,B as A,f as g,o as a,X as u,Z as F,R as M,e8 as K,a as r,c as w,w as i,b as s,u as t,bP as O,aF as E,eb as C0,cv as j,bH as Y,eg as E0,bK as R0,aR as V0,cu as A0,ea as f0,e as q,g as m0,ej as u0,bx as _0,cT as i0,$ as S0,W as T0,aA as O0,dd as G,eo as z0,D as F0,r as B0,eK as K0,aV as r0,e9 as n0,ed as G0,cJ as W0,ep as Q0,cU as J0,y as X0,cH as Y0}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{O as e1}from"./organization.0ae7dfed.js";import{P as H0}from"./project.a5f62f99.js";import{p as I0,T as e0,d as a1}from"./tables.842b993f.js";import{C as l1}from"./ContentLayout.5465dc16.js";import{p as g0}from"./popupNotifcation.5a82bc93.js";import{A as b0}from"./index.7d758831.js";import{A as Z0}from"./index.fe1d28be.js";import{H as q0}from"./PhCheckCircle.vue.b905d38f.js";import{A as x0}from"./index.b0999c8c.js";import{G as t1}from"./PhArrowDown.vue.8953407d.js";import{a as n1}from"./ant-design.48401d91.js";import{G as o1}from"./PhCaretRight.vue.70c5f54b.js";import{L as r1}from"./LoadingOutlined.09a06334.js";import{B as u1,A as i1,b as s1}from"./index.51467614.js";import"./record.cff1707c.js";import"./string.d698465c.js";import"./Badge.9808092c.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";(function(){try{var b=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(b._sentryDebugIds=b._sentryDebugIds||{},b._sentryDebugIds[n]="cd21e2bf-370e-486e-a5ff-e4c2b1552b34",b._sentryDebugIdIdentifier="sentry-dbid-cd21e2bf-370e-486e-a5ff-e4c2b1552b34")}catch{}})();const d1=["width","height","fill","transform"],c1={key:0},p1=r("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"},null,-1),v1=[p1],m1={key:1},g1=r("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),f1=r("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"},null,-1),h1=[g1,f1],y1={key:2},$1=r("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"},null,-1),V1=[$1],A1={key:3},H1=r("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"},null,-1),b1=[H1],Z1={key:4},k1=r("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"},null,-1),w1=[k1],L1={key:5},M1=r("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"},null,-1),C1=[M1],_1={name:"PhArrowUp"},S1=U({..._1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",c1,v1)):o.value==="duotone"?(a(),u("g",m1,h1)):o.value==="fill"?(a(),u("g",y1,V1)):o.value==="light"?(a(),u("g",A1,b1)):o.value==="regular"?(a(),u("g",Z1,w1)):o.value==="thin"?(a(),u("g",L1,C1)):M("",!0)],16,d1))}}),z1=["width","height","fill","transform"],B1={key:0},I1=r("path",{d:"M120.49,167.51a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17,0l-32-32a12,12,0,1,1,17-17L68,179V48a12,12,0,0,1,24,0V179l11.51-11.52A12,12,0,0,1,120.49,167.51Zm96-96-32-32a12,12,0,0,0-17,0l-32,32a12,12,0,0,0,17,17L164,77V208a12,12,0,0,0,24,0V77l11.51,11.52a12,12,0,0,0,17-17Z"},null,-1),q1=[I1],x1={key:1},D1=r("path",{d:"M176,48V208H80V48Z",opacity:"0.2"},null,-1),N1=r("path",{d:"M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"},null,-1),U1=[D1,N1],P1={key:2},j1=r("path",{d:"M119.39,172.94a8,8,0,0,1-1.73,8.72l-32,32a8,8,0,0,1-11.32,0l-32-32A8,8,0,0,1,48,168H72V48a8,8,0,0,1,16,0V168h24A8,8,0,0,1,119.39,172.94Zm94.27-98.6-32-32a8,8,0,0,0-11.32,0l-32,32A8,8,0,0,0,144,88h24V208a8,8,0,0,0,16,0V88h24a8,8,0,0,0,5.66-13.66Z"},null,-1),E1=[j1],R1={key:3},T1=r("path",{d:"M116.24,171.76a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48,0l-32-32a6,6,0,0,1,8.48-8.48L74,193.51V48a6,6,0,0,1,12,0V193.51l21.76-21.75A6,6,0,0,1,116.24,171.76Zm96-96-32-32a6,6,0,0,0-8.48,0l-32,32a6,6,0,0,0,8.48,8.48L170,62.49V208a6,6,0,0,0,12,0V62.49l21.76,21.75a6,6,0,0,0,8.48-8.48Z"},null,-1),O1=[T1],F1={key:4},K1=r("path",{d:"M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"},null,-1),G1=[K1],W1={key:5},Q1=r("path",{d:"M114.83,173.17a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L76,198.34V48a4,4,0,0,1,8,0V198.34l25.17-25.17A4,4,0,0,1,114.83,173.17Zm96-96-32-32a4,4,0,0,0-5.66,0l-32,32a4,4,0,0,0,5.66,5.66L172,57.66V208a4,4,0,0,0,8,0V57.66l25.17,25.17a4,4,0,1,0,5.66-5.66Z"},null,-1),J1=[Q1],X1={name:"PhArrowsDownUp"},Y1=U({...X1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",B1,q1)):o.value==="duotone"?(a(),u("g",x1,U1)):o.value==="fill"?(a(),u("g",P1,E1)):o.value==="light"?(a(),u("g",R1,O1)):o.value==="regular"?(a(),u("g",F1,G1)):o.value==="thin"?(a(),u("g",W1,J1)):M("",!0)],16,z1))}}),ee=["width","height","fill","transform"],ae={key:0},le=r("path",{d:"M80,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H80a20,20,0,0,0,20-20V48A20,20,0,0,0,80,28ZM76,204H60V52H76ZM156,28H132a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h24a20,20,0,0,0,20-20V48A20,20,0,0,0,156,28Zm-4,176H136V52h16Zm100-76a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,252,128Z"},null,-1),te=[le],ne={key:1},oe=r("path",{d:"M88,48V208a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H80A8,8,0,0,1,88,48Zm64-8H128a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8h24a8,8,0,0,0,8-8V48A8,8,0,0,0,152,40Z",opacity:"0.2"},null,-1),re=r("path",{d:"M80,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V48A16,16,0,0,0,80,32Zm0,176H56V48H80ZM152,32H128a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V48A16,16,0,0,0,152,32Zm0,176H128V48h24Zm96-80a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V136H192a8,8,0,0,1,0-16h16V104a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,128Z"},null,-1),ue=[oe,re],ie={key:2},se=r("path",{d:"M96,48V208a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H80A16,16,0,0,1,96,48Zm56-16H128a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V48A16,16,0,0,0,152,32Zm88,88H224V104a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V136h16a8,8,0,0,0,0-16Z"},null,-1),de=[se],ce={key:3},pe=r("path",{d:"M80,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H80a14,14,0,0,0,14-14V48A14,14,0,0,0,80,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H80a2,2,0,0,1,2,2ZM152,34H128a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V48A14,14,0,0,0,152,34Zm2,174a2,2,0,0,1-2,2H128a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h24a2,2,0,0,1,2,2Zm92-80a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V134H192a6,6,0,0,1,0-12h18V104a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,128Z"},null,-1),ve=[pe],me={key:4},ge=r("path",{d:"M80,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V48A16,16,0,0,0,80,32Zm0,176H56V48H80ZM152,32H128a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V48A16,16,0,0,0,152,32Zm0,176H128V48h24Zm96-80a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V136H192a8,8,0,0,1,0-16h16V104a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,128Z"},null,-1),fe=[ge],he={key:5},ye=r("path",{d:"M80,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H80a12,12,0,0,0,12-12V48A12,12,0,0,0,80,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H80a4,4,0,0,1,4,4ZM152,36H128a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V48A12,12,0,0,0,152,36Zm4,172a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h24a4,4,0,0,1,4,4Zm88-80a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V132H192a4,4,0,0,1,0-8h20V104a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,128Z"},null,-1),$e=[ye],Ve={name:"PhColumnsPlusRight"},Ae=U({...Ve,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",ae,te)):o.value==="duotone"?(a(),u("g",ne,ue)):o.value==="fill"?(a(),u("g",ie,de)):o.value==="light"?(a(),u("g",ce,ve)):o.value==="regular"?(a(),u("g",me,fe)):o.value==="thin"?(a(),u("g",he,$e)):M("",!0)],16,ee))}}),He=["width","height","fill","transform"],be={key:0},Ze=r("path",{d:"M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"},null,-1),ke=[Ze],we={key:1},Le=r("path",{d:"M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z",opacity:"0.2"},null,-1),Me=r("path",{d:"M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"},null,-1),Ce=[Le,Me],_e={key:2},Se=r("path",{d:"M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"},null,-1),ze=[Se],Be={key:3},Ie=r("path",{d:"M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"},null,-1),qe=[Ie],xe={key:4},De=r("path",{d:"M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"},null,-1),Ne=[De],Ue={key:5},Pe=r("path",{d:"M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"},null,-1),je=[Pe],Ee={name:"PhCornersIn"},Re=U({...Ee,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",be,ke)):o.value==="duotone"?(a(),u("g",we,Ce)):o.value==="fill"?(a(),u("g",_e,ze)):o.value==="light"?(a(),u("g",Be,qe)):o.value==="regular"?(a(),u("g",xe,Ne)):o.value==="thin"?(a(),u("g",Ue,je)):M("",!0)],16,He))}}),Te=["width","height","fill","transform"],Oe={key:0},Fe=r("path",{d:"M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"},null,-1),Ke=[Fe],Ge={key:1},We=r("path",{d:"M208,48V208H48V48Z",opacity:"0.2"},null,-1),Qe=r("path",{d:"M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"},null,-1),Je=[We,Qe],Xe={key:2},Ye=r("path",{d:"M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"},null,-1),ea=[Ye],aa={key:3},la=r("path",{d:"M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"},null,-1),ta=[la],na={key:4},oa=r("path",{d:"M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"},null,-1),ra=[oa],ua={key:5},ia=r("path",{d:"M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"},null,-1),sa=[ia],da={name:"PhCornersOut"},ca=U({...da,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",Oe,Ke)):o.value==="duotone"?(a(),u("g",Ge,Je)):o.value==="fill"?(a(),u("g",Xe,ea)):o.value==="light"?(a(),u("g",aa,ta)):o.value==="regular"?(a(),u("g",na,ra)):o.value==="thin"?(a(),u("g",ua,sa)):M("",!0)],16,Te))}}),pa=["width","height","fill","transform"],va={key:0},ma=r("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1),ga=[ma],fa={key:1},ha=r("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),ya=r("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1),$a=[ha,ya],Va={key:2},Aa=r("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),Ha=[Aa],ba={key:3},Za=r("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1),ka=[Za],wa={key:4},La=r("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1),Ma=[La],Ca={key:5},_a=r("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1),Sa=[_a],za={name:"PhGear"},Ba=U({...za,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",va,ga)):o.value==="duotone"?(a(),u("g",fa,$a)):o.value==="fill"?(a(),u("g",Va,Ha)):o.value==="light"?(a(),u("g",ba,ka)):o.value==="regular"?(a(),u("g",wa,Ma)):o.value==="thin"?(a(),u("g",Ca,Sa)):M("",!0)],16,pa))}}),Ia=["width","height","fill","transform"],qa={key:0},xa=r("path",{d:"M232.49,55.51l-32-32a12,12,0,0,0-17,0l-96,96A12,12,0,0,0,84,128v32a12,12,0,0,0,12,12h32a12,12,0,0,0,8.49-3.51l96-96A12,12,0,0,0,232.49,55.51ZM192,49l15,15L196,75,181,60Zm-69,99H108V133l56-56,15,15Zm105-7.43V208a20,20,0,0,1-20,20H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28h67.43a12,12,0,0,1,0,24H52V204H204V140.57a12,12,0,0,1,24,0Z"},null,-1),Da=[xa],Na={key:1},Ua=r("path",{d:"M200,88l-72,72H96V128l72-72Z",opacity:"0.2"},null,-1),Pa=r("path",{d:"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Z"},null,-1),ja=[Ua,Pa],Ea={key:2},Ra=r("path",{d:"M224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Zm5.66-58.34-96,96A8,8,0,0,1,128,168H96a8,8,0,0,1-8-8V128a8,8,0,0,1,2.34-5.66l96-96a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,229.66,69.66Zm-17-5.66L192,43.31,179.31,56,200,76.69Z"},null,-1),Ta=[Ra],Oa={key:3},Fa=r("path",{d:"M228.24,59.76l-32-32a6,6,0,0,0-8.48,0l-96,96A6,6,0,0,0,90,128v32a6,6,0,0,0,6,6h32a6,6,0,0,0,4.24-1.76l96-96A6,6,0,0,0,228.24,59.76ZM125.51,154H102V130.49l66-66L191.51,88ZM200,79.51,176.49,56,192,40.49,215.51,64ZM222,128v80a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34h80a6,6,0,0,1,0,12H48a2,2,0,0,0-2,2V208a2,2,0,0,0,2,2H208a2,2,0,0,0,2-2V128a6,6,0,0,1,12,0Z"},null,-1),Ka=[Fa],Ga={key:4},Wa=r("path",{d:"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Z"},null,-1),Qa=[Wa],Ja={key:5},Xa=r("path",{d:"M226.83,61.17l-32-32a4,4,0,0,0-5.66,0l-96,96A4,4,0,0,0,92,128v32a4,4,0,0,0,4,4h32a4,4,0,0,0,2.83-1.17l96-96A4,4,0,0,0,226.83,61.17ZM126.34,156H100V129.66l68-68L194.34,88ZM200,82.34,173.66,56,192,37.66,218.34,64ZM220,128v80a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36h80a4,4,0,0,1,0,8H48a4,4,0,0,0-4,4V208a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V128a4,4,0,0,1,8,0Z"},null,-1),Ya=[Xa],e2={name:"PhNotePencil"},a2=U({...e2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",qa,Da)):o.value==="duotone"?(a(),u("g",Na,ja)):o.value==="fill"?(a(),u("g",Ea,Ta)):o.value==="light"?(a(),u("g",Oa,Ka)):o.value==="regular"?(a(),u("g",Ga,Qa)):o.value==="thin"?(a(),u("g",Ja,Ya)):M("",!0)],16,Ia))}}),l2=["width","height","fill","transform"],t2={key:0},n2=r("path",{d:"M230.15,70.54,185.46,25.86a20,20,0,0,0-28.28,0L33.86,149.17A19.86,19.86,0,0,0,28,163.31V208a20,20,0,0,0,20,20H216a12,12,0,0,0,0-24H125L230.15,98.83A20,20,0,0,0,230.15,70.54ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1),o2=[n2],r2={key:1},u2=r("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),i2=r("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM48,163.31l88-88L180.69,120l-88,88H48Zm144-54.62L147.32,64l24-24L216,84.69Z"},null,-1),s2=[u2,i2],d2={key:2},c2=r("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM192,108.69,147.32,64l24-24L216,84.69Z"},null,-1),p2=[c2],v2={key:3},m2=r("path",{d:"M225.91,74.79,181.22,30.1a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H216a6,6,0,0,0,0-12H110.49L225.91,94.59A14,14,0,0,0,225.91,74.79ZM93.52,210H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.49,183.52,120ZM217.42,86.1,192,111.52,144.49,64,169.9,38.59a2,2,0,0,1,2.83,0l44.69,44.68A2,2,0,0,1,217.42,86.1Z"},null,-1),g2=[m2],f2={key:4},h2=r("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.69,147.32,64l24-24L216,84.69Z"},null,-1),y2=[h2],$2={key:5},V2=r("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.51,154.83A12,12,0,0,0,36,163.31V208a12,12,0,0,0,12,12H216a4,4,0,0,0,0-8H105.66L224.49,93.17A12,12,0,0,0,224.49,76.2ZM94.34,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.82L136,69.66,186.35,120ZM218.83,87.51,192,114.34,141.66,64l26.83-26.83a4,4,0,0,1,5.66,0l44.68,44.69A4,4,0,0,1,218.83,87.51Z"},null,-1),A2=[V2],H2={name:"PhPencilSimpleLine"},b2=U({...H2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",t2,o2)):o.value==="duotone"?(a(),u("g",r2,s2)):o.value==="fill"?(a(),u("g",d2,p2)):o.value==="light"?(a(),u("g",v2,g2)):o.value==="regular"?(a(),u("g",f2,y2)):o.value==="thin"?(a(),u("g",$2,A2)):M("",!0)],16,l2))}}),Z2=["width","height","fill","transform"],k2={key:0},w2=r("path",{d:"M208,112H48a20,20,0,0,0-20,20v24a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V132A20,20,0,0,0,208,112Zm-4,40H52V136H204Zm4-116H48A20,20,0,0,0,28,56V80a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V56A20,20,0,0,0,208,36Zm-4,40H52V60H204ZM160,220a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,160,220Z"},null,-1),L2=[w2],M2={key:1},C2=r("path",{d:"M216,128v24a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V128a8,8,0,0,1,8-8H208A8,8,0,0,1,216,128Zm-8-80H48a8,8,0,0,0-8,8V80a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V56A8,8,0,0,0,208,48Z",opacity:"0.2"},null,-1),_2=r("path",{d:"M208,112H48a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V128A16,16,0,0,0,208,112Zm0,40H48V128H208v24Zm0-112H48A16,16,0,0,0,32,56V80A16,16,0,0,0,48,96H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40Zm0,40H48V56H208V80ZM160,216a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V224H104a8,8,0,0,1,0-16h16V192a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,216Z"},null,-1),S2=[C2,_2],z2={key:2},B2=r("path",{d:"M224,128v24a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128a16,16,0,0,1,16-16H208A16,16,0,0,1,224,128ZM208,40H48A16,16,0,0,0,32,56V80A16,16,0,0,0,48,96H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40ZM152,208H136V192a8,8,0,0,0-16,0v16H104a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V224h16a8,8,0,0,0,0-16Z"},null,-1),I2=[B2],q2={key:3},x2=r("path",{d:"M208,114H48a14,14,0,0,0-14,14v24a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V128A14,14,0,0,0,208,114Zm2,38a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V128a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM208,42H48A14,14,0,0,0,34,56V80A14,14,0,0,0,48,94H208a14,14,0,0,0,14-14V56A14,14,0,0,0,208,42Zm2,38a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM158,216a6,6,0,0,1-6,6H134v18a6,6,0,0,1-12,0V222H104a6,6,0,0,1,0-12h18V192a6,6,0,0,1,12,0v18h18A6,6,0,0,1,158,216Z"},null,-1),D2=[x2],N2={key:4},U2=r("path",{d:"M208,112H48a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V128A16,16,0,0,0,208,112Zm0,40H48V128H208v24Zm0-112H48A16,16,0,0,0,32,56V80A16,16,0,0,0,48,96H208a16,16,0,0,0,16-16V56A16,16,0,0,0,208,40Zm0,40H48V56H208V80ZM160,216a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V224H104a8,8,0,0,1,0-16h16V192a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,216Z"},null,-1),P2=[U2],j2={key:5},E2=r("path",{d:"M208,116H48a12,12,0,0,0-12,12v24a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V128A12,12,0,0,0,208,116Zm4,36a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V128a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4ZM208,44H48A12,12,0,0,0,36,56V80A12,12,0,0,0,48,92H208a12,12,0,0,0,12-12V56A12,12,0,0,0,208,44Zm4,36a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4ZM156,216a4,4,0,0,1-4,4H132v20a4,4,0,0,1-8,0V220H104a4,4,0,0,1,0-8h20V192a4,4,0,0,1,8,0v20h20A4,4,0,0,1,156,216Z"},null,-1),R2=[E2],T2={name:"PhRowsPlusBottom"},L0=U({...T2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",k2,L2)):o.value==="duotone"?(a(),u("g",M2,S2)):o.value==="fill"?(a(),u("g",z2,I2)):o.value==="light"?(a(),u("g",q2,D2)):o.value==="regular"?(a(),u("g",N2,P2)):o.value==="thin"?(a(),u("g",j2,R2)):M("",!0)],16,Z2))}}),O2=["width","height","fill","transform"],F2={key:0},K2=r("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"},null,-1),G2=[K2],W2={key:1},Q2=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),J2=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),X2=[Q2,J2],Y2={key:2},e8=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1),a8=[e8],l8={key:3},t8=r("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"},null,-1),n8=[t8],o8={key:4},r8=r("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1),u8=[r8],i8={key:5},s8=r("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"},null,-1),d8=[s8],c8={name:"PhWarningCircle"},D0=U({...c8,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(b){const n=b,l=A("weight","regular"),y=A("size","1em"),p=A("color","currentColor"),V=A("mirrored",!1),o=g(()=>{var e;return(e=n.weight)!=null?e:l}),d=g(()=>{var e;return(e=n.size)!=null?e:y}),m=g(()=>{var e;return(e=n.color)!=null?e:p}),L=g(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(e,B)=>(a(),u("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:m.value,transform:L.value},e.$attrs),[F(e.$slots,"default"),o.value==="bold"?(a(),u("g",F2,G2)):o.value==="duotone"?(a(),u("g",W2,X2)):o.value==="fill"?(a(),u("g",Y2,a8)):o.value==="light"?(a(),u("g",l8,n8)):o.value==="regular"?(a(),u("g",o8,u8)):o.value==="thin"?(a(),u("g",i8,d8)):M("",!0)],16,O2))}}),p8=U({__name:"AddData",props:{open:{type:Boolean},editableItem:{},table:{},loading:{type:Boolean}},emits:["save","close","update-nullable","record-change"],setup(b,{emit:n}){return(l,y)=>(a(),w(t(Z0),{title:"Data",width:720,open:l.open,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:y[2]||(y[2]=p=>n("close"))},{extra:i(()=>[s(t(b0),null,{default:i(()=>[s(t(O),{onClick:y[0]||(y[0]=p=>n("close"))},{default:i(()=>[E("Cancel")]),_:1}),s(t(O),{type:"primary",loading:l.loading,onClick:y[1]||(y[1]=p=>n("save"))},{default:i(()=>[E("Save")]),_:1},8,["loading"])]),_:1})]),default:i(()=>[s(t(A0),{model:l.editableItem,layout:"vertical"},{default:i(()=>[(a(!0),u(V0,null,C0(l.table.getUnprotectedColumns(),p=>(a(),w(t(j),{key:p.id,label:p.name,required:!p.nullable},{default:i(()=>[l.editableItem?(a(),w(t(Y),{key:0,placeholder:p.type,value:l.editableItem[p.name],disabled:l.editableItem[p.name]===null,"onUpdate:value":V=>n("record-change",p.name,V)},E0({_:2},[p.nullable?{name:"addonAfter",fn:i(()=>[s(t(R0),{checked:l.editableItem[p.name]===null,"onUpdate:checked":V=>n("update-nullable",p.name,V)},{default:i(()=>[E(" NULL ")]),_:2},1032,["checked","onUpdate:checked"])]),key:"0"}:void 0]),1032,["placeholder","value","disabled","onUpdate:value"])):M("",!0)]),_:2},1032,["label","required"]))),128))]),_:1},8,["model"])]),_:1},8,["open"]))}}),N0=(b,n)=>n.includes(b)?{status:"error",help:"There already is a column with this name in the table"}:{status:""},v8=U({__name:"NewColumn",props:{open:{type:Boolean},table:{}},emits:["created","cancel"],setup(b,{emit:n}){const l=b,p=f0().params.projectId,V=g(()=>{var C;return((C=l.table)==null?void 0:C.getColumns().map(h=>h.name))||[]}),o=g(()=>N0(m.value.name,V.value)),d={name:"",type:null,default:"",nullable:!0,unique:!1},m=q(d),L=()=>{m.value={...d}},e=q([{value:"reference",label:"reference",isLeaf:!1},...I0.map(C=>({value:C,label:C,isLeaf:!0}))]),B=C=>{if(!C)return;const h=C[C.length-1];switch(C.length){case 0:return;case 1:h.loading=!0,e0.list(p).then(I=>{h.children=I.map(x=>({value:x.id,label:x.name,isLeaf:!1})),h.loading=!1});return;case 2:h.loading=!0,e0.get(p,h.value).then(I=>{h.children=I.getColumns().map(x=>({type:x.type,value:x.id,label:x.name,isLeaf:!0})),h.loading=!1});return}},f=(C,h)=>{if(!!C){if(C.length===1){m.value.type=C[0],m.value.foreignKey=void 0;return}if(C.length===3){const I=h[h.length-1];m.value.type=I.type,m.value.foreignKey={columnId:I.value}}}},z=C=>{const h=C.selectedOptions;return h?h.length===1?h[0].label:h.length===3?`reference to ${h[1].label}(${h[2].label})`:"":"Select type"},Z=q({...{status:"success",message:"",fakeLoading:!1}}),T=()=>{Z.value.fakeLoading=!0,o0()};m0(()=>m.value.type,()=>{!m.value.type||(m.value.default=a1[m.value.type]||"",T())});const o0=u0.exports.debounce(async()=>{if(!m.value.default){Z.value.status="success",Z.value.message="",Z.value.fakeLoading=!1;return}const C=`select (${m.value.default})::${m.value.type} `;H0.executeQuery(p,C,[]).then(h=>{Z.value.status=h.errors.length>0?"error":"success",Z.value.message=h.errors[0]||"",Z.value.fakeLoading=!1})},500);function R(){n("cancel")}async function a0(){if(!!l.table&&!(!m.value.name||!m.value.type))try{await l.table.addColumn(m.value),L(),n("created")}catch(C){C instanceof Error&&g0("Database error",C.message)}}return(C,h)=>(a(),w(t(Z0),{title:"New column",width:720,open:l.open,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:R},{extra:i(()=>[s(t(b0),null,{default:i(()=>[s(t(O),{onClick:R},{default:i(()=>[E("Cancel")]),_:1}),s(t(O),{type:"primary",onClick:a0},{default:i(()=>[E("Save")]),_:1})]),_:1})]),default:i(()=>[s(t(A0),{model:m.value,layout:"vertical"},{default:i(()=>[s(t(j),{key:"name",label:"Name",required:"","validate-status":o.value.status,help:o.value.help},{default:i(()=>[s(t(Y),{value:m.value.name,"onUpdate:value":h[0]||(h[0]=I=>m.value.name=I)},null,8,["value"])]),_:1},8,["validate-status","help"]),s(t(j),{key:"type",label:"Type",required:""},{default:i(()=>[s(t(x0),{options:e.value,"load-data":B,"display-render":z,"allow-clear":!1,onChange:f},null,8,["options"])]),_:1}),s(t(j),{key:"default-value",label:"Default value","validate-status":Z.value.status,help:Z.value.message},{default:i(()=>[s(t(Y),{value:m.value.default,"onUpdate:value":h[1]||(h[1]=I=>m.value.default=I),placeholder:"NULL",onInput:T},{suffix:i(()=>[Z.value.fakeLoading?(a(),w(t(_0),{key:0})):M("",!0),!Z.value.fakeLoading&&Z.value.status==="success"?(a(),w(t(q0),{key:1,size:"18"})):M("",!0),!Z.value.fakeLoading&&Z.value.status==="error"?(a(),w(t(D0),{key:2,size:"18"})):M("",!0)]),_:1},8,["value"])]),_:1},8,["validate-status","help"]),s(t(j),{key:"nullable",label:"Nullable"},{default:i(()=>[s(t(i0),{checked:m.value.nullable,"onUpdate:checked":h[2]||(h[2]=I=>m.value.nullable=I)},null,8,["checked"])]),_:1}),s(t(j),{key:"unique",label:"Unique"},{default:i(()=>[s(t(i0),{checked:m.value.unique,"onUpdate:checked":h[3]||(h[3]=I=>m.value.unique=I)},null,8,["checked"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open"]))}}),m8={class:"icon"},g8=U({__name:"OrderByIcon",props:{column:{},orderBy:{}},emits:["reorder"],setup(b,{emit:n}){return(l,y)=>{var p,V,o;return a(),u("div",m8,[((p=l.orderBy)==null?void 0:p.column)!==String(l.column.title)?(a(),w(t(Y1),{key:0,size:"16",onClick:y[0]||(y[0]=d=>n("reorder",String(l.column.title)))})):M("",!0),((V=l.orderBy)==null?void 0:V.column)===String(l.column.title)&&l.orderBy.direction==="asc"?(a(),w(t(S1),{key:1,size:"16",onClick:y[1]||(y[1]=d=>n("reorder",String(l.column.title)))})):M("",!0),((o=l.orderBy)==null?void 0:o.column)===String(l.column.title)&&l.orderBy.direction==="desc"?(a(),w(t(t1),{key:2,size:"16",onClick:y[2]||(y[2]=d=>n("reorder",String(l.column.title)))})):M("",!0)])}}});const M0=S0(g8,[["__scopeId","data-v-6ae5cef6"]]),f8={class:"twin-container"},h8={class:"fullwidth-input"},y8={class:"fullwidth-input"},$8={class:"using-container"},V8={class:"fullwidth-input"},A8=U({__name:"UpdateColumn",props:{open:{type:Boolean},table:{},column:{}},emits:["updated","cancel"],setup(b,{emit:n}){const l=b,p=f0().params.projectId,V=q(l.column.type);T0(async()=>{if(!l.column.foreignKey)return;V.value="loading...";const c=await e0.fromColumnId(p,l.column.foreignKey.columnId),v=c.getColumn(l.column.foreignKey.columnId);V.value=`reference to ${c.name}(${v.name})`});const o=g(()=>{var c;return((c=l.table)==null?void 0:c.getColumns().map(v=>v.record.initialState.name))||[]}),d=g(()=>l.column.name===l.column.record.initialState.name?{status:"",help:""}:N0(l.column.name,o.value)),{result:m,loading:L}=$0(async()=>l.table.select({},10,0).then(({total:c})=>c));function e(){l.column.record.resetChanges(),n("cancel")}const f=q({status:"success",message:"",fakeLoading:!1}),z=()=>{f.value.fakeLoading=!0,W()},W=u0.exports.debounce(async()=>{if(!l.column.default){f.value.status="success",f.value.message="",f.value.fakeLoading=!1;return}const c=`select (${l.column.default})::${l.column.type} `,v=await H0.executeQuery(p,c,[]);f.value.status=v.errors.length>0?"error":"success",f.value.message=v.errors[0]||"",f.value.fakeLoading=!1},500),Z=q([{value:"reference",label:"reference",isLeaf:!1},...I0.filter(c=>c!==l.column.type).map(c=>({value:c,label:c,isLeaf:!0}))]),T=c=>{if(!c)return;const v=c[c.length-1];switch(c.length){case 0:return;case 1:v.loading=!0,e0.list(p).then(_=>{v.children=_.map(J=>({value:J.id,label:J.name,isLeaf:!1})),v.loading=!1});return;case 2:v.loading=!0,e0.get(p,v.value).then(_=>{v.children=_.getColumns().map(J=>({type:J.type,value:J.id,label:J.name,isLeaf:!0})),v.loading=!1});return}},s0=c=>{const v=c.selectedOptions;return v?v.length===1?v[0].label:v.length===3?`reference to ${v[1].label}(${v[2].label})`:"":"Select type"},o0=(c,v)=>{if(!!c){if(c.length===1){l.column.type=c[0],l.column.foreignKey=null;return}if(c.length===3){if(l.column.foreignKey&&l.column.foreignKey.columnId===c[2])return;const _=v[v.length-1];l.column.type=_.type,l.column.foreignKey={columnId:_.value}}}};async function R(c){await n1("Are you sure you want to delete this column and all its data?")&&await a0(c)}async function a0(c){var v,_;await((_=(v=l.table)==null?void 0:v.getColumn(c))==null?void 0:_.delete()),n("updated")}const C=()=>m.value===0||L.value?!1:l.column.record.hasChangesDeep("type"),h=q({type:"default"}),I=()=>{l.column.type=l.column.record.initialState.type,h.value={type:"default"}};function x(c,v){return v==="varchar"||c==="int"&&v==="boolean"||c==="boolean"&&v==="int"}m0(()=>l.column.type,()=>{z(),d0.value||(h.value={type:"user-defined",using:l0.value,mandatory:!0})});const d0=g(()=>h.value.type==="default"&&x(l.column.record.initialState.type,l.column.type)),c0=g(()=>!x(l.column.record.initialState.type,l.column.type));function p0(c){c?h.value={type:"default"}:h.value={type:"user-defined",using:l0.value,mandatory:!1}}function h0(c){if(h.value.type==="default")throw new Error("Can't change using when using default casting");h.value.using=c!=null?c:""}const Q=()=>c0.value?!0:C()&&h.value.type==="user-defined",l0=g(()=>`${l.column.record.initialState.name}::${l.column.type}`);async function y0(){if(!l.column)return;let c=h.value.type==="default"?l0.value:h.value.using;m.value===0&&(c=`${l.column.record.initialState.name}::text::${l.column.type}`);try{await l.column.update(c),n("updated")}catch(v){v instanceof Error&&g0("Database error",v.message)}}return(c,v)=>(a(),w(t(Z0),{title:"Edit column",width:720,open:c.open,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:e},{extra:i(()=>[s(t(b0),null,{default:i(()=>[s(t(O),{onClick:e},{default:i(()=>[E("Cancel")]),_:1}),s(t(O),{type:"primary",onClick:y0},{default:i(()=>[E("Save")]),_:1})]),_:1})]),footer:i(()=>[s(t0,{danger:"",onClick:v[7]||(v[7]=_=>R(String(c.column.id)))},{default:i(()=>[E("Delete")]),_:1})]),default:i(()=>[s(t(A0),{model:c.column,layout:"vertical"},{default:i(()=>[s(t(j),{key:"name",label:"Name","validate-status":d.value.status,help:d.value.help},{default:i(()=>[s(t(Y),{value:c.column.name,"onUpdate:value":v[0]||(v[0]=_=>c.column.name=_)},null,8,["value"])]),_:1},8,["validate-status","help"]),r("div",f8,[r("span",h8,[s(t(j),{key:"type",label:"Current Type"},{default:i(()=>[s(t(O0),{value:V.value,"onUpdate:value":v[1]||(v[1]=_=>V.value=_),"default-active-first-option":"",disabled:""},null,8,["value"])]),_:1})]),s(t(o1),{class:"right-arrow"}),r("span",y8,[s(t(j),{key:"new-type",label:"New Type"},{default:i(()=>[s(t(x0),{options:Z.value,"load-data":T,"display-render":s0,"allow-clear":!0,onClear:I,onChange:o0},null,8,["options"])]),_:1})])]),s(t(j),{key:"default-value",label:"Default value","validate-status":f.value.status,help:f.value.message},{default:i(()=>[s(t(Y),{value:c.column.default,"onUpdate:value":v[2]||(v[2]=_=>c.column.default=_),placeholder:"NULL",onInput:z},{suffix:i(()=>[f.value.fakeLoading?(a(),w(t(_0),{key:0,size:"small"})):M("",!0),!f.value.fakeLoading&&f.value.status==="success"?(a(),w(t(q0),{key:1,size:18})):M("",!0),!f.value.fakeLoading&&f.value.status==="error"?(a(),w(t(D0),{key:2,size:18})):M("",!0)]),_:1},8,["value"])]),_:1},8,["validate-status","help"]),r("div",$8,[C()?(a(),w(t(j),{key:"default-casting",label:"Use default casting"},{default:i(()=>[s(t(i0),{checked:d0.value,disabled:c0.value,"onUpdate:checked":v[3]||(v[3]=_=>p0(!!_))},null,8,["checked","disabled"])]),_:1})):M("",!0),r("span",V8,[C()?(a(),w(t(j),{key:"using",label:"Using"},{default:i(()=>[s(t(Y),{value:h.value.type==="user-defined"?h.value.using:l0.value,disabled:!Q(),onInput:v[4]||(v[4]=_=>h0(_.target.value))},null,8,["value","disabled"])]),_:1})):M("",!0)])]),s(t(G),null,{default:i(()=>[s(t(j),{key:"nullable",label:"Nullable"},{default:i(()=>[s(t(i0),{checked:c.column.nullable,"onUpdate:checked":v[5]||(v[5]=_=>c.column.nullable=_)},null,8,["checked"])]),_:1}),s(t(j),{key:"unique",label:"Unique"},{default:i(()=>[s(t(i0),{checked:c.column.unique,"onUpdate:checked":v[6]||(v[6]=_=>c.column.unique=_)},null,8,["checked"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["open"]))}});const H8=S0(A8,[["__scopeId","data-v-5f7e2cd2"]]),b8={style:{overflow:"hidden","white-space":"wrap"}},Z8={key:1},k8={key:0,class:"table-row null"},w8={class:"button-container"},L8={class:"button-container"},M8={class:"button-container"},C8={class:"button-container"},_8=U({__name:"TableData",props:{table:{},loading:{type:Boolean}},emits:["refresh"],setup(b,{emit:n}){var w0;const l=b,y=q(1),p=q(10),V=g(()=>{var $,H;return{total:(H=($=h.value)==null?void 0:$.total)!=null?H:0,current:y.value,pageSize:p.value,totalBoundaryShowSizeChanger:10,showSizeChanger:!0,pageSizeOptions:["10","25","50","100"],onChange:async(D,k)=>{y.value=D,p.value=k,await x()}}}),o=q([]),d=f0(),m=z0(),L=q(typeof d.query.q=="string"?d.query.q:""),e=g(()=>{try{return JSON.parse(d.query.where)}catch{return{}}});m0(L,()=>{m.replace({query:{...d.query,where:JSON.stringify(d.query.value),q:L.value}})});const B=q(!1),f=q({type:"idle"}),z=()=>{B.value=!0,W()},W=u0.exports.debounce(()=>{x(),B.value=!1},500);function Z(){f.value={type:"idle"}}async function T(){Z(),n("refresh")}m0(()=>l.table,()=>{l0(),x()});function s0(){f.value={type:"creating"}}const o0=$=>{if(!l.table)throw new Error("Table not found");f.value={type:"editing",column:l.table.getColumn($)}},R=q(null),a0=$=>{var H;((H=R.value)==null?void 0:H.column)===$?R.value={column:$,direction:R.value.direction==="asc"?"desc":"asc"}:R.value={column:$,direction:"asc"},x()},C=g(()=>{var $;return(($=h.value)==null?void 0:$.rows.length)===1}),{result:h,loading:I,refetch:x}=$0(async()=>{const[{rows:$,total:H},D]=await Promise.all([l.table.select(e.value,(y.value-1)*p.value,p.value,L.value,R.value||void 0),Promise.all(l.table.getColumns().filter(k=>k.foreignKey).map(k=>e0.fromColumnId(d.params.projectId,k.foreignKey.columnId).then(P=>[k.name,P])))]);return{rows:$,total:H,columns:D.reduce((k,[P,N])=>({...k,[P]:N}),{})}}),k0=($,H)=>{var N,X;const D=(N=l.table)==null?void 0:N.getColumns().find(S=>S.name===$);if(!D)return"";const k=(X=h.value)==null?void 0:X.columns[D.name],P=k==null?void 0:k.getColumns().find(S=>{var v0;return S.id===((v0=D.foreignKey)==null?void 0:v0.columnId)});return!k||!P?"":{name:"tableEditor",params:{projectId:d.params.projectId,tableId:k.id},query:{where:JSON.stringify({[P.name]:H})}}},d0=($,H)=>{f.value.type==="adding"&&(f.value.editableItem[$]=H)},c0=($,H)=>{f.value.type==="adding"&&(f.value.editableItem[$]=H?null:"")},p0=()=>[...l.table.getColumns().map($=>{var H;return{key:(H=$.id)!=null?H:"",title:$.name,dataIndex:$.name,width:220,resizable:!0,ellipsis:!1}}),{key:"action",title:"",fixed:"right",width:100,align:"center",resizable:!1,ellipsis:!1}],h0=p0(),Q=q(h0),l0=()=>Q.value=p0();function y0($,H){Q.value=Q.value.map(D=>D.key===H.key?{...D,width:$}:D)}const c=g(()=>{var $;return(($=h.value)==null?void 0:$.rows.map(H=>({key:H.id,...H})))||[]});let v=F0((w0=l.table)==null?void 0:w0.getUnprotectedColumns().reduce(($,H)=>({...$,[H.name]:""}),{}));const _=q(!1);async function J(){if(!(!l.table||!v||f.value.type!=="adding")){_.value=!0;try{f.value.editableItem.id&&(typeof f.value.editableItem.id=="string"||typeof f.value.editableItem.id=="number")?await l.table.updateRow(f.value.editableItem.id.toString(),f.value.editableItem):await l.table.insertRow(f.value.editableItem),x(),Z()}catch($){$ instanceof Error&&g0("Database error",$.message)}finally{_.value=!1}}}const U0=async $=>{if(!(!h.value||!h.value.rows.find(H=>H.id===$)))try{await l.table.deleteRow($),C.value&&(y.value=Math.max(1,y.value-1)),x()}catch(H){H instanceof Error&&g0("Database error",H.message)}},P0=$=>{var X;const H=(X=c.value)==null?void 0:X.filter(S=>$===S.key)[0],D=l.table.getColumns(),k=D.map(S=>S.name),P=D.filter(S=>S.type==="json").map(S=>S.name),N=u0.exports.pick(u0.exports.cloneDeep(H),k);P.forEach(S=>{N[S]&&(N[S]=JSON.stringify(N[S]))}),f.value={type:"adding",editableItem:N}};return($,H)=>{const D=B0("RouterLink");return a(),w(l1,{"full-width":""},{default:i(()=>[s(t(G),{justify:"space-between",style:{"margin-bottom":"16px"},gap:"middle"},{default:i(()=>[s(t(Y),{value:L.value,"onUpdate:value":[H[0]||(H[0]=k=>L.value=k),z],placeholder:"Search",style:{width:"400px"},"allow-clear":""},{prefix:i(()=>[s(t(K0))]),suffix:i(()=>[B.value?(a(),w(t(r1),{key:0})):M("",!0)]),_:1},8,["value"]),s(t(G),{justify:"flex-end",gap:"middle"},{default:i(()=>[s(t0,{type:"primary",onClick:s0},{default:i(()=>[s(t(Ae)),E("Create column ")]),_:1}),Q.value.length===3?(a(),w(t(r0),{key:0,title:"Create your first column before adding data"},{default:i(()=>[s(t0,{disabled:!0,onClick:H[1]||(H[1]=k=>f.value={type:"adding",editableItem:{}})},{default:i(()=>[s(t(L0)),E("Add data ")]),_:1})]),_:1})):(a(),w(t0,{key:1,onClick:H[2]||(H[2]=k=>f.value={type:"adding",editableItem:{}})},{default:i(()=>[s(t(L0)),E("Add data ")]),_:1}))]),_:1})]),_:1}),s(t(J0),{columns:Q.value,"data-source":c.value,pagination:V.value,bordered:"",loading:t(I)||$.loading,scroll:{x:1e3,y:720},size:"small",onResizeColumn:y0},{headerCell:i(({column:k})=>[k.title!=="id"&&k.title!=="created_at"&&k.key!=="action"?(a(),w(t(G),{key:0,align:"center",justify:"space-between",gap:"small"},{default:i(()=>[s(t(G),{style:{overflow:"hidden","white-space":"wrap"},align:"center",gap:"small"},{default:i(()=>[r("span",b8,n0(k.title),1),s(t(G),null,{default:i(()=>[s(M0,{column:k,"order-by":R.value,onReorder:a0},null,8,["column","order-by"])]),_:2},1024)]),_:2},1024),s(t0,{type:"text",onClick:P=>o0(String(k.key))},{default:i(()=>[s(t(Ba),{size:"18"})]),_:2},1032,["onClick"])]),_:2},1024)):(a(),u("span",Z8,[s(t(G),{align:"center",gap:"small"},{default:i(()=>[E(n0(k.title)+" ",1),k.key!=="action"?(a(),w(M0,{key:0,column:k,"order-by":R.value,onReorder:a0},null,8,["column","order-by"])):M("",!0)]),_:2},1024)]))]),bodyCell:i(({column:k,text:P,record:N})=>{var X;return[Q.value.map(S=>S.title).includes(k.dataIndex)?(a(),u(V0,{key:0},[P===null?(a(),u("div",k8,"NULL")):(X=$.table.getColumns().find(S=>S.name===k.dataIndex))!=null&&X.foreignKey?(a(),w(D,{key:1,to:k0(k.dataIndex,P),target:"_blank"},{default:i(()=>[E(n0(P),1)]),_:2},1032,["to"])):(a(),u("div",{key:2,class:G0(["table-row",{expanded:o.value.includes(N.id)}])},n0(P),3))],64)):M("",!0),k.key==="action"?(a(),w(t(G),{key:1,gap:"small",justify:"center"},{default:i(()=>[o.value.includes(N.id)?(a(),w(t(O),{key:0,class:"icons",onClick:S=>o.value=o.value.filter(v0=>v0!==N.id)},{icon:i(()=>[s(t(r0),{title:"Collapse"},{default:i(()=>[r("div",w8,[s(t(Re),{size:15})])]),_:1})]),_:2},1032,["onClick"])):(a(),w(t(O),{key:1,onClick:S=>o.value.push(N.id)},{icon:i(()=>[s(t(r0),{title:"Expand"},{default:i(()=>[r("div",L8,[s(t(ca),{size:15})])]),_:1})]),_:2},1032,["onClick"])),s(t(O),{onClick:S=>P0(N.id)},{icon:i(()=>[s(t(r0),{title:"Edit"},{default:i(()=>[r("div",M8,[s(t(b2),{size:15})])]),_:1})]),_:2},1032,["onClick"]),s(t(W0),{title:"Sure to delete?",onConfirm:S=>U0(N.id)},{default:i(()=>[s(t(O),null,{icon:i(()=>[s(t(r0),{title:"Delete"},{default:i(()=>[r("div",C8,[s(t(Q0),{size:15})])]),_:1})]),_:1})]),_:2},1032,["onConfirm"])]),_:2},1024)):M("",!0)]}),_:1},8,["columns","data-source","pagination","loading"]),f.value.type==="adding"?(a(),w(p8,{key:0,open:f.value.type==="adding",table:l.table,"editable-item":f.value.editableItem,loading:_.value,onUpdateNullable:c0,onRecordChange:d0,onClose:Z,onCancel:Z,onSave:J},null,8,["open","table","editable-item","loading"])):M("",!0),f.value.type==="creating"?(a(),w(v8,{key:1,open:f.value.type==="creating",table:l.table,onClose:Z,onCancel:Z,onCreated:T},null,8,["open","table"])):M("",!0),f.value.type==="editing"?(a(),w(H8,{key:2,open:f.value.type==="editing",column:f.value.column,table:$.table,onUpdated:T,onClose:Z,onCancel:Z},null,8,["open","column","table"])):M("",!0)]),_:1})}}});const S8={style:{"font-size":"16px"}},ll=U({__name:"TableEditor",setup(b){const n=z0(),l=f0(),y=l.params.tableId,p=l.params.projectId,V=q(!1),o=()=>{var f;V.value=!1,(f=d.value)==null||f.table.save(),L()},{result:d,loading:m,refetch:L}=$0(()=>Promise.all([H0.get(p).then(async f=>{const z=await e1.get(f.organizationId);return{project:f,organization:z}}),e0.get(p,y)]).then(([{project:f,organization:z},W])=>X0({project:f,organization:z,table:W}))),e=g(()=>!m.value&&d.value?[{label:"My organizations",path:"/organizations"},{label:d.value.organization.name,path:`/organizations/${d.value.organization.id}`},{label:d.value.project.name,path:`/projects/${d.value.project.id}/tables`}]:void 0);function B(){n.push({name:"tables",params:{projectId:p}})}return(f,z)=>{const W=B0("RouterLink");return a(),w(j0,null,{navbar:i(()=>[s(t(s1),{style:{padding:"5px 25px"},onBack:B},{title:i(()=>[s(t(G),{align:"center",gap:"small"},{default:i(()=>{var Z;return[r("span",S8,n0((Z=t(d))==null?void 0:Z.table.name),1),s(t0,{type:"text",onClick:z[0]||(z[0]=T=>V.value=!0)},{default:i(()=>[s(t(a2),{size:"16"})]),_:1})]}),_:1}),s(t(Y0),{title:"Change table name",open:V.value,onCancel:z[2]||(z[2]=Z=>V.value=!1),onOk:o},{default:i(()=>[t(d)?(a(),w(t(Y),{key:0,value:t(d).table.name,"onUpdate:value":z[1]||(z[1]=Z=>t(d).table.name=Z)},null,8,["value"])):M("",!0)]),_:1},8,["open"])]),subTitle:i(()=>[e.value?(a(),w(t(u1),{key:0,style:{margin:"0px 20px"}},{default:i(()=>[(a(!0),u(V0,null,C0(e.value,(Z,T)=>(a(),w(t(i1),{key:T},{default:i(()=>[s(W,{to:Z.path},{default:i(()=>[E(n0(Z.label),1)]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1})):M("",!0)]),_:1})]),content:i(()=>[t(d)?(a(),w(_8,{key:0,loading:t(m),table:t(d).table,onRefresh:z[3]||(z[3]=Z=>t(L)())},null,8,["loading","table"])):M("",!0)]),_:1})}}});export{ll as default}; +//# sourceMappingURL=TableEditor.b7e85598.js.map diff --git a/abstra_statics/dist/assets/Tables.30db1e07.js b/abstra_statics/dist/assets/Tables.30db1e07.js new file mode 100644 index 0000000000..907a877743 --- /dev/null +++ b/abstra_statics/dist/assets/Tables.30db1e07.js @@ -0,0 +1,2 @@ +import{C as T}from"./CrudView.0b1b90a7.js";import{a as _}from"./asyncComputed.3916dfed.js";import{n as i}from"./string.d698465c.js";import{G as k}from"./PhPencil.vue.91f72c2e.js";import{d as w,eo as h,ea as I,f as x,o as N,c as D,w as l,u as c,b as E,aF as S,bP as v,ep as A}from"./vue-router.324eaed2.js";import"./gateway.edd4374b.js";import{T as m}from"./tables.842b993f.js";import{a as B}from"./ant-design.48401d91.js";import"./router.0c18ec5d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./Badge.9808092c.js";import"./index.7d758831.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="ca0937a0-e55e-43af-99ac-9bfc2616c75a",o._sentryDebugIdIdentifier="sentry-dbid-ca0937a0-e55e-43af-99ac-9bfc2616c75a")}catch{}})();const Y=w({__name:"Tables",setup(o){const t=h(),a=I().params.projectId,{loading:p,result:u,refetch:f}=_(()=>m.list(a)),b=async e=>{const r=await m.create(a,e.name);t.push({name:"tableEditor",params:{tableId:r.id,projectId:a}})},y=()=>{t.push({name:"sql",params:{projectId:a}})},g=x(()=>{var e,r;return{columns:[{name:"Table Name"},{name:"",align:"right"}],rows:(r=(e=u.value)==null?void 0:e.map(n=>({key:n.id,cells:[{type:"link",text:n.name,to:{name:"tableEditor",params:{tableId:n.id,projectId:a}}},{type:"actions",actions:[{icon:k,label:"Edit Table",onClick({key:s}){t.push({name:"tableEditor",params:{tableId:s,projectId:a}})}},{icon:A,label:"Delete",dangerous:!0,async onClick(){!await B("Are you sure you want to delete this table and all its data?")||(await n.delete(a,n.id),f())}}]}]})))!=null?r:[]}}),C=[{key:"name",label:"Table name",type:"text",format:e=>i(e,!0),blur:e=>i(e,!1)}];return(e,r)=>(N(),D(T,{"entity-name":"table",loading:c(p),"docs-path":"cloud/tables",title:"Tables",description:"Create and manage your database tables here.","empty-title":"No tables here yet",table:g.value,fields:C,"create-button-text":"Create Table",create:b},{more:l(()=>[E(c(v),{onClick:y},{default:l(()=>[S("Run SQL")]),_:1})]),_:1},8,["loading","table"]))}});export{Y as default}; +//# sourceMappingURL=Tables.30db1e07.js.map diff --git a/abstra_statics/dist/assets/Tables.b3156a21.js b/abstra_statics/dist/assets/Tables.b3156a21.js deleted file mode 100644 index a445770cfc..0000000000 --- a/abstra_statics/dist/assets/Tables.b3156a21.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as T}from"./CrudView.3c2a3663.js";import{a as _}from"./asyncComputed.c677c545.js";import{n as i}from"./string.44188c83.js";import{G as k}from"./PhPencil.vue.2def7849.js";import{d as w,eo as h,ea as I,f as x,o as N,c as D,w as l,u as m,b as E,aF as S,bP as v,ep as A}from"./vue-router.33f35a18.js";import"./gateway.a5388860.js";import{T as c}from"./tables.8d6766f6.js";import{a as B}from"./ant-design.51753590.js";import"./router.cbdfe37b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./Badge.71fee936.js";import"./index.241ee38a.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="8a0ef93a-2c40-4c7d-b08b-23a0ec161a56",o._sentryDebugIdIdentifier="sentry-dbid-8a0ef93a-2c40-4c7d-b08b-23a0ec161a56")}catch{}})();const Y=w({__name:"Tables",setup(o){const t=h(),a=I().params.projectId,{loading:p,result:u,refetch:b}=_(()=>c.list(a)),f=async e=>{const r=await c.create(a,e.name);t.push({name:"tableEditor",params:{tableId:r.id,projectId:a}})},y=()=>{t.push({name:"sql",params:{projectId:a}})},g=x(()=>{var e,r;return{columns:[{name:"Table Name"},{name:"",align:"right"}],rows:(r=(e=u.value)==null?void 0:e.map(n=>({key:n.id,cells:[{type:"link",text:n.name,to:{name:"tableEditor",params:{tableId:n.id,projectId:a}}},{type:"actions",actions:[{icon:k,label:"Edit Table",onClick({key:s}){t.push({name:"tableEditor",params:{tableId:s,projectId:a}})}},{icon:A,label:"Delete",dangerous:!0,async onClick(){!await B("Are you sure you want to delete this table and all its data?")||(await n.delete(a,n.id),b())}}]}]})))!=null?r:[]}}),C=[{key:"name",label:"Table name",type:"text",format:e=>i(e,!0),blur:e=>i(e,!1)}];return(e,r)=>(N(),D(T,{"entity-name":"table",loading:m(p),"docs-path":"cloud/tables",title:"Tables",description:"Create and manage your database tables here.","empty-title":"No tables here yet",table:g.value,fields:C,"create-button-text":"Create Table",create:f},{more:l(()=>[E(m(v),{onClick:y},{default:l(()=>[S("Run SQL")]),_:1})]),_:1},8,["loading","table"]))}});export{Y as default}; -//# sourceMappingURL=Tables.b3156a21.js.map diff --git a/abstra_statics/dist/assets/ThreadSelector.2b29a84a.js b/abstra_statics/dist/assets/ThreadSelector.d62fadec.js similarity index 87% rename from abstra_statics/dist/assets/ThreadSelector.2b29a84a.js rename to abstra_statics/dist/assets/ThreadSelector.d62fadec.js index 7033e16fb3..894bda5b2d 100644 --- a/abstra_statics/dist/assets/ThreadSelector.2b29a84a.js +++ b/abstra_statics/dist/assets/ThreadSelector.d62fadec.js @@ -1,2 +1,2 @@ -import{d as N,B as H,f as m,o as h,X as v,Z as B,R as $,e8 as O,a as g,e as E,W as F,ej as C,g as R,D as J,b as c,w as p,u as l,cv as W,aA as z,cu as U,aF as D,c as q,dd as I,bP as k,e9 as G,aR as X,em as K,en as Q,$ as Y}from"./vue-router.33f35a18.js";import"./editor.c70395a0.js";import{W as j}from"./workspaces.91ed8c72.js";import{v as aa}from"./string.44188c83.js";import{e as ea}from"./toggleHighContrast.aa328f74.js";import{f as P}from"./index.46373660.js";import{A as ta}from"./index.2fc2bb22.js";import{A as na}from"./index.f014adef.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="42633466-e024-42dc-9a9f-51dda4c335b0",s._sentryDebugIdIdentifier="sentry-dbid-42633466-e024-42dc-9a9f-51dda4c335b0")}catch{}})();const oa=["width","height","fill","transform"],sa={key:0},ia=g("path",{d:"M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z"},null,-1),ra=[ia],da={key:1},la=g("path",{d:"M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z",opacity:"0.2"},null,-1),ua=g("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"},null,-1),ca=[la,ua],ha={key:2},ga=g("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z"},null,-1),fa=[ga],pa={key:3},va=g("path",{d:"M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z"},null,-1),ma=[va],wa={key:4},Sa=g("path",{d:"M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"},null,-1),Va=[Sa],ya={key:5},xa=g("path",{d:"M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z"},null,-1),ba=[xa],Za={name:"PhMagicWand"},Ma=N({...Za,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(s){const e=s,t=H("weight","regular"),u=H("size","1em"),V=H("color","currentColor"),_=H("mirrored",!1),r=m(()=>{var i;return(i=e.weight)!=null?i:t}),b=m(()=>{var i;return(i=e.size)!=null?i:u}),Z=m(()=>{var i;return(i=e.color)!=null?i:V}),L=m(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:_?"scale(-1, 1)":void 0);return(i,A)=>(h(),v("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:b.value,height:b.value,fill:Z.value,transform:L.value},i.$attrs),[B(i.$slots,"default"),r.value==="bold"?(h(),v("g",sa,ra)):r.value==="duotone"?(h(),v("g",da,ca)):r.value==="fill"?(h(),v("g",ha,fa)):r.value==="light"?(h(),v("g",pa,ma)):r.value==="regular"?(h(),v("g",wa,Va)):r.value==="thin"?(h(),v("g",ya,ba)):$("",!0)],16,oa))}});class Ha{async list(e){const t=new URLSearchParams({stage:e});return await(await fetch(`/_editor/api/stage_runs?${t}`)).json()}async listPast(e){const t=new URLSearchParams({stage:e});return await(await fetch(`/_editor/api/stage_runs/past?${t}`)).json()}}const T=new Ha;class x{constructor(e){this.dto=e}static async list(e){return(await T.list(e)).map(u=>new x(u))}static async listPast(e){return(await T.listPast(e)).map(u=>new x(u))}get id(){return this.dto.id}get data(){return this.dto.data}get assignee(){return this.dto.assignee}get stage(){return this.dto.stage}get status(){return this.dto.status}get createdAt(){return new Date(this.dto.createdAt)}}const _a=s=>(K("data-v-061ac7eb"),s=s(),Q(),s),La=_a(()=>g("span",null," Fix with AI ",-1)),Aa=N({__name:"ThreadSelector",props:{stage:{},executionConfig:{}},emits:["fix-invalid-json","update:execution-config","update:show-thread-modal"],setup(s,{emit:e}){const t=s,u=m(()=>t.executionConfig.attached?"Select a thread to continue the workflow":"Choose a thread to copy the data from"),V=m(()=>t.executionConfig.attached?"Select thread":"Use this thread data"),_=m(()=>t.executionConfig.attached?!t.executionConfig.stageRunId:!1),r=m(()=>{if(!a.threadData)return{valid:!0,parsed:{}};const n=aa(a.threadData);return n.valid&&!C.exports.isObject(n.parsed)?{valid:!1,message:"Thread data must be an object."}:n});function b(){r.value.valid||e("fix-invalid-json",a.threadData,r.value.message)}const Z=E(null),L=n=>{const d=a.waitingStageRuns.find(S=>S.id===n),w=a.pastStageRuns.find(S=>S.id===n),y=d!=null?d:w;if(!y)throw new Error("Stage run not found");const o=JSON.stringify(y.data,null,2);f.setValue(o),a.threadData=o,a.selectedStageRunId=n,e("update:execution-config",{...t.executionConfig,stageRunId:n})},i=()=>{e("update:execution-config",{...t.executionConfig,stageRunId:null})},A=()=>{e("update:show-thread-modal",!1),j.writeTestData(a.threadData)};let f;F(async()=>{var y;a.threadData=await j.readTestData(),a.selectedStageRunId=(y=t.executionConfig.stageRunId)!=null?y:void 0;const n=await x.list(t.stage.id),d=await x.listPast(t.stage.id);a.waitingStageRuns=n.filter(o=>o.status==="waiting"),a.pastStageRuns=[...d,...n.filter(o=>o.status!=="waiting")],a.options=[],a.waitingStageRuns.length>0&&a.options.push({label:"Waiting threads",options:a.waitingStageRuns.map(o=>({value:o.id,label:`Started ${P(o.createdAt,{addSuffix:!0})} (${o.status})`}))}),a.pastStageRuns.length>0&&a.options.push({label:"Past threads",options:a.pastStageRuns.map(o=>({value:o.id,label:`Started ${P(o.createdAt,{addSuffix:!0})} (${o.status})`}))}),f=ea.create(Z.value,{language:"json",value:a.threadData,fontFamily:"monospace",lineNumbers:"off",minimap:{enabled:!1},scrollbar:{vertical:"hidden",horizontal:"visible"},readOnly:t.executionConfig.attached});const w=f.getContribution("editor.contrib.messageController");f.onDidAttemptReadOnlyEdit(()=>{w.showMessage("Can't edit thread data with workflow on",f.getPosition())}),f.onDidChangeModelContent(()=>{const o=f.getValue();if(a.threadData=o,t.executionConfig.attached&&a.selectedStageRunId){const S=[...a.waitingStageRuns,...a.pastStageRuns].find(M=>M.id===a.selectedStageRunId);if(!S){e("update:execution-config",{...t.executionConfig});return}try{const M=JSON.parse(o);C.exports.isEqual(S.data,M)?e("update:execution-config",{...t.executionConfig}):e("update:execution-config",{...t.executionConfig})}catch{e("update:execution-config",{...t.executionConfig})}}})}),R(()=>t.executionConfig.stageRunId,n=>{n?a.selectedStageRunId=n:a.selectedStageRunId=void 0}),R(()=>t.executionConfig.attached,n=>{f.updateOptions({readOnly:n})});const a=J({waitingStageRuns:[],pastStageRuns:[],options:[],loading:!1,threadData:"{}",selectedStageRunId:void 0});return(n,d)=>(h(),v(X,null,[c(l(U),{layout:"vertical"},{default:p(()=>[c(l(W),{label:u.value},{default:p(()=>[c(l(z),{placeholder:"No thread selected","filter-option":"",style:{width:"100%"},"allow-clear":!0,options:a.options,value:a.selectedStageRunId,"not-found-content":"There are no threads",onSelect:d[0]||(d[0]=w=>L(w)),onClear:d[1]||(d[1]=w=>i())},null,8,["options","value"])]),_:1},8,["label"])]),_:1}),c(l(ta),{orientation:"left"},{default:p(()=>[D("Data")]),_:1}),g("div",{ref_key:"dataJson",ref:Z,class:"data-container"},null,512),r.value.valid===!1?(h(),q(l(na),{key:0,type:"error",message:"Invalid JSON",description:r.value.message},{action:p(()=>[c(l(k),{onClick:b},{default:p(()=>[c(l(I),{align:"center",gap:"small"},{default:p(()=>[c(l(Ma)),La]),_:1})]),_:1})]),_:1},8,["description"])):$("",!0),c(l(I),{justify:"end",gap:"middle",style:{"margin-top":"12px"}},{default:p(()=>[c(l(k),{type:"primary",disabled:_.value,onClick:A},{default:p(()=>[D(G(V.value),1)]),_:1},8,["disabled"])]),_:1})],64))}});const Na=Y(Aa,[["__scopeId","data-v-061ac7eb"]]);export{Na as T}; -//# sourceMappingURL=ThreadSelector.2b29a84a.js.map +import{d as N,B as H,f as m,o as h,X as v,Z as B,R as $,e8 as O,a as g,e as E,W as F,ej as C,g as R,D as J,b as c,w as p,u as l,cv as W,aA as z,cu as U,aF as D,c as q,dd as I,bP as k,e9 as G,aR as X,em as K,en as Q,$ as Y}from"./vue-router.324eaed2.js";import"./editor.1b3b164b.js";import{W as j}from"./workspaces.a34621fe.js";import{v as aa}from"./string.d698465c.js";import{e as ea}from"./toggleHighContrast.4c55b574.js";import{f as P}from"./index.520f8c66.js";import{A as ta}from"./index.341662d4.js";import{A as na}from"./index.0887bacc.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="39659a29-5bcc-474e-a865-61e7cc42b469",s._sentryDebugIdIdentifier="sentry-dbid-39659a29-5bcc-474e-a865-61e7cc42b469")}catch{}})();const oa=["width","height","fill","transform"],sa={key:0},ia=g("path",{d:"M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z"},null,-1),ra=[ia],da={key:1},la=g("path",{d:"M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z",opacity:"0.2"},null,-1),ua=g("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"},null,-1),ca=[la,ua],ha={key:2},ga=g("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z"},null,-1),fa=[ga],pa={key:3},va=g("path",{d:"M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z"},null,-1),ma=[va],wa={key:4},Sa=g("path",{d:"M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"},null,-1),Va=[Sa],ya={key:5},ba=g("path",{d:"M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z"},null,-1),xa=[ba],Za={name:"PhMagicWand"},Ma=N({...Za,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(s){const e=s,t=H("weight","regular"),u=H("size","1em"),V=H("color","currentColor"),_=H("mirrored",!1),r=m(()=>{var i;return(i=e.weight)!=null?i:t}),x=m(()=>{var i;return(i=e.size)!=null?i:u}),Z=m(()=>{var i;return(i=e.color)!=null?i:V}),L=m(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:_?"scale(-1, 1)":void 0);return(i,A)=>(h(),v("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:x.value,height:x.value,fill:Z.value,transform:L.value},i.$attrs),[B(i.$slots,"default"),r.value==="bold"?(h(),v("g",sa,ra)):r.value==="duotone"?(h(),v("g",da,ca)):r.value==="fill"?(h(),v("g",ha,fa)):r.value==="light"?(h(),v("g",pa,ma)):r.value==="regular"?(h(),v("g",wa,Va)):r.value==="thin"?(h(),v("g",ya,xa)):$("",!0)],16,oa))}});class Ha{async list(e){const t=new URLSearchParams({stage:e});return await(await fetch(`/_editor/api/stage_runs?${t}`)).json()}async listPast(e){const t=new URLSearchParams({stage:e});return await(await fetch(`/_editor/api/stage_runs/past?${t}`)).json()}}const T=new Ha;class b{constructor(e){this.dto=e}static async list(e){return(await T.list(e)).map(u=>new b(u))}static async listPast(e){return(await T.listPast(e)).map(u=>new b(u))}get id(){return this.dto.id}get data(){return this.dto.data}get assignee(){return this.dto.assignee}get stage(){return this.dto.stage}get status(){return this.dto.status}get createdAt(){return new Date(this.dto.createdAt)}}const _a=s=>(K("data-v-061ac7eb"),s=s(),Q(),s),La=_a(()=>g("span",null," Fix with AI ",-1)),Aa=N({__name:"ThreadSelector",props:{stage:{},executionConfig:{}},emits:["fix-invalid-json","update:execution-config","update:show-thread-modal"],setup(s,{emit:e}){const t=s,u=m(()=>t.executionConfig.attached?"Select a thread to continue the workflow":"Choose a thread to copy the data from"),V=m(()=>t.executionConfig.attached?"Select thread":"Use this thread data"),_=m(()=>t.executionConfig.attached?!t.executionConfig.stageRunId:!1),r=m(()=>{if(!a.threadData)return{valid:!0,parsed:{}};const n=aa(a.threadData);return n.valid&&!C.exports.isObject(n.parsed)?{valid:!1,message:"Thread data must be an object."}:n});function x(){r.value.valid||e("fix-invalid-json",a.threadData,r.value.message)}const Z=E(null),L=n=>{const d=a.waitingStageRuns.find(S=>S.id===n),w=a.pastStageRuns.find(S=>S.id===n),y=d!=null?d:w;if(!y)throw new Error("Stage run not found");const o=JSON.stringify(y.data,null,2);f.setValue(o),a.threadData=o,a.selectedStageRunId=n,e("update:execution-config",{...t.executionConfig,stageRunId:n})},i=()=>{e("update:execution-config",{...t.executionConfig,stageRunId:null})},A=()=>{e("update:show-thread-modal",!1),j.writeTestData(a.threadData)};let f;F(async()=>{var y;a.threadData=await j.readTestData(),a.selectedStageRunId=(y=t.executionConfig.stageRunId)!=null?y:void 0;const n=await b.list(t.stage.id),d=await b.listPast(t.stage.id);a.waitingStageRuns=n.filter(o=>o.status==="waiting"),a.pastStageRuns=[...d,...n.filter(o=>o.status!=="waiting")],a.options=[],a.waitingStageRuns.length>0&&a.options.push({label:"Waiting threads",options:a.waitingStageRuns.map(o=>({value:o.id,label:`Started ${P(o.createdAt,{addSuffix:!0})} (${o.status})`}))}),a.pastStageRuns.length>0&&a.options.push({label:"Past threads",options:a.pastStageRuns.map(o=>({value:o.id,label:`Started ${P(o.createdAt,{addSuffix:!0})} (${o.status})`}))}),f=ea.create(Z.value,{language:"json",value:a.threadData,fontFamily:"monospace",lineNumbers:"off",minimap:{enabled:!1},scrollbar:{vertical:"hidden",horizontal:"visible"},readOnly:t.executionConfig.attached});const w=f.getContribution("editor.contrib.messageController");f.onDidAttemptReadOnlyEdit(()=>{w.showMessage("Can't edit thread data with workflow on",f.getPosition())}),f.onDidChangeModelContent(()=>{const o=f.getValue();if(a.threadData=o,t.executionConfig.attached&&a.selectedStageRunId){const S=[...a.waitingStageRuns,...a.pastStageRuns].find(M=>M.id===a.selectedStageRunId);if(!S){e("update:execution-config",{...t.executionConfig});return}try{const M=JSON.parse(o);C.exports.isEqual(S.data,M)?e("update:execution-config",{...t.executionConfig}):e("update:execution-config",{...t.executionConfig})}catch{e("update:execution-config",{...t.executionConfig})}}})}),R(()=>t.executionConfig.stageRunId,n=>{n?a.selectedStageRunId=n:a.selectedStageRunId=void 0}),R(()=>t.executionConfig.attached,n=>{f.updateOptions({readOnly:n})});const a=J({waitingStageRuns:[],pastStageRuns:[],options:[],loading:!1,threadData:"{}",selectedStageRunId:void 0});return(n,d)=>(h(),v(X,null,[c(l(U),{layout:"vertical"},{default:p(()=>[c(l(W),{label:u.value},{default:p(()=>[c(l(z),{placeholder:"No thread selected","filter-option":"",style:{width:"100%"},"allow-clear":!0,options:a.options,value:a.selectedStageRunId,"not-found-content":"There are no threads",onSelect:d[0]||(d[0]=w=>L(w)),onClear:d[1]||(d[1]=w=>i())},null,8,["options","value"])]),_:1},8,["label"])]),_:1}),c(l(ta),{orientation:"left"},{default:p(()=>[D("Data")]),_:1}),g("div",{ref_key:"dataJson",ref:Z,class:"data-container"},null,512),r.value.valid===!1?(h(),q(l(na),{key:0,type:"error",message:"Invalid JSON",description:r.value.message},{action:p(()=>[c(l(k),{onClick:x},{default:p(()=>[c(l(I),{align:"center",gap:"small"},{default:p(()=>[c(l(Ma)),La]),_:1})]),_:1})]),_:1},8,["description"])):$("",!0),c(l(I),{justify:"end",gap:"middle",style:{"margin-top":"12px"}},{default:p(()=>[c(l(k),{type:"primary",disabled:_.value,onClick:A},{default:p(()=>[D(G(V.value),1)]),_:1},8,["disabled"])]),_:1})],64))}});const Na=Y(Aa,[["__scopeId","data-v-061ac7eb"]]);export{Na as T}; +//# sourceMappingURL=ThreadSelector.d62fadec.js.map diff --git a/abstra_statics/dist/assets/Threads.0d4b17df.js b/abstra_statics/dist/assets/Threads.0d4b17df.js deleted file mode 100644 index 3a92561e86..0000000000 --- a/abstra_statics/dist/assets/Threads.0d4b17df.js +++ /dev/null @@ -1,2 +0,0 @@ -import{P as k}from"./api.9a4e5329.js";import{b as _}from"./workspaceStore.be837912.js";import{d as w,L as g,N as d,e as v,o as r,X as h,b as s,w as T,u as e,c as p,R as m,$ as K}from"./vue-router.33f35a18.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.d3a65122.js";import{A as c,T as x}from"./TabPane.1080fde7.js";import"./Card.639eca4a.js";import"./fetch.3971ea84.js";import"./metadata.bccf44f5.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./polling.3587342a.js";import"./asyncComputed.c677c545.js";import"./PhQuestion.vue.020af0e7.js";import"./ant-design.51753590.js";import"./index.241ee38a.js";import"./index.46373660.js";import"./index.f435188c.js";import"./CollapsePanel.56bdec23.js";import"./index.2fc2bb22.js";import"./index.fa9b4e97.js";import"./Badge.71fee936.js";import"./PhArrowCounterClockwise.vue.4a7ab991.js";import"./Workflow.f95d40ff.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./uuid.0acc5368.js";import"./index.dec2a631.js";import"./workspaces.91ed8c72.js";import"./record.075b7d45.js";import"./index.1fcaf67f.js";import"./PhArrowDown.vue.ba4eea7b.js";import"./LoadingOutlined.64419cb9.js";import"./DeleteOutlined.d8e8cfb3.js";import"./PhDownloadSimple.vue.b11b5d9f.js";import"./utils.3ec7e4d1.js";import"./LoadingContainer.4ab818eb.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="8e89068f-14d7-406c-aff8-a6ac2106b6d2",t._sentryDebugIdIdentifier="sentry-dbid-8e89068f-14d7-406c-aff8-a6ac2106b6d2")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,b=new k(a),i=new S(a),u=new V(a),f=new g(d.array(d.string()),"kanban-selected-stages"),o=v("kanban");return(B,l)=>(r(),h("div",W,[s(e(x),{activeKey:o.value,"onUpdate:activeKey":l[0]||(l[0]=y=>o.value=y)},{default:T(()=>[s(e(c),{key:"kanban",tab:"Kanban View"}),s(e(c),{key:"table",tab:"Table View"}),s(e(c),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(r(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(f),"stage-run-repository":e(u)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),o.value==="table"?(r(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(r(),p(P,{key:2,"kanban-repository":e(i),"workflow-api":e(b)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d6c18c3e"]]);export{ge as default}; -//# sourceMappingURL=Threads.0d4b17df.js.map diff --git a/abstra_statics/dist/assets/Threads.de26e74b.js b/abstra_statics/dist/assets/Threads.de26e74b.js new file mode 100644 index 0000000000..7905d184ab --- /dev/null +++ b/abstra_statics/dist/assets/Threads.de26e74b.js @@ -0,0 +1,2 @@ +import{P as k}from"./api.bbc4c8cb.js";import{b as _}from"./workspaceStore.5977d9e8.js";import{d as w,L as g,N as d,e as v,o as r,X as h,b as s,w as T,u as e,c as p,R as m,$ as K}from"./vue-router.324eaed2.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.2e20a43a.js";import{A as c,T as x}from"./TabPane.caed57de.js";import"./Card.1902bdb7.js";import"./fetch.42a41b34.js";import"./metadata.4c5c5434.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./polling.72e5a2f8.js";import"./asyncComputed.3916dfed.js";import"./PhQuestion.vue.6a6a9376.js";import"./ant-design.48401d91.js";import"./index.7d758831.js";import"./index.520f8c66.js";import"./index.582a893b.js";import"./CollapsePanel.ce95f921.js";import"./index.341662d4.js";import"./index.fe1d28be.js";import"./Badge.9808092c.js";import"./PhArrowCounterClockwise.vue.1fa0c440.js";import"./Workflow.d9c6a369.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./uuid.a06fb10a.js";import"./index.40f13cf1.js";import"./workspaces.a34621fe.js";import"./record.cff1707c.js";import"./index.e3c8c96c.js";import"./PhArrowDown.vue.8953407d.js";import"./LoadingOutlined.09a06334.js";import"./DeleteOutlined.618a8e2f.js";import"./PhDownloadSimple.vue.7ab7df2c.js";import"./utils.6b974807.js";import"./LoadingContainer.57756ccb.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="7df82319-46e3-44e8-bac0-347ce430a241",t._sentryDebugIdIdentifier="sentry-dbid-7df82319-46e3-44e8-bac0-347ce430a241")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,b=new k(a),i=new S(a),u=new V(a),y=new g(d.array(d.string()),"kanban-selected-stages"),o=v("kanban");return(B,l)=>(r(),h("div",W,[s(e(x),{activeKey:o.value,"onUpdate:activeKey":l[0]||(l[0]=f=>o.value=f)},{default:T(()=>[s(e(c),{key:"kanban",tab:"Kanban View"}),s(e(c),{key:"table",tab:"Table View"}),s(e(c),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(r(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(y),"stage-run-repository":e(u)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),o.value==="table"?(r(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(r(),p(P,{key:2,"kanban-repository":e(i),"workflow-api":e(b)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d6c18c3e"]]);export{ge as default}; +//# sourceMappingURL=Threads.de26e74b.js.map diff --git a/abstra_statics/dist/assets/UnsavedChangesHandler.5637c452.js b/abstra_statics/dist/assets/UnsavedChangesHandler.d2b18117.js similarity index 71% rename from abstra_statics/dist/assets/UnsavedChangesHandler.5637c452.js rename to abstra_statics/dist/assets/UnsavedChangesHandler.d2b18117.js index d44ed07137..88b767312b 100644 --- a/abstra_statics/dist/assets/UnsavedChangesHandler.5637c452.js +++ b/abstra_statics/dist/assets/UnsavedChangesHandler.d2b18117.js @@ -1,2 +1,2 @@ -import{d as p,B as H,f as h,o,X as s,Z as m,R as V,e8 as y,a as r,eC as w,g as A,W as Z,ag as _,c as M,w as C,u as k,A as b,cH as B,b as L,$ as x}from"./vue-router.33f35a18.js";import{E}from"./ExclamationCircleOutlined.d41cf1d8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="5e7cdfa7-f584-4985-800c-9898188acccf",t._sentryDebugIdIdentifier="sentry-dbid-5e7cdfa7-f584-4985-800c-9898188acccf")}catch{}})();const D=["width","height","fill","transform"],U={key:0},I=r("path",{d:"M222.14,69.17,186.83,33.86A19.86,19.86,0,0,0,172.69,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V83.31A19.86,19.86,0,0,0,222.14,69.17ZM164,204H92V160h72Zm40,0H188V156a20,20,0,0,0-20-20H88a20,20,0,0,0-20,20v48H52V52H171l33,33ZM164,84a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h56A12,12,0,0,1,164,84Z"},null,-1),P=[I],N={key:1},S=r("path",{d:"M216,83.31V208a8,8,0,0,1-8,8H176V152a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v64H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H172.69a8,8,0,0,1,5.65,2.34l35.32,35.32A8,8,0,0,1,216,83.31Z",opacity:"0.2"},null,-1),$=r("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"},null,-1),z=[S,$],T={key:2},j=r("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM208,208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"},null,-1),F=[j],O={key:3},R=r("path",{d:"M217.9,73.42,182.58,38.1a13.9,13.9,0,0,0-9.89-4.1H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V83.31A13.9,13.9,0,0,0,217.9,73.42ZM170,210H86V152a2,2,0,0,1,2-2h80a2,2,0,0,1,2,2Zm40-2a2,2,0,0,1-2,2H182V152a14,14,0,0,0-14-14H88a14,14,0,0,0-14,14v58H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H172.69a2,2,0,0,1,1.41.58L209.42,81.9a2,2,0,0,1,.58,1.41ZM158,72a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h56A6,6,0,0,1,158,72Z"},null,-1),W=[R],Y={key:4},G=r("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"},null,-1),X=[G],q={key:5},J=r("path",{d:"M216.49,74.83,181.17,39.51A11.93,11.93,0,0,0,172.69,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V83.31A11.93,11.93,0,0,0,216.49,74.83ZM172,212H84V152a4,4,0,0,1,4-4h80a4,4,0,0,1,4,4Zm40-4a4,4,0,0,1-4,4H180V152a12,12,0,0,0-12-12H88a12,12,0,0,0-12,12v60H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H172.69a4,4,0,0,1,2.82,1.17l35.32,35.32A4,4,0,0,1,212,83.31ZM156,72a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h56A4,4,0,0,1,156,72Z"},null,-1),K=[J],Q={name:"PhFloppyDisk"},o0=p({...Q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(t){const n=t,l=H("weight","regular"),f=H("size","1em"),c=H("color","currentColor"),i=H("mirrored",!1),e=h(()=>{var a;return(a=n.weight)!=null?a:l}),u=h(()=>{var a;return(a=n.size)!=null?a:f}),d=h(()=>{var a;return(a=n.color)!=null?a:c}),g=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(a,a0)=>(o(),s("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:d.value,transform:g.value},a.$attrs),[m(a.$slots,"default"),e.value==="bold"?(o(),s("g",U,P)):e.value==="duotone"?(o(),s("g",N,z)):e.value==="fill"?(o(),s("g",T,F)):e.value==="light"?(o(),s("g",O,W)):e.value==="regular"?(o(),s("g",Y,X)):e.value==="thin"?(o(),s("g",q,K)):V("",!0)],16,D))}}),v="You have unsaved changes. Are you sure you want to leave?",e0=p({__name:"UnsavedChangesHandler",props:{hasChanges:{type:Boolean}},setup(t){const n=t,l=e=>(e=e||window.event,e&&(e.returnValue=v),v),f=()=>{window.addEventListener("beforeunload",l)};w(async(e,u,d)=>{if(!n.hasChanges)return d();await new Promise(a=>{B.confirm({title:"You have unsaved changes.",icon:L(E),content:"Are you sure you want to discard them?",okText:"Discard Changes",okType:"danger",cancelText:"Cancel",onOk(){a(!0)},onCancel(){a(!1)}})})?d():d(!1)});const c=()=>window.removeEventListener("beforeunload",l),i=e=>e?f():c();return A(()=>n.hasChanges,i),Z(()=>i(n.hasChanges)),_(c),(e,u)=>(o(),M(k(b),{theme:{token:{colorPrimary:"#d14056"}}},{default:C(()=>[m(e.$slots,"default",{},void 0,!0)]),_:3}))}});const s0=x(e0,[["__scopeId","data-v-08510d52"]]);export{o0 as G,s0 as U}; -//# sourceMappingURL=UnsavedChangesHandler.5637c452.js.map +import{d as p,B as H,f as h,o,X as s,Z as m,R as V,e8 as y,a as r,eC as w,g as A,W as Z,ag as _,c as M,w as C,u as b,A as k,cH as B,b as L,$ as x}from"./vue-router.324eaed2.js";import{E}from"./ExclamationCircleOutlined.6541b8d4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="a9b70a97-48ef-478c-9f73-161fa6ed1a12",t._sentryDebugIdIdentifier="sentry-dbid-a9b70a97-48ef-478c-9f73-161fa6ed1a12")}catch{}})();const D=["width","height","fill","transform"],U={key:0},I=r("path",{d:"M222.14,69.17,186.83,33.86A19.86,19.86,0,0,0,172.69,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V83.31A19.86,19.86,0,0,0,222.14,69.17ZM164,204H92V160h72Zm40,0H188V156a20,20,0,0,0-20-20H88a20,20,0,0,0-20,20v48H52V52H171l33,33ZM164,84a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h56A12,12,0,0,1,164,84Z"},null,-1),P=[I],N={key:1},S=r("path",{d:"M216,83.31V208a8,8,0,0,1-8,8H176V152a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v64H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H172.69a8,8,0,0,1,5.65,2.34l35.32,35.32A8,8,0,0,1,216,83.31Z",opacity:"0.2"},null,-1),$=r("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"},null,-1),z=[S,$],T={key:2},j=r("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM208,208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"},null,-1),F=[j],O={key:3},R=r("path",{d:"M217.9,73.42,182.58,38.1a13.9,13.9,0,0,0-9.89-4.1H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V83.31A13.9,13.9,0,0,0,217.9,73.42ZM170,210H86V152a2,2,0,0,1,2-2h80a2,2,0,0,1,2,2Zm40-2a2,2,0,0,1-2,2H182V152a14,14,0,0,0-14-14H88a14,14,0,0,0-14,14v58H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H172.69a2,2,0,0,1,1.41.58L209.42,81.9a2,2,0,0,1,.58,1.41ZM158,72a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h56A6,6,0,0,1,158,72Z"},null,-1),W=[R],Y={key:4},G=r("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"},null,-1),X=[G],q={key:5},J=r("path",{d:"M216.49,74.83,181.17,39.51A11.93,11.93,0,0,0,172.69,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V83.31A11.93,11.93,0,0,0,216.49,74.83ZM172,212H84V152a4,4,0,0,1,4-4h80a4,4,0,0,1,4,4Zm40-4a4,4,0,0,1-4,4H180V152a12,12,0,0,0-12-12H88a12,12,0,0,0-12,12v60H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H172.69a4,4,0,0,1,2.82,1.17l35.32,35.32A4,4,0,0,1,212,83.31ZM156,72a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h56A4,4,0,0,1,156,72Z"},null,-1),K=[J],Q={name:"PhFloppyDisk"},o1=p({...Q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(t){const n=t,l=H("weight","regular"),f=H("size","1em"),i=H("color","currentColor"),u=H("mirrored",!1),e=h(()=>{var a;return(a=n.weight)!=null?a:l}),c=h(()=>{var a;return(a=n.size)!=null?a:f}),d=h(()=>{var a;return(a=n.color)!=null?a:i}),g=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,a1)=>(o(),s("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:d.value,transform:g.value},a.$attrs),[m(a.$slots,"default"),e.value==="bold"?(o(),s("g",U,P)):e.value==="duotone"?(o(),s("g",N,z)):e.value==="fill"?(o(),s("g",T,F)):e.value==="light"?(o(),s("g",O,W)):e.value==="regular"?(o(),s("g",Y,X)):e.value==="thin"?(o(),s("g",q,K)):V("",!0)],16,D))}}),v="You have unsaved changes. Are you sure you want to leave?",e1=p({__name:"UnsavedChangesHandler",props:{hasChanges:{type:Boolean}},setup(t){const n=t,l=e=>(e=e||window.event,e&&(e.returnValue=v),v),f=()=>{window.addEventListener("beforeunload",l)};w(async(e,c,d)=>{if(!n.hasChanges)return d();await new Promise(a=>{B.confirm({title:"You have unsaved changes.",icon:L(E),content:"Are you sure you want to discard them?",okText:"Discard Changes",okType:"danger",cancelText:"Cancel",onOk(){a(!0)},onCancel(){a(!1)}})})?d():d(!1)});const i=()=>window.removeEventListener("beforeunload",l),u=e=>e?f():i();return A(()=>n.hasChanges,u),Z(()=>u(n.hasChanges)),_(i),(e,c)=>(o(),M(b(k),{theme:{token:{colorPrimary:"#d14056"}}},{default:C(()=>[m(e.$slots,"default",{},void 0,!0)]),_:3}))}});const s1=x(e1,[["__scopeId","data-v-08510d52"]]);export{o1 as G,s1 as U}; +//# sourceMappingURL=UnsavedChangesHandler.d2b18117.js.map diff --git a/abstra_statics/dist/assets/View.fc7f10d6.js b/abstra_statics/dist/assets/View.249963d0.js similarity index 83% rename from abstra_statics/dist/assets/View.fc7f10d6.js rename to abstra_statics/dist/assets/View.249963d0.js index 5ffbdccfe6..65881ed03a 100644 --- a/abstra_statics/dist/assets/View.fc7f10d6.js +++ b/abstra_statics/dist/assets/View.249963d0.js @@ -1,2 +1,2 @@ -var ye=Object.defineProperty;var fe=(s,e,a)=>e in s?ye(s,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[e]=a;var U=(s,e,a)=>(fe(s,typeof e!="symbol"?e+"":e,a),a);import{a as q}from"./asyncComputed.c677c545.js";import{d as b,e as E,o as m,c as g,w as l,u as t,b as r,cM as z,aF as h,aA as G,cO as ge,bP as _,dd as he,D as T,cv as w,bH as N,cu as F,f as W,X,eb as ve,d1 as _e,e9 as we,aR as J,ep as Q,cA as Y,ea as be,W as Ce,R as I,d9 as ke,d7 as Pe}from"./vue-router.33f35a18.js";import{A}from"./index.241ee38a.js";import{_ as Ue}from"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import{A as B}from"./index.fa9b4e97.js";import{C as ee}from"./CrudView.3c2a3663.js";import{G as te}from"./PhPencil.vue.2def7849.js";import{C as Re}from"./repository.fc6e5621.js";import{C as R}from"./gateway.a5388860.js";import{E as ae}from"./record.075b7d45.js";import{p as k}from"./popupNotifcation.7fc1aee0.js";import{a as Z}from"./ant-design.51753590.js";import{A as H,T as Ae}from"./TabPane.1080fde7.js";import"./BookOutlined.767e0e7a.js";import"./Badge.71fee936.js";import"./router.cbdfe37b.js";import"./url.b6644346.js";import"./PhDotsThreeVertical.vue.756b56ff.js";import"./fetch.3971ea84.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="fa9e21f4-1f85-4f9a-9d4a-3c8efbe99e5c",s._sentryDebugIdIdentifier="sentry-dbid-fa9e21f4-1f85-4f9a-9d4a-3c8efbe99e5c")}catch{}})();const Ee=b({__name:"View",props:{signupPolicy:{}},emits:["updated","save"],setup(s,{emit:e}){const a=s,o=E(a.signupPolicy.strategy),n=E(a.signupPolicy.strategy==="patternOnly"?a.signupPolicy.emailPatterns:[]),i=E(a.signupPolicy.strategy==="patternOnly"?a.signupPolicy.emailPatterns.map(c=>({label:c})):[]),y=c=>{const C=c;if(n.value=C,C.length===0){o.value="inviteOnly",f("inviteOnly");return}i.value=C.map(P=>({label:P})),a.signupPolicy.emailPatterns=c,e("updated",a.signupPolicy)},p=()=>{e("save")},f=c=>{o.value=c,c!=="patternOnly"&&(c==="inviteOnly"&&a.signupPolicy.allowOnlyInvited(),e("updated",a.signupPolicy))};return(c,C)=>(m(),g(t(he),{style:{"padding-top":"8px",width:"100%"},justify:"space-between",align:"flex-end"},{default:l(()=>[r(t(ge),{value:o.value,"onUpdate:value":f},{default:l(()=>[r(t(A),{direction:"vertical"},{default:l(()=>[r(t(z),{value:"inviteOnly"},{default:l(()=>[h("Allow listed users only")]),_:1}),r(t(A),null,{default:l(()=>[r(t(z),{value:"patternOnly"},{default:l(()=>[h("Allow everyone from this domain:")]),_:1}),r(t(G),{mode:"tags",value:c.signupPolicy.emailPatterns,style:{"min-width":"300px"},placeholder:"@domain.com or sub.domain.com",disabled:o.value!=="patternOnly",options:i.value,"dropdown-match-select-width":"",open:!1,"onUpdate:value":y},null,8,["value","disabled","options"])]),_:1})]),_:1})]),_:1},8,["value"]),r(t(_),{disabled:!c.signupPolicy.hasChanges,type:"primary",onClick:p},{default:l(()=>[h(" Save changes ")]),_:1},8,["disabled"])]),_:1}))}}),xe=b({__name:"NewUser",props:{roleOptions:{}},emits:["created","cancel"],setup(s,{emit:e}){const o=s.roleOptions.map(p=>({label:p.name,value:p.name})),n=T({email:"",roles:[]});function i(){e("cancel")}function y(){!n.email||e("created",n)}return(p,f)=>(m(),g(t(B),{open:"",title:"New user",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:i},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:i},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:y},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:n,layout:"vertical"},{default:l(()=>[r(t(w),{key:"email",label:"Email",required:!0},{default:l(()=>[r(t(N),{value:n.email,"onUpdate:value":f[0]||(f[0]=c=>n.email=c)},null,8,["value"])]),_:1}),r(t(w),{key:"role",label:"Role"},{default:l(()=>[r(t(G),{value:n.roles,"onUpdate:value":f[1]||(f[1]=c=>n.roles=c),mode:"multiple",options:t(o)},null,8,["value","options"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),Oe=b({__name:"UpdateUser",props:{roleOptions:{},email:{},roles:{}},emits:["updated","cancel"],setup(s,{emit:e}){const a=s,o=a.roleOptions.map(p=>({label:p.name,value:p.name})),n=T({email:a.email,roles:a.roles});function i(){e("cancel")}function y(){e("updated",n)}return(p,f)=>(m(),g(t(B),{open:"",title:"Update user",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:i},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:i},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:y},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:n,layout:"vertical"},{default:l(()=>[r(t(w),{key:"email",label:"Email"},{default:l(()=>[r(t(N),{value:n.email,"onUpdate:value":f[0]||(f[0]=c=>n.email=c)},null,8,["value"])]),_:1}),r(t(w),{key:"role",label:"Role"},{default:l(()=>[r(t(G),{value:n.roles,"onUpdate:value":f[1]||(f[1]=c=>n.roles=c),mode:"multiple",options:t(o)},null,8,["value","options"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),De=b({__name:"View",props:{loading:{type:Boolean},users:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=W(()=>{var o;return{columns:[{name:"Email"},{name:"Roles"},{name:"",align:"right"}],rows:(o=e.users.map(n=>({key:n.email,cells:[{type:"text",text:n.email},{type:"slot",key:"roles",payload:{roles:n.roles}},{type:"actions",actions:[{icon:te,label:"Edit",onClick:()=>e.onEdit(n)},{icon:Q,label:"Delete",onClick:()=>e.onDelete(n)}]}]})))!=null?o:[]}});return(o,n)=>(m(),g(ee,{"entity-name":"users",title:"",loading:o.loading,description:"List all app users.","empty-title":"No users yet",table:a.value,"create-button-text":"Add users",create:o.onCreate},{roles:l(({payload:i})=>[(m(!0),X(J,null,ve(i.roles,y=>(m(),g(t(_e),{key:y,bordered:""},{default:l(()=>[h(we(y),1)]),_:2},1024))),128))]),_:1},8,["loading","table","create"]))}}),$e=b({__name:"NewRole",emits:["created","cancel"],setup(s,{emit:e}){const a=T({name:"",description:""});function o(){e("cancel")}function n(){!a.name||e("created",a)}return(i,y)=>(m(),g(t(B),{open:"",title:"New role",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:o},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:o},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:n},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:a,layout:"vertical"},{default:l(()=>[r(t(w),{key:"name",label:"Name",required:!0},{default:l(()=>[r(t(N),{value:a.name,"onUpdate:value":y[0]||(y[0]=p=>a.name=p)},null,8,["value"])]),_:1}),r(t(w),{key:"description",label:"Description"},{default:l(()=>[r(t(Y),{value:a.description,"onUpdate:value":y[1]||(y[1]=p=>a.description=p),placeholder:"Optional description",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),Ie=b({__name:"UpdateRole",props:{name:{},description:{}},emits:["updated","cancel"],setup(s,{emit:e}){const a=s,o=T({description:a.description});function n(){e("cancel")}function i(){e("updated",o)}return(y,p)=>(m(),g(t(B),{open:"",title:"Update role",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:n},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:n},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:i},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:o,layout:"vertical"},{default:l(()=>[r(t(w),{key:"name",label:"Name"},{default:l(()=>[r(t(N),{value:a.name,disabled:""},null,8,["value"])]),_:1}),r(t(w),{key:"role",label:"Role"},{default:l(()=>[r(t(Y),{value:o.description,"onUpdate:value":p[0]||(p[0]=f=>o.description=f),placeholder:"Optional description",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),je=b({__name:"View",props:{loading:{type:Boolean},roles:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=W(()=>{var o;return{columns:[{name:"Name"},{name:"Description"},{name:"",align:"right"}],rows:(o=e.roles.map(n=>({key:n.id,cells:[{type:"text",text:n.name},{type:"text",text:n.description},{type:"actions",actions:[{icon:te,label:"Edit",onClick:()=>e.onEdit(n)},{icon:Q,label:"Delete",onClick:()=>e.onDelete(n)}]}]})))!=null?o:[]}});return(o,n)=>(m(),g(ee,{"entity-name":"roles",loading:o.loading,title:"",description:"List all app roles.","empty-title":"No roles yet",table:a.value,"create-button-text":"Add roles",create:o.onCreate},null,8,["loading","table","create"]))}}),S=class{constructor(e){U(this,"record");this.dto=e,this.record=ae.from(e)}static from(e){return new S(e)}toDTO(){return this.record.toDTO()}get id(){return this.record.get("id")}get projectId(){return this.record.get("projectId")}get emailPatterns(){return this.record.get("emailPatterns")}set emailPatterns(e){this.record.set("emailPatterns",e)}get hasChanges(){return this.record.hasChangesDeep("emailPatterns")}get strategy(){return this.dto.emailPatterns.length===0?"inviteOnly":"patternOnly"}get changes(){return this.record.changes}allowOnlyInvited(){this.record.set("emailPatterns",[])}static validate(e){return S.pattern.test(e)}};let x=S;U(x,"pattern",new RegExp("^@?(?!-)[A-Za-z0-9-]{1,}(?{const d=new URLSearchParams(location.search).get("selected-panel")||"users",v=["roles","users"].includes(d)?d:"users";d&&(n.value=v)});const i=()=>{o.value.type="initial"},y=()=>{o.value.type="creatingUser"},p=u=>{o.value={type:"editingUser",payload:u}},f=()=>{o.value.type="creatingRole"},c=u=>{o.value={type:"editingRole",payload:u}},C=new Te(a),{result:P,refetch:oe}=q(()=>C.get()),ne=async()=>{if(!!P.value)try{await C.update(P.value),oe()}catch(u){u instanceof Error&&k("Update Error",u.message)}},O=new Fe(a),{loading:re,result:le,refetch:D}=q(()=>O.list(100,0)),$=new Re(a),{loading:se,result:V,refetch:L}=q(()=>$.list(100,0)),ie=async u=>{try{if(o.value.type!=="creatingUser")return;await O.create(u),i(),D()}catch(d){d instanceof Error&&k("Create Error",d.message)}},ce=async u=>{try{if(o.value.type!=="editingUser")return;await O.update(o.value.payload.id,u),i(),D()}catch(d){d instanceof Error&&k("Update Error",d.message)}},ue=async u=>{if(!!await Z("Deleting users revoke their access to your application (in case they aren't allowed by a domain rule). Are you sure you want to continue?"))try{await O.delete(u.id),D()}catch(v){v instanceof Error&&k("Delete Error",v.message)}},de=async u=>{try{if(o.value.type!=="creatingRole")return;await $.create(u),i(),L()}catch(d){d instanceof Error&&k("Create Error",d.message)}},pe=async u=>{try{if(o.value.type!=="editingRole")return;await $.update(o.value.payload.id,u),i(),L()}catch(d){d instanceof Error&&k("Update Error",d.message)}},me=async u=>{if(!!await Z("Deleteing roles may revoke access to some features in your application. Are you sure you want to continue?"))try{await $.delete(u.id),L(),D()}catch(v){v instanceof Error&&k("Delete Error",v.message)}};return(u,d)=>(m(),X(J,null,[r(t(ke),null,{default:l(()=>[h("Access Control")]),_:1}),r(t(Pe),null,{default:l(()=>[h(" Manage how your end users interect with your application. "),r(Ue,{path:"concepts/access-control"})]),_:1}),r(t(Ae),{"active-key":n.value,"onUpdate:activeKey":d[0]||(d[0]=v=>n.value=v)},{default:l(()=>[r(t(H),{key:"users",tab:"Users"}),r(t(H),{key:"roles",tab:"Roles"})]),_:1},8,["active-key"]),n.value==="users"&&t(P)?(m(),g(Ee,{key:0,"signup-policy":t(P),onSave:ne},null,8,["signup-policy"])):I("",!0),n.value==="users"?(m(),g(De,{key:1,loading:t(re),users:t(le)||[],onCreate:y,onEdit:p,onDelete:ue},null,8,["loading","users"])):I("",!0),n.value==="roles"?(m(),g(je,{key:2,loading:t(se),roles:t(V)||[],onCreate:f,onEdit:c,onDelete:me},null,8,["loading","roles"])):I("",!0),o.value.type==="creatingUser"?(m(),g(xe,{key:3,"role-options":t(V)||[],onCancel:i,onCreated:ie},null,8,["role-options"])):o.value.type==="editingUser"?(m(),g(Oe,{key:4,email:o.value.payload.email,roles:o.value.payload.roles||[],"role-options":t(V)||[],onUpdated:ce,onCancel:i},null,8,["email","roles","role-options"])):o.value.type==="creatingRole"?(m(),g($e,{key:5,onCancel:i,onCreated:de})):o.value.type==="editingRole"?(m(),g(Ie,{key:6,name:o.value.payload.name,description:o.value.payload.description,onUpdated:pe,onCancel:i},null,8,["name","description"])):I("",!0)],64))}});export{rt as default}; -//# sourceMappingURL=View.fc7f10d6.js.map +var ye=Object.defineProperty;var fe=(s,e,a)=>e in s?ye(s,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[e]=a;var U=(s,e,a)=>(fe(s,typeof e!="symbol"?e+"":e,a),a);import{a as q}from"./asyncComputed.3916dfed.js";import{d as w,e as E,o as m,c as g,w as l,u as t,b as r,cM as z,aF as h,aA as G,cO as ge,bP as _,dd as he,D as T,cv as b,bH as N,cu as F,f as W,X,eb as ve,d1 as _e,e9 as be,aR as J,ep as Q,cA as Y,ea as we,W as Ce,R as I,d9 as ke,d7 as Pe}from"./vue-router.324eaed2.js";import{A}from"./index.7d758831.js";import{_ as Ue}from"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import{A as B}from"./index.fe1d28be.js";import{C as ee}from"./CrudView.0b1b90a7.js";import{G as te}from"./PhPencil.vue.91f72c2e.js";import{C as Re}from"./repository.61a8d769.js";import{C as R}from"./gateway.edd4374b.js";import{E as ae}from"./record.cff1707c.js";import{p as k}from"./popupNotifcation.5a82bc93.js";import{a as Z}from"./ant-design.48401d91.js";import{A as H,T as Ae}from"./TabPane.caed57de.js";import"./BookOutlined.789cce39.js";import"./Badge.9808092c.js";import"./router.0c18ec5d.js";import"./url.1a1c4e74.js";import"./PhDotsThreeVertical.vue.766b7c1d.js";import"./fetch.42a41b34.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="b5c8aa91-d4fe-4560-9bff-2aba8a13fbda",s._sentryDebugIdIdentifier="sentry-dbid-b5c8aa91-d4fe-4560-9bff-2aba8a13fbda")}catch{}})();const Ee=w({__name:"View",props:{signupPolicy:{}},emits:["updated","save"],setup(s,{emit:e}){const a=s,o=E(a.signupPolicy.strategy),n=E(a.signupPolicy.strategy==="patternOnly"?a.signupPolicy.emailPatterns:[]),i=E(a.signupPolicy.strategy==="patternOnly"?a.signupPolicy.emailPatterns.map(c=>({label:c})):[]),y=c=>{const C=c;if(n.value=C,C.length===0){o.value="inviteOnly",f("inviteOnly");return}i.value=C.map(P=>({label:P})),a.signupPolicy.emailPatterns=c,e("updated",a.signupPolicy)},p=()=>{e("save")},f=c=>{o.value=c,c!=="patternOnly"&&(c==="inviteOnly"&&a.signupPolicy.allowOnlyInvited(),e("updated",a.signupPolicy))};return(c,C)=>(m(),g(t(he),{style:{"padding-top":"8px",width:"100%"},justify:"space-between",align:"flex-end"},{default:l(()=>[r(t(ge),{value:o.value,"onUpdate:value":f},{default:l(()=>[r(t(A),{direction:"vertical"},{default:l(()=>[r(t(z),{value:"inviteOnly"},{default:l(()=>[h("Allow listed users only")]),_:1}),r(t(A),null,{default:l(()=>[r(t(z),{value:"patternOnly"},{default:l(()=>[h("Allow everyone from this domain:")]),_:1}),r(t(G),{mode:"tags",value:c.signupPolicy.emailPatterns,style:{"min-width":"300px"},placeholder:"@domain.com or sub.domain.com",disabled:o.value!=="patternOnly",options:i.value,"dropdown-match-select-width":"",open:!1,"onUpdate:value":y},null,8,["value","disabled","options"])]),_:1})]),_:1})]),_:1},8,["value"]),r(t(_),{disabled:!c.signupPolicy.hasChanges,type:"primary",onClick:p},{default:l(()=>[h(" Save changes ")]),_:1},8,["disabled"])]),_:1}))}}),xe=w({__name:"NewUser",props:{roleOptions:{}},emits:["created","cancel"],setup(s,{emit:e}){const o=s.roleOptions.map(p=>({label:p.name,value:p.name})),n=T({email:"",roles:[]});function i(){e("cancel")}function y(){!n.email||e("created",n)}return(p,f)=>(m(),g(t(B),{open:"",title:"New user",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:i},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:i},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:y},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:n,layout:"vertical"},{default:l(()=>[r(t(b),{key:"email",label:"Email",required:!0},{default:l(()=>[r(t(N),{value:n.email,"onUpdate:value":f[0]||(f[0]=c=>n.email=c)},null,8,["value"])]),_:1}),r(t(b),{key:"role",label:"Role"},{default:l(()=>[r(t(G),{value:n.roles,"onUpdate:value":f[1]||(f[1]=c=>n.roles=c),mode:"multiple",options:t(o)},null,8,["value","options"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),Oe=w({__name:"UpdateUser",props:{roleOptions:{},email:{},roles:{}},emits:["updated","cancel"],setup(s,{emit:e}){const a=s,o=a.roleOptions.map(p=>({label:p.name,value:p.name})),n=T({email:a.email,roles:a.roles});function i(){e("cancel")}function y(){e("updated",n)}return(p,f)=>(m(),g(t(B),{open:"",title:"Update user",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:i},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:i},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:y},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:n,layout:"vertical"},{default:l(()=>[r(t(b),{key:"email",label:"Email"},{default:l(()=>[r(t(N),{value:n.email,"onUpdate:value":f[0]||(f[0]=c=>n.email=c)},null,8,["value"])]),_:1}),r(t(b),{key:"role",label:"Role"},{default:l(()=>[r(t(G),{value:n.roles,"onUpdate:value":f[1]||(f[1]=c=>n.roles=c),mode:"multiple",options:t(o)},null,8,["value","options"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),De=w({__name:"View",props:{loading:{type:Boolean},users:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=W(()=>{var o;return{columns:[{name:"Email"},{name:"Roles"},{name:"",align:"right"}],rows:(o=e.users.map(n=>({key:n.email,cells:[{type:"text",text:n.email},{type:"slot",key:"roles",payload:{roles:n.roles}},{type:"actions",actions:[{icon:te,label:"Edit",onClick:()=>e.onEdit(n)},{icon:Q,label:"Delete",onClick:()=>e.onDelete(n)}]}]})))!=null?o:[]}});return(o,n)=>(m(),g(ee,{"entity-name":"users",title:"",loading:o.loading,description:"List all app users.","empty-title":"No users yet",table:a.value,"create-button-text":"Add users",create:o.onCreate},{roles:l(({payload:i})=>[(m(!0),X(J,null,ve(i.roles,y=>(m(),g(t(_e),{key:y,bordered:""},{default:l(()=>[h(be(y),1)]),_:2},1024))),128))]),_:1},8,["loading","table","create"]))}}),$e=w({__name:"NewRole",emits:["created","cancel"],setup(s,{emit:e}){const a=T({name:"",description:""});function o(){e("cancel")}function n(){!a.name||e("created",a)}return(i,y)=>(m(),g(t(B),{open:"",title:"New role",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:o},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:o},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:n},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:a,layout:"vertical"},{default:l(()=>[r(t(b),{key:"name",label:"Name",required:!0},{default:l(()=>[r(t(N),{value:a.name,"onUpdate:value":y[0]||(y[0]=p=>a.name=p)},null,8,["value"])]),_:1}),r(t(b),{key:"description",label:"Description"},{default:l(()=>[r(t(Y),{value:a.description,"onUpdate:value":y[1]||(y[1]=p=>a.description=p),placeholder:"Optional description",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),Ie=w({__name:"UpdateRole",props:{name:{},description:{}},emits:["updated","cancel"],setup(s,{emit:e}){const a=s,o=T({description:a.description});function n(){e("cancel")}function i(){e("updated",o)}return(y,p)=>(m(),g(t(B),{open:"",title:"Update role",width:720,"body-style":{paddingBottom:"80px"},"footer-style":{textAlign:"right"},onClose:n},{extra:l(()=>[r(t(A),null,{default:l(()=>[r(t(_),{onClick:n},{default:l(()=>[h("Cancel")]),_:1}),r(t(_),{type:"primary",onClick:i},{default:l(()=>[h("Submit")]),_:1})]),_:1})]),default:l(()=>[r(t(F),{model:o,layout:"vertical"},{default:l(()=>[r(t(b),{key:"name",label:"Name"},{default:l(()=>[r(t(N),{value:a.name,disabled:""},null,8,["value"])]),_:1}),r(t(b),{key:"role",label:"Role"},{default:l(()=>[r(t(Y),{value:o.description,"onUpdate:value":p[0]||(p[0]=f=>o.description=f),placeholder:"Optional description",rows:3},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1}))}}),je=w({__name:"View",props:{loading:{type:Boolean},roles:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=W(()=>{var o;return{columns:[{name:"Name"},{name:"Description"},{name:"",align:"right"}],rows:(o=e.roles.map(n=>({key:n.id,cells:[{type:"text",text:n.name},{type:"text",text:n.description},{type:"actions",actions:[{icon:te,label:"Edit",onClick:()=>e.onEdit(n)},{icon:Q,label:"Delete",onClick:()=>e.onDelete(n)}]}]})))!=null?o:[]}});return(o,n)=>(m(),g(ee,{"entity-name":"roles",loading:o.loading,title:"",description:"List all app roles.","empty-title":"No roles yet",table:a.value,"create-button-text":"Add roles",create:o.onCreate},null,8,["loading","table","create"]))}}),S=class{constructor(e){U(this,"record");this.dto=e,this.record=ae.from(e)}static from(e){return new S(e)}toDTO(){return this.record.toDTO()}get id(){return this.record.get("id")}get projectId(){return this.record.get("projectId")}get emailPatterns(){return this.record.get("emailPatterns")}set emailPatterns(e){this.record.set("emailPatterns",e)}get hasChanges(){return this.record.hasChangesDeep("emailPatterns")}get strategy(){return this.dto.emailPatterns.length===0?"inviteOnly":"patternOnly"}get changes(){return this.record.changes}allowOnlyInvited(){this.record.set("emailPatterns",[])}static validate(e){return S.pattern.test(e)}};let x=S;U(x,"pattern",new RegExp("^@?(?!-)[A-Za-z0-9-]{1,}(?{const d=new URLSearchParams(location.search).get("selected-panel")||"users",v=["roles","users"].includes(d)?d:"users";d&&(n.value=v)});const i=()=>{o.value.type="initial"},y=()=>{o.value.type="creatingUser"},p=u=>{o.value={type:"editingUser",payload:u}},f=()=>{o.value.type="creatingRole"},c=u=>{o.value={type:"editingRole",payload:u}},C=new Te(a),{result:P,refetch:oe}=q(()=>C.get()),ne=async()=>{if(!!P.value)try{await C.update(P.value),oe()}catch(u){u instanceof Error&&k("Update Error",u.message)}},O=new Fe(a),{loading:re,result:le,refetch:D}=q(()=>O.list(100,0)),$=new Re(a),{loading:se,result:V,refetch:L}=q(()=>$.list(100,0)),ie=async u=>{try{if(o.value.type!=="creatingUser")return;await O.create(u),i(),D()}catch(d){d instanceof Error&&k("Create Error",d.message)}},ce=async u=>{try{if(o.value.type!=="editingUser")return;await O.update(o.value.payload.id,u),i(),D()}catch(d){d instanceof Error&&k("Update Error",d.message)}},ue=async u=>{if(!!await Z("Deleting users revoke their access to your application (in case they aren't allowed by a domain rule). Are you sure you want to continue?"))try{await O.delete(u.id),D()}catch(v){v instanceof Error&&k("Delete Error",v.message)}},de=async u=>{try{if(o.value.type!=="creatingRole")return;await $.create(u),i(),L()}catch(d){d instanceof Error&&k("Create Error",d.message)}},pe=async u=>{try{if(o.value.type!=="editingRole")return;await $.update(o.value.payload.id,u),i(),L()}catch(d){d instanceof Error&&k("Update Error",d.message)}},me=async u=>{if(!!await Z("Deleteing roles may revoke access to some features in your application. Are you sure you want to continue?"))try{await $.delete(u.id),L(),D()}catch(v){v instanceof Error&&k("Delete Error",v.message)}};return(u,d)=>(m(),X(J,null,[r(t(ke),null,{default:l(()=>[h("Access Control")]),_:1}),r(t(Pe),null,{default:l(()=>[h(" Manage how your end users interect with your application. "),r(Ue,{path:"concepts/access-control"})]),_:1}),r(t(Ae),{"active-key":n.value,"onUpdate:activeKey":d[0]||(d[0]=v=>n.value=v)},{default:l(()=>[r(t(H),{key:"users",tab:"Users"}),r(t(H),{key:"roles",tab:"Roles"})]),_:1},8,["active-key"]),n.value==="users"&&t(P)?(m(),g(Ee,{key:0,"signup-policy":t(P),onSave:ne},null,8,["signup-policy"])):I("",!0),n.value==="users"?(m(),g(De,{key:1,loading:t(re),users:t(le)||[],onCreate:y,onEdit:p,onDelete:ue},null,8,["loading","users"])):I("",!0),n.value==="roles"?(m(),g(je,{key:2,loading:t(se),roles:t(V)||[],onCreate:f,onEdit:c,onDelete:me},null,8,["loading","roles"])):I("",!0),o.value.type==="creatingUser"?(m(),g(xe,{key:3,"role-options":t(V)||[],onCancel:i,onCreated:ie},null,8,["role-options"])):o.value.type==="editingUser"?(m(),g(Oe,{key:4,email:o.value.payload.email,roles:o.value.payload.roles||[],"role-options":t(V)||[],onUpdated:ce,onCancel:i},null,8,["email","roles","role-options"])):o.value.type==="creatingRole"?(m(),g($e,{key:5,onCancel:i,onCreated:de})):o.value.type==="editingRole"?(m(),g(Ie,{key:6,name:o.value.payload.name,description:o.value.payload.description,onUpdated:pe,onCancel:i},null,8,["name","description"])):I("",!0)],64))}});export{rt as default}; +//# sourceMappingURL=View.249963d0.js.map diff --git a/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.bbce7f6a.js b/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.4883471d.js similarity index 73% rename from abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.bbce7f6a.js rename to abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.4883471d.js index b37f730047..69f21e7c8f 100644 --- a/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.bbce7f6a.js +++ b/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.4883471d.js @@ -1,2 +1,2 @@ -var x=Object.defineProperty;var _=(i,e,t)=>e in i?x(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var a=(i,e,t)=>(_(i,typeof e!="symbol"?e+"":e,t),t);import{C as k}from"./gateway.a5388860.js";import{l as j}from"./fetch.3971ea84.js";import{E}from"./record.075b7d45.js";import{Q as F,e as O,ep as D,d as R,aq as I,o as h,X as S,u as s,c as m,eg as T,w as o,R as f,aR as P,b as u,aF as v,bP as $,e9 as C,cu as L,d8 as B,cA as N,cv as G,cH as M}from"./vue-router.33f35a18.js";import{S as z}from"./SaveButton.dae129ff.js";import{C as H}from"./CrudView.3c2a3663.js";import{a as W}from"./asyncComputed.c677c545.js";import{u as Z}from"./polling.3587342a.js";import{G as q}from"./PhPencil.vue.2def7849.js";import{A as J}from"./index.f014adef.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="b8072a19-2158-4b68-916e-da41e8fd032d",i._sentryDebugIdIdentifier="sentry-dbid-b8072a19-2158-4b68-916e-da41e8fd032d")}catch{}})();class y{constructor(e){a(this,"data");a(this,"deleted");a(this,"wasDeleted",e=>this.deleted.value.includes(e));a(this,"wasUpdated",e=>this.data.hasChangesDeep(e));a(this,"set",(e,t)=>{this.data.set(e,t),this.deleted.value=this.deleted.value.filter(n=>n!==e)});a(this,"get",e=>{if(!this.deleted.value.includes(e))return this.data.get(e)});a(this,"delete",e=>{this.deleted.value=[...this.deleted.value,e]});a(this,"values",()=>{const e={},t=Object.keys(this.data.changes).concat(Object.keys(this.data.initialState));for(const n of t)this.deleted.value.includes(n)||(e[n]=this.data.get(n));return e});a(this,"commit",()=>{this.data=E.from(this.values()),this.deleted.value=[]});this.data=E.from(e),this.deleted=F([])}static from(e){const t=e.reduce((n,{name:r,value:p})=>(n[r]=p,n),{});return new y(t)}get changes(){const e=this.deleted.value.map(t=>({name:t,change:"delete"}));for(const t of Object.keys(this.data.changes))if(!this.deleted.value.includes(t)){if(this.data.initialState[t]===void 0){e.push({name:t,value:this.data.get(t),change:"create"});continue}this.data.hasChangesDeep(t)&&e.push({name:t,value:this.data.get(t),change:"update"})}return e}}class K{constructor(){a(this,"urlPath","env-vars")}async list(e){return await k.get(`projects/${e}/${this.urlPath}`)}async update(e,t){await k.patch(`projects/${e}/${this.urlPath}`,t)}}const U=new K;class le{constructor(e){this.projectId=e}async get(){const e=await U.list(this.projectId);return y.from(e.map(t=>({...t,value:""})))}async update(e){await U.update(this.projectId,e)}}class de{constructor(e=j){this.fetch=e}async get(){const e=await this.fetch("/_editor/api/env-vars");if(!e.ok)throw new Error("Failed to list env vars");const t=await e.json();return y.from(t)}async update(e){await this.fetch("/_editor/api/env-vars",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}}class g{constructor(e,t,n,r){a(this,"envVarRepo");a(this,"envVars");a(this,"state",O({type:"idle"}));a(this,"mode");a(this,"fileOpener");a(this,"openEnvFile",async()=>{var e;await((e=this.fileOpener)==null?void 0:e.openFile(".env"))});a(this,"validate",e=>{const t=/^[A-Za-z_][A-Za-z0-9_]*$/,{key:n,value:r}=e;if(r.trim()!==r)throw new Error("Environment variable values cannot have leading or trailing whitespace.");if(!t.test(n))throw new Error(`Invalid key: \u2018${n}\u2019. A key must begin with a letter or an underscore, and may only include letters, numbers, and underscores.`)});a(this,"create",e=>{this.validate(e),this.envVars.set(e.key,e.value),this.state.value={type:"idle"}});a(this,"delete",e=>{this.envVars.delete(e),this.state.value={type:"idle"}});a(this,"startUpdating",e=>{this.state.value={type:"updating",name:e,value:this.envVars.get(e)||""}});a(this,"confirmUpdate",()=>{this.state.value.type==="updating"&&(this.envVars.set(this.state.value.name,this.state.value.value),this.state.value={type:"idle"})});a(this,"cancelUpdate",()=>{this.state.value={type:"idle"}});a(this,"pollingFunction",async()=>{if(!this.isLocalEditor)return;const e=await this.envVarRepo.get();Object.entries(e.values()).forEach(([t,n])=>{this.envVars.wasDeleted(t)||this.envVars.get(t)===void 0&&this.envVars.set(t,n)})});a(this,"columns",()=>[{name:"Key"},{name:"Value"},{name:""}]);a(this,"rows",()=>Object.entries(this.envVars.values()).map(([e,t])=>({key:e,cells:[{type:"text",text:e,contentType:this.wasUpdated(e)?"warning":"default"},{type:"text",text:this.isLocalEditor?t:"*********",contentType:this.wasUpdated(e)?"warning":"default"},{type:"actions",actions:[{icon:D,label:"Delete",onClick:()=>this.delete(e),dangerous:!0},{icon:q,label:"Update",onClick:()=>this.startUpdating(e)}]}]})));a(this,"save",async()=>{await this.envVarRepo.update(this.envVars.changes),this.envVars.commit()});a(this,"hasChanges",()=>this.envVars.changes.length>0);a(this,"table",()=>({columns:this.columns(),rows:this.rows()}));this.envVarRepo=e,this.envVars=t,this.mode=n,this.fileOpener=r}static async create(e,t,n){const r=await e.get();return new g(e,r,t,n)}get isLocalEditor(){return this.mode==="editor"}get saveMessage(){return this.isLocalEditor?"Save":"Save and Apply"}get creationFields(){return[{label:"Variable name",key:"key"},{label:"Variable value",key:"value",type:"multiline-text"}]}get isUpdating(){return this.state.value.type==="updating"}wasUpdated(e){return this.envVars.wasUpdated(e)}}const ue=R({__name:"View",props:{envVarRepository:{},mode:{},fileOpener:{}},setup(i){const e=i,{result:t,loading:n}=W(async()=>{const c=await g.create(e.envVarRepository,e.mode,e.fileOpener);return r(),c}),{startPolling:r,endPolling:p}=Z({task:()=>{var c;return(c=t.value)==null?void 0:c.pollingFunction()},interval:2e3});I(()=>p());const A={columns:[],rows:[]};return(c,d)=>{var w,b;return h(),S(P,null,[s(t)?(h(),m(H,{key:0,"entity-name":"Env var",loading:s(n),title:"Environment Variables",description:"Set environment variables for your project.","empty-title":"No environment variables set",table:s(t).table()||A,"create-button-text":"Add Environment Variable",create:s(t).create,fields:s(t).creationFields||[],live:s(t).isLocalEditor},T({_:2},[(w=s(t))!=null&&w.isLocalEditor?{name:"secondary",fn:o(()=>{var l;return[u(s($),{onClick:(l=s(t))==null?void 0:l.openEnvFile},{default:o(()=>[v("Open .env")]),_:1},8,["onClick"])]}),key:"0"}:void 0,(b=s(t))!=null&&b.isLocalEditor?{name:"extra",fn:o(()=>[u(s(J),{"show-icon":"",style:{"margin-top":"20px"}},{message:o(()=>[v(" This is simply a helper to manage your environment variables locally. The variables set here will not be deployed to Cloud with your project. ")]),_:1})]),key:"1"}:void 0,s(t)?{name:"more",fn:o(()=>[u(z,{model:s(t),disabled:!s(t).hasChanges()},{"with-changes":o(()=>[v(C(s(t).saveMessage),1)]),_:1},8,["model","disabled"])]),key:"2"}:void 0]),1032,["loading","table","create","fields","live"])):f("",!0),s(t)?(h(),m(s(M),{key:1,open:s(t).isUpdating,title:"Update value",onCancel:d[1]||(d[1]=l=>{var V;return(V=s(t))==null?void 0:V.cancelUpdate()}),onOk:d[2]||(d[2]=()=>{var l;return(l=s(t))==null?void 0:l.confirmUpdate()})},{default:o(()=>[s(t).state.value.type==="updating"?(h(),m(s(L),{key:0,layout:"vertical"},{default:o(()=>[u(s(G),null,{default:o(()=>[u(s(B),null,{default:o(()=>[v(C(s(t).state.value.name),1)]),_:1}),u(s(N),{value:s(t).state.value.value,"onUpdate:value":d[0]||(d[0]=l=>s(t).state.value.value=l)},null,8,["value"])]),_:1})]),_:1})):f("",!0)]),_:1},8,["open"])):f("",!0)],64)}}});export{le as C,de as E,ue as _}; -//# sourceMappingURL=View.vue_vue_type_script_setup_true_lang.bbce7f6a.js.map +var x=Object.defineProperty;var _=(i,e,t)=>e in i?x(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var a=(i,e,t)=>(_(i,typeof e!="symbol"?e+"":e,t),t);import{C as k}from"./gateway.edd4374b.js";import{l as j}from"./fetch.42a41b34.js";import{E}from"./record.cff1707c.js";import{Q as F,e as O,ep as D,d as R,aq as I,o as h,X as S,u as s,c as y,eg as T,w as o,R as m,aR as P,b as c,aF as v,bP as $,e9 as C,cu as L,d8 as B,cA as N,cv as G,cH as M}from"./vue-router.324eaed2.js";import{S as z}from"./SaveButton.17e88f21.js";import{C as H}from"./CrudView.0b1b90a7.js";import{a as W}from"./asyncComputed.3916dfed.js";import{u as Z}from"./polling.72e5a2f8.js";import{G as q}from"./PhPencil.vue.91f72c2e.js";import{A as J}from"./index.0887bacc.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="0bcfe696-f78e-48f4-95c4-319ffaf7deb7",i._sentryDebugIdIdentifier="sentry-dbid-0bcfe696-f78e-48f4-95c4-319ffaf7deb7")}catch{}})();class f{constructor(e){a(this,"data");a(this,"deleted");a(this,"wasDeleted",e=>this.deleted.value.includes(e));a(this,"wasUpdated",e=>this.data.hasChangesDeep(e));a(this,"set",(e,t)=>{this.data.set(e,t),this.deleted.value=this.deleted.value.filter(n=>n!==e)});a(this,"get",e=>{if(!this.deleted.value.includes(e))return this.data.get(e)});a(this,"delete",e=>{this.deleted.value=[...this.deleted.value,e]});a(this,"values",()=>{const e={},t=Object.keys(this.data.changes).concat(Object.keys(this.data.initialState));for(const n of t)this.deleted.value.includes(n)||(e[n]=this.data.get(n));return e});a(this,"commit",()=>{this.data=E.from(this.values()),this.deleted.value=[]});this.data=E.from(e),this.deleted=F([])}static from(e){const t=e.reduce((n,{name:r,value:p})=>(n[r]=p,n),{});return new f(t)}get changes(){const e=this.deleted.value.map(t=>({name:t,change:"delete"}));for(const t of Object.keys(this.data.changes))if(!this.deleted.value.includes(t)){if(this.data.initialState[t]===void 0){e.push({name:t,value:this.data.get(t),change:"create"});continue}this.data.hasChangesDeep(t)&&e.push({name:t,value:this.data.get(t),change:"update"})}return e}}class K{constructor(){a(this,"urlPath","env-vars")}async list(e){return await k.get(`projects/${e}/${this.urlPath}`)}async update(e,t){await k.patch(`projects/${e}/${this.urlPath}`,t)}}const U=new K;class le{constructor(e){this.projectId=e}async get(){const e=await U.list(this.projectId);return f.from(e.map(t=>({...t,value:""})))}async update(e){await U.update(this.projectId,e)}}class de{constructor(e=j){this.fetch=e}async get(){const e=await this.fetch("/_editor/api/env-vars");if(!e.ok)throw new Error("Failed to list env vars");const t=await e.json();return f.from(t)}async update(e){await this.fetch("/_editor/api/env-vars",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}}class g{constructor(e,t,n,r){a(this,"envVarRepo");a(this,"envVars");a(this,"state",O({type:"idle"}));a(this,"mode");a(this,"fileOpener");a(this,"openEnvFile",async()=>{var e;await((e=this.fileOpener)==null?void 0:e.openFile(".env"))});a(this,"validate",e=>{const t=/^[A-Za-z_][A-Za-z0-9_]*$/,{key:n,value:r}=e;if(r.trim()!==r)throw new Error("Environment variable values cannot have leading or trailing whitespace.");if(!t.test(n))throw new Error(`Invalid key: \u2018${n}\u2019. A key must begin with a letter or an underscore, and may only include letters, numbers, and underscores.`)});a(this,"create",e=>{this.validate(e),this.envVars.set(e.key,e.value),this.state.value={type:"idle"}});a(this,"delete",e=>{this.envVars.delete(e),this.state.value={type:"idle"}});a(this,"startUpdating",e=>{this.state.value={type:"updating",name:e,value:this.envVars.get(e)||""}});a(this,"confirmUpdate",()=>{this.state.value.type==="updating"&&(this.envVars.set(this.state.value.name,this.state.value.value),this.state.value={type:"idle"})});a(this,"cancelUpdate",()=>{this.state.value={type:"idle"}});a(this,"pollingFunction",async()=>{if(!this.isLocalEditor)return;const e=await this.envVarRepo.get();Object.entries(e.values()).forEach(([t,n])=>{this.envVars.wasDeleted(t)||this.envVars.get(t)===void 0&&this.envVars.set(t,n)})});a(this,"columns",()=>[{name:"Key"},{name:"Value"},{name:""}]);a(this,"rows",()=>Object.entries(this.envVars.values()).map(([e,t])=>({key:e,cells:[{type:"text",text:e,contentType:this.wasUpdated(e)?"warning":"default"},{type:"text",text:this.isLocalEditor?t:"*********",contentType:this.wasUpdated(e)?"warning":"default"},{type:"actions",actions:[{icon:D,label:"Delete",onClick:()=>this.delete(e),dangerous:!0},{icon:q,label:"Update",onClick:()=>this.startUpdating(e)}]}]})));a(this,"save",async()=>{await this.envVarRepo.update(this.envVars.changes),this.envVars.commit()});a(this,"hasChanges",()=>this.envVars.changes.length>0);a(this,"table",()=>({columns:this.columns(),rows:this.rows()}));this.envVarRepo=e,this.envVars=t,this.mode=n,this.fileOpener=r}static async create(e,t,n){const r=await e.get();return new g(e,r,t,n)}get isLocalEditor(){return this.mode==="editor"}get saveMessage(){return this.isLocalEditor?"Save":"Save and Apply"}get creationFields(){return[{label:"Variable name",key:"key"},{label:"Variable value",key:"value",type:"multiline-text"}]}get isUpdating(){return this.state.value.type==="updating"}wasUpdated(e){return this.envVars.wasUpdated(e)}}const ce=R({__name:"View",props:{envVarRepository:{},mode:{},fileOpener:{}},setup(i){const e=i,{result:t,loading:n}=W(async()=>{const u=await g.create(e.envVarRepository,e.mode,e.fileOpener);return r(),u}),{startPolling:r,endPolling:p}=Z({task:()=>{var u;return(u=t.value)==null?void 0:u.pollingFunction()},interval:2e3});I(()=>p());const A={columns:[],rows:[]};return(u,d)=>{var w,b;return h(),S(P,null,[s(t)?(h(),y(H,{key:0,"entity-name":"Env var",loading:s(n),title:"Environment Variables",description:"Set environment variables for your project.","empty-title":"No environment variables set",table:s(t).table()||A,"create-button-text":"Add Environment Variable",create:s(t).create,fields:s(t).creationFields||[],live:s(t).isLocalEditor},T({_:2},[(w=s(t))!=null&&w.isLocalEditor?{name:"secondary",fn:o(()=>{var l;return[c(s($),{onClick:(l=s(t))==null?void 0:l.openEnvFile},{default:o(()=>[v("Open .env")]),_:1},8,["onClick"])]}),key:"0"}:void 0,(b=s(t))!=null&&b.isLocalEditor?{name:"extra",fn:o(()=>[c(s(J),{"show-icon":"",style:{"margin-top":"20px"}},{message:o(()=>[v(" This is simply a helper to manage your environment variables locally. The variables set here will not be deployed to Cloud with your project. ")]),_:1})]),key:"1"}:void 0,s(t)?{name:"more",fn:o(()=>[c(z,{model:s(t),disabled:!s(t).hasChanges()},{"with-changes":o(()=>[v(C(s(t).saveMessage),1)]),_:1},8,["model","disabled"])]),key:"2"}:void 0]),1032,["loading","table","create","fields","live"])):m("",!0),s(t)?(h(),y(s(M),{key:1,open:s(t).isUpdating,title:"Update value",onCancel:d[1]||(d[1]=l=>{var V;return(V=s(t))==null?void 0:V.cancelUpdate()}),onOk:d[2]||(d[2]=()=>{var l;return(l=s(t))==null?void 0:l.confirmUpdate()})},{default:o(()=>[s(t).state.value.type==="updating"?(h(),y(s(L),{key:0,layout:"vertical"},{default:o(()=>[c(s(G),null,{default:o(()=>[c(s(B),null,{default:o(()=>[v(C(s(t).state.value.name),1)]),_:1}),c(s(N),{value:s(t).state.value.value,"onUpdate:value":d[0]||(d[0]=l=>s(t).state.value.value=l)},null,8,["value"])]),_:1})]),_:1})):m("",!0)]),_:1},8,["open"])):m("",!0)],64)}}});export{le as C,de as E,ce as _}; +//# sourceMappingURL=View.vue_vue_type_script_setup_true_lang.4883471d.js.map diff --git a/abstra_statics/dist/assets/Watermark.0dce85a3.js b/abstra_statics/dist/assets/Watermark.de74448d.js similarity index 80% rename from abstra_statics/dist/assets/Watermark.0dce85a3.js rename to abstra_statics/dist/assets/Watermark.de74448d.js index eb8e0059e0..1f873769a6 100644 --- a/abstra_statics/dist/assets/Watermark.0dce85a3.js +++ b/abstra_statics/dist/assets/Watermark.de74448d.js @@ -1,2 +1,2 @@ -import{S as i}from"./workspaceStore.be837912.js";import{d as c,u as a,o as p,X as l,aF as b,e9 as _,R as f,e_ as C,eV as u,$ as h}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9f8f294e-9e46-4772-8541-f91d19edfe3d",e._sentryDebugIdIdentifier="sentry-dbid-9f8f294e-9e46-4772-8541-f91d19edfe3d")}catch{}})();const m=["href"],v=C('Abstra',2),g=c({__name:"Watermark",props:{pageId:{},locale:{}},setup(e){var s;const t=e,d=window.location.hostname.split(".")[0],r=(s=i.instance)==null?void 0:s.showWatermark,o=new URLSearchParams({utm_source:"abstra_pages",utm_medium:"badge",utm_campaign:t.pageId,origin_subdomain:d});return(n,w)=>a(r)?(p(),l("a",{key:0,href:`https://www.abstra.io/forms?${a(o).toString()}`,target:"_blank",class:"watermark"},[b(_(a(u).translate("i18n_watermark_text",n.locale))+" ",1),v],8,m)):f("",!0)}});const k=h(g,[["__scopeId","data-v-4bed0b2c"]]);export{k as W}; -//# sourceMappingURL=Watermark.0dce85a3.js.map +import{S as i}from"./workspaceStore.5977d9e8.js";import{d as c,u as t,o as p,X as l,aF as b,e9 as _,R as C,e_ as f,eV as u,$ as h}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="758729e5-9216-4ccd-a12c-7e032d3aa2e1",e._sentryDebugIdIdentifier="sentry-dbid-758729e5-9216-4ccd-a12c-7e032d3aa2e1")}catch{}})();const m=["href"],v=f('Abstra',2),g=c({__name:"Watermark",props:{pageId:{},locale:{}},setup(e){var s;const a=e,d=window.location.hostname.split(".")[0],r=(s=i.instance)==null?void 0:s.showWatermark,o=new URLSearchParams({utm_source:"abstra_pages",utm_medium:"badge",utm_campaign:a.pageId,origin_subdomain:d});return(n,w)=>t(r)?(p(),l("a",{key:0,href:`https://www.abstra.io/forms?${t(o).toString()}`,target:"_blank",class:"watermark"},[b(_(t(u).translate("i18n_watermark_text",n.locale))+" ",1),v],8,m)):C("",!0)}});const k=h(g,[["__scopeId","data-v-4bed0b2c"]]);export{k as W}; +//# sourceMappingURL=Watermark.de74448d.js.map diff --git a/abstra_statics/dist/assets/WebEditor.2c0cf334.js b/abstra_statics/dist/assets/WebEditor.2c0cf334.js new file mode 100644 index 0000000000..00c0365f12 --- /dev/null +++ b/abstra_statics/dist/assets/WebEditor.2c0cf334.js @@ -0,0 +1,2 @@ +import{C as h}from"./ContentLayout.5465dc16.js";import{d as f,e as d,W as m,aq as b,r as v,o as l,X as w,c as _,Y as x,$ as I,ea as k,ag as C,w as c,b as r,aF as p,u as i,d9 as A,d7 as T,dd as M}from"./vue-router.324eaed2.js";import{l as S}from"./fetch.42a41b34.js";import{L as W}from"./CircularLoading.08cb4e45.js";import"./gateway.edd4374b.js";import{P as z}from"./project.a5f62f99.js";import"./tables.842b993f.js";import"./popupNotifcation.5a82bc93.js";import"./record.cff1707c.js";import"./string.d698465c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="806f9a1c-fde5-472f-96bd-afec33ceec00",e._sentryDebugIdIdentifier="sentry-dbid-806f9a1c-fde5-472f-96bd-afec33ceec00")}catch{}})();const B={class:"carousel"},D=f({__name:"TextCarousel",props:{texts:{type:Array,required:!0},period:{type:Number,required:!0},fontSize:{type:Number,default:18}},setup(e){const t=e,o=d(""),a=d(void 0);function s(){let n;do n=t.texts[Math.floor(Math.random()*t.texts.length)];while(n===o.value);o.value=n}function u(){a.value=window.setInterval(s,t.period*1e3)}return m(()=>{s(),u()}),b(()=>{a.value&&clearInterval(a.value)}),(n,y)=>{const g=v("Markdown");return l(),w("div",B,[(l(),_(g,{key:o.value,class:"text-item",source:o.value,style:x({fontSize:`${e.fontSize}px`})},null,8,["source","style"]))])}}});const E=I(D,[["__scopeId","data-v-1b2302ac"]]),G=f({__name:"WebEditor",setup(e){const t=["Did you know Abstra is open-source? You can star us on GitHub!","Python is the most popular language among non-developers",'You can use the "Fork" button to create a copy of a script run',"With our AI, you can create a full project in less than a minute!","Breaking your process into smaller steps can help debug it","Ask anything to Smart Console, our AI assistant","Check our documentation to learn more about Abstra","You can retry a failed step in the workflow using the Kanban","Customize your workspace by changing the theme in the settings"];return m(async()=>{const a=k().params.projectId,{redirect:s,ping:u}=await z.startWebEditor(a),n=setInterval(async()=>{(await S(u,{signal:AbortSignal.timeout(500)})).status===200&&window.location.replace(s)},2e3);C(()=>{clearInterval(n)})}),(o,a)=>(l(),_(h,null,{default:c(()=>[r(i(A),null,{default:c(()=>[p("Web Editor")]),_:1}),r(i(T),null,{default:c(()=>[p("We are getting things ready. This may take a few seconds.")]),_:1}),r(i(M),{gap:"large",align:"center",vertical:""},{default:c(()=>[r(E,{texts:t,period:5}),r(W)]),_:1})]),_:1}))}});export{G as default}; +//# sourceMappingURL=WebEditor.2c0cf334.js.map diff --git a/abstra_statics/dist/assets/WebEditor.9ae41674.js b/abstra_statics/dist/assets/WebEditor.9ae41674.js deleted file mode 100644 index 6af4441316..0000000000 --- a/abstra_statics/dist/assets/WebEditor.9ae41674.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as h}from"./ContentLayout.d691ad7a.js";import{d as f,e as d,W as m,aq as b,r as v,o as c,X as w,c as _,Y as x,$ as I,ea as k,ag as C,w as u,b as r,aF as p,u as l,d9 as A,d7 as T,dd as M}from"./vue-router.33f35a18.js";import{l as S}from"./fetch.3971ea84.js";import{L as W}from"./CircularLoading.1c6a1f61.js";import"./gateway.a5388860.js";import{P as z}from"./project.0040997f.js";import"./tables.8d6766f6.js";import"./popupNotifcation.7fc1aee0.js";import"./record.075b7d45.js";import"./string.44188c83.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="36edd697-5a65-4994-9f8a-82d75860006a",e._sentryDebugIdIdentifier="sentry-dbid-36edd697-5a65-4994-9f8a-82d75860006a")}catch{}})();const B={class:"carousel"},D=f({__name:"TextCarousel",props:{texts:{type:Array,required:!0},period:{type:Number,required:!0},fontSize:{type:Number,default:18}},setup(e){const t=e,a=d(""),o=d(void 0);function s(){let n;do n=t.texts[Math.floor(Math.random()*t.texts.length)];while(n===a.value);a.value=n}function i(){o.value=window.setInterval(s,t.period*1e3)}return m(()=>{s(),i()}),b(()=>{o.value&&clearInterval(o.value)}),(n,y)=>{const g=v("Markdown");return c(),w("div",B,[(c(),_(g,{key:a.value,class:"text-item",source:a.value,style:x({fontSize:`${e.fontSize}px`})},null,8,["source","style"]))])}}});const E=I(D,[["__scopeId","data-v-1b2302ac"]]),G=f({__name:"WebEditor",setup(e){const t=["Did you know Abstra is open-source? You can star us on GitHub!","Python is the most popular language among non-developers",'You can use the "Fork" button to create a copy of a script run',"With our AI, you can create a full project in less than a minute!","Breaking your process into smaller steps can help debug it","Ask anything to Smart Console, our AI assistant","Check our documentation to learn more about Abstra","You can retry a failed step in the workflow using the Kanban","Customize your workspace by changing the theme in the settings"];return m(async()=>{const o=k().params.projectId,{redirect:s,ping:i}=await z.startWebEditor(o),n=setInterval(async()=>{(await S(i,{signal:AbortSignal.timeout(500)})).status===200&&window.location.replace(s)},2e3);C(()=>{clearInterval(n)})}),(a,o)=>(c(),_(h,null,{default:u(()=>[r(l(A),null,{default:u(()=>[p("Web Editor")]),_:1}),r(l(T),null,{default:u(()=>[p("We are getting things ready. This may take a few seconds.")]),_:1}),r(l(M),{gap:"large",align:"center",vertical:""},{default:u(()=>[r(E,{texts:t,period:5}),r(W)]),_:1})]),_:1}))}});export{G as default}; -//# sourceMappingURL=WebEditor.9ae41674.js.map diff --git a/abstra_statics/dist/assets/Welcome.3818224e.js b/abstra_statics/dist/assets/Welcome.3818224e.js deleted file mode 100644 index 388b9057c6..0000000000 --- a/abstra_statics/dist/assets/Welcome.3818224e.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as y}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import{C as h}from"./ContentLayout.d691ad7a.js";import{l as w}from"./fetch.3971ea84.js";import{d as b,eo as g,ea as k,e as v,o as r,c,w as n,b as p,a as C,u as d,d5 as _,aF as f,$ as x}from"./vue-router.33f35a18.js";import{u as I,E as T}from"./editor.c70395a0.js";import{C as D}from"./Card.639eca4a.js";import"./Logo.389f375b.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./asyncComputed.c677c545.js";import"./TabPane.1080fde7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a9629a35-c71c-4c41-9c77-7451250d7810",e._sentryDebugIdIdentifier="sentry-dbid-a9629a35-c71c-4c41-9c77-7451250d7810")}catch{}})();const L={class:"card-content"},N=b({__name:"Welcome",setup(e){const o=g(),{query:i}=k(),a=I();a.loadLogin();const l=v(!0),u=async()=>{l.value=!1,setInterval(()=>{var t;return window.location.replace(((t=a==null?void 0:a.links)==null?void 0:t.project)||T.consoleUrl)},5e3)};return(async()=>{const t=i.token,s=await w("/_editor/web-editor/welcome",{method:"POST",body:JSON.stringify({token:t}),headers:{"Content-Type":"application/json"}});if(!s.ok)return u();const{ok:m}=await s.json();if(!m)return u();await o.push({name:"workspace"})})(),(t,s)=>(r(),c(h,null,{default:n(()=>[p(d(D),{bordered:!1,class:"card"},{default:n(()=>[C("div",L,[p(y,{style:{"margin-bottom":"10px"}}),l.value?(r(),c(d(_),{key:0},{default:n(()=>[f("Loading...")]),_:1})):(r(),c(d(_),{key:1},{default:n(()=>[f("Authentication failed. You are been redirected...")]),_:1}))])]),_:1})]),_:1}))}});const q=x(N,[["__scopeId","data-v-a984ec04"]]);export{q as default}; -//# sourceMappingURL=Welcome.3818224e.js.map diff --git a/abstra_statics/dist/assets/Welcome.7ba14821.js b/abstra_statics/dist/assets/Welcome.7ba14821.js new file mode 100644 index 0000000000..eb2c561be5 --- /dev/null +++ b/abstra_statics/dist/assets/Welcome.7ba14821.js @@ -0,0 +1,2 @@ +import{_ as y}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import{C as b}from"./ContentLayout.5465dc16.js";import{l as h}from"./fetch.42a41b34.js";import{d as w,eo as g,ea as k,e as v,o as r,c,w as n,b as f,a as C,u as d,d5 as p,aF as _,$ as x}from"./vue-router.324eaed2.js";import{u as I,E as T}from"./editor.1b3b164b.js";import{C as D}from"./Card.1902bdb7.js";import"./Logo.bfb8cf31.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./asyncComputed.3916dfed.js";import"./TabPane.caed57de.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c1c29ed6-8021-4815-88ad-66bfd5682819",e._sentryDebugIdIdentifier="sentry-dbid-c1c29ed6-8021-4815-88ad-66bfd5682819")}catch{}})();const L={class:"card-content"},N=w({__name:"Welcome",setup(e){const o=g(),{query:i}=k(),a=I();a.loadLogin();const l=v(!0),u=async()=>{l.value=!1,setInterval(()=>{var t;return window.location.replace(((t=a==null?void 0:a.links)==null?void 0:t.project)||T.consoleUrl)},5e3)};return(async()=>{const t=i.token,s=await h("/_editor/web-editor/welcome",{method:"POST",body:JSON.stringify({token:t}),headers:{"Content-Type":"application/json"}});if(!s.ok)return u();const{ok:m}=await s.json();if(!m)return u();await o.push({name:"workspace"})})(),(t,s)=>(r(),c(b,null,{default:n(()=>[f(d(D),{bordered:!1,class:"card"},{default:n(()=>[C("div",L,[f(y,{style:{"margin-bottom":"10px"}}),l.value?(r(),c(d(p),{key:0},{default:n(()=>[_("Loading...")]),_:1})):(r(),c(d(p),{key:1},{default:n(()=>[_("Authentication failed. You are been redirected...")]),_:1}))])]),_:1})]),_:1}))}});const q=x(N,[["__scopeId","data-v-a984ec04"]]);export{q as default}; +//# sourceMappingURL=Welcome.7ba14821.js.map diff --git a/abstra_statics/dist/assets/WidgetPreview.3da8c1f3.js b/abstra_statics/dist/assets/WidgetPreview.d4229321.js similarity index 60% rename from abstra_statics/dist/assets/WidgetPreview.3da8c1f3.js rename to abstra_statics/dist/assets/WidgetPreview.d4229321.js index 2c0e610fd9..798f8aa41a 100644 --- a/abstra_statics/dist/assets/WidgetPreview.3da8c1f3.js +++ b/abstra_statics/dist/assets/WidgetPreview.d4229321.js @@ -1,2 +1,2 @@ -import{d as k,e as B,W as P,o as n,c as u,w as f,b as A,aF as I,e9 as S,ed as C,eU as D,u as y,bP as N,eZ as q,$ as W,ea as V,R as g,a as b,X as d,eb as v,ec as x,aR as w,q as E,t as $}from"./vue-router.33f35a18.js";import{S as F}from"./Steps.677c01d2.js";import{W as L}from"./PlayerConfigProvider.90e436c2.js";import"./index.b3a210ed.js";import"./colorHelpers.aaea81c6.js";import"./index.dec2a631.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="2cf3f581-356d-48a5-85cc-b4fe46698ac8",o._sentryDebugIdIdentifier="sentry-dbid-2cf3f581-356d-48a5-85cc-b4fe46698ac8")}catch{}})();const K=k({__name:"ActionButton",props:{action:{},displayName:{},disabled:{type:Boolean},loading:{type:Boolean}},emits:["click"],setup(o,{emit:t}){const c=o,l=B(null);return P(()=>{l.value&&c.action.setElement(l.value)}),(r,i)=>(n(),u(y(q),null,{default:f(()=>[A(y(N),{ref_key:"element",ref:l,class:C(["next-button",r.disabled?"disabled":""]),loading:r.loading,disabled:r.disabled,onClick:i[0]||(i[0]=p=>t("click")),onKeydown:i[1]||(i[1]=D(p=>t("click"),["enter"]))},{default:f(()=>[I(S(r.displayName),1)]),_:1},8,["loading","disabled","class"])]),_:1}))}});const R=W(K,[["__scopeId","data-v-aea27bb7"]]),M={class:"form"},O={class:"form-wrapper"},z={key:0,class:"buttons"},J=k({__name:"WidgetPreview",setup(o){const t=V(),c=B([]);function l(e){return E[e]||$[e]||null}function r(e){try{const s=JSON.parse(e);if(s.component=l(s.type),!s.component)throw new Error(`Widget ${s.type} not found`);return s.component?s:null}catch{return null}}function i(){const e=t.query.widget;return Array.isArray(e)?e.map(r).filter(Boolean):[r(e)]}function p(){return t.query.steps==="true"}function m(){const e=t.query.button;return e?Array.isArray(e)?e:[e]:[]}const _=e=>({name:e,isDefault:!1,isFocused:!1,focusOnButton:()=>{},addKeydownListener:()=>{},setElement:()=>{}});return(e,s)=>(n(),u(L,{"main-color":"#d14056",class:"preview",background:"#fbfbfb","font-family":"Inter",locale:"en"},{default:f(()=>[p()?(n(),u(F,{key:0,class:"steps","steps-info":{current:1,total:3}})):g("",!0),b("div",M,[b("div",O,[(n(!0),d(w,null,v(i(),(a,h)=>(n(),d("div",{key:h,class:"widget"},[(n(),u(x(a.component),{"user-props":a.userProps,value:a.userProps.value,errors:c.value},null,8,["user-props","value","errors"]))]))),128))]),m().length?(n(),d("div",z,[(n(!0),d(w,null,v(m(),a=>(n(),u(R,{key:a,"display-name":_(a).name,action:_(a)},null,8,["display-name","action"]))),128))])):g("",!0)])]),_:1}))}});const Q=W(J,[["__scopeId","data-v-0c6cef1d"]]);export{Q as default}; -//# sourceMappingURL=WidgetPreview.3da8c1f3.js.map +import{d as k,e as B,W as P,o as n,c as u,w as f,b as A,aF as I,e9 as S,ed as C,eU as D,u as y,bP as N,eZ as q,$ as W,ea as V,R as b,a as g,X as c,eb as v,ec as x,aR as w,q as E,t as $}from"./vue-router.324eaed2.js";import{S as F}from"./Steps.f9a5ddf6.js";import{W as L}from"./PlayerConfigProvider.8618ed20.js";import"./index.0b1755c2.js";import"./colorHelpers.78fae216.js";import"./index.40f13cf1.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="737e58c5-e0cf-43df-bd13-2628eb4f43bb",o._sentryDebugIdIdentifier="sentry-dbid-737e58c5-e0cf-43df-bd13-2628eb4f43bb")}catch{}})();const K=k({__name:"ActionButton",props:{action:{},displayName:{},disabled:{type:Boolean},loading:{type:Boolean}},emits:["click"],setup(o,{emit:t}){const d=o,l=B(null);return P(()=>{l.value&&d.action.setElement(l.value)}),(r,i)=>(n(),u(y(q),null,{default:f(()=>[A(y(N),{ref_key:"element",ref:l,class:C(["next-button",r.disabled?"disabled":""]),loading:r.loading,disabled:r.disabled,onClick:i[0]||(i[0]=p=>t("click")),onKeydown:i[1]||(i[1]=D(p=>t("click"),["enter"]))},{default:f(()=>[I(S(r.displayName),1)]),_:1},8,["loading","disabled","class"])]),_:1}))}});const R=W(K,[["__scopeId","data-v-aea27bb7"]]),M={class:"form"},O={class:"form-wrapper"},z={key:0,class:"buttons"},J=k({__name:"WidgetPreview",setup(o){const t=V(),d=B([]);function l(e){return E[e]||$[e]||null}function r(e){try{const s=JSON.parse(e);if(s.component=l(s.type),!s.component)throw new Error(`Widget ${s.type} not found`);return s.component?s:null}catch{return null}}function i(){const e=t.query.widget;return Array.isArray(e)?e.map(r).filter(Boolean):[r(e)]}function p(){return t.query.steps==="true"}function m(){const e=t.query.button;return e?Array.isArray(e)?e:[e]:[]}const _=e=>({name:e,isDefault:!1,isFocused:!1,focusOnButton:()=>{},addKeydownListener:()=>{},setElement:()=>{}});return(e,s)=>(n(),u(L,{"main-color":"#d14056",class:"preview",background:"#fbfbfb","font-family":"Inter",locale:"en"},{default:f(()=>[p()?(n(),u(F,{key:0,class:"steps","steps-info":{current:1,total:3}})):b("",!0),g("div",M,[g("div",O,[(n(!0),c(w,null,v(i(),(a,h)=>(n(),c("div",{key:h,class:"widget"},[(n(),u(x(a.component),{"user-props":a.userProps,value:a.userProps.value,errors:d.value},null,8,["user-props","value","errors"]))]))),128))]),m().length?(n(),c("div",z,[(n(!0),c(w,null,v(m(),a=>(n(),u(R,{key:a,"display-name":_(a).name,action:_(a)},null,8,["display-name","action"]))),128))])):b("",!0)])]),_:1}))}});const Q=W(J,[["__scopeId","data-v-0c6cef1d"]]);export{Q as default}; +//# sourceMappingURL=WidgetPreview.d4229321.js.map diff --git a/abstra_statics/dist/assets/Workflow.f95d40ff.js b/abstra_statics/dist/assets/Workflow.d9c6a369.js similarity index 99% rename from abstra_statics/dist/assets/Workflow.f95d40ff.js rename to abstra_statics/dist/assets/Workflow.d9c6a369.js index d7babdaef1..eb288db6da 100644 --- a/abstra_statics/dist/assets/Workflow.f95d40ff.js +++ b/abstra_statics/dist/assets/Workflow.d9c6a369.js @@ -1,4 +1,4 @@ -var hl=Object.defineProperty;var gl=(e,t,n)=>t in e?hl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xe=(e,t,n)=>(gl(e,typeof t!="symbol"?t+"":t,n),n);import{d as he,B as Pe,f as U,o as O,X as q,Z as Ne,R as me,e8 as mt,a as ge,b as j,ee as pl,p as $e,H as ps,x as vs,g as Ee,V as Tt,e as ie,bA as be,W as Oe,eq as ms,ag as Rt,w as ue,u as D,I as Un,J as rt,dF as vl,er as ys,es as Ei,Y as Ie,ed as Xe,c as fe,aR as Ae,am as Cn,D as ml,e9 as Te,E as Ni,K as yl,et as wl,eu as _e,ec as He,aF as Be,aq as ws,r as _s,eb as tn,ev as bs,ew as _l,y as Lt,ex as bl,cI as kt,Q as ir,ej as bt,aK as $l,ey as $s,d8 as $o,bH as Ut,$ as lt,aA as Sl,cQ as rr,dd as At,ez as xl,eA as El,aV as Nl,bP as kl,d5 as ki,di as Cl,cv as Ml,cu as Il,cH as Tl,eo as Al,em as Pl,en as Dl,eh as zl,eB as Bl}from"./vue-router.33f35a18.js";import{w as Wt,s as Ci}from"./metadata.bccf44f5.js";import{G as Ol}from"./PhArrowCounterClockwise.vue.4a7ab991.js";import{a as Rl,n as no,c as Vl,d as Ss,v as xs,e as Es}from"./validations.64a1fba7.js";import{u as Hl}from"./uuid.0acc5368.js";import{t as So}from"./index.dec2a631.js";import{W as Fo}from"./workspaces.91ed8c72.js";import{u as Fl}from"./polling.3587342a.js";import"./index.1fcaf67f.js";import{B as un}from"./Badge.71fee936.js";import{G as sr}from"./PhArrowDown.vue.ba4eea7b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="adf3bfe5-c995-480c-a530-86873198a717",e._sentryDebugIdIdentifier="sentry-dbid-adf3bfe5-c995-480c-a530-86873198a717")}catch{}})();var Ll={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};const Yl=Ll,Xl=["width","height","fill","transform"],Gl={key:0},Zl=ge("path",{d:"M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"},null,-1),Ul=[Zl],Wl={key:1},ql=ge("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Kl=ge("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"},null,-1),Ql=[ql,Kl],Jl={key:2},jl=ge("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"},null,-1),eu=[jl],tu={key:3},nu=ge("path",{d:"M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"},null,-1),ou=[nu],iu={key:4},ru=ge("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"},null,-1),su=[ru],au={key:5},lu=ge("path",{d:"M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"},null,-1),uu=[lu],cu={name:"PhArrowClockwise"},du=he({...cu,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=Pe("weight","regular"),o=Pe("size","1em"),i=Pe("color","currentColor"),r=Pe("mirrored",!1),s=U(()=>{var c;return(c=t.weight)!=null?c:n}),a=U(()=>{var c;return(c=t.size)!=null?c:o}),l=U(()=>{var c;return(c=t.color)!=null?c:i}),u=U(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:r?"scale(-1, 1)":void 0);return(c,d)=>(O(),q("svg",mt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:a.value,height:a.value,fill:l.value,transform:u.value},c.$attrs),[Ne(c.$slots,"default"),s.value==="bold"?(O(),q("g",Gl,Ul)):s.value==="duotone"?(O(),q("g",Wl,Ql)):s.value==="fill"?(O(),q("g",Jl,eu)):s.value==="light"?(O(),q("g",tu,ou)):s.value==="regular"?(O(),q("g",iu,su)):s.value==="thin"?(O(),q("g",au,uu)):me("",!0)],16,Xl))}}),fu=["width","height","fill","transform"],hu={key:0},gu=ge("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"},null,-1),pu=[gu],vu={key:1},mu=ge("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),yu=ge("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"},null,-1),wu=[mu,yu],_u={key:2},bu=ge("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"},null,-1),$u=[bu],Su={key:3},xu=ge("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"},null,-1),Eu=[xu],Nu={key:4},ku=ge("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"},null,-1),Cu=[ku],Mu={key:5},Iu=ge("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"},null,-1),Tu=[Iu],Au={name:"PhClock"},Pu=he({...Au,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=Pe("weight","regular"),o=Pe("size","1em"),i=Pe("color","currentColor"),r=Pe("mirrored",!1),s=U(()=>{var c;return(c=t.weight)!=null?c:n}),a=U(()=>{var c;return(c=t.size)!=null?c:o}),l=U(()=>{var c;return(c=t.color)!=null?c:i}),u=U(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:r?"scale(-1, 1)":void 0);return(c,d)=>(O(),q("svg",mt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:a.value,height:a.value,fill:l.value,transform:u.value},c.$attrs),[Ne(c.$slots,"default"),s.value==="bold"?(O(),q("g",hu,pu)):s.value==="duotone"?(O(),q("g",vu,wu)):s.value==="fill"?(O(),q("g",_u,$u)):s.value==="light"?(O(),q("g",Su,Eu)):s.value==="regular"?(O(),q("g",Nu,Cu)):s.value==="thin"?(O(),q("g",Mu,Tu)):me("",!0)],16,fu))}});function ar(e){for(var t=1;ttypeof e<"u",Ru=Object.prototype.toString,Vu=e=>Ru.call(e)==="[object Object]",Hu=()=>{};function Fu(e,t){function n(...o){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(r)})}return n}const Ns=e=>e();function Lu(e=Ns){const t=ie(!0);function n(){t.value=!1}function o(){t.value=!0}const i=(...r)=>{t.value&&e(...r)};return{isActive:bl(t),pause:n,resume:o,eventFilter:i}}function lr(e,t=!1,n="Timeout"){return new Promise((o,i)=>{setTimeout(t?()=>i(n):o,e)})}function Yu(e,t,n={}){const{eventFilter:o=Ns,...i}=n;return Ee(e,Fu(o,t),i)}function Ht(e,t,n={}){const{eventFilter:o,...i}=n,{eventFilter:r,pause:s,resume:a,isActive:l}=Lu(o);return{stop:Yu(e,t,{...i,eventFilter:r}),pause:s,resume:a,isActive:l}}function Xu(e,t={}){if(!Ni(e))return yl(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const o in e.value)n[o]=wl(()=>({get(){return e.value[o]},set(i){var r;if((r=nt(t.replaceRef))!=null?r:!0)if(Array.isArray(e.value)){const a=[...e.value];a[o]=i,e.value=a}else{const a={...e.value,[o]:i};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[o]=i}}));return n}function ti(e,t=!1){function n(d,{flush:h="sync",deep:g=!1,timeout:S,throwOnTimeout:_}={}){let b=null;const v=[new Promise(N=>{b=Ee(e,k=>{d(k)!==t&&(b==null||b(),N(k))},{flush:h,deep:g,immediate:!0})})];return S!=null&&v.push(lr(S,_).then(()=>nt(e)).finally(()=>b==null?void 0:b())),Promise.race(v)}function o(d,h){if(!Ni(d))return n(k=>k===d,h);const{flush:g="sync",deep:S=!1,timeout:_,throwOnTimeout:b}=h!=null?h:{};let $=null;const N=[new Promise(k=>{$=Ee([e,d],([V,Y])=>{t!==(V===Y)&&($==null||$(),k(V))},{flush:g,deep:S,immediate:!0})})];return _!=null&&N.push(lr(_,b).then(()=>nt(e)).finally(()=>($==null||$(),nt(e)))),Promise.race(N)}function i(d){return n(h=>Boolean(h),d)}function r(d){return o(null,d)}function s(d){return o(void 0,d)}function a(d){return n(Number.isNaN,d)}function l(d,h){return n(g=>{const S=Array.from(g);return S.includes(d)||S.includes(nt(d))},h)}function u(d){return c(1,d)}function c(d=1,h){let g=-1;return n(()=>(g+=1,g>=d),h)}return Array.isArray(nt(e))?{toMatch:n,toContains:l,changed:u,changedTimes:c,get not(){return ti(e,!t)}}:{toMatch:n,toBe:o,toBeTruthy:i,toBeNull:r,toBeNaN:a,toBeUndefined:s,changed:u,changedTimes:c,get not(){return ti(e,!t)}}}function ni(e){return ti(e)}function Gu(e){var t;const n=nt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ks=Bu?window:void 0;function Cs(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=ks):[t,n,o,i]=e,!t)return Hu;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],s=()=>{r.forEach(c=>c()),r.length=0},a=(c,d,h,g)=>(c.addEventListener(d,h,g),()=>c.removeEventListener(d,h,g)),l=Ee(()=>[Gu(t),nt(i)],([c,d])=>{if(s(),!c)return;const h=Vu(d)?{...d}:d;r.push(...n.flatMap(g=>o.map(S=>a(c,g,S,h))))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return xo(u),u}function Zu(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ur(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=ks,eventName:r="keydown",passive:s=!1,dedupe:a=!1}=o,l=Zu(t);return Cs(i,r,c=>{c.repeat&&nt(a)||l(c)&&n(c)},s)}function Uu(e){return JSON.parse(JSON.stringify(e))}function Lo(e,t,n,o={}){var i,r,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:h}=o,g=Cn(),S=n||(g==null?void 0:g.emit)||((i=g==null?void 0:g.$emit)==null?void 0:i.bind(g))||((s=(r=g==null?void 0:g.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(g==null?void 0:g.proxy));let _=u;t||(t="modelValue"),_=_||`update:${t.toString()}`;const b=N=>a?typeof a=="function"?a(N):Uu(N):N,$=()=>Ou(e[t])?b(e[t]):d,v=N=>{h?h(N)&&S(_,N):S(_,N)};if(l){const N=$(),k=ie(N);let V=!1;return Ee(()=>e[t],Y=>{V||(V=!0,k.value=b(Y),rt(()=>V=!1))}),Ee(k,Y=>{!V&&(Y!==e[t]||c)&&v(Y)},{deep:c}),k}else return U({get(){return $()},set(N){v(N)}})}var Wu={value:()=>{}};function Eo(){for(var e=0,t=arguments.length,n={},o;e=0&&(o=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}Wn.prototype=Eo.prototype={constructor:Wn,on:function(e,t){var n=this._,o=qu(e+"",n),i,r=-1,s=o.length;if(arguments.length<2){for(;++r0)for(var n=new Array(i),o=0,i,r;o=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),dr.hasOwnProperty(t)?{space:dr[t],local:e}:e}function Qu(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===oi&&t.documentElement.namespaceURI===oi?t.createElement(e):t.createElementNS(n,e)}}function Ju(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Ms(e){var t=No(e);return(t.local?Ju:Qu)(t)}function ju(){}function Ii(e){return e==null?ju:function(){return this.querySelector(e)}}function ec(e){typeof e!="function"&&(e=Ii(e));for(var t=this._groups,n=t.length,o=new Array(n),i=0;i=N&&(N=v+1);!(V=b[N])&&++N=0;)(s=o[i])&&(r&&s.compareDocumentPosition(r)^4&&r.parentNode.insertBefore(s,r),r=s);return this}function Ec(e){e||(e=Nc);function t(d,h){return d&&h?e(d.__data__,h.__data__):!d-!h}for(var n=this._groups,o=n.length,i=new Array(o),r=0;rt?1:e>=t?0:NaN}function kc(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Cc(){return Array.from(this)}function Mc(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?Hc:typeof t=="function"?Lc:Fc)(e,t,n==null?"":n)):qt(this.node(),e)}function qt(e,t){return e.style.getPropertyValue(t)||Ds(e).getComputedStyle(e,null).getPropertyValue(t)}function Xc(e){return function(){delete this[e]}}function Gc(e,t){return function(){this[e]=t}}function Zc(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Uc(e,t){return arguments.length>1?this.each((t==null?Xc:typeof t=="function"?Zc:Gc)(e,t)):this.node()[e]}function zs(e){return e.trim().split(/^|\s+/)}function Ti(e){return e.classList||new Bs(e)}function Bs(e){this._node=e,this._names=zs(e.getAttribute("class")||"")}Bs.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Os(e,t){for(var n=Ti(e),o=-1,i=t.length;++o=0&&(n=t.slice(o+1),t=t.slice(0,o)),{type:t,name:n}})}function bd(e){return function(){var t=this.__on;if(!!t){for(var n=0,o=-1,i=t.length,r;n()=>e;function ii(e,{sourceEvent:t,subject:n,target:o,identifier:i,active:r,x:s,y:a,dx:l,dy:u,dispatch:c}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:c}})}ii.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function Td(e){return!e.ctrlKey&&!e.button}function Ad(){return this.parentNode}function Pd(e,t){return t==null?{x:e.x,y:e.y}:t}function Dd(){return navigator.maxTouchPoints||"ontouchstart"in this}function zd(){var e=Td,t=Ad,n=Pd,o=Dd,i={},r=Eo("start","drag","end"),s=0,a,l,u,c,d=0;function h(k){k.on("mousedown.drag",g).filter(o).on("touchstart.drag",b).on("touchmove.drag",$,Id).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(k,V){if(!(c||!e.call(this,k,V))){var Y=N(this,t.call(this,k,V),k,V,"mouse");!Y||(Fe(k.view).on("mousemove.drag",S,mn).on("mouseup.drag",_,mn),Fs(k.view),Yo(k),u=!1,a=k.clientX,l=k.clientY,Y("start",k))}}function S(k){if(Yt(k),!u){var V=k.clientX-a,Y=k.clientY-l;u=V*V+Y*Y>d}i.mouse("drag",k)}function _(k){Fe(k.view).on("mousemove.drag mouseup.drag",null),Ls(k.view,u),Yt(k),i.mouse("end",k)}function b(k,V){if(!!e.call(this,k,V)){var Y=k.changedTouches,F=t.call(this,k,V),K=Y.length,Z,T;for(Z=0;Z>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?zn(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?zn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Od.exec(e))?new De(t[1],t[2],t[3],1):(t=Rd.exec(e))?new De(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Vd.exec(e))?zn(t[1],t[2],t[3],t[4]):(t=Hd.exec(e))?zn(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Fd.exec(e))?yr(t[1],t[2]/100,t[3]/100,1):(t=Ld.exec(e))?yr(t[1],t[2]/100,t[3]/100,t[4]):fr.hasOwnProperty(e)?pr(fr[e]):e==="transparent"?new De(NaN,NaN,NaN,0):null}function pr(e){return new De(e>>16&255,e>>8&255,e&255,1)}function zn(e,t,n,o){return o<=0&&(e=t=n=NaN),new De(e,t,n,o)}function Gd(e){return e instanceof In||(e=_n(e)),e?(e=e.rgb(),new De(e.r,e.g,e.b,e.opacity)):new De}function ri(e,t,n,o){return arguments.length===1?Gd(e):new De(e,t,n,o==null?1:o)}function De(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}Ai(De,ri,Ys(In,{brighter(e){return e=e==null?io:Math.pow(io,e),new De(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?yn:Math.pow(yn,e),new De(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new De(Ct(this.r),Ct(this.g),Ct(this.b),ro(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:vr,formatHex:vr,formatHex8:Zd,formatRgb:mr,toString:mr}));function vr(){return`#${Et(this.r)}${Et(this.g)}${Et(this.b)}`}function Zd(){return`#${Et(this.r)}${Et(this.g)}${Et(this.b)}${Et((isNaN(this.opacity)?1:this.opacity)*255)}`}function mr(){const e=ro(this.opacity);return`${e===1?"rgb(":"rgba("}${Ct(this.r)}, ${Ct(this.g)}, ${Ct(this.b)}${e===1?")":`, ${e})`}`}function ro(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ct(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Et(e){return e=Ct(e),(e<16?"0":"")+e.toString(16)}function yr(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Le(e,t,n,o)}function Xs(e){if(e instanceof Le)return new Le(e.h,e.s,e.l,e.opacity);if(e instanceof In||(e=_n(e)),!e)return new Le;if(e instanceof Le)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,i=Math.min(t,n,o),r=Math.max(t,n,o),s=NaN,a=r-i,l=(r+i)/2;return a?(t===r?s=(n-o)/a+(n0&&l<1?0:s,new Le(s,a,l,e.opacity)}function Ud(e,t,n,o){return arguments.length===1?Xs(e):new Le(e,t,n,o==null?1:o)}function Le(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}Ai(Le,Ud,Ys(In,{brighter(e){return e=e==null?io:Math.pow(io,e),new Le(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?yn:Math.pow(yn,e),new Le(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,i=2*n-o;return new De(Xo(e>=240?e-240:e+120,i,o),Xo(e,i,o),Xo(e<120?e+240:e-120,i,o),this.opacity)},clamp(){return new Le(wr(this.h),Bn(this.s),Bn(this.l),ro(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ro(this.opacity);return`${e===1?"hsl(":"hsla("}${wr(this.h)}, ${Bn(this.s)*100}%, ${Bn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function wr(e){return e=(e||0)%360,e<0?e+360:e}function Bn(e){return Math.max(0,Math.min(1,e||0))}function Xo(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Gs=e=>()=>e;function Wd(e,t){return function(n){return e+n*t}}function qd(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math.pow(e+o*t,n)}}function Kd(e){return(e=+e)==1?Zs:function(t,n){return n-t?qd(t,n,e):Gs(isNaN(t)?n:t)}}function Zs(e,t){var n=t-e;return n?Wd(e,n):Gs(isNaN(e)?t:e)}const _r=function e(t){var n=Kd(t);function o(i,r){var s=n((i=ri(i)).r,(r=ri(r)).r),a=n(i.g,r.g),l=n(i.b,r.b),u=Zs(i.opacity,r.opacity);return function(c){return i.r=s(c),i.g=a(c),i.b=l(c),i.opacity=u(c),i+""}}return o.gamma=e,o}(1);function ht(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var si=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Go=new RegExp(si.source,"g");function Qd(e){return function(){return e}}function Jd(e){return function(t){return e(t)+""}}function jd(e,t){var n=si.lastIndex=Go.lastIndex=0,o,i,r,s=-1,a=[],l=[];for(e=e+"",t=t+"";(o=si.exec(e))&&(i=Go.exec(t));)(r=i.index)>n&&(r=t.slice(n,r),a[s]?a[s]+=r:a[++s]=r),(o=o[0])===(i=i[0])?a[s]?a[s]+=i:a[++s]=i:(a[++s]=null,l.push({i:s,x:ht(o,i)})),n=Go.lastIndex;return n180?c+=360:c-u>180&&(u+=360),h.push({i:d.push(i(d)+"rotate(",null,o)-2,x:ht(u,c)})):c&&d.push(i(d)+"rotate("+c+o)}function a(u,c,d,h){u!==c?h.push({i:d.push(i(d)+"skewX(",null,o)-2,x:ht(u,c)}):c&&d.push(i(d)+"skewX("+c+o)}function l(u,c,d,h,g,S){if(u!==d||c!==h){var _=g.push(i(g)+"scale(",null,",",null,")");S.push({i:_-4,x:ht(u,d)},{i:_-2,x:ht(c,h)})}else(d!==1||h!==1)&&g.push(i(g)+"scale("+d+","+h+")")}return function(u,c){var d=[],h=[];return u=e(u),c=e(c),r(u.translateX,u.translateY,c.translateX,c.translateY,d,h),s(u.rotate,c.rotate,d,h),a(u.skewX,c.skewX,d,h),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,d,h),u=c=null,function(g){for(var S=-1,_=h.length,b;++S<_;)d[(b=h[S]).i]=b.x(g);return d.join("")}}}var nf=Ws(ef,"px, ","px)","deg)"),of=Ws(tf,", ",")",")"),rf=1e-12;function $r(e){return((e=Math.exp(e))+1/e)/2}function sf(e){return((e=Math.exp(e))-1/e)/2}function af(e){return((e=Math.exp(2*e))-1)/(e+1)}const lf=function e(t,n,o){function i(r,s){var a=r[0],l=r[1],u=r[2],c=s[0],d=s[1],h=s[2],g=c-a,S=d-l,_=g*g+S*S,b,$;if(_=0&&e._call.call(void 0,t),e=e._next;--Kt}function Sr(){Pt=(ao=bn.now())+ko,Kt=cn=0;try{cf()}finally{Kt=0,ff(),Pt=0}}function df(){var e=bn.now(),t=e-ao;t>qs&&(ko-=t,ao=e)}function ff(){for(var e,t=so,n,o=1/0;t;)t._call?(o>t._time&&(o=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:so=n);dn=e,li(o)}function li(e){if(!Kt){cn&&(cn=clearTimeout(cn));var t=e-Pt;t>24?(e<1/0&&(cn=setTimeout(Sr,e-bn.now()-ko)),rn&&(rn=clearInterval(rn))):(rn||(ao=bn.now(),rn=setInterval(df,qs)),Kt=1,Ks(Sr))}}function xr(e,t,n){var o=new lo;return t=t==null?0:+t,o.restart(i=>{o.stop(),e(i+t)},t,n),o}var hf=Eo("start","end","cancel","interrupt"),gf=[],Js=0,Er=1,ui=2,qn=3,Nr=4,ci=5,Kn=6;function Co(e,t,n,o,i,r){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;pf(e,n,{name:t,index:o,group:i,on:hf,tween:gf,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:Js})}function Di(e,t){var n=Ge(e,t);if(n.state>Js)throw new Error("too late; already scheduled");return n}function Qe(e,t){var n=Ge(e,t);if(n.state>qn)throw new Error("too late; already running");return n}function Ge(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function pf(e,t,n){var o=e.__transition,i;o[t]=n,n.timer=Qs(r,0,n.time);function r(u){n.state=Er,n.timer.restart(s,n.delay,n.time),n.delay<=u&&s(u-n.delay)}function s(u){var c,d,h,g;if(n.state!==Er)return l();for(c in o)if(g=o[c],g.name===n.name){if(g.state===qn)return xr(s);g.state===Nr?(g.state=Kn,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete o[c]):+cui&&o.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function Gf(e,t,n){var o,i,r=Xf(t)?Di:Qe;return function(){var s=r(this,e),a=s.on;a!==o&&(i=(o=a).copy()).on(t,n),s.on=i}}function Zf(e,t){var n=this._id;return arguments.length<2?Ge(this.node(),n).on.on(e):this.each(Gf(n,e,t))}function Uf(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Wf(){return this.on("end.remove",Uf(this._id))}function qf(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Ii(e));for(var o=this._groups,i=o.length,r=new Array(i),s=0;s()=>e;function _h(e,{sourceEvent:t,target:n,transform:o,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function ot(e,t,n){this.k=e,this.x=t,this.y=n}ot.prototype={constructor:ot,scale:function(e){return e===1?this:new ot(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new ot(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Qt=new ot(1,0,0);ot.prototype;function Zo(e){e.stopImmediatePropagation()}function sn(e){e.preventDefault(),e.stopImmediatePropagation()}function bh(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function $h(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function kr(){return this.__zoom||Qt}function Sh(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function xh(){return navigator.maxTouchPoints||"ontouchstart"in this}function Eh(e,t,n){var o=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],r=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i),s>r?(r+s)/2:Math.min(0,r)||Math.max(0,s))}function Nh(){var e=bh,t=$h,n=Eh,o=Sh,i=xh,r=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],a=250,l=lf,u=Eo("start","zoom","end"),c,d,h,g=500,S=150,_=0,b=10;function $(f){f.property("__zoom",kr).on("wheel.zoom",K,{passive:!1}).on("mousedown.zoom",Z).on("dblclick.zoom",T).filter(i).on("touchstart.zoom",w).on("touchmove.zoom",X).on("touchend.zoom touchcancel.zoom",J).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}$.transform=function(f,x,y,M){var E=f.selection?f.selection():f;E.property("__zoom",kr),f!==E?V(f,x,y,M):E.interrupt().each(function(){Y(this,arguments).event(M).start().zoom(null,typeof x=="function"?x.apply(this,arguments):x).end()})},$.scaleBy=function(f,x,y,M){$.scaleTo(f,function(){var E=this.__zoom.k,I=typeof x=="function"?x.apply(this,arguments):x;return E*I},y,M)},$.scaleTo=function(f,x,y,M){$.transform(f,function(){var E=t.apply(this,arguments),I=this.__zoom,C=y==null?k(E):typeof y=="function"?y.apply(this,arguments):y,R=I.invert(C),W=typeof x=="function"?x.apply(this,arguments):x;return n(N(v(I,W),C,R),E,s)},y,M)},$.translateBy=function(f,x,y,M){$.transform(f,function(){return n(this.__zoom.translate(typeof x=="function"?x.apply(this,arguments):x,typeof y=="function"?y.apply(this,arguments):y),t.apply(this,arguments),s)},null,M)},$.translateTo=function(f,x,y,M,E){$.transform(f,function(){var I=t.apply(this,arguments),C=this.__zoom,R=M==null?k(I):typeof M=="function"?M.apply(this,arguments):M;return n(Qt.translate(R[0],R[1]).scale(C.k).translate(typeof x=="function"?-x.apply(this,arguments):-x,typeof y=="function"?-y.apply(this,arguments):-y),I,s)},M,E)};function v(f,x){return x=Math.max(r[0],Math.min(r[1],x)),x===f.k?f:new ot(x,f.x,f.y)}function N(f,x,y){var M=x[0]-y[0]*f.k,E=x[1]-y[1]*f.k;return M===f.x&&E===f.y?f:new ot(f.k,M,E)}function k(f){return[(+f[0][0]+ +f[1][0])/2,(+f[0][1]+ +f[1][1])/2]}function V(f,x,y,M){f.on("start.zoom",function(){Y(this,arguments).event(M).start()}).on("interrupt.zoom end.zoom",function(){Y(this,arguments).event(M).end()}).tween("zoom",function(){var E=this,I=arguments,C=Y(E,I).event(M),R=t.apply(E,I),W=y==null?k(R):typeof y=="function"?y.apply(E,I):y,B=Math.max(R[1][0]-R[0][0],R[1][1]-R[0][1]),P=E.__zoom,L=typeof x=="function"?x.apply(E,I):x,se=l(P.invert(W).concat(B/P.k),L.invert(W).concat(B/L.k));return function(ae){if(ae===1)ae=L;else{var ce=se(ae),le=B/ce[2];ae=new ot(le,W[0]-ce[0]*le,W[1]-ce[1]*le)}C.zoom(null,ae)}})}function Y(f,x,y){return!y&&f.__zooming||new F(f,x)}function F(f,x){this.that=f,this.args=x,this.active=0,this.sourceEvent=null,this.extent=t.apply(f,x),this.taps=0}F.prototype={event:function(f){return f&&(this.sourceEvent=f),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(f,x){return this.mouse&&f!=="mouse"&&(this.mouse[1]=x.invert(this.mouse[0])),this.touch0&&f!=="touch"&&(this.touch0[1]=x.invert(this.touch0[0])),this.touch1&&f!=="touch"&&(this.touch1[1]=x.invert(this.touch1[0])),this.that.__zoom=x,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(f){var x=Fe(this.that).datum();u.call(f,this.that,new _h(f,{sourceEvent:this.sourceEvent,target:$,type:f,transform:this.that.__zoom,dispatch:u}),x)}};function K(f,...x){if(!e.apply(this,arguments))return;var y=Y(this,x).event(f),M=this.__zoom,E=Math.max(r[0],Math.min(r[1],M.k*Math.pow(2,o.apply(this,arguments)))),I=Ue(f);if(y.wheel)(y.mouse[0][0]!==I[0]||y.mouse[0][1]!==I[1])&&(y.mouse[1]=M.invert(y.mouse[0]=I)),clearTimeout(y.wheel);else{if(M.k===E)return;y.mouse=[I,M.invert(I)],Qn(this),y.start()}sn(f),y.wheel=setTimeout(C,S),y.zoom("mouse",n(N(v(M,E),y.mouse[0],y.mouse[1]),y.extent,s));function C(){y.wheel=null,y.end()}}function Z(f,...x){if(h||!e.apply(this,arguments))return;var y=f.currentTarget,M=Y(this,x,!0).event(f),E=Fe(f.view).on("mousemove.zoom",W,!0).on("mouseup.zoom",B,!0),I=Ue(f,y),C=f.clientX,R=f.clientY;Fs(f.view),Zo(f),M.mouse=[I,this.__zoom.invert(I)],Qn(this),M.start();function W(P){if(sn(P),!M.moved){var L=P.clientX-C,se=P.clientY-R;M.moved=L*L+se*se>_}M.event(P).zoom("mouse",n(N(M.that.__zoom,M.mouse[0]=Ue(P,y),M.mouse[1]),M.extent,s))}function B(P){E.on("mousemove.zoom mouseup.zoom",null),Ls(P.view,M.moved),sn(P),M.event(P).end()}}function T(f,...x){if(!!e.apply(this,arguments)){var y=this.__zoom,M=Ue(f.changedTouches?f.changedTouches[0]:f,this),E=y.invert(M),I=y.k*(f.shiftKey?.5:2),C=n(N(v(y,I),M,E),t.apply(this,x),s);sn(f),a>0?Fe(this).transition().duration(a).call(V,C,M,f):Fe(this).call($.transform,C,M,f)}}function w(f,...x){if(!!e.apply(this,arguments)){var y=f.touches,M=y.length,E=Y(this,x,f.changedTouches.length===M).event(f),I,C,R,W;for(Zo(f),C=0;C(e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom",e))(te||{}),Bi=(e=>(e.Partial="partial",e.Full="full",e))(Bi||{}),$t=(e=>(e.Bezier="default",e.SimpleBezier="simple-bezier",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e))($t||{}),Dt=(e=>(e.Strict="strict",e.Loose="loose",e))(Dt||{}),zt=(e=>(e.Arrow="arrow",e.ArrowClosed="arrowclosed",e))(zt||{}),pn=(e=>(e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal",e))(pn||{}),na=(e=>(e.TopLeft="top-left",e.TopCenter="top-center",e.TopRight="top-right",e.BottomLeft="bottom-left",e.BottomCenter="bottom-center",e.BottomRight="bottom-right",e))(na||{});function di(e){var t,n;const o=((n=(t=e.composedPath)==null?void 0:t.call(e))==null?void 0:n[0])||e.target,i=typeof(o==null?void 0:o.hasAttribute)=="function"?o.hasAttribute("contenteditable"):!1,r=typeof(o==null?void 0:o.closest)=="function"?o.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(o==null?void 0:o.nodeName)||i||!!r}function kh(e){return e.ctrlKey||e.metaKey||e.shiftKey}function Cr(e,t,n,o){const i=t.split("+").map(r=>r.trim().toLowerCase());return i.length===1?e.toLowerCase()===t.toLowerCase():(o?n.delete(e.toLowerCase()):n.add(e.toLowerCase()),i.every((r,s)=>n.has(r)&&Array.from(n.values())[s]===i[s]))}function Ch(e,t){return n=>{if(!n.code&&!n.key)return!1;const o=Mh(n.code,e);return Array.isArray(e)?e.some(i=>Cr(n[o],i,t,n.type==="keyup")):Cr(n[o],e,t,n.type==="keyup")}}function Mh(e,t){return typeof t=="string"?e===t?"code":"key":t.includes(e)?"code":"key"}function vn(e,t){const n=be(()=>{var c;return(c=_e(t==null?void 0:t.actInsideInputWithModifier))!=null?c:!1}),o=be(()=>{var c;return(c=_e(t==null?void 0:t.target))!=null?c:window}),i=ie(_e(e)===!0);let r=!1;const s=new Set;let a=u(_e(e));Ee(()=>_e(e),(c,d)=>{typeof d=="boolean"&&typeof c!="boolean"&&l(),a=u(c)},{immediate:!0}),Oe(()=>{Cs(window,["blur","contextmenu"],l)}),ur((...c)=>a(...c),c=>{r=kh(c),!((!r||r&&!n.value)&&di(c))&&(c.preventDefault(),i.value=!0)},{eventName:"keydown",target:o}),ur((...c)=>a(...c),c=>{if(i.value){if((!r||r&&!n.value)&&di(c))return;l()}},{eventName:"keyup",target:o});function l(){r=!1,s.clear(),i.value=!1}function u(c){return c===null?(l(),()=>!1):typeof c=="boolean"?(l(),i.value=c,()=>!1):Array.isArray(c)||typeof c=="string"?Ch(c,s):c}return i}const oa="vue-flow__node-desc",ia="vue-flow__edge-desc",Ih="vue-flow__aria-live",ra=["Enter"," ","Escape"],Gt={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function fi(e){return{...e.computedPosition||{x:0,y:0},width:e.dimensions.width||0,height:e.dimensions.height||0}}function hi(e,t){const n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),o=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*o)}function Mo(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Bt(e,t=0,n=1){return Math.min(Math.max(e,t),n)}function sa(e,t){return{x:Bt(e.x,t[0][0],t[1][0]),y:Bt(e.y,t[0][1],t[1][1])}}function Mr(e){const t=e.getRootNode();return"elementFromPoint"in t?t:window.document}function wt(e){return e&&typeof e=="object"&&"id"in e&&"source"in e&&"target"in e}function Mt(e){return e&&typeof e=="object"&&"id"in e&&"position"in e&&!wt(e)}function fn(e){return Mt(e)&&"computedPosition"in e}function Vn(e){return!Number.isNaN(e)&&Number.isFinite(e)}function Th(e){return Vn(e.width)&&Vn(e.height)&&Vn(e.x)&&Vn(e.y)}function Ah(e,t,n){var i;const o={id:e.id.toString(),type:(i=e.type)!=null?i:"default",dimensions:Lt({width:0,height:0}),computedPosition:Lt({z:0,...e.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:ke(e.data)?e.data:{},events:Lt(ke(e.events)?e.events:{})};return Object.assign(t!=null?t:o,e,{id:e.id.toString(),parentNode:n})}function aa(e,t,n){var s,a,l,u,c,d,h;var o,i;const r={id:e.id.toString(),type:(a=(s=e.type)!=null?s:t==null?void 0:t.type)!=null?a:"default",source:e.source.toString(),target:e.target.toString(),sourceHandle:(o=e.sourceHandle)==null?void 0:o.toString(),targetHandle:(i=e.targetHandle)==null?void 0:i.toString(),updatable:(l=e.updatable)!=null?l:n==null?void 0:n.updatable,selectable:(u=e.selectable)!=null?u:n==null?void 0:n.selectable,focusable:(c=e.focusable)!=null?c:n==null?void 0:n.focusable,data:ke(e.data)?e.data:{},events:Lt(ke(e.events)?e.events:{}),label:(d=e.label)!=null?d:"",interactionWidth:(h=e.interactionWidth)!=null?h:n==null?void 0:n.interactionWidth,...n!=null?n:{}};return Object.assign(t!=null?t:r,e,{id:e.id.toString()})}function la(e,t,n,o){const i=typeof e=="string"?e:e.id,r=new Set,s=o==="source"?"target":"source";for(const a of n)a[s]===i&&r.add(a[o]);return t.filter(a=>r.has(a.id))}function Ph(...e){if(e.length===3){const[r,s,a]=e;return la(r,s,a,"target")}const[t,n]=e,o=typeof t=="string"?t:t.id;return n.filter(r=>wt(r)&&r.source===o).map(r=>n.find(s=>Mt(s)&&s.id===r.target))}function Dh(...e){if(e.length===3){const[r,s,a]=e;return la(r,s,a,"source")}const[t,n]=e,o=typeof t=="string"?t:t.id;return n.filter(r=>wt(r)&&r.target===o).map(r=>n.find(s=>Mt(s)&&s.id===r.source))}function ua({source:e,sourceHandle:t,target:n,targetHandle:o}){return`vueflow__edge-${e}${t!=null?t:""}-${n}${o!=null?o:""}`}function zh(e,t){return t.some(n=>wt(n)&&n.source===e.source&&n.target===e.target&&(n.sourceHandle===e.sourceHandle||!n.sourceHandle&&!e.sourceHandle)&&(n.targetHandle===e.targetHandle||!n.targetHandle&&!e.targetHandle))}function ca({x:e,y:t},{x:n,y:o,zoom:i}){return{x:e*i+n,y:t*i+o}}function uo({x:e,y:t},{x:n,y:o,zoom:i},r=!1,[s,a]=[1,1]){const l={x:(e-n)/i,y:(t-o)/i};return r?{x:s*Math.round(l.x/s),y:a*Math.round(l.y/a)}:l}function da(e,t){return{x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}}function co({x:e,y:t,width:n,height:o}){return{x:e,y:t,x2:e+n,y2:t+o}}function fa({x:e,y:t,x2:n,y2:o}){return{x:e,y:t,width:n-e,height:o-t}}function Bh(e,t){return fa(da(co(e),co(t)))}function Io(e){let t={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let n=0;n0,k=(_!=null?_:0)*(b!=null?b:0);(v||N||$>=k||d.dragging)&&s.push(d)}return s}function St(e,t){const n=new Set;if(typeof e=="string")n.add(e);else if(e.length>=1)for(const o of e)n.add(o.id);return t.filter(o=>n.has(o.source)||n.has(o.target))}function Ir(e,t,n,o,i,r=.1,s={x:0,y:0}){var _,b;const a=t/(e.width*(1+r)),l=n/(e.height*(1+r)),u=Math.min(a,l),c=Bt(u,o,i),d=e.x+e.width/2,h=e.y+e.height/2,g=t/2-d*c+((_=s.x)!=null?_:0),S=n/2-h*c+((b=s.y)!=null?b:0);return{x:g,y:S,zoom:c}}function Oh(e,t){return{x:t.x+e.x,y:t.y+e.y,z:(e.z>t.z?e.z:t.z)+1}}function ga(e,t){if(!e.parentNode)return!1;const n=t(e.parentNode);return n?n.selected?!0:ga(n,t):!1}function $n(e,t){return typeof e>"u"?"":typeof e=="string"?e:`${t?`${t}__`:""}${Object.keys(e).sort().map(o=>`${o}=${e[o]}`).join("&")}`}function Tr(e,t,n){return en?-Bt(Math.abs(e-n),1,t)/t:0}function pa(e,t,n=15,o=40){const i=Tr(e.x,o,t.width-o)*n,r=Tr(e.y,o,t.height-o)*n;return[i,r]}function Uo(e,t){var n,o;if(t){const i=e.position.x+e.dimensions.width-t.dimensions.width,r=e.position.y+e.dimensions.height-t.dimensions.height;if(i>0||r>0||e.position.x<0||e.position.y<0){let s={};if(typeof t.style=="function"?s={...t.style(t)}:t.style&&(s={...t.style}),s.width=(n=s.width)!=null?n:`${t.dimensions.width}px`,s.height=(o=s.height)!=null?o:`${t.dimensions.height}px`,i>0)if(typeof s.width=="string"){const a=Number(s.width.replace("px",""));s.width=`${a+i}px`}else s.width+=i;if(r>0)if(typeof s.height=="string"){const a=Number(s.height.replace("px",""));s.height=`${a+r}px`}else s.height+=r;if(e.position.x<0){const a=Math.abs(e.position.x);if(t.position.x=t.position.x-a,typeof s.width=="string"){const l=Number(s.width.replace("px",""));s.width=`${l+a}px`}else s.width+=a;e.position.x=0}if(e.position.y<0){const a=Math.abs(e.position.y);if(t.position.y=t.position.y-a,typeof s.height=="string"){const l=Number(s.height.replace("px",""));s.height=`${l+a}px`}else s.height+=a;e.position.y=0}t.dimensions.width=Number(s.width.toString().replace("px","")),t.dimensions.height=Number(s.height.toString().replace("px","")),typeof t.style=="function"?t.style=a=>{const l=t.style;return{...l(a),...s}}:t.style={...t.style,...s}}}}function Ar(e,t){var n,o;const i=e.filter(s=>s.type==="add"||s.type==="remove");for(const s of i)if(s.type==="add")t.findIndex(l=>l.id===s.item.id)===-1&&t.push(s.item);else if(s.type==="remove"){const a=t.findIndex(l=>l.id===s.id);a!==-1&&t.splice(a,1)}const r=t.map(s=>s.id);for(const s of t)for(const a of e)if(a.id===s.id)switch(a.type){case"select":s.selected=a.selected;break;case"position":if(fn(s)&&(typeof a.position<"u"&&(s.position=a.position),typeof a.dragging<"u"&&(s.dragging=a.dragging),s.expandParent&&s.parentNode)){const l=t[r.indexOf(s.parentNode)];l&&fn(l)&&Uo(s,l)}break;case"dimensions":if(fn(s)&&(typeof a.dimensions<"u"&&(s.dimensions=a.dimensions),typeof a.updateStyle<"u"&&(s.style={...s.style||{},width:`${(n=a.dimensions)==null?void 0:n.width}px`,height:`${(o=a.dimensions)==null?void 0:o.height}px`}),typeof a.resizing<"u"&&(s.resizing=a.resizing),s.expandParent&&s.parentNode)){const l=t[r.indexOf(s.parentNode)];l&&fn(l)&&(!!l.dimensions.width&&!!l.dimensions.height?Uo(s,l):rt(()=>{Uo(s,l)}))}break}return t}function dt(e,t){return{id:e,type:"select",selected:t}}function Pr(e){return{item:e,type:"add"}}function Dr(e){return{id:e,type:"remove"}}function zr(e,t,n,o,i){return{id:e,source:t,target:n,sourceHandle:o||null,targetHandle:i||null,type:"remove"}}function gt(e,t=new Set,n=!1){const o=[];for(const[i,r]of e){const s=t.has(i);!(r.selected===void 0&&!s)&&r.selected!==s&&(n&&(r.selected=s),o.push(dt(r.id,s)))}return o}function Q(e){const t=new Set;let n=!1;const o=()=>t.size>0;e&&(n=!0,t.add(e));const i=a=>{t.delete(a)};return{on:a=>{e&&n&&t.delete(e),t.add(a);const l=()=>{i(a),e&&n&&t.add(e)};return xo(l),{off:l}},off:i,trigger:a=>Promise.all(Array.from(t).map(l=>l(a))),hasListeners:o,fns:t}}function Br(e,t,n){let o=e;do{if(o&&o.matches(t))return!0;if(o===n)return!1;o=o.parentElement}while(o);return!1}function Rh(e,t,n,o,i){var r,s;const a=[];for(const l of e)(l.selected||l.id===i)&&(!l.parentNode||!ga(l,o))&&(l.draggable||t&&typeof l.draggable>"u")&&a.push(Lt({id:l.id,position:l.position||{x:0,y:0},distance:{x:n.x-((r=l.computedPosition)==null?void 0:r.x)||0,y:n.y-((s=l.computedPosition)==null?void 0:s.y)||0},from:l.computedPosition,extent:l.extent,parentNode:l.parentNode,dimensions:l.dimensions,expandParent:l.expandParent}));return a}function Wo({id:e,dragItems:t,findNode:n}){const o=[];for(const i of t){const r=n(i.id);r&&o.push(r)}return[e?o.find(i=>i.id===e):o[0],o]}function va(e){if(Array.isArray(e))switch(e.length){case 1:return[e[0],e[0],e[0],e[0]];case 2:return[e[0],e[1],e[0],e[1]];case 3:return[e[0],e[1],e[2],e[1]];case 4:return e;default:return[0,0,0,0]}return[e,e,e,e]}function Vh(e,t,n){const[o,i,r,s]=typeof e!="string"?va(e.padding):[0,0,0,0];return n&&typeof n.computedPosition.x<"u"&&typeof n.computedPosition.y<"u"&&typeof n.dimensions.width<"u"&&typeof n.dimensions.height<"u"?[[n.computedPosition.x+s,n.computedPosition.y+o],[n.computedPosition.x+n.dimensions.width-i,n.computedPosition.y+n.dimensions.height-r]]:!1}function Hh(e,t,n,o){let i=e.extent||n;if((i==="parent"||!Array.isArray(i)&&(i==null?void 0:i.range)==="parent")&&!e.expandParent)if(e.parentNode&&o&&e.dimensions.width&&e.dimensions.height){const r=Vh(i,e,o);r&&(i=r)}else t(new Me(Ce.NODE_EXTENT_INVALID,e.id)),i=n;else if(Array.isArray(i)){const r=(o==null?void 0:o.computedPosition.x)||0,s=(o==null?void 0:o.computedPosition.y)||0;i=[[i[0][0]+r,i[0][1]+s],[i[1][0]+r,i[1][1]+s]]}else if(i!=="parent"&&(i==null?void 0:i.range)&&Array.isArray(i.range)){const[r,s,a,l]=va(i.padding),u=(o==null?void 0:o.computedPosition.x)||0,c=(o==null?void 0:o.computedPosition.y)||0;i=[[i.range[0][0]+u+l,i.range[0][1]+c+r],[i.range[1][0]+u-s,i.range[1][1]+c-a]]}return i==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:i}function Fh({width:e,height:t},n){return[n[0],[n[1][0]-(e||0),n[1][1]-(t||0)]]}function Oi(e,t,n,o,i){const r=Fh(e.dimensions,Hh(e,n,o,i)),s=sa(t,r);return{position:{x:s.x-((i==null?void 0:i.computedPosition.x)||0),y:s.y-((i==null?void 0:i.computedPosition.y)||0)},computedPosition:s}}function fo(e,t,n=te.Left){var l,u,c;const o=((l=t==null?void 0:t.x)!=null?l:0)+e.computedPosition.x,i=((u=t==null?void 0:t.y)!=null?u:0)+e.computedPosition.y,{width:r,height:s}=t!=null?t:Xh(e);switch((c=t==null?void 0:t.position)!=null?c:n){case te.Top:return{x:o+r/2,y:i};case te.Right:return{x:o+r,y:i+s/2};case te.Bottom:return{x:o+r/2,y:i+s};case te.Left:return{x:o,y:i+s/2}}}function Or(e=[],t){return e.length&&(t?e.find(n=>n.id===t):e[0])||null}function Lh({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:o,targetWidth:i,targetHeight:r,width:s,height:a,viewport:l}){const u={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+i),y2:Math.max(e.y+o,t.y+r)};u.x===u.x2&&(u.x2+=1),u.y===u.y2&&(u.y2+=1);const c=co({x:(0-l.x)/l.zoom,y:(0-l.y)/l.zoom,width:s/l.zoom,height:a/l.zoom}),d=Math.max(0,Math.min(c.x2,u.x2)-Math.max(c.x,u.x)),h=Math.max(0,Math.min(c.y2,u.y2)-Math.max(c.y,u.y));return Math.ceil(d*h)>0}function Yh(e,t,n=!1){const o=typeof e.zIndex=="number";let i=o?e.zIndex:0;const r=t(e.source),s=t(e.target);return!r||!s?0:(n&&(i=o?e.zIndex:Math.max(r.computedPosition.z||0,s.computedPosition.z||0)),i)}var Ce=(e=>(e.MISSING_STYLES="MISSING_STYLES",e.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",e.NODE_INVALID="NODE_INVALID",e.NODE_NOT_FOUND="NODE_NOT_FOUND",e.NODE_MISSING_PARENT="NODE_MISSING_PARENT",e.NODE_TYPE_MISSING="NODE_TYPE_MISSING",e.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",e.EDGE_INVALID="EDGE_INVALID",e.EDGE_NOT_FOUND="EDGE_NOT_FOUND",e.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",e.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",e.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",e.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",e.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",e.EDGE_ORPHANED="EDGE_ORPHANED",e.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",e))(Ce||{});const Rr={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:e=>`Node is invalid +var hl=Object.defineProperty;var gl=(e,t,n)=>t in e?hl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xe=(e,t,n)=>(gl(e,typeof t!="symbol"?t+"":t,n),n);import{d as he,B as Pe,f as U,o as O,X as q,Z as Ne,R as me,e8 as mt,a as ge,b as j,ee as pl,p as $e,H as ps,x as vs,g as Ee,V as Tt,e as ie,bA as be,W as Oe,eq as ms,ag as Rt,w as ue,u as D,I as Un,J as rt,dF as vl,er as ys,es as Ei,Y as Ie,ed as Xe,c as fe,aR as Ae,am as Cn,D as ml,e9 as Te,E as Ni,K as yl,et as wl,eu as _e,ec as He,aF as Be,aq as ws,r as _s,eb as tn,ev as bs,ew as _l,y as Lt,ex as bl,cI as kt,Q as ir,ej as bt,aK as $l,ey as $s,d8 as $o,bH as Ut,$ as lt,aA as Sl,cQ as rr,dd as At,ez as xl,eA as El,aV as Nl,bP as kl,d5 as ki,di as Cl,cv as Ml,cu as Il,cH as Tl,eo as Al,em as Pl,en as Dl,eh as zl,eB as Bl}from"./vue-router.324eaed2.js";import{w as Wt,s as Ci}from"./metadata.4c5c5434.js";import{G as Ol}from"./PhArrowCounterClockwise.vue.1fa0c440.js";import{a as Rl,n as no,c as Vl,d as Ss,v as xs,e as Es}from"./validations.339bcb94.js";import{u as Hl}from"./uuid.a06fb10a.js";import{t as So}from"./index.40f13cf1.js";import{W as Fo}from"./workspaces.a34621fe.js";import{u as Fl}from"./polling.72e5a2f8.js";import"./index.e3c8c96c.js";import{B as un}from"./Badge.9808092c.js";import{G as sr}from"./PhArrowDown.vue.8953407d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6cc671ab-ff5a-4f5e-a0cf-730608b7d08c",e._sentryDebugIdIdentifier="sentry-dbid-6cc671ab-ff5a-4f5e-a0cf-730608b7d08c")}catch{}})();var Ll={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};const Yl=Ll,Xl=["width","height","fill","transform"],Gl={key:0},Zl=ge("path",{d:"M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"},null,-1),Ul=[Zl],Wl={key:1},ql=ge("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"},null,-1),Kl=ge("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"},null,-1),Ql=[ql,Kl],Jl={key:2},jl=ge("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"},null,-1),eu=[jl],tu={key:3},nu=ge("path",{d:"M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"},null,-1),ou=[nu],iu={key:4},ru=ge("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"},null,-1),su=[ru],au={key:5},lu=ge("path",{d:"M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"},null,-1),uu=[lu],cu={name:"PhArrowClockwise"},du=he({...cu,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=Pe("weight","regular"),o=Pe("size","1em"),i=Pe("color","currentColor"),r=Pe("mirrored",!1),s=U(()=>{var c;return(c=t.weight)!=null?c:n}),a=U(()=>{var c;return(c=t.size)!=null?c:o}),l=U(()=>{var c;return(c=t.color)!=null?c:i}),u=U(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:r?"scale(-1, 1)":void 0);return(c,d)=>(O(),q("svg",mt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:a.value,height:a.value,fill:l.value,transform:u.value},c.$attrs),[Ne(c.$slots,"default"),s.value==="bold"?(O(),q("g",Gl,Ul)):s.value==="duotone"?(O(),q("g",Wl,Ql)):s.value==="fill"?(O(),q("g",Jl,eu)):s.value==="light"?(O(),q("g",tu,ou)):s.value==="regular"?(O(),q("g",iu,su)):s.value==="thin"?(O(),q("g",au,uu)):me("",!0)],16,Xl))}}),fu=["width","height","fill","transform"],hu={key:0},gu=ge("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"},null,-1),pu=[gu],vu={key:1},mu=ge("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),yu=ge("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"},null,-1),wu=[mu,yu],_u={key:2},bu=ge("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"},null,-1),$u=[bu],Su={key:3},xu=ge("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"},null,-1),Eu=[xu],Nu={key:4},ku=ge("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"},null,-1),Cu=[ku],Mu={key:5},Iu=ge("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"},null,-1),Tu=[Iu],Au={name:"PhClock"},Pu=he({...Au,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=Pe("weight","regular"),o=Pe("size","1em"),i=Pe("color","currentColor"),r=Pe("mirrored",!1),s=U(()=>{var c;return(c=t.weight)!=null?c:n}),a=U(()=>{var c;return(c=t.size)!=null?c:o}),l=U(()=>{var c;return(c=t.color)!=null?c:i}),u=U(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:r?"scale(-1, 1)":void 0);return(c,d)=>(O(),q("svg",mt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:a.value,height:a.value,fill:l.value,transform:u.value},c.$attrs),[Ne(c.$slots,"default"),s.value==="bold"?(O(),q("g",hu,pu)):s.value==="duotone"?(O(),q("g",vu,wu)):s.value==="fill"?(O(),q("g",_u,$u)):s.value==="light"?(O(),q("g",Su,Eu)):s.value==="regular"?(O(),q("g",Nu,Cu)):s.value==="thin"?(O(),q("g",Mu,Tu)):me("",!0)],16,fu))}});function ar(e){for(var t=1;ttypeof e<"u",Ru=Object.prototype.toString,Vu=e=>Ru.call(e)==="[object Object]",Hu=()=>{};function Fu(e,t){function n(...o){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(r)})}return n}const Ns=e=>e();function Lu(e=Ns){const t=ie(!0);function n(){t.value=!1}function o(){t.value=!0}const i=(...r)=>{t.value&&e(...r)};return{isActive:bl(t),pause:n,resume:o,eventFilter:i}}function lr(e,t=!1,n="Timeout"){return new Promise((o,i)=>{setTimeout(t?()=>i(n):o,e)})}function Yu(e,t,n={}){const{eventFilter:o=Ns,...i}=n;return Ee(e,Fu(o,t),i)}function Ht(e,t,n={}){const{eventFilter:o,...i}=n,{eventFilter:r,pause:s,resume:a,isActive:l}=Lu(o);return{stop:Yu(e,t,{...i,eventFilter:r}),pause:s,resume:a,isActive:l}}function Xu(e,t={}){if(!Ni(e))return yl(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const o in e.value)n[o]=wl(()=>({get(){return e.value[o]},set(i){var r;if((r=nt(t.replaceRef))!=null?r:!0)if(Array.isArray(e.value)){const a=[...e.value];a[o]=i,e.value=a}else{const a={...e.value,[o]:i};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[o]=i}}));return n}function ti(e,t=!1){function n(d,{flush:h="sync",deep:g=!1,timeout:S,throwOnTimeout:_}={}){let b=null;const v=[new Promise(N=>{b=Ee(e,k=>{d(k)!==t&&(b==null||b(),N(k))},{flush:h,deep:g,immediate:!0})})];return S!=null&&v.push(lr(S,_).then(()=>nt(e)).finally(()=>b==null?void 0:b())),Promise.race(v)}function o(d,h){if(!Ni(d))return n(k=>k===d,h);const{flush:g="sync",deep:S=!1,timeout:_,throwOnTimeout:b}=h!=null?h:{};let $=null;const N=[new Promise(k=>{$=Ee([e,d],([V,Y])=>{t!==(V===Y)&&($==null||$(),k(V))},{flush:g,deep:S,immediate:!0})})];return _!=null&&N.push(lr(_,b).then(()=>nt(e)).finally(()=>($==null||$(),nt(e)))),Promise.race(N)}function i(d){return n(h=>Boolean(h),d)}function r(d){return o(null,d)}function s(d){return o(void 0,d)}function a(d){return n(Number.isNaN,d)}function l(d,h){return n(g=>{const S=Array.from(g);return S.includes(d)||S.includes(nt(d))},h)}function u(d){return c(1,d)}function c(d=1,h){let g=-1;return n(()=>(g+=1,g>=d),h)}return Array.isArray(nt(e))?{toMatch:n,toContains:l,changed:u,changedTimes:c,get not(){return ti(e,!t)}}:{toMatch:n,toBe:o,toBeTruthy:i,toBeNull:r,toBeNaN:a,toBeUndefined:s,changed:u,changedTimes:c,get not(){return ti(e,!t)}}}function ni(e){return ti(e)}function Gu(e){var t;const n=nt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ks=Bu?window:void 0;function Cs(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=ks):[t,n,o,i]=e,!t)return Hu;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],s=()=>{r.forEach(c=>c()),r.length=0},a=(c,d,h,g)=>(c.addEventListener(d,h,g),()=>c.removeEventListener(d,h,g)),l=Ee(()=>[Gu(t),nt(i)],([c,d])=>{if(s(),!c)return;const h=Vu(d)?{...d}:d;r.push(...n.flatMap(g=>o.map(S=>a(c,g,S,h))))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return xo(u),u}function Zu(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ur(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=ks,eventName:r="keydown",passive:s=!1,dedupe:a=!1}=o,l=Zu(t);return Cs(i,r,c=>{c.repeat&&nt(a)||l(c)&&n(c)},s)}function Uu(e){return JSON.parse(JSON.stringify(e))}function Lo(e,t,n,o={}){var i,r,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:h}=o,g=Cn(),S=n||(g==null?void 0:g.emit)||((i=g==null?void 0:g.$emit)==null?void 0:i.bind(g))||((s=(r=g==null?void 0:g.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(g==null?void 0:g.proxy));let _=u;t||(t="modelValue"),_=_||`update:${t.toString()}`;const b=N=>a?typeof a=="function"?a(N):Uu(N):N,$=()=>Ou(e[t])?b(e[t]):d,v=N=>{h?h(N)&&S(_,N):S(_,N)};if(l){const N=$(),k=ie(N);let V=!1;return Ee(()=>e[t],Y=>{V||(V=!0,k.value=b(Y),rt(()=>V=!1))}),Ee(k,Y=>{!V&&(Y!==e[t]||c)&&v(Y)},{deep:c}),k}else return U({get(){return $()},set(N){v(N)}})}var Wu={value:()=>{}};function Eo(){for(var e=0,t=arguments.length,n={},o;e=0&&(o=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}Wn.prototype=Eo.prototype={constructor:Wn,on:function(e,t){var n=this._,o=qu(e+"",n),i,r=-1,s=o.length;if(arguments.length<2){for(;++r0)for(var n=new Array(i),o=0,i,r;o=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),dr.hasOwnProperty(t)?{space:dr[t],local:e}:e}function Qu(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===oi&&t.documentElement.namespaceURI===oi?t.createElement(e):t.createElementNS(n,e)}}function Ju(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Ms(e){var t=No(e);return(t.local?Ju:Qu)(t)}function ju(){}function Ii(e){return e==null?ju:function(){return this.querySelector(e)}}function ec(e){typeof e!="function"&&(e=Ii(e));for(var t=this._groups,n=t.length,o=new Array(n),i=0;i=N&&(N=v+1);!(V=b[N])&&++N=0;)(s=o[i])&&(r&&s.compareDocumentPosition(r)^4&&r.parentNode.insertBefore(s,r),r=s);return this}function Ec(e){e||(e=Nc);function t(d,h){return d&&h?e(d.__data__,h.__data__):!d-!h}for(var n=this._groups,o=n.length,i=new Array(o),r=0;rt?1:e>=t?0:NaN}function kc(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Cc(){return Array.from(this)}function Mc(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?Hc:typeof t=="function"?Lc:Fc)(e,t,n==null?"":n)):qt(this.node(),e)}function qt(e,t){return e.style.getPropertyValue(t)||Ds(e).getComputedStyle(e,null).getPropertyValue(t)}function Xc(e){return function(){delete this[e]}}function Gc(e,t){return function(){this[e]=t}}function Zc(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Uc(e,t){return arguments.length>1?this.each((t==null?Xc:typeof t=="function"?Zc:Gc)(e,t)):this.node()[e]}function zs(e){return e.trim().split(/^|\s+/)}function Ti(e){return e.classList||new Bs(e)}function Bs(e){this._node=e,this._names=zs(e.getAttribute("class")||"")}Bs.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Os(e,t){for(var n=Ti(e),o=-1,i=t.length;++o=0&&(n=t.slice(o+1),t=t.slice(0,o)),{type:t,name:n}})}function bd(e){return function(){var t=this.__on;if(!!t){for(var n=0,o=-1,i=t.length,r;n()=>e;function ii(e,{sourceEvent:t,subject:n,target:o,identifier:i,active:r,x:s,y:a,dx:l,dy:u,dispatch:c}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:c}})}ii.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function Td(e){return!e.ctrlKey&&!e.button}function Ad(){return this.parentNode}function Pd(e,t){return t==null?{x:e.x,y:e.y}:t}function Dd(){return navigator.maxTouchPoints||"ontouchstart"in this}function zd(){var e=Td,t=Ad,n=Pd,o=Dd,i={},r=Eo("start","drag","end"),s=0,a,l,u,c,d=0;function h(k){k.on("mousedown.drag",g).filter(o).on("touchstart.drag",b).on("touchmove.drag",$,Id).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(k,V){if(!(c||!e.call(this,k,V))){var Y=N(this,t.call(this,k,V),k,V,"mouse");!Y||(Fe(k.view).on("mousemove.drag",S,mn).on("mouseup.drag",_,mn),Fs(k.view),Yo(k),u=!1,a=k.clientX,l=k.clientY,Y("start",k))}}function S(k){if(Yt(k),!u){var V=k.clientX-a,Y=k.clientY-l;u=V*V+Y*Y>d}i.mouse("drag",k)}function _(k){Fe(k.view).on("mousemove.drag mouseup.drag",null),Ls(k.view,u),Yt(k),i.mouse("end",k)}function b(k,V){if(!!e.call(this,k,V)){var Y=k.changedTouches,F=t.call(this,k,V),K=Y.length,Z,T;for(Z=0;Z>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?zn(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?zn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Od.exec(e))?new De(t[1],t[2],t[3],1):(t=Rd.exec(e))?new De(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Vd.exec(e))?zn(t[1],t[2],t[3],t[4]):(t=Hd.exec(e))?zn(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Fd.exec(e))?yr(t[1],t[2]/100,t[3]/100,1):(t=Ld.exec(e))?yr(t[1],t[2]/100,t[3]/100,t[4]):fr.hasOwnProperty(e)?pr(fr[e]):e==="transparent"?new De(NaN,NaN,NaN,0):null}function pr(e){return new De(e>>16&255,e>>8&255,e&255,1)}function zn(e,t,n,o){return o<=0&&(e=t=n=NaN),new De(e,t,n,o)}function Gd(e){return e instanceof In||(e=_n(e)),e?(e=e.rgb(),new De(e.r,e.g,e.b,e.opacity)):new De}function ri(e,t,n,o){return arguments.length===1?Gd(e):new De(e,t,n,o==null?1:o)}function De(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}Ai(De,ri,Ys(In,{brighter(e){return e=e==null?io:Math.pow(io,e),new De(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?yn:Math.pow(yn,e),new De(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new De(Ct(this.r),Ct(this.g),Ct(this.b),ro(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:vr,formatHex:vr,formatHex8:Zd,formatRgb:mr,toString:mr}));function vr(){return`#${Et(this.r)}${Et(this.g)}${Et(this.b)}`}function Zd(){return`#${Et(this.r)}${Et(this.g)}${Et(this.b)}${Et((isNaN(this.opacity)?1:this.opacity)*255)}`}function mr(){const e=ro(this.opacity);return`${e===1?"rgb(":"rgba("}${Ct(this.r)}, ${Ct(this.g)}, ${Ct(this.b)}${e===1?")":`, ${e})`}`}function ro(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ct(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Et(e){return e=Ct(e),(e<16?"0":"")+e.toString(16)}function yr(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Le(e,t,n,o)}function Xs(e){if(e instanceof Le)return new Le(e.h,e.s,e.l,e.opacity);if(e instanceof In||(e=_n(e)),!e)return new Le;if(e instanceof Le)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,i=Math.min(t,n,o),r=Math.max(t,n,o),s=NaN,a=r-i,l=(r+i)/2;return a?(t===r?s=(n-o)/a+(n0&&l<1?0:s,new Le(s,a,l,e.opacity)}function Ud(e,t,n,o){return arguments.length===1?Xs(e):new Le(e,t,n,o==null?1:o)}function Le(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}Ai(Le,Ud,Ys(In,{brighter(e){return e=e==null?io:Math.pow(io,e),new Le(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?yn:Math.pow(yn,e),new Le(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,i=2*n-o;return new De(Xo(e>=240?e-240:e+120,i,o),Xo(e,i,o),Xo(e<120?e+240:e-120,i,o),this.opacity)},clamp(){return new Le(wr(this.h),Bn(this.s),Bn(this.l),ro(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ro(this.opacity);return`${e===1?"hsl(":"hsla("}${wr(this.h)}, ${Bn(this.s)*100}%, ${Bn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function wr(e){return e=(e||0)%360,e<0?e+360:e}function Bn(e){return Math.max(0,Math.min(1,e||0))}function Xo(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Gs=e=>()=>e;function Wd(e,t){return function(n){return e+n*t}}function qd(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math.pow(e+o*t,n)}}function Kd(e){return(e=+e)==1?Zs:function(t,n){return n-t?qd(t,n,e):Gs(isNaN(t)?n:t)}}function Zs(e,t){var n=t-e;return n?Wd(e,n):Gs(isNaN(e)?t:e)}const _r=function e(t){var n=Kd(t);function o(i,r){var s=n((i=ri(i)).r,(r=ri(r)).r),a=n(i.g,r.g),l=n(i.b,r.b),u=Zs(i.opacity,r.opacity);return function(c){return i.r=s(c),i.g=a(c),i.b=l(c),i.opacity=u(c),i+""}}return o.gamma=e,o}(1);function ht(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var si=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Go=new RegExp(si.source,"g");function Qd(e){return function(){return e}}function Jd(e){return function(t){return e(t)+""}}function jd(e,t){var n=si.lastIndex=Go.lastIndex=0,o,i,r,s=-1,a=[],l=[];for(e=e+"",t=t+"";(o=si.exec(e))&&(i=Go.exec(t));)(r=i.index)>n&&(r=t.slice(n,r),a[s]?a[s]+=r:a[++s]=r),(o=o[0])===(i=i[0])?a[s]?a[s]+=i:a[++s]=i:(a[++s]=null,l.push({i:s,x:ht(o,i)})),n=Go.lastIndex;return n180?c+=360:c-u>180&&(u+=360),h.push({i:d.push(i(d)+"rotate(",null,o)-2,x:ht(u,c)})):c&&d.push(i(d)+"rotate("+c+o)}function a(u,c,d,h){u!==c?h.push({i:d.push(i(d)+"skewX(",null,o)-2,x:ht(u,c)}):c&&d.push(i(d)+"skewX("+c+o)}function l(u,c,d,h,g,S){if(u!==d||c!==h){var _=g.push(i(g)+"scale(",null,",",null,")");S.push({i:_-4,x:ht(u,d)},{i:_-2,x:ht(c,h)})}else(d!==1||h!==1)&&g.push(i(g)+"scale("+d+","+h+")")}return function(u,c){var d=[],h=[];return u=e(u),c=e(c),r(u.translateX,u.translateY,c.translateX,c.translateY,d,h),s(u.rotate,c.rotate,d,h),a(u.skewX,c.skewX,d,h),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,d,h),u=c=null,function(g){for(var S=-1,_=h.length,b;++S<_;)d[(b=h[S]).i]=b.x(g);return d.join("")}}}var nf=Ws(ef,"px, ","px)","deg)"),of=Ws(tf,", ",")",")"),rf=1e-12;function $r(e){return((e=Math.exp(e))+1/e)/2}function sf(e){return((e=Math.exp(e))-1/e)/2}function af(e){return((e=Math.exp(2*e))-1)/(e+1)}const lf=function e(t,n,o){function i(r,s){var a=r[0],l=r[1],u=r[2],c=s[0],d=s[1],h=s[2],g=c-a,S=d-l,_=g*g+S*S,b,$;if(_=0&&e._call.call(void 0,t),e=e._next;--Kt}function Sr(){Pt=(ao=bn.now())+ko,Kt=cn=0;try{cf()}finally{Kt=0,ff(),Pt=0}}function df(){var e=bn.now(),t=e-ao;t>qs&&(ko-=t,ao=e)}function ff(){for(var e,t=so,n,o=1/0;t;)t._call?(o>t._time&&(o=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:so=n);dn=e,li(o)}function li(e){if(!Kt){cn&&(cn=clearTimeout(cn));var t=e-Pt;t>24?(e<1/0&&(cn=setTimeout(Sr,e-bn.now()-ko)),rn&&(rn=clearInterval(rn))):(rn||(ao=bn.now(),rn=setInterval(df,qs)),Kt=1,Ks(Sr))}}function xr(e,t,n){var o=new lo;return t=t==null?0:+t,o.restart(i=>{o.stop(),e(i+t)},t,n),o}var hf=Eo("start","end","cancel","interrupt"),gf=[],Js=0,Er=1,ui=2,qn=3,Nr=4,ci=5,Kn=6;function Co(e,t,n,o,i,r){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;pf(e,n,{name:t,index:o,group:i,on:hf,tween:gf,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:Js})}function Di(e,t){var n=Ge(e,t);if(n.state>Js)throw new Error("too late; already scheduled");return n}function Qe(e,t){var n=Ge(e,t);if(n.state>qn)throw new Error("too late; already running");return n}function Ge(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function pf(e,t,n){var o=e.__transition,i;o[t]=n,n.timer=Qs(r,0,n.time);function r(u){n.state=Er,n.timer.restart(s,n.delay,n.time),n.delay<=u&&s(u-n.delay)}function s(u){var c,d,h,g;if(n.state!==Er)return l();for(c in o)if(g=o[c],g.name===n.name){if(g.state===qn)return xr(s);g.state===Nr?(g.state=Kn,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete o[c]):+cui&&o.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function Gf(e,t,n){var o,i,r=Xf(t)?Di:Qe;return function(){var s=r(this,e),a=s.on;a!==o&&(i=(o=a).copy()).on(t,n),s.on=i}}function Zf(e,t){var n=this._id;return arguments.length<2?Ge(this.node(),n).on.on(e):this.each(Gf(n,e,t))}function Uf(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Wf(){return this.on("end.remove",Uf(this._id))}function qf(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Ii(e));for(var o=this._groups,i=o.length,r=new Array(i),s=0;s()=>e;function _h(e,{sourceEvent:t,target:n,transform:o,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function ot(e,t,n){this.k=e,this.x=t,this.y=n}ot.prototype={constructor:ot,scale:function(e){return e===1?this:new ot(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new ot(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Qt=new ot(1,0,0);ot.prototype;function Zo(e){e.stopImmediatePropagation()}function sn(e){e.preventDefault(),e.stopImmediatePropagation()}function bh(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function $h(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function kr(){return this.__zoom||Qt}function Sh(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function xh(){return navigator.maxTouchPoints||"ontouchstart"in this}function Eh(e,t,n){var o=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],r=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i),s>r?(r+s)/2:Math.min(0,r)||Math.max(0,s))}function Nh(){var e=bh,t=$h,n=Eh,o=Sh,i=xh,r=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],a=250,l=lf,u=Eo("start","zoom","end"),c,d,h,g=500,S=150,_=0,b=10;function $(f){f.property("__zoom",kr).on("wheel.zoom",K,{passive:!1}).on("mousedown.zoom",Z).on("dblclick.zoom",T).filter(i).on("touchstart.zoom",w).on("touchmove.zoom",X).on("touchend.zoom touchcancel.zoom",J).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}$.transform=function(f,x,y,M){var E=f.selection?f.selection():f;E.property("__zoom",kr),f!==E?V(f,x,y,M):E.interrupt().each(function(){Y(this,arguments).event(M).start().zoom(null,typeof x=="function"?x.apply(this,arguments):x).end()})},$.scaleBy=function(f,x,y,M){$.scaleTo(f,function(){var E=this.__zoom.k,I=typeof x=="function"?x.apply(this,arguments):x;return E*I},y,M)},$.scaleTo=function(f,x,y,M){$.transform(f,function(){var E=t.apply(this,arguments),I=this.__zoom,C=y==null?k(E):typeof y=="function"?y.apply(this,arguments):y,R=I.invert(C),W=typeof x=="function"?x.apply(this,arguments):x;return n(N(v(I,W),C,R),E,s)},y,M)},$.translateBy=function(f,x,y,M){$.transform(f,function(){return n(this.__zoom.translate(typeof x=="function"?x.apply(this,arguments):x,typeof y=="function"?y.apply(this,arguments):y),t.apply(this,arguments),s)},null,M)},$.translateTo=function(f,x,y,M,E){$.transform(f,function(){var I=t.apply(this,arguments),C=this.__zoom,R=M==null?k(I):typeof M=="function"?M.apply(this,arguments):M;return n(Qt.translate(R[0],R[1]).scale(C.k).translate(typeof x=="function"?-x.apply(this,arguments):-x,typeof y=="function"?-y.apply(this,arguments):-y),I,s)},M,E)};function v(f,x){return x=Math.max(r[0],Math.min(r[1],x)),x===f.k?f:new ot(x,f.x,f.y)}function N(f,x,y){var M=x[0]-y[0]*f.k,E=x[1]-y[1]*f.k;return M===f.x&&E===f.y?f:new ot(f.k,M,E)}function k(f){return[(+f[0][0]+ +f[1][0])/2,(+f[0][1]+ +f[1][1])/2]}function V(f,x,y,M){f.on("start.zoom",function(){Y(this,arguments).event(M).start()}).on("interrupt.zoom end.zoom",function(){Y(this,arguments).event(M).end()}).tween("zoom",function(){var E=this,I=arguments,C=Y(E,I).event(M),R=t.apply(E,I),W=y==null?k(R):typeof y=="function"?y.apply(E,I):y,B=Math.max(R[1][0]-R[0][0],R[1][1]-R[0][1]),P=E.__zoom,L=typeof x=="function"?x.apply(E,I):x,se=l(P.invert(W).concat(B/P.k),L.invert(W).concat(B/L.k));return function(ae){if(ae===1)ae=L;else{var ce=se(ae),le=B/ce[2];ae=new ot(le,W[0]-ce[0]*le,W[1]-ce[1]*le)}C.zoom(null,ae)}})}function Y(f,x,y){return!y&&f.__zooming||new F(f,x)}function F(f,x){this.that=f,this.args=x,this.active=0,this.sourceEvent=null,this.extent=t.apply(f,x),this.taps=0}F.prototype={event:function(f){return f&&(this.sourceEvent=f),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(f,x){return this.mouse&&f!=="mouse"&&(this.mouse[1]=x.invert(this.mouse[0])),this.touch0&&f!=="touch"&&(this.touch0[1]=x.invert(this.touch0[0])),this.touch1&&f!=="touch"&&(this.touch1[1]=x.invert(this.touch1[0])),this.that.__zoom=x,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(f){var x=Fe(this.that).datum();u.call(f,this.that,new _h(f,{sourceEvent:this.sourceEvent,target:$,type:f,transform:this.that.__zoom,dispatch:u}),x)}};function K(f,...x){if(!e.apply(this,arguments))return;var y=Y(this,x).event(f),M=this.__zoom,E=Math.max(r[0],Math.min(r[1],M.k*Math.pow(2,o.apply(this,arguments)))),I=Ue(f);if(y.wheel)(y.mouse[0][0]!==I[0]||y.mouse[0][1]!==I[1])&&(y.mouse[1]=M.invert(y.mouse[0]=I)),clearTimeout(y.wheel);else{if(M.k===E)return;y.mouse=[I,M.invert(I)],Qn(this),y.start()}sn(f),y.wheel=setTimeout(C,S),y.zoom("mouse",n(N(v(M,E),y.mouse[0],y.mouse[1]),y.extent,s));function C(){y.wheel=null,y.end()}}function Z(f,...x){if(h||!e.apply(this,arguments))return;var y=f.currentTarget,M=Y(this,x,!0).event(f),E=Fe(f.view).on("mousemove.zoom",W,!0).on("mouseup.zoom",B,!0),I=Ue(f,y),C=f.clientX,R=f.clientY;Fs(f.view),Zo(f),M.mouse=[I,this.__zoom.invert(I)],Qn(this),M.start();function W(P){if(sn(P),!M.moved){var L=P.clientX-C,se=P.clientY-R;M.moved=L*L+se*se>_}M.event(P).zoom("mouse",n(N(M.that.__zoom,M.mouse[0]=Ue(P,y),M.mouse[1]),M.extent,s))}function B(P){E.on("mousemove.zoom mouseup.zoom",null),Ls(P.view,M.moved),sn(P),M.event(P).end()}}function T(f,...x){if(!!e.apply(this,arguments)){var y=this.__zoom,M=Ue(f.changedTouches?f.changedTouches[0]:f,this),E=y.invert(M),I=y.k*(f.shiftKey?.5:2),C=n(N(v(y,I),M,E),t.apply(this,x),s);sn(f),a>0?Fe(this).transition().duration(a).call(V,C,M,f):Fe(this).call($.transform,C,M,f)}}function w(f,...x){if(!!e.apply(this,arguments)){var y=f.touches,M=y.length,E=Y(this,x,f.changedTouches.length===M).event(f),I,C,R,W;for(Zo(f),C=0;C(e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom",e))(te||{}),Bi=(e=>(e.Partial="partial",e.Full="full",e))(Bi||{}),$t=(e=>(e.Bezier="default",e.SimpleBezier="simple-bezier",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e))($t||{}),Dt=(e=>(e.Strict="strict",e.Loose="loose",e))(Dt||{}),zt=(e=>(e.Arrow="arrow",e.ArrowClosed="arrowclosed",e))(zt||{}),pn=(e=>(e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal",e))(pn||{}),na=(e=>(e.TopLeft="top-left",e.TopCenter="top-center",e.TopRight="top-right",e.BottomLeft="bottom-left",e.BottomCenter="bottom-center",e.BottomRight="bottom-right",e))(na||{});function di(e){var t,n;const o=((n=(t=e.composedPath)==null?void 0:t.call(e))==null?void 0:n[0])||e.target,i=typeof(o==null?void 0:o.hasAttribute)=="function"?o.hasAttribute("contenteditable"):!1,r=typeof(o==null?void 0:o.closest)=="function"?o.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(o==null?void 0:o.nodeName)||i||!!r}function kh(e){return e.ctrlKey||e.metaKey||e.shiftKey}function Cr(e,t,n,o){const i=t.split("+").map(r=>r.trim().toLowerCase());return i.length===1?e.toLowerCase()===t.toLowerCase():(o?n.delete(e.toLowerCase()):n.add(e.toLowerCase()),i.every((r,s)=>n.has(r)&&Array.from(n.values())[s]===i[s]))}function Ch(e,t){return n=>{if(!n.code&&!n.key)return!1;const o=Mh(n.code,e);return Array.isArray(e)?e.some(i=>Cr(n[o],i,t,n.type==="keyup")):Cr(n[o],e,t,n.type==="keyup")}}function Mh(e,t){return typeof t=="string"?e===t?"code":"key":t.includes(e)?"code":"key"}function vn(e,t){const n=be(()=>{var c;return(c=_e(t==null?void 0:t.actInsideInputWithModifier))!=null?c:!1}),o=be(()=>{var c;return(c=_e(t==null?void 0:t.target))!=null?c:window}),i=ie(_e(e)===!0);let r=!1;const s=new Set;let a=u(_e(e));Ee(()=>_e(e),(c,d)=>{typeof d=="boolean"&&typeof c!="boolean"&&l(),a=u(c)},{immediate:!0}),Oe(()=>{Cs(window,["blur","contextmenu"],l)}),ur((...c)=>a(...c),c=>{r=kh(c),!((!r||r&&!n.value)&&di(c))&&(c.preventDefault(),i.value=!0)},{eventName:"keydown",target:o}),ur((...c)=>a(...c),c=>{if(i.value){if((!r||r&&!n.value)&&di(c))return;l()}},{eventName:"keyup",target:o});function l(){r=!1,s.clear(),i.value=!1}function u(c){return c===null?(l(),()=>!1):typeof c=="boolean"?(l(),i.value=c,()=>!1):Array.isArray(c)||typeof c=="string"?Ch(c,s):c}return i}const oa="vue-flow__node-desc",ia="vue-flow__edge-desc",Ih="vue-flow__aria-live",ra=["Enter"," ","Escape"],Gt={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function fi(e){return{...e.computedPosition||{x:0,y:0},width:e.dimensions.width||0,height:e.dimensions.height||0}}function hi(e,t){const n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),o=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*o)}function Mo(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Bt(e,t=0,n=1){return Math.min(Math.max(e,t),n)}function sa(e,t){return{x:Bt(e.x,t[0][0],t[1][0]),y:Bt(e.y,t[0][1],t[1][1])}}function Mr(e){const t=e.getRootNode();return"elementFromPoint"in t?t:window.document}function wt(e){return e&&typeof e=="object"&&"id"in e&&"source"in e&&"target"in e}function Mt(e){return e&&typeof e=="object"&&"id"in e&&"position"in e&&!wt(e)}function fn(e){return Mt(e)&&"computedPosition"in e}function Vn(e){return!Number.isNaN(e)&&Number.isFinite(e)}function Th(e){return Vn(e.width)&&Vn(e.height)&&Vn(e.x)&&Vn(e.y)}function Ah(e,t,n){var i;const o={id:e.id.toString(),type:(i=e.type)!=null?i:"default",dimensions:Lt({width:0,height:0}),computedPosition:Lt({z:0,...e.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:ke(e.data)?e.data:{},events:Lt(ke(e.events)?e.events:{})};return Object.assign(t!=null?t:o,e,{id:e.id.toString(),parentNode:n})}function aa(e,t,n){var s,a,l,u,c,d,h;var o,i;const r={id:e.id.toString(),type:(a=(s=e.type)!=null?s:t==null?void 0:t.type)!=null?a:"default",source:e.source.toString(),target:e.target.toString(),sourceHandle:(o=e.sourceHandle)==null?void 0:o.toString(),targetHandle:(i=e.targetHandle)==null?void 0:i.toString(),updatable:(l=e.updatable)!=null?l:n==null?void 0:n.updatable,selectable:(u=e.selectable)!=null?u:n==null?void 0:n.selectable,focusable:(c=e.focusable)!=null?c:n==null?void 0:n.focusable,data:ke(e.data)?e.data:{},events:Lt(ke(e.events)?e.events:{}),label:(d=e.label)!=null?d:"",interactionWidth:(h=e.interactionWidth)!=null?h:n==null?void 0:n.interactionWidth,...n!=null?n:{}};return Object.assign(t!=null?t:r,e,{id:e.id.toString()})}function la(e,t,n,o){const i=typeof e=="string"?e:e.id,r=new Set,s=o==="source"?"target":"source";for(const a of n)a[s]===i&&r.add(a[o]);return t.filter(a=>r.has(a.id))}function Ph(...e){if(e.length===3){const[r,s,a]=e;return la(r,s,a,"target")}const[t,n]=e,o=typeof t=="string"?t:t.id;return n.filter(r=>wt(r)&&r.source===o).map(r=>n.find(s=>Mt(s)&&s.id===r.target))}function Dh(...e){if(e.length===3){const[r,s,a]=e;return la(r,s,a,"source")}const[t,n]=e,o=typeof t=="string"?t:t.id;return n.filter(r=>wt(r)&&r.target===o).map(r=>n.find(s=>Mt(s)&&s.id===r.source))}function ua({source:e,sourceHandle:t,target:n,targetHandle:o}){return`vueflow__edge-${e}${t!=null?t:""}-${n}${o!=null?o:""}`}function zh(e,t){return t.some(n=>wt(n)&&n.source===e.source&&n.target===e.target&&(n.sourceHandle===e.sourceHandle||!n.sourceHandle&&!e.sourceHandle)&&(n.targetHandle===e.targetHandle||!n.targetHandle&&!e.targetHandle))}function ca({x:e,y:t},{x:n,y:o,zoom:i}){return{x:e*i+n,y:t*i+o}}function uo({x:e,y:t},{x:n,y:o,zoom:i},r=!1,[s,a]=[1,1]){const l={x:(e-n)/i,y:(t-o)/i};return r?{x:s*Math.round(l.x/s),y:a*Math.round(l.y/a)}:l}function da(e,t){return{x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}}function co({x:e,y:t,width:n,height:o}){return{x:e,y:t,x2:e+n,y2:t+o}}function fa({x:e,y:t,x2:n,y2:o}){return{x:e,y:t,width:n-e,height:o-t}}function Bh(e,t){return fa(da(co(e),co(t)))}function Io(e){let t={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let n=0;n0,k=(_!=null?_:0)*(b!=null?b:0);(v||N||$>=k||d.dragging)&&s.push(d)}return s}function St(e,t){const n=new Set;if(typeof e=="string")n.add(e);else if(e.length>=1)for(const o of e)n.add(o.id);return t.filter(o=>n.has(o.source)||n.has(o.target))}function Ir(e,t,n,o,i,r=.1,s={x:0,y:0}){var _,b;const a=t/(e.width*(1+r)),l=n/(e.height*(1+r)),u=Math.min(a,l),c=Bt(u,o,i),d=e.x+e.width/2,h=e.y+e.height/2,g=t/2-d*c+((_=s.x)!=null?_:0),S=n/2-h*c+((b=s.y)!=null?b:0);return{x:g,y:S,zoom:c}}function Oh(e,t){return{x:t.x+e.x,y:t.y+e.y,z:(e.z>t.z?e.z:t.z)+1}}function ga(e,t){if(!e.parentNode)return!1;const n=t(e.parentNode);return n?n.selected?!0:ga(n,t):!1}function $n(e,t){return typeof e>"u"?"":typeof e=="string"?e:`${t?`${t}__`:""}${Object.keys(e).sort().map(o=>`${o}=${e[o]}`).join("&")}`}function Tr(e,t,n){return en?-Bt(Math.abs(e-n),1,t)/t:0}function pa(e,t,n=15,o=40){const i=Tr(e.x,o,t.width-o)*n,r=Tr(e.y,o,t.height-o)*n;return[i,r]}function Uo(e,t){var n,o;if(t){const i=e.position.x+e.dimensions.width-t.dimensions.width,r=e.position.y+e.dimensions.height-t.dimensions.height;if(i>0||r>0||e.position.x<0||e.position.y<0){let s={};if(typeof t.style=="function"?s={...t.style(t)}:t.style&&(s={...t.style}),s.width=(n=s.width)!=null?n:`${t.dimensions.width}px`,s.height=(o=s.height)!=null?o:`${t.dimensions.height}px`,i>0)if(typeof s.width=="string"){const a=Number(s.width.replace("px",""));s.width=`${a+i}px`}else s.width+=i;if(r>0)if(typeof s.height=="string"){const a=Number(s.height.replace("px",""));s.height=`${a+r}px`}else s.height+=r;if(e.position.x<0){const a=Math.abs(e.position.x);if(t.position.x=t.position.x-a,typeof s.width=="string"){const l=Number(s.width.replace("px",""));s.width=`${l+a}px`}else s.width+=a;e.position.x=0}if(e.position.y<0){const a=Math.abs(e.position.y);if(t.position.y=t.position.y-a,typeof s.height=="string"){const l=Number(s.height.replace("px",""));s.height=`${l+a}px`}else s.height+=a;e.position.y=0}t.dimensions.width=Number(s.width.toString().replace("px","")),t.dimensions.height=Number(s.height.toString().replace("px","")),typeof t.style=="function"?t.style=a=>{const l=t.style;return{...l(a),...s}}:t.style={...t.style,...s}}}}function Ar(e,t){var n,o;const i=e.filter(s=>s.type==="add"||s.type==="remove");for(const s of i)if(s.type==="add")t.findIndex(l=>l.id===s.item.id)===-1&&t.push(s.item);else if(s.type==="remove"){const a=t.findIndex(l=>l.id===s.id);a!==-1&&t.splice(a,1)}const r=t.map(s=>s.id);for(const s of t)for(const a of e)if(a.id===s.id)switch(a.type){case"select":s.selected=a.selected;break;case"position":if(fn(s)&&(typeof a.position<"u"&&(s.position=a.position),typeof a.dragging<"u"&&(s.dragging=a.dragging),s.expandParent&&s.parentNode)){const l=t[r.indexOf(s.parentNode)];l&&fn(l)&&Uo(s,l)}break;case"dimensions":if(fn(s)&&(typeof a.dimensions<"u"&&(s.dimensions=a.dimensions),typeof a.updateStyle<"u"&&(s.style={...s.style||{},width:`${(n=a.dimensions)==null?void 0:n.width}px`,height:`${(o=a.dimensions)==null?void 0:o.height}px`}),typeof a.resizing<"u"&&(s.resizing=a.resizing),s.expandParent&&s.parentNode)){const l=t[r.indexOf(s.parentNode)];l&&fn(l)&&(!!l.dimensions.width&&!!l.dimensions.height?Uo(s,l):rt(()=>{Uo(s,l)}))}break}return t}function dt(e,t){return{id:e,type:"select",selected:t}}function Pr(e){return{item:e,type:"add"}}function Dr(e){return{id:e,type:"remove"}}function zr(e,t,n,o,i){return{id:e,source:t,target:n,sourceHandle:o||null,targetHandle:i||null,type:"remove"}}function gt(e,t=new Set,n=!1){const o=[];for(const[i,r]of e){const s=t.has(i);!(r.selected===void 0&&!s)&&r.selected!==s&&(n&&(r.selected=s),o.push(dt(r.id,s)))}return o}function Q(e){const t=new Set;let n=!1;const o=()=>t.size>0;e&&(n=!0,t.add(e));const i=a=>{t.delete(a)};return{on:a=>{e&&n&&t.delete(e),t.add(a);const l=()=>{i(a),e&&n&&t.add(e)};return xo(l),{off:l}},off:i,trigger:a=>Promise.all(Array.from(t).map(l=>l(a))),hasListeners:o,fns:t}}function Br(e,t,n){let o=e;do{if(o&&o.matches(t))return!0;if(o===n)return!1;o=o.parentElement}while(o);return!1}function Rh(e,t,n,o,i){var r,s;const a=[];for(const l of e)(l.selected||l.id===i)&&(!l.parentNode||!ga(l,o))&&(l.draggable||t&&typeof l.draggable>"u")&&a.push(Lt({id:l.id,position:l.position||{x:0,y:0},distance:{x:n.x-((r=l.computedPosition)==null?void 0:r.x)||0,y:n.y-((s=l.computedPosition)==null?void 0:s.y)||0},from:l.computedPosition,extent:l.extent,parentNode:l.parentNode,dimensions:l.dimensions,expandParent:l.expandParent}));return a}function Wo({id:e,dragItems:t,findNode:n}){const o=[];for(const i of t){const r=n(i.id);r&&o.push(r)}return[e?o.find(i=>i.id===e):o[0],o]}function va(e){if(Array.isArray(e))switch(e.length){case 1:return[e[0],e[0],e[0],e[0]];case 2:return[e[0],e[1],e[0],e[1]];case 3:return[e[0],e[1],e[2],e[1]];case 4:return e;default:return[0,0,0,0]}return[e,e,e,e]}function Vh(e,t,n){const[o,i,r,s]=typeof e!="string"?va(e.padding):[0,0,0,0];return n&&typeof n.computedPosition.x<"u"&&typeof n.computedPosition.y<"u"&&typeof n.dimensions.width<"u"&&typeof n.dimensions.height<"u"?[[n.computedPosition.x+s,n.computedPosition.y+o],[n.computedPosition.x+n.dimensions.width-i,n.computedPosition.y+n.dimensions.height-r]]:!1}function Hh(e,t,n,o){let i=e.extent||n;if((i==="parent"||!Array.isArray(i)&&(i==null?void 0:i.range)==="parent")&&!e.expandParent)if(e.parentNode&&o&&e.dimensions.width&&e.dimensions.height){const r=Vh(i,e,o);r&&(i=r)}else t(new Me(Ce.NODE_EXTENT_INVALID,e.id)),i=n;else if(Array.isArray(i)){const r=(o==null?void 0:o.computedPosition.x)||0,s=(o==null?void 0:o.computedPosition.y)||0;i=[[i[0][0]+r,i[0][1]+s],[i[1][0]+r,i[1][1]+s]]}else if(i!=="parent"&&(i==null?void 0:i.range)&&Array.isArray(i.range)){const[r,s,a,l]=va(i.padding),u=(o==null?void 0:o.computedPosition.x)||0,c=(o==null?void 0:o.computedPosition.y)||0;i=[[i.range[0][0]+u+l,i.range[0][1]+c+r],[i.range[1][0]+u-s,i.range[1][1]+c-a]]}return i==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:i}function Fh({width:e,height:t},n){return[n[0],[n[1][0]-(e||0),n[1][1]-(t||0)]]}function Oi(e,t,n,o,i){const r=Fh(e.dimensions,Hh(e,n,o,i)),s=sa(t,r);return{position:{x:s.x-((i==null?void 0:i.computedPosition.x)||0),y:s.y-((i==null?void 0:i.computedPosition.y)||0)},computedPosition:s}}function fo(e,t,n=te.Left){var l,u,c;const o=((l=t==null?void 0:t.x)!=null?l:0)+e.computedPosition.x,i=((u=t==null?void 0:t.y)!=null?u:0)+e.computedPosition.y,{width:r,height:s}=t!=null?t:Xh(e);switch((c=t==null?void 0:t.position)!=null?c:n){case te.Top:return{x:o+r/2,y:i};case te.Right:return{x:o+r,y:i+s/2};case te.Bottom:return{x:o+r/2,y:i+s};case te.Left:return{x:o,y:i+s/2}}}function Or(e=[],t){return e.length&&(t?e.find(n=>n.id===t):e[0])||null}function Lh({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:o,targetWidth:i,targetHeight:r,width:s,height:a,viewport:l}){const u={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+i),y2:Math.max(e.y+o,t.y+r)};u.x===u.x2&&(u.x2+=1),u.y===u.y2&&(u.y2+=1);const c=co({x:(0-l.x)/l.zoom,y:(0-l.y)/l.zoom,width:s/l.zoom,height:a/l.zoom}),d=Math.max(0,Math.min(c.x2,u.x2)-Math.max(c.x,u.x)),h=Math.max(0,Math.min(c.y2,u.y2)-Math.max(c.y,u.y));return Math.ceil(d*h)>0}function Yh(e,t,n=!1){const o=typeof e.zIndex=="number";let i=o?e.zIndex:0;const r=t(e.source),s=t(e.target);return!r||!s?0:(n&&(i=o?e.zIndex:Math.max(r.computedPosition.z||0,s.computedPosition.z||0)),i)}var Ce=(e=>(e.MISSING_STYLES="MISSING_STYLES",e.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",e.NODE_INVALID="NODE_INVALID",e.NODE_NOT_FOUND="NODE_NOT_FOUND",e.NODE_MISSING_PARENT="NODE_MISSING_PARENT",e.NODE_TYPE_MISSING="NODE_TYPE_MISSING",e.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",e.EDGE_INVALID="EDGE_INVALID",e.EDGE_NOT_FOUND="EDGE_NOT_FOUND",e.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",e.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",e.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",e.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",e.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",e.EDGE_ORPHANED="EDGE_ORPHANED",e.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",e))(Ce||{});const Rr={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:e=>`Node is invalid Node: ${e}`,NODE_NOT_FOUND:e=>`Node not found Node: ${e}`,NODE_MISSING_PARENT:(e,t)=>`Node is missing a parent Node: ${e} @@ -32,4 +32,4 @@ Edge: ${e}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 -${e.maskBorderRadius},-${e.maskBorderRadius} v${-(F.value.height-2*e.maskBorderRadius)} a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 ${e.maskBorderRadius},-${e.maskBorderRadius}z`);$l(E=>{if(_.value){const I=vt(_.value),C=B=>{if(B.sourceEvent.type!=="wheel"||!h.value||!g.value)return;const P=-B.sourceEvent.deltaY*(B.sourceEvent.deltaMode===1?.05:B.sourceEvent.deltaMode?1:.002)*e.zoomStep,L=l.value.zoom*2**P;g.value.scaleTo(h.value,L)},R=B=>{if(B.sourceEvent.type!=="mousemove"||!h.value||!g.value)return;const P=Z.value*Math.max(1,l.value.zoom)*(e.inversePan?-1:1),L={x:l.value.x-B.sourceEvent.movementX*P,y:l.value.y-B.sourceEvent.movementY*P},se=[[0,0],[c.value.width,c.value.height]],ae=nr.translate(L.x,L.y).scale(l.value.zoom),ce=g.value.constrain()(ae,se,u.value);g.value.transform(h.value,ce)},W=yy().on("zoom",e.pannable?R:()=>{}).on("zoom.wheel",e.zoomable?C:()=>{});I.call(W),E(()=>{I.on("zoom",null)})}},{flush:"post"});function X(E){const[I,C]=ft(E);t("click",{event:E,position:{x:I,y:C}})}function J(E,I){const C={event:E,node:I,connectedEdges:St([I],a.value)};d.miniMapNodeClick(C),t("nodeClick",C)}function f(E,I){const C={event:E,node:I,connectedEdges:St([I],a.value)};d.miniMapNodeDoubleClick(C),t("nodeDblclick",C)}function x(E,I){const C={event:E,node:I,connectedEdges:St([I],a.value)};d.miniMapNodeMouseEnter(C),t("nodeMouseenter",C)}function y(E,I){const C={event:E,node:I,connectedEdges:St([I],a.value)};d.miniMapNodeMouseMove(C),t("nodeMousemove",C)}function M(E,I){const C={event:E,node:I,connectedEdges:St([I],a.value)};d.miniMapNodeMouseLeave(C),t("nodeMouseleave",C)}return(E,I)=>(O(),fe(D(Ia),{position:E.position,class:Xe(["vue-flow__minimap",{pannable:E.pannable,zoomable:E.zoomable}])},{default:ue(()=>[(O(),q("svg",{ref_key:"el",ref:_,width:b.value,height:$.value,viewBox:[T.value.x,T.value.y,T.value.width,T.value.height].join(" "),role:"img","aria-labelledby":`vue-flow__minimap-${D(s)}`,onClick:X},[E.ariaLabel?(O(),q("title",{key:0,id:`vue-flow__minimap-${D(s)}`},Te(E.ariaLabel),9,Sy)):me("",!0),(O(!0),q(Ae,null,tn(D(S),C=>(O(),fe(by,{id:C.id,key:C.id,position:C.computedPosition,dimensions:C.dimensions,selected:C.selected,dragging:C.dragging,style:Ie(C.style),class:Xe(V.value(C)),color:N.value(C),"border-radius":E.nodeBorderRadius,"stroke-color":k.value(C),"stroke-width":E.nodeStrokeWidth,"shape-rendering":D(v),type:C.type,onClick:R=>J(R,C),onDblclick:R=>f(R,C),onMouseenter:R=>x(R,C),onMousemove:R=>y(R,C),onMouseleave:R=>M(R,C)},null,8,["id","position","dimensions","selected","dragging","style","class","color","border-radius","stroke-color","stroke-width","shape-rendering","type","onClick","onDblclick","onMouseenter","onMousemove","onMouseleave"]))),128)),ge("path",{class:"vue-flow__minimap-mask",d:w.value,fill:E.maskColor,stroke:E.maskStrokeColor,"stroke-width":E.maskStrokeWidth,"fill-rule":"evenodd"},null,8,xy)],8,$y))]),_:1},8,["position","class"]))}}),ky={name:"ControlButton",compatConfig:{MODE:3}},Cy=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},My={class:"vue-flow__controls-button"};function Iy(e,t,n,o,i,r){return O(),q("button",My,[Ne(e.$slots,"default")])}const Ft=Cy(ky,[["render",Iy]]),Ty={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Ay=ge("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"},null,-1),Py=[Ay];function Dy(e,t){return O(),q("svg",Ty,Py)}const zy={render:Dy},By={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},Oy=ge("path",{d:"M0 0h32v4.2H0z"},null,-1),Ry=[Oy];function Vy(e,t){return O(),q("svg",By,Ry)}const Hy={render:Vy},Fy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},Ly=ge("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"},null,-1),Yy=[Ly];function Xy(e,t){return O(),q("svg",Fy,Yy)}const Gy={render:Xy},Zy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},Uy=ge("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"},null,-1),Wy=[Uy];function qy(e,t){return O(),q("svg",Zy,Wy)}const Ky={render:qy},Qy={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},Jy=ge("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z"},null,-1),jy=[Jy];function e1(e,t){return O(),q("svg",Qy,jy)}const t1={render:e1},n1={name:"Controls",compatConfig:{MODE:3}},o1=he({...n1,props:{showZoom:{type:Boolean,default:!0},showFitView:{type:Boolean,default:!0},showInteractive:{type:Boolean,default:!0},fitViewParams:{},position:{default:()=>na.BottomLeft}},emits:["zoomIn","zoomOut","fitView","interactionChange"],setup(e,{emit:t}){const{nodesDraggable:n,nodesConnectable:o,elementsSelectable:i,setInteractive:r,zoomIn:s,zoomOut:a,fitView:l,viewport:u,minZoom:c,maxZoom:d}=ye(),h=be(()=>n.value||o.value||i.value),g=be(()=>u.value.zoom<=c.value),S=be(()=>u.value.zoom>=d.value);function _(){s(),t("zoomIn")}function b(){a(),t("zoomOut")}function $(){l(e.fitViewParams),t("fitView")}function v(){r(!h.value),t("interactionChange",!h.value)}return(N,k)=>(O(),fe(D(Ia),{class:"vue-flow__controls",position:N.position},{default:ue(()=>[Ne(N.$slots,"top"),N.showZoom?(O(),q(Ae,{key:0},[Ne(N.$slots,"control-zoom-in",{},()=>[j(Ft,{class:"vue-flow__controls-zoomin",disabled:S.value,onClick:_},{default:ue(()=>[Ne(N.$slots,"icon-zoom-in",{},()=>[(O(),fe(He(D(zy))))])]),_:3},8,["disabled"])]),Ne(N.$slots,"control-zoom-out",{},()=>[j(Ft,{class:"vue-flow__controls-zoomout",disabled:g.value,onClick:b},{default:ue(()=>[Ne(N.$slots,"icon-zoom-out",{},()=>[(O(),fe(He(D(Hy))))])]),_:3},8,["disabled"])])],64)):me("",!0),N.showFitView?Ne(N.$slots,"control-fit-view",{key:1},()=>[j(Ft,{class:"vue-flow__controls-fitview",onClick:$},{default:ue(()=>[Ne(N.$slots,"icon-fit-view",{},()=>[(O(),fe(He(D(Gy))))])]),_:3})]):me("",!0),N.showInteractive?Ne(N.$slots,"control-interactive",{key:2},()=>[N.showInteractive?(O(),fe(Ft,{key:0,class:"vue-flow__controls-interactive",onClick:v},{default:ue(()=>[h.value?Ne(N.$slots,"icon-unlock",{key:0},()=>[(O(),fe(He(D(t1))))]):me("",!0),h.value?me("",!0):Ne(N.$slots,"icon-lock",{key:1},()=>[(O(),fe(He(D(Ky))))])]),_:3})):me("",!0)]):me("",!0),Ne(N.$slots,"default")]),_:3},8,["position"]))}}),i1=he({__name:"ControlButtons",props:{workflow:{}},setup(e){return(t,n)=>(O(),fe(D(o1),{position:"top-left","show-interactive":!1},{default:ue(()=>[j(D(Ft),{title:"Undo",disabled:!t.workflow.history.canUndo(),onClick:n[0]||(n[0]=o=>t.workflow.history.undo())},{default:ue(()=>[j(D(Ol))]),_:1},8,["disabled"]),j(D(Ft),{title:"Redo",disabled:!t.workflow.history.canRedo(),onClick:n[1]||(n[1]=o=>t.workflow.history.redo())},{default:ue(()=>[j(D(du))]),_:1},8,["disabled"])]),_:1}))}});class r1{constructor(t,n){xe(this,"dx");xe(this,"dy");this.dx=n.x-t.x,this.dy=n.y-t.y}get x(){return this.dx}get y(){return this.dy}get length(){return Math.sqrt(this.dx*this.dx+this.dy*this.dy)}get m(){return this.dy/this.dx}}function s1(e,t,n=0){const{x:o,y:i}=t.center,{width:r,height:s}=t,a=new r1(e,t.center),l=n*(a.x/a.length),u=n*(a.y/a.length),c=s/r;let d,h;if(Math.abs(a.m)>Math.abs(c)){const g=s/2*(1/a.m);d=o-(a.y>0?g:-g),h=i+(a.y>0?-s/2:s/2)}else{const g=r/2*a.m;d=o+(a.x>0?-r/2:r/2),h=i-(a.x>0?g:-g)}return{x:d+l,y:h+u}}const bo=(e,t=0,n=0)=>{const o=Math.atan2(e.ty-e.sy,e.tx-e.sx),i=t*Math.sin(o),r=t*Math.cos(o),s=n*Math.cos(o),a=n*Math.sin(o);return{sourceX:e.sx-i+s,sourceY:e.sy+r+a,targetX:e.tx-i-s,targetY:e.ty+r-a}};function kn(e,t,n=0){const o={x:e.computedPosition.x+e.dimensions.width/2,y:e.computedPosition.y+e.dimensions.height/2},r={center:{x:t.computedPosition.x+t.dimensions.width/2,y:t.computedPosition.y+t.dimensions.height/2},width:t.dimensions.width,height:t.dimensions.height};return s1(o,r,n)}function Ho(e,t){const n=kn(e,t,-10),o=kn(t,e,-10);return{sx:o.x,sy:o.y,tx:n.x,ty:n.y}}const a1={key:0},l1=he({__name:"ConditionEdge",props:{id:{},sourceNode:{},targetNode:{},source:{},target:{},type:{},label:{type:[String,Object,Function]},style:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},markerStart:{},markerEnd:{},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{},controller:{}},setup(e){const t=e,n=ie(t.data.props.conditionValue||""),o=ie(!1),i=U(()=>n.value.length+t.sourceNode.data.props.variableName.length>30),r=()=>{!o.value||(n.value!==t.data.props.conditionValue&&t.controller.updateTransitionProps(t.data.id,{conditionValue:n.value}),o.value=!1)},{onEdgeClick:s,onPaneClick:a}=ye();s(d=>{d.edge.id===t.id&&!o.value&&(o.value=!0)}),a(()=>r());const l=U(()=>Ho(t.sourceNode,t.targetNode)),u=U(()=>Jt(bo(l.value))),c=d=>{d.key==="Enter"&&r()};return Oe(()=>window.addEventListener("keydown",c)),Rt(()=>window.removeEventListener("keydown",c)),(d,h)=>(O(),q(Ae,null,[j(D(_t),{path:u.value[0],"marker-end":d.markerEnd,style:{"stroke-dasharray":"5, 5"}},null,8,["path","marker-end"]),j(D(Li),null,{default:ue(()=>[o.value?(O(),q("div",{key:1,style:Ie({transform:`translate(-50%, -50%) translate(${u.value[1]}px,${u.value[2]}px)`}),class:"nodrag nopan edge-input-container"},[j(D(Ut),{value:n.value,"onUpdate:value":h[1]||(h[1]=g=>n.value=g),"addon-before":"="},null,8,["value"])],4)):(O(),q("div",{key:0,style:Ie({transform:`translate(-50%, -50%) translate(${u.value[1]}px,${u.value[2]}px)`}),class:"nodrag nopan edge-label"},[j(D($o),{code:"",style:{opacity:"1",display:"flex"},onClick:h[0]||(h[0]=g=>o.value=!0)},{default:ue(()=>[Be(" if "+Te(d.sourceNode.data.props.variableName)+" = ",1),i.value?(O(),q("br",a1)):me("",!0),Be("'"+Te(n.value)+"' ",1)]),_:1})],4))]),_:1})],64))}});const u1=lt(l1,[["__scopeId","data-v-02f01e0e"]]),c1=he({__name:"FinishEdge",props:{id:{},sourceNode:{},targetNode:{},source:{},target:{},type:{},label:{type:[String,Object,Function]},style:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},markerStart:{},markerEnd:{},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{},controller:{}},setup(e){const t=e,n=ie(!1),o=ie(`${t.sourceNode.data.type}:finished`),i=()=>{n.value&&o.value!==t.data.type&&t.controller.updateTransitionType(t.id,o.value),n.value=!1},{onEdgeClick:r,onPaneClick:s}=ye();r(d=>{d.edge.id===t.id&&!n.value&&(n.value=!0)}),s(()=>i());const a=U(()=>Ho(t.sourceNode,t.targetNode)),l=U(()=>Jt(bo(a.value))),u=U(()=>t.data.type.split(":")[1]==="finished"?"On Success":"On Failure"),c=d=>{d.key==="Enter"&&i()};return Oe(()=>window.addEventListener("keydown",c)),Rt(()=>window.removeEventListener("keydown",c)),(d,h)=>(O(),q(Ae,null,[j(D(_t),{path:l.value[0],"marker-end":d.markerEnd},null,8,["path","marker-end"]),j(D(Li),null,{default:ue(()=>[n.value?(O(),q("div",{key:1,style:Ie({transform:`translate(-50%, -50%) translate(${l.value[1]}px,${l.value[2]}px)`}),class:"nodrag nopan edge-select-container"},[j(D(Sl),{value:o.value,"onUpdate:value":h[0]||(h[0]=g=>o.value=g)},{default:ue(()=>[j(D(rr),{value:`${t.sourceNode.data.type}:finished`},{default:ue(()=>[j(D(At),{gap:"small",align:"center"},{default:ue(()=>[j(D(xl),{size:12}),Be("On Success ")]),_:1})]),_:1},8,["value"]),j(D(rr),{value:`${t.sourceNode.data.type}:failed`},{default:ue(()=>[j(D(At),{gap:"small",align:"center"},{default:ue(()=>[j(D(El),{size:12}),Be("On Failure ")]),_:1})]),_:1},8,["value"])]),_:1},8,["value"])],4)):(O(),q("div",{key:0,style:Ie({transform:`translate(-50%, -50%) translate(${l.value[1]}px,${l.value[2]}px)`}),class:"nodrag nopan edge-label"},[j(D($o),{style:{color:"#606060"}},{default:ue(()=>[Be(Te(u.value),1)]),_:1})],4))]),_:1})],64))}});const d1=lt(c1,[["__scopeId","data-v-83bdbf52"]]),f1=he({__name:"IteratorEdge",props:{id:{},sourceNode:{},targetNode:{},source:{},target:{},type:{},label:{type:[String,Object,Function]},style:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},markerStart:{},markerEnd:{},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{}},setup(e){const t=e,n=U(()=>Ho(t.sourceNode,t.targetNode)),o=U(()=>Jt(bo(n.value,2.5))),i=U(()=>Jt(bo(n.value,-2.5,8)));return(r,s)=>(O(),q(Ae,null,[j(D(_t),{path:o.value[0],"marker-end":r.markerEnd},null,8,["path","marker-end"]),j(D(_t),{path:i.value[0],"marker-end":r.markerEnd,style:{opacity:"0.5"}},null,8,["path","marker-end"]),j(D(Li),null,{default:ue(()=>[ge("div",{style:Ie({transform:`translate(-50%, -50%) translate(${o.value[1]}px,${o.value[2]}px)`}),class:"nodrag nopan edge-label"},[j(D($o),{code:""},{default:ue(()=>[Be(" for "+Te(r.sourceNode.data.props.itemName)+" in "+Te(r.sourceNode.data.props.variableName),1)]),_:1})],4)]),_:1})],64))}});const h1=lt(f1,[["__scopeId","data-v-8c8a210f"]]),g1={key:0},p1=ge("defs",null,[ge("marker",{id:"arrowhead",markerWidth:"8",markerHeight:"8",refX:"0",refY:"4",orient:"auto",markerUnits:"strokeWidth"},[ge("path",{d:"M0,0 L8,4 L0,8",fill:"none",stroke:"#222","stroke-width":"1"})])],-1),v1=["d"],m1=he({__name:"LineFloating",props:{targetX:{},targetY:{},sourcePosition:{},targetPosition:{},sourceNode:{}},setup(e){const t=e,n=ie(!0),{onNodeMouseEnter:o,onNodeMouseLeave:i}=ye();o(l=>{l.node.id===t.sourceNode.id&&(n.value=!1)}),i(l=>{l.node.id===t.sourceNode.id&&(n.value=!0)});const r=U(()=>({id:"connection-target",computedPosition:{x:t.targetX,y:t.targetY},dimensions:{width:1,height:1}})),s=U(()=>Ho(t.sourceNode,r.value)),a=U(()=>Jt({sourceX:s.value.sx,sourceY:s.value.sy,targetX:s.value.tx,targetY:s.value.ty}));return(l,u)=>n.value?(O(),q("g",g1,[p1,ge("path",{fill:"none",stroke:"#222","stroke-width":1,class:"animated",d:a.value[0],"marker-end":"url(#arrowhead)"},null,8,v1)])):me("",!0)}}),y1={name:"NodeToolbar",compatConfig:{MODE:3},inheritAttrs:!1},w1=he({...y1,props:{nodeId:null,isVisible:{type:Boolean},position:{default:te.Top},offset:{default:10},align:{default:"center"}},setup(e){const t=e,n=Pe(Hi,null),{viewportRef:o,viewport:i,getSelectedNodes:r,findNode:s}=ye();function a(g,S,_,b,$){let v=.5;$==="start"?v=0:$==="end"&&(v=1);let N=[(g.x+g.width*v)*S.zoom+S.x,g.y*S.zoom+S.y-b],k=[-100*v,-100];switch(_){case te.Right:N=[(g.x+g.width)*S.zoom+S.x+b,(g.y+g.height*v)*S.zoom+S.y],k=[0,-100*v];break;case te.Bottom:N[1]=(g.y+g.height)*S.zoom+S.y+b,k[1]=0;break;case te.Left:N=[g.x*S.zoom+S.x-b,(g.y+g.height*v)*S.zoom+S.y],k=[-100,-100*v];break}return`translate(${N[0]}px, ${N[1]}px) translate(${k[0]}%, ${k[1]}%)`}const l=U(()=>(Array.isArray(t.nodeId)?t.nodeId:[t.nodeId||n||""]).reduce((g,S)=>{const _=s(S);return _&&g.push(_),g},[])),u=U(()=>typeof t.isVisible=="boolean"?t.isVisible:l.value.length===1&&l.value[0].selected&&r.value.length===1),c=U(()=>Io(l.value)),d=U(()=>Math.max(...l.value.map(g=>(g.computedPosition.z||1)+1))),h=U(()=>({position:"absolute",transform:a(c.value,i.value,t.position,t.offset,t.align),zIndex:d.value}));return(g,S)=>(O(),fe(bs,{to:D(o),disabled:!D(o)},[D(u)&&D(l).length?(O(),q("div",mt({key:0},g.$attrs,{style:D(h),class:"vue-flow__node-toolbar"}),[Ne(g.$slots,"default")],16)):me("",!0)],8,["to","disabled"]))}}),or=he({__name:"NodeMenu",props:{isConnecting:{type:Boolean},isEditing:{type:Boolean},menuOptions:{}},setup(e){return(t,n)=>(O(),fe(D(w1),{"is-visible":t.isConnecting||t.isEditing?!1:void 0,position:D(te).Right},{default:ue(()=>[j(D(At),{vertical:"",gap:"small",style:Ie({marginBottom:`-${16*t.menuOptions.length}%`})},{default:ue(()=>[(O(!0),q(Ae,null,tn(t.menuOptions,o=>(O(),fe(D(Nl),{key:o.label,title:o.tooltip,placement:"right"},{default:ue(()=>[j(D(kl),{class:Xe([{"warning-button":o.warning}]),disabled:o.disabled,style:Ie({backgroundColor:o.disabled?"#f5f5f5":void 0}),onClick:i=>o.click(i)},{default:ue(()=>[j(D(At),{gap:"small",style:{width:"100%"},justify:"space-between",align:"center"},{default:ue(()=>[Be(Te(o.label)+" ",1),o.key?(O(),fe(D($o),{key:0,keyboard:"",disabled:o.disabled},{default:ue(()=>[Be(Te(o.key),1)]),_:2},1032,["disabled"])):me("",!0)]),_:2},1024)]),_:2},1032,["class","disabled","style","onClick"])]),_:2},1032,["title"]))),128))]),_:1},8,["style"])]),_:1},8,["is-visible","position"]))}});const _1=he({__name:"ConditionNode",props:{stage:{},node:{},controller:{}},setup(e){const t=e,{useToken:n}=So,{token:o}=n(),i=o.value.colorText,r=[{label:"Add transition",key:"T",click:T=>Y(T)},{label:"Edit variable",key:"R",click:()=>N.value=!0},{label:"Delete",key:"Del",click:()=>d(t.stage)}],{startConnection:s,updateConnection:a,onNodeClick:l,addEdges:u,endConnection:c,removeNodes:d,onPaneClick:h,getSelectedNodes:g,flowToScreenCoordinate:S,onNodeMouseEnter:_,getNodes:b,onNodeMouseLeave:$}=ye(),v=ie(!1),N=ie(!1),k=ie(!1),V=ie(t.stage.props.variableName||""),Y=(T,w=!0)=>{s({nodeId:t.stage.id,type:"source",handleId:t.stage.id},{x:w?T.pageX-180:T.pageX-90,y:w?T.pageY-50:T.pageY-20}),document.addEventListener("mousemove",F),v.value=!0},F=T=>{v.value&&!k.value&&a({x:T.pageX-180,y:T.pageY-52})};_(T=>{if(v.value&&T.node.id!==t.stage.id){k.value=!0;const w=b.value.find(J=>J.id===t.stage.id);if(!w)return;const X=kn(w,T.node,-10);a(S({x:X.x-180,y:X.y-52}))}}),$(()=>{k.value=!1}),l(T=>{if(v.value&&T.node.id!==t.stage.id){const w={sourceStageId:t.stage.id,targetStageId:T.node.id,type:"conditions:patternMatched",id:Bo()};try{t.controller.connect([w]),document.removeEventListener("mousemove",F),u({source:t.stage.id,target:T.node.id,type:"conditions",markerEnd:{type:zt.Arrow,width:24,height:24},data:{...w,props:{conditionValue:null}}}),c(),v.value=!1}catch(X){console.error(X)}}});const K=()=>{try{V.value=no(V.value)}catch(T){kt.error({message:"Invalid variable name",description:T instanceof Error?T.message:"Try a different name"});return}N.value&&t.stage.props.variableName!==V.value&&t.controller.updateStageProps(t.stage.id,{variableName:V.value,path:null,filename:null,itemName:null}),N.value=!1};h(()=>{K(),v.value=!1,c()});const Z=T=>{if(!!g.value.map(w=>w.id).includes(t.stage.id)&&(T.key==="Enter"&&K(),!N.value)){if(T.key==="t"||T.key==="T"){const w=S(t.stage.position);Y({pageX:w.x,pageY:w.y},!1)}(T.key==="r"||T.key==="R")&&(N.value=!0)}};return Oe(()=>{window.addEventListener("keydown",Z)}),Rt(()=>{window.removeEventListener("keydown",Z)}),(T,w)=>(O(),q(Ae,null,[j(or,{"is-connecting":v.value,"is-editing":N.value,"menu-options":r},null,8,["is-connecting","is-editing"]),(O(),fe(He(D(Ci)(T.stage.type)),{size:18,style:{position:"absolute","z-index":"1"},color:D(i)},null,8,["color"])),N.value?(O(),fe(D(Ut),{key:1,value:V.value,"onUpdate:value":w[0]||(w[0]=X=>V.value=X),size:"small",class:"nodrag nopan input"},null,8,["value"])):(O(),fe(D(ki),{key:0,class:"label"},{default:ue(()=>[Be(Te(T.stage.title),1)]),_:1}))],64))}});const b1=lt(_1,[["__scopeId","data-v-5f73e598"]]),$1=he({__name:"IteratorNode",props:{stage:{},node:{},controller:{}},setup(e){const t=e,{useToken:n}=So,{token:o}=n(),i=o.value.colorText,r=[{label:"Add transition",key:"T",click:w=>F(w)},{label:"Edit variables",key:"R",click:()=>N.value=!0},{label:"Delete",key:"Del",click:()=>d(t.stage)}],{startConnection:s,updateConnection:a,onNodeClick:l,addEdges:u,endConnection:c,removeNodes:d,onPaneClick:h,getSelectedNodes:g,flowToScreenCoordinate:S,getNodes:_,onNodeMouseEnter:b,onNodeMouseLeave:$}=ye(),v=ie(!1),N=ie(!1),k=ie(!1),V=ie(t.stage.props.variableName||""),Y=ie(t.stage.props.itemName||""),F=(w,X=!0)=>{s({nodeId:t.stage.id,type:"source",handleId:t.stage.id},{x:X?w.pageX-180:w.pageX-90,y:X?w.pageY-50:w.pageY-20}),document.addEventListener("mousemove",K),v.value=!0},K=w=>{v.value&&!k.value&&a({x:w.pageX-180,y:w.pageY-52})};b(w=>{if(v.value&&w.node.id!==t.stage.id){k.value=!0;const X=_.value.find(f=>f.id===t.stage.id);if(!X)return;const J=kn(X,w.node,-10);a(S({x:J.x-180,y:J.y-52}))}}),$(()=>{k.value=!1}),l(w=>{if(v.value&&w.node.id!==t.stage.id){const X={sourceStageId:t.stage.id,targetStageId:w.node.id,type:"iterators:each",id:Bo()};try{t.controller.connect([X]),document.removeEventListener("mousemove",K),u({source:t.stage.id,target:w.node.id,type:"iterators",markerEnd:{type:zt.Arrow,width:24,height:24},data:X}),c(),v.value=!1}catch(J){console.error(J)}}});const Z=()=>{try{V.value=no(V.value),Y.value=no(Y.value)}catch(w){kt.error({message:"Invalid variable name",description:w instanceof Error?w.message:"Try a different name"});return}N.value&&(t.stage.props.variableName!==V.value||t.stage.props.itemName!==Y.value)&&t.controller.updateStageProps(t.stage.id,{variableName:V.value,path:null,filename:null,itemName:Y.value}),N.value=!1};h(()=>{Z(),v.value=!1,c()});const T=w=>{if(!!g.value.map(X=>X.id).includes(t.stage.id)&&(w.key==="Enter"&&Z(),!N.value)){if(w.key==="t"||w.key==="T"){const X=S(t.stage.position);F({pageX:X.x,pageY:X.y},!1)}(w.key==="r"||w.key==="R")&&(N.value=!0)}};return Oe(()=>{window.addEventListener("keydown",T)}),Rt(()=>{window.removeEventListener("keydown",T)}),(w,X)=>(O(),q(Ae,null,[j(or,{"is-connecting":v.value,"is-editing":N.value,"menu-options":r},null,8,["is-connecting","is-editing"]),(O(),fe(He(D(Ci)(w.stage.type)),{size:18,color:D(i),style:{position:"absolute"}},null,8,["color"])),N.value?(O(),fe(D(At),{key:1,vertical:"",class:"nodrag nopan input",gap:"4",align:"center"},{default:ue(()=>[j(D(Ut),{value:Y.value,"onUpdate:value":X[0]||(X[0]=J=>Y.value=J),size:"small","addon-before":"for"},null,8,["value"]),j(D(Ut),{value:V.value,"onUpdate:value":X[1]||(X[1]=J=>V.value=J),size:"small","addon-before":"in"},null,8,["value"])]),_:1})):(O(),fe(D(ki),{key:0,class:"label"},{default:ue(()=>[Be(Te(w.stage.title),1)]),_:1}))],64))}});const S1=lt($1,[["__scopeId","data-v-a881e4ab"]]),x1=["finished","failed","waiting","running"],ow=({kanbanRepository:e})=>{const t=ie([]),n=ie([]),o=async()=>{try{return await e.countByStatus()}catch(l){return Cl(l),console.error(l),t.value}},i=async()=>{n.value=await e.getStages(),r()},{startPolling:r,endPolling:s}=Fl({task:async()=>{t.value=await o()}});return{stageRunsCount:t,setup:i,tearDown:()=>s()}},E1=["title"],N1=["title"],k1=he({__name:"Badges",props:{counter:{}},setup(e){return(t,n)=>(O(),fe(D(At),{gap:"small",style:{"margin-top":"4px","margin-bottom":"2px"}},{default:ue(()=>[t.counter.finished>0?(O(),fe(D(un),{key:0,count:t.counter.finished,"number-style":{backgroundColor:"#33b891"}},null,8,["count"])):me("",!0),t.counter.failed>0?(O(),fe(D(un),{key:1,count:t.counter.failed,"number-style":{backgroundColor:"#fa675c"}},null,8,["count"])):me("",!0),t.counter.waiting>0?(O(),fe(D(un),{key:2},{count:ue(()=>[ge("div",{class:"base-badge",title:t.counter.waiting.toFixed(0)},[Be(Te(t.counter.waiting>99?"99+":t.counter.waiting)+" ",1),j(D(Pu),{size:12})],8,E1)]),_:1})):me("",!0),t.counter.running>0?(O(),fe(D(un),{key:3},{count:ue(()=>[ge("div",{class:"base-badge",title:t.counter.running.toFixed(0),style:{"background-color":"#2db7f5",color:"#fff","box-shadow":"0 0 0 1px #ffffff"}},[Be(Te(t.counter.running>99?"99+":t.counter.running)+" ",1),j(D(zu),{spin:!0,style:{"font-size":"10px"}})],8,N1)]),_:1})):me("",!0)]),_:1}))}});const C1=lt(k1,[["__scopeId","data-v-bfef44db"]]),M1=he({__name:"CreateStageFile",props:{filename:{},creatingFileStatus:{},fileExists:{type:Boolean}},emits:["create-file","cancel","update-filename"],setup(e,{emit:t}){const n=e,o=U(()=>{const i=xs(n.filename);return i.valid?n.fileExists?{valid:!0,help:"This file already exists, stage will point to it."}:{valid:!0,help:"File doesn't exist yet. It will be created."}:i});return(i,r)=>(O(),fe(D(Tl),{open:i.creatingFileStatus==="prompting"||i.creatingFileStatus==="creating",closable:!1,"confirm-loading":i.creatingFileStatus==="creating",onOk:r[1]||(r[1]=s=>t("create-file",i.filename)),onCancel:r[2]||(r[2]=s=>t("cancel"))},{default:ue(()=>[j(D(Il),{layout:"vertical",disabled:i.creatingFileStatus=="creating"},{default:ue(()=>[j(D(Ml),{label:"You're creating a new file. What should it be called?","validate-status":o.value.valid?"success":"error",help:o.value.valid?o.value.help:o.value.reason},{default:ue(()=>[j(D(Ut),{value:i.filename,onChange:r[0]||(r[0]=s=>t("update-filename",s.target.value||""))},null,8,["value"])]),_:1},8,["validate-status","help"])]),_:1},8,["disabled"])]),_:1},8,["open","confirm-loading"]))}}),I1=he({__name:"StageNode",props:{stage:{},node:{},controller:{},stageRunCount:{}},setup(e){var W;const t=e,{useToken:n}=So,{token:o}=n(),i=o.value.colorText,r=[{label:"Add transition",key:"T",click:B=>E(B)},{label:"Rename",key:"R",click:()=>f.value=!0},{label:"Go to editor",key:"Enter",click:()=>M()},{label:"Delete",key:"Del",click:()=>N(t.stage)}],s=U(()=>{let B=[...r];return l.value||B.unshift({label:"Create missing file",warning:!0,click:()=>g()}),t.controller.hasChanges()&&(B=B.map(P=>P.label==="Go to editor"?{...P,disabled:!0,tooltip:"Save it to allow editing"}:P)),B}),a=U(()=>{let B={};return x1.map(P=>{var se,ae,ce;const L=(ce=(ae=(se=t.stageRunCount)==null?void 0:se.find(le=>le.status===P))==null?void 0:ae.count)!=null?ce:0;B[P]=L}),B}),l=ie(!0),u=bt.exports.debounce(async()=>{const B=t.stage.props.filename;if(!B){l.value=!0;return}Fo.checkFile(B).then(P=>{l.value=P.exists})},500),c=ie((W=t.stage.props.filename)!=null?W:""),d=ie("idle"),h=async()=>{d.value="creating",await Fo.initFile(c.value,t.stage.type),l.value=!0;const B=await Fo.checkFile(c.value);l.value=B.exists,d.value="idle",t.controller.updateStageProps(t.stage.id,{variableName:null,path:t.stage.props.path,filename:c.value,itemName:null})},g=()=>{d.value="prompting"},{startConnection:S,updateConnection:_,onNodeClick:b,addEdges:$,endConnection:v,removeNodes:N,onPaneClick:k,getSelectedNodes:V,flowToScreenCoordinate:Y,onNodeMouseEnter:F,onNodeMouseLeave:K,getNodes:Z,onNodesChange:T,applyNodeChanges:w}=ye(),X=Al(),J=ie(!1),f=ie(!1),x=ie(t.stage.title),y=ie(!1);T(async B=>{var L;const P=[];for(const se of B)se.type==="remove"?f.value||((L=t.controller)==null||L.delete([se.id]),P.push(se)):P.push(se);w(P)});const M=()=>{X.push({path:`/_editor/${t.stage.type.slice(0,-1)}/${t.stage.id}`})},E=(B,P=!0)=>{S({nodeId:t.stage.id,type:"source",handleId:t.stage.id},{x:P?B.pageX-180:B.pageX-90,y:P?B.pageY-50:B.pageY-20}),document.addEventListener("mousemove",I),J.value=!0},I=B=>{J.value&&!y.value&&_({x:B.pageX-180,y:B.pageY-52})};b(B=>{if(B.node.id===t.stage.id&&u(),J.value&&B.node.id!==t.stage.id){const P={sourceStageId:t.stage.id,targetStageId:B.node.id,type:`${t.stage.type}:finished`,id:Bo()};try{t.controller.connect([P]),document.removeEventListener("mousemove",I),$({source:t.stage.id,target:B.node.id,type:"finished",markerEnd:{type:zt.Arrow,width:24,height:24},data:P}),v(),J.value=!1}catch(L){console.error(L)}}}),F(B=>{if(J.value&&B.node.id!==t.stage.id){y.value=!0;const P=Z.value.find(se=>se.id===t.stage.id);if(!P)return;const L=kn(P,B.node,-10);_(Y({x:L.x-180,y:L.y-52}))}}),K(()=>{y.value=!1});const C=()=>{if(!l.value){const B=Es(x.value+".py");c.value=B;let P={filename:B,variableName:null,path:null,itemName:null};if(["forms","hooks"].includes(t.stage.type)){const L=Ss(x.value);P={...P,path:L}}t.controller.updateStageProps(t.stage.id,P)}};k(()=>{f.value=!1,t.stage.title!==x.value&&(t.controller.updateStageTitle(t.stage.id,x.value),C()),J.value=!1,v()});const R=B=>{if(!!V.value.map(P=>P.id).includes(t.stage.id)&&d.value==="idle"){if(B.key==="Enter")if(f.value)f.value=!1,t.controller.updateStageTitle(t.stage.id,x.value),C();else{if(t.controller.hasChanges())return;M()}if(!f.value){if(B.key==="t"||B.key==="T"){const P=Y(t.stage.position);E({pageX:P.x,pageY:P.y},!1)}(B.key==="r"||B.key==="R")&&(f.value=!0)}}};return Oe(()=>{u(),window.addEventListener("keydown",R)}),Rt(()=>{window.removeEventListener("keydown",R)}),(B,P)=>(O(),q(Ae,null,[j(or,{"is-connecting":J.value,"is-editing":f.value,"menu-options":s.value},null,8,["is-connecting","is-editing","menu-options"]),ge("div",{class:"stage",onDblclick:P[1]||(P[1]=L=>f.value=!0)},[j(D(At),{class:"point",gap:"small",align:"center",style:{padding:"4px 0"}},{default:ue(()=>[(O(),fe(He(D(Ci)(B.stage.type)),{size:18,color:D(i)},null,8,["color"])),f.value?(O(),fe(D(Ut),{key:1,value:x.value,"onUpdate:value":P[0]||(P[0]=L=>x.value=L),class:"input nodrag nopan",autofocus:""},null,8,["value"])):(O(),fe(D(ki),{key:0,class:"title"},{default:ue(()=>[Be(Te(B.stage.title),1)]),_:1}))]),_:1})],32),l.value?me("",!0):(O(),fe(D(un),{key:0,count:"!",color:"gold",style:{position:"absolute",top:"-4px",right:"-4px","z-index":"1"}})),j(C1,{counter:a.value},null,8,["counter"]),d.value==="prompting"||d.value==="creating"?(O(),fe(M1,{key:1,filename:c.value,"file-exists":l.value,"creating-file-status":d.value,onCreateFile:h,onCancel:P[2]||(P[2]=L=>d.value="idle"),onUpdateFilename:P[3]||(P[3]=L=>c.value=L)},null,8,["filename","file-exists","creating-file-status"])):me("",!0)],64))}});const Zn=lt(I1,[["__scopeId","data-v-3afc232b"]]),ul=e=>(Pl("data-v-330cb041"),e=e(),Dl(),e),T1={class:"empty-hint"},A1={key:0,class:"drag-hint"},P1=ul(()=>ge("div",{class:"title"},"Start here",-1)),D1={key:1,class:"drop-hint"},z1=ul(()=>ge("div",{class:"title"},"Drop here",-1)),B1={key:2,class:"stages-hint"},O1={class:"header"},R1={class:"title"},V1={class:"description"},H1=he({__name:"EmptyHint",props:{showDragHint:{type:Boolean}},setup(e){return(t,n)=>(O(),q("div",T1,[t.showDragHint?(O(),q("div",A1,[P1,j(D(sr),{size:32,class:"arrow"})])):me("",!0),t.showDragHint?me("",!0):(O(),q("div",D1,[z1,j(D(sr),{size:32,class:"arrow"})])),t.showDragHint?(O(),q("div",B1,[(O(!0),q(Ae,null,tn(D(Wt).stages,o=>(O(),q("div",{key:o.key,class:"stage-hint"},[ge("div",O1,[(O(),fe(He(o.icon))),ge("span",R1,Te(o.title),1)]),ge("div",V1,Te(o.description),1)]))),128))])):me("",!0)]))}});const F1=lt(H1,[["__scopeId","data-v-330cb041"]]);function L1(){let e;const t={draggedType:ie(null),isDragOver:ie(!1),isAdding:ie(!1),isDragging:ie(!1),mousePosition:ie(null)},{draggedType:n,isDragOver:o,isDragging:i,isAdding:r}=t,s=b=>{e=b,document.addEventListener("mousemove",h)},{screenToFlowCoordinate:a}=ye();Ee(r,b=>{document.body.style.userSelect=b?"none":""});function l(b,$){r.value=!0,b?(b.setData("application/vueflow",$),b.effectAllowed="move",n.value=$,i.value=!0,document.addEventListener("drop",d)):(n.value=$,document.addEventListener("click",S))}function u(b){b.preventDefault(),n.value&&(o.value=!0,b.dataTransfer&&(b.dataTransfer.dropEffect="move"))}function c(){o.value=!1}function d(){r.value=!1,i.value=!1,o.value=!1,n.value=null,document.removeEventListener("drop",d)}function h(b){const $={x:b.pageX-200,y:b.pageY-80};t.mousePosition.value=$}function g(b){if(!n.value)throw new Error("No dragged type");return["conditions","iterators"].includes(n.value)?a({x:b.clientX-25,y:b.clientY-25}):a({x:b.clientX-70,y:b.clientY-25})}function S(b){if(!e)return;if(!n.value)throw new Error("No dragged type");const $=g(b);e.addStages([{type:n.value,position:$}]),d()}function _(){document.removeEventListener("mousemove",h)}return{init:s,tearDown:_,draggedType:n,isDragOver:o,isAdding:r,isDragging:i,mousePosition:t.mousePosition,onDragStart:l,onDragLeave:c,onDragOver:u,onDrop:S}}class Y1{static get isMac(){return navigator.userAgent.includes("Mac OS X")}static get buildPlatform(){return{}.CURRENT_PLATFORM||"web"}}const X1=he({__name:"Workflow",props:{workflow:{},editable:{type:Boolean},showDragHint:{type:Boolean},stageRunsCount:{}},setup(e){zl(a=>({"25028e48":D(r),fb6a203e:D(i)}));const t=L1(),{useToken:n}=So,{token:o}=n(),i=o.value.colorPrimaryBorder,r=o.value.colorBgElevated,{onInit:s}=ye();return s(a=>{a.fitView()}),(a,l)=>a.workflow?(O(),fe(D(Tp),{key:0,nodes:a.workflow.vueFlowNodes.value,edges:a.workflow.vueFlowEdges.value,"max-zoom":1.25,class:"vue-flow-root","select-nodes-on-drag":!1,"zoom-on-double-click":!1,multi:"","multi-selection-key-code":"Shift","nodes-draggable":a.editable,"pan-on-scroll":D(Y1).isMac,"elements-selectable":a.editable,"snap-to-grid":"","apply-default":!1,onDragover:D(t).onDragOver,onDragleave:D(t).onDragLeave},{"connection-line":ue(u=>[j(m1,$s(Bl(u)),null,16)]),"edge-finished":ue(u=>[j(d1,mt(u,{controller:a.workflow}),null,16,["controller"])]),"edge-conditions":ue(u=>[j(u1,mt(u,{controller:a.workflow}),null,16,["controller"])]),"edge-iterators":ue(u=>[j(h1,mt(u,{controller:a.workflow}),null,16,["controller"])]),"node-forms":ue(u=>{var c;return[j(Zn,{stage:u.data,node:u,controller:a.workflow,"stage-run-count":(c=a.stageRunsCount)==null?void 0:c.filter(d=>d.stage===u.id)},null,8,["stage","node","controller","stage-run-count"])]}),"node-hooks":ue(u=>{var c;return[j(Zn,{stage:u.data,node:u,controller:a.workflow,"stage-run-count":(c=a.stageRunsCount)==null?void 0:c.filter(d=>d.stage===u.id)},null,8,["stage","node","controller","stage-run-count"])]}),"node-scripts":ue(u=>{var c;return[j(Zn,{stage:u.data,node:u,controller:a.workflow,"stage-run-count":(c=a.stageRunsCount)==null?void 0:c.filter(d=>d.stage===u.id)},null,8,["stage","node","controller","stage-run-count"])]}),"node-jobs":ue(u=>{var c;return[j(Zn,{stage:u.data,node:u,controller:a.workflow,"stage-run-count":(c=a.stageRunsCount)==null?void 0:c.filter(d=>d.stage===u.id)},null,8,["stage","node","controller","stage-run-count"])]}),"node-conditions":ue(u=>{var c;return[j(b1,{stage:u.data,node:u,controller:a.workflow,"stage-run-count":(c=a.stageRunsCount)==null?void 0:c.filter(d=>d.stage===u.id)},null,8,["stage","node","controller","stage-run-count"])]}),"node-iterators":ue(u=>{var c;return[j(S1,{stage:u.data,node:u,controller:a.workflow,"stage-run-count":(c=a.stageRunsCount)==null?void 0:c.filter(d=>d.stage===u.id)},null,8,["stage","node","controller","stage-run-count"])]}),default:ue(()=>[j(D(Xp)),a.editable&&!a.workflow.vueFlowNodes.value.length?(O(),fe(F1,{key:0,"show-drag-hint":a.showDragHint},null,8,["show-drag-hint"])):me("",!0),j(D(Ny),{pannable:"",zoomable:""}),a.editable?(O(),fe(i1,{key:1,workflow:a.workflow},null,8,["workflow"])):me("",!0)]),_:1},8,["nodes","edges","nodes-draggable","pan-on-scroll","elements-selectable","onDragover","onDragleave"])):me("",!0)}});const iw=lt(X1,[["__scopeId","data-v-93db09cb"]]);export{Pu as I,Y1 as O,zu as S,iw as W,ye as a,Da as b,ow as c,L1 as u}; -//# sourceMappingURL=Workflow.f95d40ff.js.map +//# sourceMappingURL=Workflow.d9c6a369.js.map diff --git a/abstra_statics/dist/assets/WorkflowEditor.f3c90ad2.js b/abstra_statics/dist/assets/WorkflowEditor.91f9a867.js similarity index 77% rename from abstra_statics/dist/assets/WorkflowEditor.f3c90ad2.js rename to abstra_statics/dist/assets/WorkflowEditor.91f9a867.js index ad26a8a88d..16966b8fb1 100644 --- a/abstra_statics/dist/assets/WorkflowEditor.f3c90ad2.js +++ b/abstra_statics/dist/assets/WorkflowEditor.91f9a867.js @@ -1,2 +1,2 @@ -var G=Object.defineProperty;var X=(e,r,s)=>r in e?G(e,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[r]=s;var w=(e,r,s)=>(X(e,typeof r!="symbol"?r+"":r,s),s);import{w as Z}from"./api.9a4e5329.js";import{O as I,u as J,a as Y,W as q,b as Q}from"./Workflow.f95d40ff.js";import{a as ee}from"./asyncComputed.c677c545.js";import{d as x,o as f,X as m,b as c,w as p,u as t,aR as D,eb as P,c as K,dd as _,d8 as S,aF as k,e9 as b,a as oe,ec as z,cK as te,bP as re,$ as N,g as se,W as ae,ag as ne,ed as ie,R as B,Y as le}from"./vue-router.33f35a18.js";import{U as de,G as ce}from"./UnsavedChangesHandler.5637c452.js";import{w as T}from"./metadata.bccf44f5.js";import{A as pe}from"./index.2fc2bb22.js";import"./fetch.3971ea84.js";import"./PhArrowCounterClockwise.vue.4a7ab991.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./uuid.0acc5368.js";import"./index.dec2a631.js";import"./workspaces.91ed8c72.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./record.075b7d45.js";import"./polling.3587342a.js";import"./index.1fcaf67f.js";import"./Badge.71fee936.js";import"./PhArrowDown.vue.ba4eea7b.js";import"./ExclamationCircleOutlined.d41cf1d8.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8fb58f32-98ae-4678-9d0d-4493bb6cacdd",e._sentryDebugIdIdentifier="sentry-dbid-8fb58f32-98ae-4678-9d0d-4493bb6cacdd")}catch{}})();const u=e=>I.isMac?e.metaKey:e.ctrlKey,fe=e=>e.altKey,L=e=>e.shiftKey,h={alt:fe,"arrow-up":e=>e.code==="ArrowUp","arrow-down":e=>e.code==="ArrowDown","arrow-left":e=>e.code==="ArrowLeft","arrow-right":e=>e.code==="ArrowRight",ctrl:u,delete:e=>I.isMac?e.code==="Backspace":e.code==="Delete",enter:e=>e.code==="Enter",escape:e=>e.code==="Escape",shift:L,space:e=>e.code==="Space",a:e=>e.code==="KeyA",b:e=>e.code==="KeyB",c:e=>e.code==="KeyC",d:e=>e.code==="KeyD",f:e=>e.code==="KeyF",g:e=>e.code==="KeyG",h:e=>e.code==="KeyH",k:e=>e.code==="KeyK",p:e=>e.code==="KeyP",v:e=>e.code==="KeyV",x:e=>e.code==="KeyX",z:e=>e.code==="KeyZ",0:e=>e.code==="Digit0","[":e=>e.code==="BracketLeft","]":e=>e.code==="BracketRight"};class ue{constructor(r){w(this,"pressedKeys");w(this,"evt");this.evt=r,this.pressedKeys={};const s=n=>i=>{Object.keys(h).forEach(y=>{h[y](i)&&this.setPressed(y,n)})};this.evt||(window.addEventListener("keydown",s(!0)),window.addEventListener("keyup",s(!1)))}setPressed(r,s){this.pressedKeys[r]=s}isPressed(r){var s;return this.evt?h[r](this.evt):(s=this.pressedKeys[r])!=null?s:!1}}new ue;const ye=["onDragstart"],me=x({__name:"BottomToolbar",props:{controller:{}},emits:["drag-start"],setup(e,{emit:r}){return(s,n)=>(f(),m(D,null,[c(t(_),{class:"toolbar",align:"center"},{default:p(()=>[(f(!0),m(D,null,P(t(T).stages,i=>(f(),K(t(te),{key:i.key,placement:"top"},{title:p(()=>[c(t(_),{gap:"small"},{default:p(()=>[c(t(S),null,{default:p(()=>[k(b(i.title),1)]),_:2},1024),c(t(S),{keyboard:""},{default:p(()=>[k(b(i.key),1)]),_:2},1024)]),_:2},1024)]),content:p(()=>[k(b(i.description),1)]),default:p(()=>[oe("div",{draggable:!0,class:"toolbar__item",onDragstart:y=>r("drag-start",y.dataTransfer,i.typeName)},[(f(),K(z(i.icon),{size:18}))],40,ye)]),_:2},1024))),128)),c(t(pe),{type:"vertical"}),c(t(re),{disabled:!s.controller.hasChanges(),onClick:n[0]||(n[0]=i=>s.controller.save())},{default:p(()=>[c(t(_),{align:"center",gap:"small"},{default:p(()=>[c(t(ce),{size:16}),k(" Save ")]),_:1})]),_:1},8,["disabled"])]),_:1}),c(de,{"has-changes":s.controller.hasChanges()},null,8,["has-changes"])],64))}});const ge=N(me,[["__scopeId","data-v-0b520c49"]]),ke=x({__name:"WorkflowEditor",setup(e){const{init:r,tearDown:s,onDragStart:n,onDrop:i,isDragging:y,isAdding:g,draggedType:V,mousePosition:v}=J(),{result:l}=ee(()=>Q.init(Z,!0));se(()=>l.value,()=>{l.value&&r(l.value)});const{onNodeDragStop:W,onEdgesChange:F,getSelectedElements:$,getNodes:H,addSelectedNodes:M,zoomIn:O,fitView:R,zoomOut:U,applyEdgeChanges:j}=Y();W(o=>{var d;(d=l.value)==null||d.move(o.nodes.map(a=>({id:a.id,position:a.position})))}),F(o=>{var d;for(const a of o)a.type==="remove"&&((d=l.value)==null||d.delete([a.id]));j(o)});const C=o=>{var d,a;!l.value||((o.key==="z"||o.key==="Z")&&u(o)&&(L(o)?l.value.history.redo():(d=l.value)==null||d.history.undo(),o.preventDefault()),!$.value.length&&(o.key==="f"||o.key==="F"?n(null,"forms"):o.key==="h"||o.key==="H"?n(null,"hooks"):o.key==="j"||o.key==="J"?n(null,"jobs"):o.key==="c"||o.key==="C"?n(null,"conditions"):o.key==="i"||o.key==="I"?n(null,"iterators"):o.key==="s"||o.key==="S"?u(o)?((a=l.value)==null||a.save(),o.preventDefault()):n(null,"scripts"):(o.key==="a"||o.key==="A")&&u(o)?(M(H.value),o.preventDefault()):o.key==="0"&&u(o)?(R(),o.preventDefault()):(o.key==="="||o.key==="+")&&u(o)?(o.preventDefault(),O()):o.key==="-"&&u(o)&&(o.preventDefault(),U())))};return ae(()=>{window.addEventListener("keydown",C)}),ne(()=>{window.removeEventListener("keydown",C),s()}),(o,d)=>t(l)?(f(),m("div",{key:0,class:ie(["workflow-container",{dragging:t(g)}]),onDrop:d[0]||(d[0]=(...a)=>t(i)&&t(i)(...a))},[c(q,{workflow:t(l),editable:"","show-drag-hint":!t(g)},null,8,["workflow","show-drag-hint"]),c(ge,{controller:t(l),onDragStart:t(n)},null,8,["controller","onDragStart"]),(f(!0),m(D,null,P(t(T).stages,a=>{var E,A;return f(),m("div",{key:a.key},[t(g)&&!t(y)&&a.typeName===t(V)?(f(),m("div",{key:0,class:"dragging-node",style:le({left:`${(E=t(v))==null?void 0:E.x}px`,top:`${(A=t(v))==null?void 0:A.y}px`,position:"absolute",cursor:t(g)?"grabbing":"grab"})},[(f(),K(z(a.icon),{size:18}))],4)):B("",!0)])}),128))],34)):B("",!0)}});const je=N(ke,[["__scopeId","data-v-db9488c4"]]);export{je as default}; -//# sourceMappingURL=WorkflowEditor.f3c90ad2.js.map +var G=Object.defineProperty;var X=(e,r,s)=>r in e?G(e,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[r]=s;var w=(e,r,s)=>(X(e,typeof r!="symbol"?r+"":r,s),s);import{w as Z}from"./api.bbc4c8cb.js";import{O as I,u as J,a as Y,W as q,b as Q}from"./Workflow.d9c6a369.js";import{a as ee}from"./asyncComputed.3916dfed.js";import{d as x,o as f,X as m,b as c,w as p,u as t,aR as D,eb as P,c as K,dd as _,d8 as S,aF as k,e9 as b,a as oe,ec as z,cK as te,bP as re,$ as N,g as se,W as ae,ag as ne,ed as ie,R as B,Y as le}from"./vue-router.324eaed2.js";import{U as de,G as ce}from"./UnsavedChangesHandler.d2b18117.js";import{w as T}from"./metadata.4c5c5434.js";import{A as pe}from"./index.341662d4.js";import"./fetch.42a41b34.js";import"./PhArrowCounterClockwise.vue.1fa0c440.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./uuid.a06fb10a.js";import"./index.40f13cf1.js";import"./workspaces.a34621fe.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./record.cff1707c.js";import"./polling.72e5a2f8.js";import"./index.e3c8c96c.js";import"./Badge.9808092c.js";import"./PhArrowDown.vue.8953407d.js";import"./ExclamationCircleOutlined.6541b8d4.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f827576e-83b4-4fb9-96cb-4611bf883fad",e._sentryDebugIdIdentifier="sentry-dbid-f827576e-83b4-4fb9-96cb-4611bf883fad")}catch{}})();const u=e=>I.isMac?e.metaKey:e.ctrlKey,fe=e=>e.altKey,L=e=>e.shiftKey,h={alt:fe,"arrow-up":e=>e.code==="ArrowUp","arrow-down":e=>e.code==="ArrowDown","arrow-left":e=>e.code==="ArrowLeft","arrow-right":e=>e.code==="ArrowRight",ctrl:u,delete:e=>I.isMac?e.code==="Backspace":e.code==="Delete",enter:e=>e.code==="Enter",escape:e=>e.code==="Escape",shift:L,space:e=>e.code==="Space",a:e=>e.code==="KeyA",b:e=>e.code==="KeyB",c:e=>e.code==="KeyC",d:e=>e.code==="KeyD",f:e=>e.code==="KeyF",g:e=>e.code==="KeyG",h:e=>e.code==="KeyH",k:e=>e.code==="KeyK",p:e=>e.code==="KeyP",v:e=>e.code==="KeyV",x:e=>e.code==="KeyX",z:e=>e.code==="KeyZ",0:e=>e.code==="Digit0","[":e=>e.code==="BracketLeft","]":e=>e.code==="BracketRight"};class ue{constructor(r){w(this,"pressedKeys");w(this,"evt");this.evt=r,this.pressedKeys={};const s=n=>i=>{Object.keys(h).forEach(y=>{h[y](i)&&this.setPressed(y,n)})};this.evt||(window.addEventListener("keydown",s(!0)),window.addEventListener("keyup",s(!1)))}setPressed(r,s){this.pressedKeys[r]=s}isPressed(r){var s;return this.evt?h[r](this.evt):(s=this.pressedKeys[r])!=null?s:!1}}new ue;const ye=["onDragstart"],me=x({__name:"BottomToolbar",props:{controller:{}},emits:["drag-start"],setup(e,{emit:r}){return(s,n)=>(f(),m(D,null,[c(t(_),{class:"toolbar",align:"center"},{default:p(()=>[(f(!0),m(D,null,P(t(T).stages,i=>(f(),K(t(te),{key:i.key,placement:"top"},{title:p(()=>[c(t(_),{gap:"small"},{default:p(()=>[c(t(S),null,{default:p(()=>[k(b(i.title),1)]),_:2},1024),c(t(S),{keyboard:""},{default:p(()=>[k(b(i.key),1)]),_:2},1024)]),_:2},1024)]),content:p(()=>[k(b(i.description),1)]),default:p(()=>[oe("div",{draggable:!0,class:"toolbar__item",onDragstart:y=>r("drag-start",y.dataTransfer,i.typeName)},[(f(),K(z(i.icon),{size:18}))],40,ye)]),_:2},1024))),128)),c(t(pe),{type:"vertical"}),c(t(re),{disabled:!s.controller.hasChanges(),onClick:n[0]||(n[0]=i=>s.controller.save())},{default:p(()=>[c(t(_),{align:"center",gap:"small"},{default:p(()=>[c(t(ce),{size:16}),k(" Save ")]),_:1})]),_:1},8,["disabled"])]),_:1}),c(de,{"has-changes":s.controller.hasChanges()},null,8,["has-changes"])],64))}});const ge=N(me,[["__scopeId","data-v-0b520c49"]]),ke=x({__name:"WorkflowEditor",setup(e){const{init:r,tearDown:s,onDragStart:n,onDrop:i,isDragging:y,isAdding:g,draggedType:V,mousePosition:v}=J(),{result:l}=ee(()=>Q.init(Z,!0));se(()=>l.value,()=>{l.value&&r(l.value)});const{onNodeDragStop:W,onEdgesChange:F,getSelectedElements:$,getNodes:H,addSelectedNodes:M,zoomIn:O,fitView:R,zoomOut:U,applyEdgeChanges:j}=Y();W(o=>{var d;(d=l.value)==null||d.move(o.nodes.map(a=>({id:a.id,position:a.position})))}),F(o=>{var d;for(const a of o)a.type==="remove"&&((d=l.value)==null||d.delete([a.id]));j(o)});const C=o=>{var d,a;!l.value||((o.key==="z"||o.key==="Z")&&u(o)&&(L(o)?l.value.history.redo():(d=l.value)==null||d.history.undo(),o.preventDefault()),!$.value.length&&(o.key==="f"||o.key==="F"?n(null,"forms"):o.key==="h"||o.key==="H"?n(null,"hooks"):o.key==="j"||o.key==="J"?n(null,"jobs"):o.key==="c"||o.key==="C"?n(null,"conditions"):o.key==="i"||o.key==="I"?n(null,"iterators"):o.key==="s"||o.key==="S"?u(o)?((a=l.value)==null||a.save(),o.preventDefault()):n(null,"scripts"):(o.key==="a"||o.key==="A")&&u(o)?(M(H.value),o.preventDefault()):o.key==="0"&&u(o)?(R(),o.preventDefault()):(o.key==="="||o.key==="+")&&u(o)?(o.preventDefault(),O()):o.key==="-"&&u(o)&&(o.preventDefault(),U())))};return ae(()=>{window.addEventListener("keydown",C)}),ne(()=>{window.removeEventListener("keydown",C),s()}),(o,d)=>t(l)?(f(),m("div",{key:0,class:ie(["workflow-container",{dragging:t(g)}]),onDrop:d[0]||(d[0]=(...a)=>t(i)&&t(i)(...a))},[c(q,{workflow:t(l),editable:"","show-drag-hint":!t(g)},null,8,["workflow","show-drag-hint"]),c(ge,{controller:t(l),onDragStart:t(n)},null,8,["controller","onDragStart"]),(f(!0),m(D,null,P(t(T).stages,a=>{var E,A;return f(),m("div",{key:a.key},[t(g)&&!t(y)&&a.typeName===t(V)?(f(),m("div",{key:0,class:"dragging-node",style:le({left:`${(E=t(v))==null?void 0:E.x}px`,top:`${(A=t(v))==null?void 0:A.y}px`,position:"absolute",cursor:t(g)?"grabbing":"grab"})},[(f(),K(z(a.icon),{size:18}))],4)):B("",!0)])}),128))],34)):B("",!0)}});const je=N(ke,[["__scopeId","data-v-db9488c4"]]);export{je as default}; +//# sourceMappingURL=WorkflowEditor.91f9a867.js.map diff --git a/abstra_statics/dist/assets/WorkflowThreads.4907d93b.js b/abstra_statics/dist/assets/WorkflowThreads.4907d93b.js new file mode 100644 index 0000000000..cd3052c725 --- /dev/null +++ b/abstra_statics/dist/assets/WorkflowThreads.4907d93b.js @@ -0,0 +1,2 @@ +import{E as y}from"./api.bbc4c8cb.js";import{C as w}from"./ContentLayout.5465dc16.js";import{d as c,L as g,N as f,e as _,o as e,c as i,w as l,b as n,u as o,R as s}from"./vue-router.324eaed2.js";import{K as v,_ as K,W as R,E,a as T}from"./WorkflowView.2e20a43a.js";import{A as p,T as V}from"./TabPane.caed57de.js";import"./fetch.42a41b34.js";import"./metadata.4c5c5434.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./polling.72e5a2f8.js";import"./asyncComputed.3916dfed.js";import"./PhQuestion.vue.6a6a9376.js";import"./ant-design.48401d91.js";import"./index.7d758831.js";import"./index.520f8c66.js";import"./index.582a893b.js";import"./CollapsePanel.ce95f921.js";import"./index.341662d4.js";import"./index.fe1d28be.js";import"./Badge.9808092c.js";import"./PhArrowCounterClockwise.vue.1fa0c440.js";import"./Workflow.d9c6a369.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./uuid.a06fb10a.js";import"./index.40f13cf1.js";import"./workspaces.a34621fe.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./record.cff1707c.js";import"./index.e3c8c96c.js";import"./PhArrowDown.vue.8953407d.js";import"./Card.1902bdb7.js";import"./LoadingOutlined.09a06334.js";import"./DeleteOutlined.618a8e2f.js";import"./PhDownloadSimple.vue.7ab7df2c.js";import"./utils.6b974807.js";import"./LoadingContainer.57756ccb.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="5458bfb9-8578-4312-b22d-afd44f2277bf",r._sentryDebugIdIdentifier="sentry-dbid-5458bfb9-8578-4312-b22d-afd44f2277bf")}catch{}})();const yo=c({__name:"WorkflowThreads",setup(r){const t=new E,m=new T,d=new g(f.array(f.string()),"kanban-selected-stages"),u=new y,a=_("kanban");return(W,b)=>(e(),i(w,{"full-width":""},{default:l(()=>[n(o(V),{activeKey:a.value,"onUpdate:activeKey":b[0]||(b[0]=k=>a.value=k)},{default:l(()=>[n(o(p),{key:"kanban",tab:"Kanban View"}),n(o(p),{key:"table",tab:"Table View"}),n(o(p),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),a.value==="kanban"?(e(),i(v,{key:0,"kanban-repository":o(t),"kanban-stages-storage":o(d),"stage-run-repository":o(m)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):s("",!0),a.value==="table"?(e(),i(K,{key:1,"kanban-repository":o(t)},null,8,["kanban-repository"])):s("",!0),a.value==="workflow"?(e(),i(R,{key:2,"kanban-repository":o(t),"workflow-api":o(u)},null,8,["kanban-repository","workflow-api"])):s("",!0)]),_:1}))}});export{yo as default}; +//# sourceMappingURL=WorkflowThreads.4907d93b.js.map diff --git a/abstra_statics/dist/assets/WorkflowThreads.95f245e1.js b/abstra_statics/dist/assets/WorkflowThreads.95f245e1.js deleted file mode 100644 index badc3a80d3..0000000000 --- a/abstra_statics/dist/assets/WorkflowThreads.95f245e1.js +++ /dev/null @@ -1,2 +0,0 @@ -import{E as y}from"./api.9a4e5329.js";import{C as w}from"./ContentLayout.d691ad7a.js";import{d as c,L as g,N as f,e as _,o as e,c as i,w as l,b as n,u as o,R as s}from"./vue-router.33f35a18.js";import{K as v,_ as K,W as R,E,a as T}from"./WorkflowView.d3a65122.js";import{A as p,T as V}from"./TabPane.1080fde7.js";import"./fetch.3971ea84.js";import"./metadata.bccf44f5.js";import"./PhBug.vue.ea49dd1b.js";import"./PhCheckCircle.vue.9e5251d2.js";import"./PhKanban.vue.2acea65f.js";import"./PhWebhooksLogo.vue.4375a0bc.js";import"./polling.3587342a.js";import"./asyncComputed.c677c545.js";import"./PhQuestion.vue.020af0e7.js";import"./ant-design.51753590.js";import"./index.241ee38a.js";import"./index.46373660.js";import"./index.f435188c.js";import"./CollapsePanel.56bdec23.js";import"./index.2fc2bb22.js";import"./index.fa9b4e97.js";import"./Badge.71fee936.js";import"./PhArrowCounterClockwise.vue.4a7ab991.js";import"./Workflow.f95d40ff.js";import"./validations.64a1fba7.js";import"./string.44188c83.js";import"./uuid.0acc5368.js";import"./index.dec2a631.js";import"./workspaces.91ed8c72.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./record.075b7d45.js";import"./index.1fcaf67f.js";import"./PhArrowDown.vue.ba4eea7b.js";import"./Card.639eca4a.js";import"./LoadingOutlined.64419cb9.js";import"./DeleteOutlined.d8e8cfb3.js";import"./PhDownloadSimple.vue.b11b5d9f.js";import"./utils.3ec7e4d1.js";import"./LoadingContainer.4ab818eb.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="5d12028a-9bd3-46b8-aad6-bfbfb2e191fb",r._sentryDebugIdIdentifier="sentry-dbid-5d12028a-9bd3-46b8-aad6-bfbfb2e191fb")}catch{}})();const yo=c({__name:"WorkflowThreads",setup(r){const t=new E,m=new T,d=new g(f.array(f.string()),"kanban-selected-stages"),u=new y,a=_("kanban");return(W,b)=>(e(),i(w,{"full-width":""},{default:l(()=>[n(o(V),{activeKey:a.value,"onUpdate:activeKey":b[0]||(b[0]=k=>a.value=k)},{default:l(()=>[n(o(p),{key:"kanban",tab:"Kanban View"}),n(o(p),{key:"table",tab:"Table View"}),n(o(p),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),a.value==="kanban"?(e(),i(v,{key:0,"kanban-repository":o(t),"kanban-stages-storage":o(d),"stage-run-repository":o(m)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):s("",!0),a.value==="table"?(e(),i(K,{key:1,"kanban-repository":o(t)},null,8,["kanban-repository"])):s("",!0),a.value==="workflow"?(e(),i(R,{key:2,"kanban-repository":o(t),"workflow-api":o(u)},null,8,["kanban-repository","workflow-api"])):s("",!0)]),_:1}))}});export{yo as default}; -//# sourceMappingURL=WorkflowThreads.95f245e1.js.map diff --git a/abstra_statics/dist/assets/WorkflowView.d3a65122.js b/abstra_statics/dist/assets/WorkflowView.2e20a43a.js similarity index 98% rename from abstra_statics/dist/assets/WorkflowView.d3a65122.js rename to abstra_statics/dist/assets/WorkflowView.2e20a43a.js index 9b506afd92..be390584a5 100644 --- a/abstra_statics/dist/assets/WorkflowView.d3a65122.js +++ b/abstra_statics/dist/assets/WorkflowView.2e20a43a.js @@ -1,4 +1,4 @@ -import{l as Cn}from"./fetch.3971ea84.js";import{d as $t,B as rn,f as Yt,o as N,X as st,Z as Tr,R as dt,e8 as vo,a as Wt,b as G,ee as ho,N as v,eE as yo,eF as So,eG as bo,eH as Eo,e as Rt,cI as xo,di as Co,c as Y,w,eb as se,aF as lt,e9 as Tt,u as E,d8 as Pe,c_ as Oo,aR as _t,$ as Ee,dd as xt,d1 as qe,d7 as lr,d9 as on,bx as Ao,ec as On,aV as Bn,ct as Pr,em as Io,en as To,bP as ne,eI as Po,eJ as Ro,bH as Kn,cQ as Zn,aA as Jn,cx as Do,g as Rr,K as Lo,cu as wo,cv as cr,eo as jo,W as Qn,ag as kn,ej as Mo,eK as No,cU as ur}from"./vue-router.33f35a18.js";import{A as Fo}from"./api.9a4e5329.js";import{u as Dr}from"./polling.3587342a.js";import{s as An}from"./metadata.bccf44f5.js";import{a as qn}from"./asyncComputed.c677c545.js";import{H as Uo}from"./PhQuestion.vue.020af0e7.js";import{t as $o,a as Lr}from"./ant-design.51753590.js";import{A as pe}from"./index.241ee38a.js";import{f as Go}from"./index.46373660.js";import{T as Bo,A as Ko}from"./index.f435188c.js";import{A as wr,C as jr}from"./CollapsePanel.56bdec23.js";import{A as Wo}from"./index.2fc2bb22.js";import{A as zo}from"./index.fa9b4e97.js";import{G as Ho}from"./PhArrowCounterClockwise.vue.4a7ab991.js";import{I as Vo,S as Mr,c as Xo,W as Yo,b as Zo}from"./Workflow.f95d40ff.js";import{C as Nr,A as Jo}from"./Card.639eca4a.js";import{L as Fr}from"./LoadingOutlined.64419cb9.js";import{D as Ur}from"./DeleteOutlined.d8e8cfb3.js";import{P as Qo}from"./TabPane.1080fde7.js";import{c as ko}from"./string.44188c83.js";import{G as qo}from"./PhDownloadSimple.vue.b11b5d9f.js";import{d as _o}from"./utils.3ec7e4d1.js";import{L as ta}from"./LoadingContainer.4ab818eb.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[n]="2b91d39e-05e4-4acf-ac79-f5612796e203",i._sentryDebugIdIdentifier="sentry-dbid-2b91d39e-05e4-4acf-ac79-f5612796e203")}catch{}})();const ea=["width","height","fill","transform"],na={key:0},ra=Wt("path",{d:"M176,128a12,12,0,0,1-5.17,9.87l-52,36A12,12,0,0,1,100,164V92a12,12,0,0,1,18.83-9.87l52,36A12,12,0,0,1,176,128Zm60,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),oa=[ra],aa={key:1},ia=Wt("path",{d:"M128,32a96,96,0,1,0,96,96A96,96,0,0,0,128,32ZM108,168V88l64,40Z",opacity:"0.2"},null,-1),sa=Wt("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48.24-94.78-64-40A8,8,0,0,0,100,88v80a8,8,0,0,0,12.24,6.78l64-40a8,8,0,0,0,0-13.56ZM116,153.57V102.43L156.91,128Z"},null,-1),la=[ia,sa],ca={key:2},ua=Wt("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40.55,110.58-52,36A8,8,0,0,1,104,164V92a8,8,0,0,1,12.55-6.58l52,36a8,8,0,0,1,0,13.16Z"},null,-1),da=[ua],fa={key:3},pa=Wt("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm47.18-95.09-64-40A6,6,0,0,0,102,88v80a6,6,0,0,0,9.18,5.09l64-40a6,6,0,0,0,0-10.18ZM114,157.17V98.83L160.68,128Z"},null,-1),ga=[pa],ma={key:4},va=Wt("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48.24-94.78-64-40A8,8,0,0,0,100,88v80a8,8,0,0,0,12.24,6.78l64-40a8,8,0,0,0,0-13.56ZM116,153.57V102.43L156.91,128Z"},null,-1),ha=[va],ya={key:5},Sa=Wt("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm46.12-95.39-64-40A4,4,0,0,0,104,88v80a4,4,0,0,0,2.06,3.5,4.06,4.06,0,0,0,1.94.5,4,4,0,0,0,2.12-.61l64-40a4,4,0,0,0,0-6.78ZM112,160.78V95.22L164.45,128Z"},null,-1),ba=[Sa],Ea={name:"PhPlayCircle"},xa=$t({...Ea,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const n=i,e=rn("weight","regular"),o=rn("size","1em"),r=rn("color","currentColor"),c=rn("mirrored",!1),t=Yt(()=>{var u;return(u=n.weight)!=null?u:e}),a=Yt(()=>{var u;return(u=n.size)!=null?u:o}),s=Yt(()=>{var u;return(u=n.color)!=null?u:r}),l=Yt(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(u,d)=>(N(),st("svg",vo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:a.value,height:a.value,fill:s.value,transform:l.value},u.$attrs),[Tr(u.$slots,"default"),t.value==="bold"?(N(),st("g",na,oa)):t.value==="duotone"?(N(),st("g",aa,la)):t.value==="fill"?(N(),st("g",ca,da)):t.value==="light"?(N(),st("g",fa,ga)):t.value==="regular"?(N(),st("g",ma,ha)):t.value==="thin"?(N(),st("g",ya,ba)):dt("",!0)],16,ea))}});function dr(i){for(var n=1;nGr).optional()}),$r=["AND","OR"],Ta=v.object({operator:v.union([v.literal("AND"),v.literal("OR")]),conditions:v.array(v.lazy(()=>Gr))}),Pa=v.union([Ia,Ta]),Gr=v.optional(v.union([Aa,Pa]));class Cu{constructor(n=Cn){this.fetch=n}async getStages(){return(await this.fetch("/_editor/api/kanban/stages")).json()}async getData(n){return(await this.fetch("/_editor/api/kanban",{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}})).json()}async countByStatus(){return(await this.fetch("/_editor/api/kanban/count",{method:"POST"})).json()}async getPath(n){return(await this.fetch(`/_editor/api/kanban/path?n=${n}`)).json()}async getLogs(n){return(await this.fetch(`/_editor/api/kanban/logs/${n}`)).json()}async startJob(n){await this.fetch(`/_editor/api/kanban/jobs/${n}/start`,{method:"POST"})}}class Ou{constructor(n,e=Cn){this.authHeaders=n,this.fetch=e}get headers(){return{"Content-Type":"application/json",...this.authHeaders}}async getStages(){return(await this.fetch("/_kanban/stages",{headers:this.headers})).json()}async getData(n){return(await this.fetch("/_kanban/",{method:"POST",body:JSON.stringify(n),headers:this.headers})).json()}async countByStatus(){return(await this.fetch("/_kanban/count",{method:"POST",headers:this.headers})).json()}async getPath(n){return(await this.fetch(`/_kanban/path?n=${n}`,{headers:this.headers})).json()}async getLogs(n){return(await this.fetch(`/_kanban/logs/${n}`,{headers:this.headers})).json()}async startJob(n){await this.fetch(`/_kanban/jobs/${n}/start`,{method:"POST",headers:this.headers})}}class Au{constructor(n=Cn){this.fetch=n}async retry(n){const e=await this.fetch("/_editor/api/stage_runs/retry",{method:"POST",body:JSON.stringify({stage_run_id:n}),headers:{"Content-Type":"application/json"}});if(!e.ok){const o=await e.text();throw new Error(o)}return e.json()}}class Iu{constructor(n,e=Cn){this.authHeaders=n,this.fetch=e}async retry(n){return(await this.fetch("/_stage-runs/retry",{body:JSON.stringify({stage_run_id:n}),headers:this.headers,method:"POST"})).json()}get headers(){return{"Content-Type":"application/json",...this.authHeaders}}}const Ra=!0;var Br={exports:{}};/**! +import{l as Cn}from"./fetch.42a41b34.js";import{d as $t,B as rn,f as Yt,o as N,X as st,Z as Tr,R as dt,e8 as vo,a as Wt,b as G,ee as ho,N as v,eE as yo,eF as So,eG as bo,eH as Eo,e as Rt,cI as xo,di as Co,c as Y,w,eb as se,aF as lt,e9 as Tt,u as E,d8 as Pe,c_ as Oo,aR as _t,$ as Ee,dd as xt,d1 as qe,d7 as lr,d9 as on,bx as Ao,ec as On,aV as Bn,ct as Pr,em as Io,en as To,bP as ne,eI as Po,eJ as Ro,bH as Kn,cQ as Zn,aA as Jn,cx as Do,g as Rr,K as Lo,cu as wo,cv as cr,eo as jo,W as Qn,ag as kn,ej as Mo,eK as No,cU as ur}from"./vue-router.324eaed2.js";import{A as Fo}from"./api.bbc4c8cb.js";import{u as Dr}from"./polling.72e5a2f8.js";import{s as An}from"./metadata.4c5c5434.js";import{a as qn}from"./asyncComputed.3916dfed.js";import{H as Uo}from"./PhQuestion.vue.6a6a9376.js";import{t as $o,a as Lr}from"./ant-design.48401d91.js";import{A as pe}from"./index.7d758831.js";import{f as Go}from"./index.520f8c66.js";import{T as Bo,A as Ko}from"./index.582a893b.js";import{A as wr,C as jr}from"./CollapsePanel.ce95f921.js";import{A as Wo}from"./index.341662d4.js";import{A as zo}from"./index.fe1d28be.js";import{G as Ho}from"./PhArrowCounterClockwise.vue.1fa0c440.js";import{I as Vo,S as Mr,c as Xo,W as Yo,b as Zo}from"./Workflow.d9c6a369.js";import{C as Nr,A as Jo}from"./Card.1902bdb7.js";import{L as Fr}from"./LoadingOutlined.09a06334.js";import{D as Ur}from"./DeleteOutlined.618a8e2f.js";import{P as Qo}from"./TabPane.caed57de.js";import{c as ko}from"./string.d698465c.js";import{G as qo}from"./PhDownloadSimple.vue.7ab7df2c.js";import{d as _o}from"./utils.6b974807.js";import{L as ta}from"./LoadingContainer.57756ccb.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[n]="8c5d550d-78a6-47de-9b6f-ccc8398247a7",i._sentryDebugIdIdentifier="sentry-dbid-8c5d550d-78a6-47de-9b6f-ccc8398247a7")}catch{}})();const ea=["width","height","fill","transform"],na={key:0},ra=Wt("path",{d:"M176,128a12,12,0,0,1-5.17,9.87l-52,36A12,12,0,0,1,100,164V92a12,12,0,0,1,18.83-9.87l52,36A12,12,0,0,1,176,128Zm60,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),oa=[ra],aa={key:1},ia=Wt("path",{d:"M128,32a96,96,0,1,0,96,96A96,96,0,0,0,128,32ZM108,168V88l64,40Z",opacity:"0.2"},null,-1),sa=Wt("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48.24-94.78-64-40A8,8,0,0,0,100,88v80a8,8,0,0,0,12.24,6.78l64-40a8,8,0,0,0,0-13.56ZM116,153.57V102.43L156.91,128Z"},null,-1),la=[ia,sa],ca={key:2},ua=Wt("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40.55,110.58-52,36A8,8,0,0,1,104,164V92a8,8,0,0,1,12.55-6.58l52,36a8,8,0,0,1,0,13.16Z"},null,-1),da=[ua],fa={key:3},pa=Wt("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm47.18-95.09-64-40A6,6,0,0,0,102,88v80a6,6,0,0,0,9.18,5.09l64-40a6,6,0,0,0,0-10.18ZM114,157.17V98.83L160.68,128Z"},null,-1),ga=[pa],ma={key:4},va=Wt("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48.24-94.78-64-40A8,8,0,0,0,100,88v80a8,8,0,0,0,12.24,6.78l64-40a8,8,0,0,0,0-13.56ZM116,153.57V102.43L156.91,128Z"},null,-1),ha=[va],ya={key:5},Sa=Wt("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm46.12-95.39-64-40A4,4,0,0,0,104,88v80a4,4,0,0,0,2.06,3.5,4.06,4.06,0,0,0,1.94.5,4,4,0,0,0,2.12-.61l64-40a4,4,0,0,0,0-6.78ZM112,160.78V95.22L164.45,128Z"},null,-1),ba=[Sa],Ea={name:"PhPlayCircle"},xa=$t({...Ea,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const n=i,e=rn("weight","regular"),o=rn("size","1em"),r=rn("color","currentColor"),c=rn("mirrored",!1),t=Yt(()=>{var u;return(u=n.weight)!=null?u:e}),a=Yt(()=>{var u;return(u=n.size)!=null?u:o}),s=Yt(()=>{var u;return(u=n.color)!=null?u:r}),l=Yt(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(u,d)=>(N(),st("svg",vo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:a.value,height:a.value,fill:s.value,transform:l.value},u.$attrs),[Tr(u.$slots,"default"),t.value==="bold"?(N(),st("g",na,oa)):t.value==="duotone"?(N(),st("g",aa,la)):t.value==="fill"?(N(),st("g",ca,da)):t.value==="light"?(N(),st("g",fa,ga)):t.value==="regular"?(N(),st("g",ma,ha)):t.value==="thin"?(N(),st("g",ya,ba)):dt("",!0)],16,ea))}});function dr(i){for(var n=1;nGr).optional()}),$r=["AND","OR"],Ta=v.object({operator:v.union([v.literal("AND"),v.literal("OR")]),conditions:v.array(v.lazy(()=>Gr))}),Pa=v.union([Ia,Ta]),Gr=v.optional(v.union([Aa,Pa]));class Cu{constructor(n=Cn){this.fetch=n}async getStages(){return(await this.fetch("/_editor/api/kanban/stages")).json()}async getData(n){return(await this.fetch("/_editor/api/kanban",{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}})).json()}async countByStatus(){return(await this.fetch("/_editor/api/kanban/count",{method:"POST"})).json()}async getPath(n){return(await this.fetch(`/_editor/api/kanban/path?n=${n}`)).json()}async getLogs(n){return(await this.fetch(`/_editor/api/kanban/logs/${n}`)).json()}async startJob(n){await this.fetch(`/_editor/api/kanban/jobs/${n}/start`,{method:"POST"})}}class Ou{constructor(n,e=Cn){this.authHeaders=n,this.fetch=e}get headers(){return{"Content-Type":"application/json",...this.authHeaders}}async getStages(){return(await this.fetch("/_kanban/stages",{headers:this.headers})).json()}async getData(n){return(await this.fetch("/_kanban/",{method:"POST",body:JSON.stringify(n),headers:this.headers})).json()}async countByStatus(){return(await this.fetch("/_kanban/count",{method:"POST",headers:this.headers})).json()}async getPath(n){return(await this.fetch(`/_kanban/path?n=${n}`,{headers:this.headers})).json()}async getLogs(n){return(await this.fetch(`/_kanban/logs/${n}`,{headers:this.headers})).json()}async startJob(n){await this.fetch(`/_kanban/jobs/${n}/start`,{method:"POST",headers:this.headers})}}class Au{constructor(n=Cn){this.fetch=n}async retry(n){const e=await this.fetch("/_editor/api/stage_runs/retry",{method:"POST",body:JSON.stringify({stage_run_id:n}),headers:{"Content-Type":"application/json"}});if(!e.ok){const o=await e.text();throw new Error(o)}return e.json()}}class Iu{constructor(n,e=Cn){this.authHeaders=n,this.fetch=e}async retry(n){return(await this.fetch("/_stage-runs/retry",{body:JSON.stringify({stage_run_id:n}),headers:this.headers,method:"POST"})).json()}get headers(){return{"Content-Type":"application/json",...this.authHeaders}}}const Ra=!0;var Br={exports:{}};/**! * Sortable 1.14.0 * @author RubaXa * @author owenm @@ -8,4 +8,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `)&&(A="(?: "+A+")",B=" "+B,M++),O=new RegExp("^(?:"+A+")",D)),g&&(O=new RegExp("^"+A+"$(?!\\s)",D)),f&&(T=y.lastIndex),P=l.call(R?O:y,B),R?P?(P.input=P.input.slice(M),P[0]=P[0].slice(M),P.index=y.lastIndex,y.lastIndex+=P[0].length):y.lastIndex=0:f&&P&&(y.lastIndex=y.global?P.index+P[0].length:T),g&&P&&P.length>1&&u.call(P[0],O,function(){for(S=1;S=51||!s(function(){var A=[];return A[y]=!1,A.concat()[0]!==A}),S=m("concat"),R=function(A){if(!u(A))return!1;var M=A[y];return M!==void 0?!!M:l(A)},D=!P||!S;a({target:"Array",proto:!0,forced:D},{concat:function(M){var B=d(this),V=g(B,0),j=0,U,X,$,z,ot;for(U=-1,$=arguments.length;U<$;U++)if(ot=U===-1?B:arguments[U],R(ot)){if(z=f(ot.length),j+z>T)throw TypeError(O);for(X=0;X=T)throw TypeError(O);p(V,j++,ot)}return V.length=j,V}})},"9bdd":function(r,c,t){var a=t("825a");r.exports=function(s,l,u,d){try{return d?l(a(u)[0],u[1]):l(u)}catch(p){var f=s.return;throw f!==void 0&&a(f.call(s)),p}}},"9bf2":function(r,c,t){var a=t("83ab"),s=t("0cfb"),l=t("825a"),u=t("c04e"),d=Object.defineProperty;c.f=a?d:function(p,g,m){if(l(p),g=u(g,!0),l(m),s)try{return d(p,g,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(p[g]=m.value),p}},"9ed3":function(r,c,t){var a=t("ae93").IteratorPrototype,s=t("7c73"),l=t("5c6c"),u=t("d44e"),d=t("3f8c"),f=function(){return this};r.exports=function(p,g,m){var h=g+" Iterator";return p.prototype=s(a,{next:l(1,m)}),u(p,h,!1,!0),d[h]=f,p}},"9f7f":function(r,c,t){var a=t("d039");function s(l,u){return RegExp(l,u)}c.UNSUPPORTED_Y=a(function(){var l=s("a","y");return l.lastIndex=2,l.exec("abcd")!=null}),c.BROKEN_CARET=a(function(){var l=s("^r","gy");return l.lastIndex=2,l.exec("str")!=null})},a2bf:function(r,c,t){var a=t("e8b5"),s=t("50c4"),l=t("0366"),u=function(d,f,p,g,m,h,b,y){for(var T=m,O=0,P=b?l(b,y,3):!1,S;O0&&a(S))T=u(d,f,S,s(S.length),T,h-1)-1;else{if(T>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[T]=S}T++}O++}return T};r.exports=u},a352:function(r,c){r.exports=o},a434:function(r,c,t){var a=t("23e7"),s=t("23cb"),l=t("a691"),u=t("50c4"),d=t("7b0b"),f=t("65f0"),p=t("8418"),g=t("1dde"),m=t("ae40"),h=g("splice"),b=m("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,T=Math.min,O=9007199254740991,P="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!h||!b},{splice:function(R,D){var A=d(this),M=u(A.length),B=s(R,M),V=arguments.length,j,U,X,$,z,ot;if(V===0?j=U=0:V===1?(j=0,U=M-B):(j=V-2,U=T(y(l(D),0),M-B)),M+j-U>O)throw TypeError(P);for(X=f(A,U),$=0;$M-U+j;$--)delete A[$-1]}else if(j>U)for($=M-U;$>B;$--)z=$+U-1,ot=$+j-1,z in A?A[ot]=A[z]:delete A[ot];for($=0;$Gt;)at.push(arguments[Gt++]);if(Rn=Z,!(!b(Z)&&H===void 0||C(H)))return h(Z)||(Z=function(mo,nn){if(typeof Rn=="function"&&(nn=Rn.call(this,mo,nn)),!C(nn))return nn}),at[1]=Z,ve.apply(null,at)}})}wt[Ft][ae]||X(wt[Ft],ae,wt[Ft].valueOf),Dt(wt,zt),ct[vt]=!0},a630:function(r,c,t){var a=t("23e7"),s=t("4df4"),l=t("1c7e"),u=!l(function(d){Array.from(d)});a({target:"Array",stat:!0,forced:u},{from:s})},a640:function(r,c,t){var a=t("d039");r.exports=function(s,l){var u=[][s];return!!u&&a(function(){u.call(null,l||function(){throw 1},1)})}},a691:function(r,c){var t=Math.ceil,a=Math.floor;r.exports=function(s){return isNaN(s=+s)?0:(s>0?a:t)(s)}},ab13:function(r,c,t){var a=t("b622"),s=a("match");r.exports=function(l){var u=/./;try{"/./"[l](u)}catch{try{return u[s]=!1,"/./"[l](u)}catch{}}return!1}},ac1f:function(r,c,t){var a=t("23e7"),s=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},ad6d:function(r,c,t){var a=t("825a");r.exports=function(){var s=a(this),l="";return s.global&&(l+="g"),s.ignoreCase&&(l+="i"),s.multiline&&(l+="m"),s.dotAll&&(l+="s"),s.unicode&&(l+="u"),s.sticky&&(l+="y"),l}},ae40:function(r,c,t){var a=t("83ab"),s=t("d039"),l=t("5135"),u=Object.defineProperty,d={},f=function(p){throw p};r.exports=function(p,g){if(l(d,p))return d[p];g||(g={});var m=[][p],h=l(g,"ACCESSORS")?g.ACCESSORS:!1,b=l(g,0)?g[0]:f,y=l(g,1)?g[1]:void 0;return d[p]=!!m&&!s(function(){if(h&&!a)return!0;var T={length:-1};h?u(T,1,{enumerable:!0,get:f}):T[1]=1,m.call(T,b,y)})}},ae93:function(r,c,t){var a=t("e163"),s=t("9112"),l=t("5135"),u=t("b622"),d=t("c430"),f=u("iterator"),p=!1,g=function(){return this},m,h,b;[].keys&&(b=[].keys(),"next"in b?(h=a(a(b)),h!==Object.prototype&&(m=h)):p=!0),m==null&&(m={}),!d&&!l(m,f)&&s(m,f,g),r.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:p}},b041:function(r,c,t){var a=t("00ee"),s=t("f5df");r.exports=a?{}.toString:function(){return"[object "+s(this)+"]"}},b0c0:function(r,c,t){var a=t("83ab"),s=t("9bf2").f,l=Function.prototype,u=l.toString,d=/^\s*function ([^ (]*)/,f="name";a&&!(f in l)&&s(l,f,{configurable:!0,get:function(){try{return u.call(this).match(d)[1]}catch{return""}}})},b622:function(r,c,t){var a=t("da84"),s=t("5692"),l=t("5135"),u=t("90e3"),d=t("4930"),f=t("fdbf"),p=s("wks"),g=a.Symbol,m=f?g:g&&g.withoutSetter||u;r.exports=function(h){return l(p,h)||(d&&l(g,h)?p[h]=g[h]:p[h]=m("Symbol."+h)),p[h]}},b64b:function(r,c,t){var a=t("23e7"),s=t("7b0b"),l=t("df75"),u=t("d039"),d=u(function(){l(1)});a({target:"Object",stat:!0,forced:d},{keys:function(p){return l(s(p))}})},b727:function(r,c,t){var a=t("0366"),s=t("44ad"),l=t("7b0b"),u=t("50c4"),d=t("65f0"),f=[].push,p=function(g){var m=g==1,h=g==2,b=g==3,y=g==4,T=g==6,O=g==5||T;return function(P,S,R,D){for(var A=l(P),M=s(A),B=a(S,R,3),V=u(M.length),j=0,U=D||d,X=m?U(P,V):h?U(P,0):void 0,$,z;V>j;j++)if((O||j in M)&&($=M[j],z=B($,j,A),g)){if(m)X[j]=z;else if(z)switch(g){case 3:return!0;case 5:return $;case 6:return j;case 2:f.call(X,$)}else if(y)return!1}return T?-1:b||y?y:X}};r.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(r,c,t){var a=t("861d");r.exports=function(s,l){if(!a(s))return s;var u,d;if(l&&typeof(u=s.toString)=="function"&&!a(d=u.call(s))||typeof(u=s.valueOf)=="function"&&!a(d=u.call(s))||!l&&typeof(u=s.toString)=="function"&&!a(d=u.call(s)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(r,c){r.exports=!1},c6b6:function(r,c){var t={}.toString;r.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(r,c,t){var a=t("da84"),s=t("ce4e"),l="__core-js_shared__",u=a[l]||s(l,{});r.exports=u},c740:function(r,c,t){var a=t("23e7"),s=t("b727").findIndex,l=t("44d2"),u=t("ae40"),d="findIndex",f=!0,p=u(d);d in[]&&Array(1)[d](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(m){return s(this,m,arguments.length>1?arguments[1]:void 0)}}),l(d)},c8ba:function(r,c){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}r.exports=t},c975:function(r,c,t){var a=t("23e7"),s=t("4d64").indexOf,l=t("a640"),u=t("ae40"),d=[].indexOf,f=!!d&&1/[1].indexOf(1,-0)<0,p=l("indexOf"),g=u("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!p||!g},{indexOf:function(h){return f?d.apply(this,arguments)||0:s(this,h,arguments.length>1?arguments[1]:void 0)}})},ca84:function(r,c,t){var a=t("5135"),s=t("fc6a"),l=t("4d64").indexOf,u=t("d012");r.exports=function(d,f){var p=s(d),g=0,m=[],h;for(h in p)!a(u,h)&&a(p,h)&&m.push(h);for(;f.length>g;)a(p,h=f[g++])&&(~l(m,h)||m.push(h));return m}},caad:function(r,c,t){var a=t("23e7"),s=t("4d64").includes,l=t("44d2"),u=t("ae40"),d=u("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!d},{includes:function(p){return s(this,p,arguments.length>1?arguments[1]:void 0)}}),l("includes")},cc12:function(r,c,t){var a=t("da84"),s=t("861d"),l=a.document,u=s(l)&&s(l.createElement);r.exports=function(d){return u?l.createElement(d):{}}},ce4e:function(r,c,t){var a=t("da84"),s=t("9112");r.exports=function(l,u){try{s(a,l,u)}catch{a[l]=u}return u}},d012:function(r,c){r.exports={}},d039:function(r,c){r.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(r,c,t){var a=t("428f"),s=t("da84"),l=function(u){return typeof u=="function"?u:void 0};r.exports=function(u,d){return arguments.length<2?l(a[u])||l(s[u]):a[u]&&a[u][d]||s[u]&&s[u][d]}},d1e7:function(r,c,t){var a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!a.call({1:2},1);c.f=l?function(d){var f=s(this,d);return!!f&&f.enumerable}:a},d28b:function(r,c,t){var a=t("746f");a("iterator")},d2bb:function(r,c,t){var a=t("825a"),s=t("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var l=!1,u={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(u,[]),l=u instanceof Array}catch{}return function(p,g){return a(p),s(g),l?d.call(p,g):p.__proto__=g,p}}():void 0)},d3b7:function(r,c,t){var a=t("00ee"),s=t("6eeb"),l=t("b041");a||s(Object.prototype,"toString",l,{unsafe:!0})},d44e:function(r,c,t){var a=t("9bf2").f,s=t("5135"),l=t("b622"),u=l("toStringTag");r.exports=function(d,f,p){d&&!s(d=p?d:d.prototype,u)&&a(d,u,{configurable:!0,value:f})}},d58f:function(r,c,t){var a=t("1c0b"),s=t("7b0b"),l=t("44ad"),u=t("50c4"),d=function(f){return function(p,g,m,h){a(g);var b=s(p),y=l(b),T=u(b.length),O=f?T-1:0,P=f?-1:1;if(m<2)for(;;){if(O in y){h=y[O],O+=P;break}if(O+=P,f?O<0:T<=O)throw TypeError("Reduce of empty array with no initial value")}for(;f?O>=0:T>O;O+=P)O in y&&(h=g(h,y[O],O,b));return h}};r.exports={left:d(!1),right:d(!0)}},d784:function(r,c,t){t("ac1f");var a=t("6eeb"),s=t("d039"),l=t("b622"),u=t("9263"),d=t("9112"),f=l("species"),p=!s(function(){var y=/./;return y.exec=function(){var T=[];return T.groups={a:"7"},T},"".replace(y,"$")!=="7"}),g=function(){return"a".replace(/./,"$0")==="$0"}(),m=l("replace"),h=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),b=!s(function(){var y=/(?:)/,T=y.exec;y.exec=function(){return T.apply(this,arguments)};var O="ab".split(y);return O.length!==2||O[0]!=="a"||O[1]!=="b"});r.exports=function(y,T,O,P){var S=l(y),R=!s(function(){var j={};return j[S]=function(){return 7},""[y](j)!=7}),D=R&&!s(function(){var j=!1,U=/a/;return y==="split"&&(U={},U.constructor={},U.constructor[f]=function(){return U},U.flags="",U[S]=/./[S]),U.exec=function(){return j=!0,null},U[S](""),!j});if(!R||!D||y==="replace"&&!(p&&g&&!h)||y==="split"&&!b){var A=/./[S],M=O(S,""[y],function(j,U,X,$,z){return U.exec===u?R&&!z?{done:!0,value:A.call(U,X,$)}:{done:!0,value:j.call(X,U,$)}:{done:!1}},{REPLACE_KEEPS_$0:g,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),B=M[0],V=M[1];a(String.prototype,y,B),a(RegExp.prototype,S,T==2?function(j,U){return V.call(j,this,U)}:function(j){return V.call(j,this)})}P&&d(RegExp.prototype[S],"sham",!0)}},d81d:function(r,c,t){var a=t("23e7"),s=t("b727").map,l=t("1dde"),u=t("ae40"),d=l("map"),f=u("map");a({target:"Array",proto:!0,forced:!d||!f},{map:function(g){return s(this,g,arguments.length>1?arguments[1]:void 0)}})},da84:function(r,c,t){(function(a){var s=function(l){return l&&l.Math==Math&&l};r.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(r,c,t){var a=t("23e7"),s=t("83ab"),l=t("56ef"),u=t("fc6a"),d=t("06cf"),f=t("8418");a({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(g){for(var m=u(g),h=d.f,b=l(m),y={},T=0,O,P;b.length>T;)P=h(m,O=b[T++]),P!==void 0&&f(y,O,P);return y}})},dbf1:function(r,c,t){(function(a){t.d(c,"a",function(){return l});function s(){return typeof window<"u"?window.console:a.console}var l=s()}).call(this,t("c8ba"))},ddb0:function(r,c,t){var a=t("da84"),s=t("fdbc"),l=t("e260"),u=t("9112"),d=t("b622"),f=d("iterator"),p=d("toStringTag"),g=l.values;for(var m in s){var h=a[m],b=h&&h.prototype;if(b){if(b[f]!==g)try{u(b,f,g)}catch{b[f]=g}if(b[p]||u(b,p,m),s[m]){for(var y in l)if(b[y]!==l[y])try{u(b,y,l[y])}catch{b[y]=l[y]}}}}},df75:function(r,c,t){var a=t("ca84"),s=t("7839");r.exports=Object.keys||function(u){return a(u,s)}},e01a:function(r,c,t){var a=t("23e7"),s=t("83ab"),l=t("da84"),u=t("5135"),d=t("861d"),f=t("9bf2").f,p=t("e893"),g=l.Symbol;if(s&&typeof g=="function"&&(!("description"in g.prototype)||g().description!==void 0)){var m={},h=function(){var S=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),R=this instanceof h?new g(S):S===void 0?g():g(S);return S===""&&(m[R]=!0),R};p(h,g);var b=h.prototype=g.prototype;b.constructor=h;var y=b.toString,T=String(g("test"))=="Symbol(test)",O=/^Symbol\((.*)\)[^)]+$/;f(b,"description",{configurable:!0,get:function(){var S=d(this)?this.valueOf():this,R=y.call(S);if(u(m,S))return"";var D=T?R.slice(7,-1):R.replace(O,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:h})}},e163:function(r,c,t){var a=t("5135"),s=t("7b0b"),l=t("f772"),u=t("e177"),d=l("IE_PROTO"),f=Object.prototype;r.exports=u?Object.getPrototypeOf:function(p){return p=s(p),a(p,d)?p[d]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(r,c,t){var a=t("d039");r.exports=!a(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},e260:function(r,c,t){var a=t("fc6a"),s=t("44d2"),l=t("3f8c"),u=t("69f3"),d=t("7dd0"),f="Array Iterator",p=u.set,g=u.getterFor(f);r.exports=d(Array,"Array",function(m,h){p(this,{type:f,target:a(m),index:0,kind:h})},function(){var m=g(this),h=m.target,b=m.kind,y=m.index++;return!h||y>=h.length?(m.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:y,done:!1}:b=="values"?{value:h[y],done:!1}:{value:[y,h[y]],done:!1}},"values"),l.Arguments=l.Array,s("keys"),s("values"),s("entries")},e439:function(r,c,t){var a=t("23e7"),s=t("d039"),l=t("fc6a"),u=t("06cf").f,d=t("83ab"),f=s(function(){u(1)}),p=!d||f;a({target:"Object",stat:!0,forced:p,sham:!d},{getOwnPropertyDescriptor:function(m,h){return u(l(m),h)}})},e538:function(r,c,t){var a=t("b622");c.f=a},e893:function(r,c,t){var a=t("5135"),s=t("56ef"),l=t("06cf"),u=t("9bf2");r.exports=function(d,f){for(var p=s(f),g=u.f,m=l.f,h=0;h"u"||!(Symbol.iterator in Object(C)))){var I=[],L=!0,K=!1,Q=void 0;try{for(var tt=C[Symbol.iterator](),it;!(L=(it=tt.next()).done)&&(I.push(it.value),!(x&&I.length===x));L=!0);}catch(Ct){K=!0,Q=Ct}finally{try{!L&&tt.return!=null&&tt.return()}finally{if(K)throw Q}}return I}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function m(C,x){(x==null||x>C.length)&&(x=C.length);for(var I=0,L=new Array(x);Ii!=="processing"),lo=()=>{const i=Rt([]),n=Rt({}),e=Rt(void 0),o=Rt(""),r=Rt([]),c=Rt(gc),t=Rt(0),a=()=>({status:i.value,data:n.value,advanced_data_filter:e.value,search:o.value,stage:r.value});return{stageIds:r,filterStatus:i,filterData:n,filterDataCondition:e,filterSearch:o,limit:c,offset:t,filterFactory:a,labelOption:u=>sr({status:u}).text,requestDataFactory:()=>({filter:a(),limit:c.value,offset:t.value})}},He=i=>i!==void 0&&"key"in i&&"comparator"in i&&"value"in i,xn=()=>({key:"",comparator:tr[0],value:""}),co=i=>i!==void 0&&"operator"in i,Ve=i=>i!==void 0&&co(i)&&"conditions"in i&&Array.isArray(i.conditions),Or=i=>i!==void 0&&co(i)&&"condition"in i&&He(i.condition),Xe=$r[0],uo=()=>({operator:Xe,conditions:[xn()]}),vc=3,hc=({kanbanStagesStorage:i,kanbanRepository:n})=>{const e=Rt([]),o=Rt([]),r=Yt(()=>e.value.filter(d=>!o.value.map(f=>f.stage.id).includes(d.id))),c=async()=>{o.value=[]},t=d=>{o.value=o.value.filter(f=>f.stage.id!==d),i.set(o.value.map(f=>f.stage.id).filter(f=>f!==d))},a=async(d,f)=>{if(d)o.value=[...o.value.slice(0,f),{stage:d,limit:Re,offset:0},...o.value.slice(f+1)];else{const p=o.value[f].stage;return o.value=[...o.value.slice(0,f),...o.value.slice(f+1)],p}return i.set(o.value.map(p=>p.stage.id)),d},s=async d=>{const f=o.value[d.moved.oldIndex];a(null,d.moved.oldIndex),o.value=[...o.value.slice(0,d.moved.newIndex),f,...o.value.slice(d.moved.newIndex)],i.set(o.value.map(p=>p.stage.id))},l=d=>{o.value=d.reduce((f,p)=>{const g=e.value.find(m=>m.id===p);return g&&f.push({stage:g,limit:Re,offset:0}),f},[])};return{setup:async()=>{var f;e.value=await n.getStages();const d=(f=i.get())!=null?f:[];if(d.length===0){const p=await n.getPath(vc);i.set(p),l(p)}else o.value=d.map(p=>{const g=e.value.find(m=>m.id===p);return g?{stage:g,limit:Re,offset:0}:null}).filter(Boolean)},allStages:e,selectedStages:o,nonSelectedStages:r,clearSelection:c,unselect:t,setStage:a,reorderStages:s,initSelection:l}},Re=10,yc=2e3,Sc=({kanbanRepository:i,kanbanStagesStorage:n,stageRunRepository:e,router:o})=>{const r=lo(),c=hc({kanbanStagesStorage:n,kanbanRepository:i}),t=Rt({columns:[],next_stage_options:[]}),a=async()=>{try{const S=c.selectedStages.value,R=S.map(X=>(r.stageIds.value=[X.stage.id],i.getData(r.requestDataFactory()))),D={columns:[]},A=new Set,B=(await Promise.all(R)).map((X,$)=>({...X,stage:S[$].stage})),V=c.selectedStages.value,j=t.value.columns.map(X=>X.stage_run_cards).flat();for(const X of V){const $=B.find(z=>z.stage.id===X.stage.id);if(!$){D.columns.push({stage_run_cards:[],selected_stage:X.stage,total_count:0,loading:!1});continue}D.columns.push({stage_run_cards:$.stage_run_cards.map(z=>{var Ot;const ot=z.id,ct=(Ot=j.find(ft=>ft.id===ot))==null?void 0:Ot.loading;return{...z,loading:!!ct}}),selected_stage:X.stage,total_count:$.total_count,loading:!1});for(const z of $.not_found_stages)A.add(z)}const U=Array.from(A);for(const X of U)c.unselect(X);return{columns:D.columns,next_stage_options:c.nonSelectedStages.value}}catch(S){return Co(S),console.error(S),t.value}};function s(S){const R=S.selected_stage.id,D=c.selectedStages.value.find(A=>A.stage.id===R);return D!=null&&D.limit?D.limitA.stage.id===S.selected_stage.id);R&&(R.limit=((D=R.limit)!=null?D:0)+Re,t.value=await a())}async function u(S){const R=c.selectedStages.value.find(D=>D.stage.id===S);R&&R.limit&&R.limit>Re&&(R.limit-=Re,t.value=await a())}async function d(S,R){const D=await c.setStage(S,R);if(S===null){c.unselect(D.id),t.value.columns=t.value.columns.filter(V=>V.selected_stage.id!==D.id);const A=c.allStages.value,M=A.findIndex(V=>V.id===D.id);let B=0;for(const V of t.value.next_stage_options)A.findIndex(U=>U.id===V.id)({...D,stage_run_cards:D.stage_run_cards.map(A=>A.id===S?{...A,loading:R}:A)}))}const m=async S=>{await c.setup(),t.value={columns:c.selectedStages.value.map(R=>({stage_run_cards:[],selected_stage:R.stage,total_count:0,loading:!0})),next_stage_options:c.nonSelectedStages.value},S||b()},h=async()=>{t.value=await a()},{startPolling:b,endPolling:y}=Dr({interval:yc,task:async()=>{await h()}});return{kanbanState:t,increasePagination:l,hasPagination:s,seeLess:u,setStage:d,addStage:f,cardRunHandler:async(S,R)=>{const D=S.selected_stage,A=R.id;if(D.type==="form"){const M=o.resolve({path:`/${D.path}`,query:A?{[Fo]:A}:{}});window.open(M.href,A)}},cardRetryHandler:async S=>{g(S.id,!0);try{await(e==null?void 0:e.retry(S.id))}catch{xo.error({message:"Failed to retry thread"})}},setup:m,startPolling:b,tearDown:()=>y(),reorderStages:p,filterController:r,setLoading:g,loadState:h}},bc=$t({__name:"StageRunData",props:{data:{}},setup(i){return(n,e)=>(N(),Y(E(pe),{direction:"vertical",style:{overflow:"hidden"}},{default:w(()=>[(N(!0),st(_t,null,se(n.data,o=>(N(),st("div",{key:o.key,class:"tree"},[G(E(Pe),{strong:""},{default:w(()=>[lt(Tt(o.key),1)]),_:2},1024),G(E(Oo),{"tree-data":E($o)(o.value),selectable:!1},null,8,["tree-data"])]))),128))]),_:1}))}});const Yn=Ee(bc,[["__scopeId","data-v-af388efb"]]),Ec={key:0},xc={key:1,class:"terminal"},Cc=$t({__name:"ExecutionInspector",props:{logs:{}},setup(i){return(n,e)=>n.logs.length===0?(N(),st("span",Ec)):(N(),st("div",xc,[G(E(xt),{vertical:""},{default:w(()=>[(N(!0),st(_t,null,se(n.logs,o=>(N(),st("pre",{key:o.executionId,class:"log-text"},Tt(o.payload.text),1))),128))]),_:1})]))}});const Oc=Ee(Cc,[["__scopeId","data-v-1edcaf0f"]]),Ac=i=>(Io("data-v-c99a5995"),i=i(),To(),i),Ic={key:1},Tc={key:1},Pc=Ac(()=>Wt("span",null,"[Deleted Stage]",-1)),Rc=$t({__name:"StageRunInspector",props:{stageRun:{},kanbanRepository:{},stageRunRepository:{}},emits:["close"],setup(i,{emit:n}){const e=i;function o(t){return Object.entries(t).map(([a,s])=>({key:a,value:s,type:typeof s}))}const{result:r,loading:c}=qn(()=>{var t;return e.kanbanRepository.getLogs((t=e.stageRun)==null?void 0:t.id)});return(t,a)=>(N(),Y(E(zo),{open:"",title:"Thread details",size:"large",onClose:a[0]||(a[0]=s=>n("close"))},{extra:w(()=>[G(E(lr),null,{default:w(()=>[G(E(qe),{style:{"font-weight":"600"}},{default:w(()=>{var s;return[lt(Tt(E(sr)({status:(s=t.stageRun)==null?void 0:s.status}).text),1)]}),_:1}),lt(" "+Tt(E(Go)(new Date(t.stageRun.created_at),{addSuffix:!0})),1)]),_:1})]),default:w(()=>{var s,l,u;return[(s=t.stageRun)!=null&&s.assignee?(N(),Y(E(lr),{key:0},{default:w(()=>{var d;return[lt(" Assignee: "+Tt((d=t.stageRun)==null?void 0:d.assignee),1)]}),_:1})):dt("",!0),((l=t.stageRun)==null?void 0:l.content)&&((u=t.stageRun)==null?void 0:u.content.length)>0?(N(),st("div",Ic,[G(E(on),{level:4},{default:w(()=>[lt("Current data")]),_:1}),G(Yn,{data:t.stageRun.content},null,8,["data"])])):dt("",!0),G(E(on),{level:4,style:{"margin-bottom":"30px"}},{default:w(()=>[lt(" Timeline ")]),_:1}),E(c)?(N(),Y(E(Ao),{key:2})):E(r)?(N(),Y(E(Bo),{key:3},{default:w(()=>[(N(!0),st(_t,null,se(E(r),({stage:d,stage_run:f,logs:p})=>(N(),Y(E(Ko),{key:f.id},{default:w(()=>[G(E(jr),{ghost:"","expand-icon-position":"end"},{default:w(()=>[G(E(wr),{class:"panel"},{header:w(()=>[d?(N(),Y(E(xt),{key:0,align:"center",gap:15},{default:w(()=>[(N(),Y(On(E(An)(d.type)))),p.length?(N(),st("span",Tc,Tt(d.title),1)):(N(),Y(E(Bn),{key:0,placement:"right",title:"No logs"},{default:w(()=>[lt(Tt(d.title),1)]),_:2},1024))]),_:2},1024)):(N(),Y(E(xt),{key:1,align:"center",gap:15},{default:w(()=>[G(E(Uo)),Pc]),_:1}))]),default:w(()=>[o(f.data).length||p.length?(N(),Y(E(xt),{key:0,vertical:""},{default:w(()=>[o(f.data).length?(N(),Y(E(xt),{key:0,gap:0,vertical:""},{default:w(()=>[G(E(on),{level:5},{default:w(()=>[lt(" Output data ")]),_:1}),G(Yn,{data:o(f.data)},null,8,["data"])]),_:2},1024)):dt("",!0),p.length?(N(),Y(E(xt),{key:1,vertical:"",gap:0},{default:w(()=>[G(E(Wo)),G(E(on),{level:5},{default:w(()=>[lt(" Logs ")]),_:1}),G(Oc,{logs:p},null,8,["logs"])]),_:2},1024)):dt("",!0)]),_:2},1024)):(N(),Y(E(Pr),{key:1,description:"No logs"}))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})):dt("",!0)]}),_:1}))}});const Dc=Ee(Rc,[["__scopeId","data-v-c99a5995"]]),Ar="_thread_title",Lc=$t({__name:"Card",props:{stage:{},card:{}},emits:["inspect","run","retry"],setup(i,{emit:n}){const e=i,o=Yt(()=>{const l=e.card.content.find(d=>d.key===Ar);return l?l.value:new Date(String(e.card.updated_at)).toLocaleString()}),r=Yt(()=>e.card.content.filter(l=>l.key!==Ar)),c=l=>{l.stopPropagation(),n("run")},t=l=>{l.stopPropagation(),n("retry")},a=Yt(()=>sr({status:e.card.status}).text),s=Yt(()=>Po(new Date(String(e.card.updated_at))));return(l,u)=>{var d,f;return N(),Y(E(Nr),{size:"small",style:{cursor:"pointer"},"head-style":{"border-bottom":((d=l.card.content)==null?void 0:d.length)>0?"":"none"},"body-style":{display:((f=l.card.content)==null?void 0:f.length)>0?"block":"none"},onClick:u[0]||(u[0]=p=>l.$emit("inspect"))},{title:w(()=>[G(E(Bn),{title:o.value.length>24?o.value:void 0},{default:w(()=>[lt(Tt(o.value),1)]),_:1},8,["title"])]),default:w(()=>[G(E(pe),{direction:"vertical",style:{"max-height":"300px",width:"100%",overflow:"hidden"}},{default:w(()=>[G(Yn,{data:r.value,disabled:!0},null,8,["data"]),l.card.assignee?(N(),Y(E(qe),{key:0},{default:w(()=>[lt(Tt(l.card.assignee),1)]),_:1})):dt("",!0)]),_:1}),G(E(xt),{gap:"10",style:{"margin-top":"8px"}},{default:w(()=>[G(E(Bn),null,{title:w(()=>[lt(Tt(l.card.updated_at),1)]),default:w(()=>[G(E(Pe),{type:"secondary",style:{"font-size":"12px",display:"flex","align-items":"center",gap:"4px"}},{default:w(()=>[G(E(Vo),{size:14}),lt(" Updated at: "+Tt(s.value),1)]),_:1})]),_:1})]),_:1})]),actions:w(()=>[l.card.status==="waiting"&&l.stage.type==="form"?(N(),Y(E(ne),{key:0,onClick:c},{default:w(()=>[G(E(xt),{align:"center",gap:"6"},{default:w(()=>[G(E(xa),{size:"16"}),lt(" Continue this thread ")]),_:1})]),_:1})):dt("",!0),l.card.status==="failed"?(N(),Y(E(ne),{key:1,disabled:l.card.loading,onClick:t},{default:w(()=>[G(E(xt),{align:"center",gap:"6"},{default:w(()=>[G(E(Ho),{size:"14"}),lt(" Retry ")]),_:1})]),_:1},8,["disabled"])):dt("",!0)]),extra:w(()=>[G(E(qe),null,{default:w(()=>[lt(Tt(a.value)+" ",1),a.value==="Running"?(N(),Y(E(Mr),{key:0,spin:!0,style:{"margin-left":"4px"}})):dt("",!0)]),_:1})]),_:1},8,["head-style","body-style"])}}});class wc{constructor(n,e,o){this.router=n,this.column=e,this.kanbanRepository=o}get stage(){return this.column.selected_stage}get canStart(){return this.stage.can_be_started}get launchLink(){return!this.stage.can_be_started||this.stage.type!=="form"||!this.stage.path?null:this.router.resolve({path:`/${this.stage.path}`}).href}click(){if(this.launchLink)return window.open(this.launchLink,"_blank");if(this.stage.type==="job")return this.kanbanRepository.startJob(this.stage.id).catch(console.error)}}const jc={class:"draggable-handler"},Mc=$t({__name:"Column",props:{router:{},hasPagination:{type:Boolean},column:{},kanbanRepository:{}},emits:["increasePagination","cardRun","stageUpdate","cardInspection","cardRetry"],setup(i,{emit:n}){const e=i,o=Yt(()=>new wc(e.router,e.column,e.kanbanRepository));return(r,c)=>(N(),Y(E(pe),{direction:"vertical",class:"stage-column"},{default:w(()=>[Wt("div",jc,[G(E(pe),{direction:"horizontal",style:{width:"100%","justify-content":"space-between"}},{default:w(()=>[G(E(xt),{gap:"8",style:{"max-width":"200px","padding-left":"10px"}},{default:w(()=>[G(E(xt),null,{default:w(()=>[(N(),Y(On(E(An)(r.column.selected_stage.type)),{size:"20"}))]),_:1}),G(E(Pe),{ellipsis:"",content:r.column.selected_stage.title},null,8,["content"])]),_:1}),G(E(pe),null,{default:w(()=>[r.column.loading?dt("",!0):(N(),Y(E(Pe),{key:0,type:"secondary",style:{"font-size":"small","margin-right":"2px"}},{default:w(()=>[lt(Tt(r.column.total_count),1)]),_:1})),r.column.loading?(N(),Y(E(Fr),{key:1})):dt("",!0),G(E(ne),{type:"text",style:{padding:"4px"},onClick:c[0]||(c[0]=t=>n("stageUpdate",null))},{default:w(()=>[G(E(Pe),{type:"secondary",style:{"font-size":"small","margin-right":"2px"}},{default:w(()=>[G(E(Ro))]),_:1})]),_:1})]),_:1})]),_:1})]),G(E(pe),{direction:"vertical",style:{width:"100%"}},{default:w(()=>[G(E(xt),{justify:"center",align:"center"},{default:w(()=>[r.column.loading?(N(),Y(E(Jo),{key:0,active:"",block:"",size:"large",class:"skeleton"})):dt("",!0)]),_:1}),!r.column.loading&&r.column.stage_run_cards.length===0?(N(),Y(E(Pr),{key:0})):dt("",!0),(N(!0),st(_t,null,se(r.column.stage_run_cards,t=>(N(),Y(Lc,{key:t.id,stage:r.column.selected_stage,card:t,onInspect:a=>n("cardInspection",t),onRun:a=>n("cardRun",t),onRetry:a=>n("cardRetry",t)},null,8,["stage","card","onInspect","onRun","onRetry"]))),128)),r.hasPagination?(N(),Y(E(ne),{key:1,style:{width:"100%"},onClick:c[1]||(c[1]=t=>n("increasePagination"))},{default:w(()=>[lt("See more")]),_:1})):dt("",!0),o.value.canStart?(N(),Y(E(ne),{key:2,style:{width:"100%"},onClick:c[2]||(c[2]=()=>o.value.click())},{default:w(()=>[lt(" Start new thread ")]),_:1})):dt("",!0)]),_:1})]),_:1}))}});const Nc=Ee(Mc,[["__scopeId","data-v-8a35b2bd"]]),Fc=$t({__name:"EmptyColumn",props:{stages:{}},emits:["stageUpdate"],setup(i,{emit:n}){const e=o=>{n("stageUpdate",o)};return(o,r)=>(N(),Y(E(pe),{direction:"vertical"},{default:w(()=>[(N(!0),st(_t,null,se(o.stages,c=>(N(),Y(E(qe),{key:c.id,class:"tag",onClick:t=>e(c)},{default:w(()=>[G(E(xt),{gap:"8",style:{"max-width":"200px","justify-content":"center","align-items":"center"}},{default:w(()=>[G(E(xt),null,{default:w(()=>[(N(),Y(On(E(An)(c.type)),{size:"20"}))]),_:2},1024),G(E(Pe),{ellipsis:"",content:c.title},null,8,["content"])]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))}});const Uc=Ee(Fc,[["__scopeId","data-v-f5bf528d"]]),fo=$t({__name:"Condition",props:{condition:{}},emits:["deleteCondition"],setup(i,{emit:n}){return(e,o)=>(N(),Y(E(Do),{style:{width:"100%"},compact:""},{default:w(()=>[G(E(Kn),{value:e.condition.key,"onUpdate:value":o[0]||(o[0]=r=>e.condition.key=r),style:{width:"30%"}},null,8,["value"]),G(E(Jn),{value:e.condition.comparator,"onUpdate:value":o[1]||(o[1]=r=>e.condition.comparator=r),style:{width:"20%"}},{default:w(()=>[(N(!0),st(_t,null,se(E(tr),r=>(N(),Y(E(Zn),{key:r,value:r},{default:w(()=>[lt(Tt(r),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"]),G(E(Kn),{value:e.condition.value,"onUpdate:value":o[2]||(o[2]=r=>e.condition.value=r),style:{width:"40%"}},null,8,["value"]),G(E(ne),{style:{width:"10%",padding:"0"},onClick:o[3]||(o[3]=r=>n("deleteCondition"))},{default:w(()=>[G(E(Ur))]),_:1})]),_:1}))}}),po=$t({__name:"LogicalGroupActionButtons",emits:["update:addCondition","update:addLogicalGroup"],setup(i,{emit:n}){const e=()=>{n("update:addCondition")},o=()=>{n("update:addLogicalGroup")};return(r,c)=>(N(),st(_t,null,[G(E(ne),{type:"link",onClick:e},{default:w(()=>[G(E(fr)),lt(" Condition")]),_:1}),G(E(ne),{type:"link",onClick:o},{default:w(()=>[G(E(fr)),lt(" Group")]),_:1})],64))}}),$c={style:{width:"50px","text-align":"end"}},Gc="Where",go=$t({__name:"LogicalGroupMultipleConditions",props:{logicalGroup:{}},emits:["deleteLogicalGroup"],setup(i,{emit:n}){const e=i,o=()=>{e.logicalGroup.conditions===void 0&&(e.logicalGroup.conditions=[]),e.logicalGroup.conditions.push(xn())},r=a=>{e.logicalGroup.conditions!==void 0&&e.logicalGroup.conditions.splice(a,1)},c=()=>{e.logicalGroup.conditions===void 0&&(e.logicalGroup.conditions=[]),e.logicalGroup.conditions.push(uo())},t=async a=>{if(await Lr("Are you sure you want to delete this group?")){if(e.logicalGroup.conditions===void 0)return;e.logicalGroup.conditions.splice(a,1)}};return(a,s)=>(N(),Y(E(Nr),{style:{width:"100%"}},{title:w(()=>[G(E(Jn),{value:a.logicalGroup.operator,"onUpdate:value":s[0]||(s[0]=l=>a.logicalGroup.operator=l),style:{width:"100px"}},{default:w(()=>[(N(!0),st(_t,null,se(E($r),l=>(N(),Y(E(Zn),{key:l,value:l},{default:w(()=>[lt(Tt(l),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"]),G(po,{"onUpdate:addCondition":o,"onUpdate:addLogicalGroup":c})]),extra:w(()=>[G(E(ne),{type:"text",onClick:s[1]||(s[1]=()=>n("deleteLogicalGroup"))},{default:w(()=>[G(E(Ur))]),_:1})]),default:w(()=>[Tr(a.$slots,"default",{},()=>[(N(!0),st(_t,null,se(a.logicalGroup.conditions,(l,u)=>(N(),Y(E(xt),{key:u,style:{"margin-bottom":"16px","align-items":"center",gap:"8px"}},{default:w(()=>[Wt("span",$c,Tt(u===0?Gc:a.logicalGroup.operator),1),l!==void 0&&"key"in l?(N(),Y(fo,{key:0,condition:l,onDeleteCondition:d=>r(u)},null,8,["condition","onDeleteCondition"])):l&&"conditions"in l&&E(Ve)(l)?(N(),Y(go,{key:1,"logical-group":l,onDeleteLogicalGroup:d=>t(u)},null,8,["logical-group","onDeleteLogicalGroup"])):dt("",!0)]),_:2},1024))),128))])]),_:3}))}}),Bc=$t({__name:"AdvancedDataFilter",emits:["update:filterDataCondition"],setup(i,{emit:n}){const e=Rt(void 0),o=()=>{const s=xn();if(e.value===void 0)e.value=s;else if(He(e.value)){const l=e.value;e.value={operator:Xe,conditions:[l,s]}}else if("condition"in e.value&&Or(e.value)){const l=e.value;e.value={operator:Xe,conditions:[l,s]}}else"conditions"in e.value&&Ve(e.value)&&e.value.conditions.push(s)},r=()=>{He(e.value)&&(e.value=void 0)},c=()=>{const s=xn(),l=uo();if(e.value===void 0)e.value=l;else if(He(e.value)){const u=e.value;e.value={operator:Xe,conditions:[u,s]}}else if("condition"in e.value&&Or(e.value)){const u=e.value;e.value={operator:Xe,conditions:[u,s]}}else"conditions"in e.value&&Ve(e.value)&&e.value.conditions.push(l)},t=async()=>{await Lr("Are you sure you want to delete this filter group?")&&(e.value=void 0)};return Rr(e,()=>{n("update:filterDataCondition",e.value)},{deep:!0}),(s,l)=>(N(),Y(E(xt),{vertical:""},{default:w(()=>[E(Ve)(e.value)?dt("",!0):(N(),Y(E(xt),{key:0,style:{"margin-bottom":"16px"}},{default:w(()=>[G(po,{"onUpdate:addCondition":o,"onUpdate:addLogicalGroup":c})]),_:1})),e.value!==void 0&&"key"in e.value&&E(He)(e.value)?(N(),Y(fo,{key:1,condition:e.value,"onUpdate:condition":l[0]||(l[0]=u=>e.value=u),onDeleteCondition:r},null,8,["condition"])):e.value&&"conditions"in e.value&&E(Ve)(e.value)?(N(),Y(go,{key:2,logicalGroup:e.value,"onUpdate:logicalGroup":l[1]||(l[1]=u=>e.value=u),onDeleteLogicalGroup:t},null,8,["logicalGroup"])):dt("",!0)]),_:1}))}}),Kc=$t({__name:"FilterKanbanData",props:{filterController:{}},setup(i){const n=i,e=s=>{c.value=s},{filterController:o}=Lo(n),{labelOption:r,filterStatus:c,filterDataCondition:t}=o.value,a=s=>{t.value=s};return(s,l)=>(N(),Y(E(jr),{ghost:""},{default:w(()=>[G(E(wr),{header:"Filters"},{default:w(()=>[G(E(wo),null,{default:w(()=>[G(E(cr),{label:"Status"},{default:w(()=>[G(E(Jn),{value:E(c),style:{width:"325px"},mode:"multiple","onUpdate:value":l[0]||(l[0]=u=>e(u))},{default:w(()=>[(N(!0),st(_t,null,se(E(mc),u=>(N(),Y(E(Zn),{key:u,value:u},{default:w(()=>[lt(Tt(E(r)(u)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),G(E(cr),{label:"Data"},{default:w(()=>[G(Bc,{"onUpdate:filterDataCondition":l[1]||(l[1]=u=>a(u))})]),_:1})]),_:1})]),_:1})]),_:1}))}});function Wc(){const i=Rt({state:"closed"});function n(){i.value={state:"closed"}}function e(r,c){i.value={state:"stage-run",stageRun:c}}const o=Yt(()=>"stageRun"in i.value?i.value.stageRun:null);return{closeDrawer:n,inspectStageRun:e,drawerState:i,selectedStageRunForDrawer:o}}const zc={class:"stages-container"},Hc={class:"stages-content"},Vc=$t({__name:"Kanban",props:{kanbanStagesStorage:{},kanbanRepository:{},stageRunRepository:{}},setup(i){const n=i,e=jo(),{closeDrawer:o,inspectStageRun:r,drawerState:c,selectedStageRunForDrawer:t}=Wc(),{kanbanState:a,setStage:s,addStage:l,setup:u,tearDown:d,cardRunHandler:f,cardRetryHandler:p,increasePagination:g,hasPagination:m,reorderStages:h,startPolling:b,filterController:y}=Sc({kanbanRepository:n.kanbanRepository,kanbanStagesStorage:n.kanbanStagesStorage,stageRunRepository:n.stageRunRepository,router:e}),T=Rt([]);return Rr(()=>{var O;return(O=a.value)==null?void 0:O.columns},O=>{O!==void 0&&(T.value=O)}),Qn(u),kn(d),(O,P)=>(N(),st("div",null,[G(E(xt),{vertical:"",style:{height:"100%"}},{default:w(()=>[G(Kc,{"filter-controller":E(y)},null,8,["filter-controller"]),Wt("div",zc,[Wt("div",Hc,[G(E(pe),{align:"start"},{default:w(()=>[G(E(pi),{modelValue:T.value,"onUpdate:modelValue":P[1]||(P[1]=S=>T.value=S),class:"draggable","item-key":S=>S.selected_stage.id,"ghost-class":"ghost","force-fallback":E(Ra),handle:".draggable-handler",onStart:E(d),onEnd:E(b),onChange:E(h)},{item:w(({element:S,index:R})=>[(N(),Y(E(Nc),{key:S.selected_stage.id,column:S,router:E(e),"has-pagination":E(m)(S),"kanban-repository":n.kanbanRepository,onIncreasePagination:D=>E(g)(S),onCardInspection:D=>E(r)(S,D),onCardRun:D=>E(f)(S,D),onCardRetry:P[0]||(P[0]=D=>E(p)(D)),onStageUpdate:D=>E(s)(D,R)},null,8,["column","router","has-pagination","kanban-repository","onIncreasePagination","onCardInspection","onCardRun","onStageUpdate"]))]),_:1},8,["modelValue","item-key","force-fallback","onStart","onEnd","onChange"]),G(E(Uc),{stages:E(a).next_stage_options||[],onStageUpdate:P[2]||(P[2]=S=>E(l)(S))},null,8,["stages"])]),_:1})])])]),_:1}),E(c).state==="stage-run"&&E(t)?(N(),Y(E(Dc),{key:0,"kanban-repository":n.kanbanRepository,"stage-run":E(t),"stage-run-repository":n.stageRunRepository,onClose:E(o)},null,8,["kanban-repository","stage-run","stage-run-repository","onClose"])):dt("",!0)]))}});const Tu=Ee(Vc,[["__scopeId","data-v-776f7f6d"]]),Xc=2e3,Ir=[{title:"Thread",dataIndex:"thread",align:"center"},{title:"Stage",dataIndex:"stage",align:"center"},{title:"Status",dataIndex:"status",align:"center"},{title:"Updated at",dataIndex:"updated_at",align:"center"}],Yc=({kanbanRepository:i})=>{const n=lo(),e=Rt(0),o=Rt(1),r=Rt(10),c=async f=>{n.limit.value=r.value*o.value,n.offset.value=(o.value-1)*r.value,n.stageIds.value=f;const p=n.requestDataFactory(),g=await i.getData(p);return e.value=g.total_count,g},t=async()=>{var P,S;const f=await i.getStages(),p=await c(f.map(R=>R.id)),g=f.reduce((R,D)=>(R[D.id]=D,R),{}),m=(P=p.stage_run_cards)==null?void 0:P.map(R=>R.content.map(D=>D.key)).flat(),h=Array.from(new Set(m)),y=[...Ir.map(R=>R.title),...h],T=(S=p.stage_run_cards)==null?void 0:S.map(R=>{var M,B;const D=R.stage?g[R.stage]:void 0,A={};for(const V of R.content)A[V.key]=JSON.stringify(V.value);return[R.id,(M=D==null?void 0:D.title)!=null?M:"",R.status,(B=R.updated_at)!=null?B:"",...h.map(V=>A[V]||"")]}),O=new Date;return{columns:y,rows:T!=null?T:[],fileName:`threads-${O.toISOString()}`}},a=qn(async()=>{var f,p,g;try{const m=await i.getStages(),h=await c(m.map(R=>R.id)),b=m.reduce((R,D)=>(R[D.id]=D,R),{}),y=(p=(f=h.stage_run_cards)==null?void 0:f.map(R=>R.content.map(D=>D.key)).flat())!=null?p:[],T=Array.from(new Set(y)),O=(g=h.stage_run_cards)==null?void 0:g.map(R=>{const D=R.stage?b[R.stage]:void 0,A={thread:R.id,type:(D==null?void 0:D.type)||"",stage:(D==null?void 0:D.title)||"",status:R.status,updated_at:R.updated_at||""};for(const M of R.content)A[`data.${M.key}`]=JSON.stringify(M.value)||"";return A}),P=T.map(R=>({title:R,dataIndex:`data.${R}`,align:"center",width:200}));return{tableColumns:[...Ir,{title:"Data",children:P}],tableRows:O}}catch{return{tableColumns:[],tableRows:[]}}}),{startPolling:s,endPolling:l}=Dr({interval:Xc,task:async()=>{await a.refetch()}});return{setup:()=>s(),tearDown:()=>l(),tableAsyncComputed:a,totalCount:e,current:o,pageSize:r,filterController:n,getDataAsCsv:t}},Zc={style:{"text-align":"center"}},Jc={key:2,style:{"min-width":"100px"}},Qc=Wt("div",{style:{height:"50px"}},null,-1),Pu=$t({__name:"TableView",props:{kanbanRepository:{}},setup(i){const n=i,e=Rt(""),o=Rt(!1),r=Rt(!1),c=()=>{o.value=!0,p.filterSearch.value=e.value,t()},t=Mo.exports.debounce(()=>{l.refetch(),o.value=!1},500),{setup:a,tearDown:s,tableAsyncComputed:l,totalCount:u,current:d,pageSize:f,filterController:p,getDataAsCsv:g}=Yc({kanbanRepository:n.kanbanRepository}),m=Yt(()=>({total:u.value,current:d.value,pageSize:f.value,totalBoundaryShowSizeChanger:10,showSizeChanger:!0,pageSizeOptions:["10","25","50","100"],onChange:async(y,T)=>{d.value=y,f.value=T,await l.refetch()}})),h=async()=>{if(r.value=!0,!l.result.value)return;const y=await g();_o(y),r.value=!1},b=y=>y.dataIndex===void 0&&"children"in y&&Array.isArray(y.children)&&y.children.length===0;return Qn(a),kn(s),(y,T)=>(N(),st("div",null,[G(E(xt),{justify:"space-between",style:{"margin-bottom":"12px"}},{default:w(()=>[G(E(Kn),{value:e.value,placeholder:"Search data or status",style:{width:"400px"},"allow-clear":"","onUpdate:value":c},{prefix:w(()=>[G(E(No))]),suffix:w(()=>[o.value?(N(),Y(E(Fr),{key:0})):dt("",!0)]),_:1},8,["value"]),G(E(ne),{loading:r.value,onClick:h},{default:w(()=>[G(E(xt),{align:"center",gap:"small"},{default:w(()=>[lt(" Export to CSV "),G(E(qo))]),_:1})]),_:1},8,["loading"])]),_:1}),E(l).result.value?(N(),Y(E(ur),{key:0,columns:E(l).result.value.tableColumns,"data-source":E(l).result.value.tableRows,loading:o.value,pagination:m.value,scroll:{x:"max-content",y:700},bordered:"",size:"small"},{headerCell:w(({column:O})=>[Wt("p",Zc,Tt(O.title),1)]),bodyCell:w(({column:O,text:P,record:S})=>[O.dataIndex==="stage"?(N(),Y(E(xt),{key:0,gap:"small",justify:"center"},{default:w(()=>[(N(),Y(On(E(An)(S.type)),{size:"20"})),lt(" "+Tt(P),1)]),_:2},1024)):O.dataIndex==="status"?(N(),Y(E(xt),{key:1,gap:"small",justify:"center"},{default:w(()=>[G(E(qe),null,{default:w(()=>[lt(Tt(E(ko)(String(P)))+" ",1),P==="running"?(N(),Y(E(Mr),{key:0,spin:!0,style:{"margin-left":"4px"}})):dt("",!0)]),_:2},1024)]),_:2},1024)):b(O)?(N(),st("div",Jc)):dt("",!0)]),_:1},8,["columns","data-source","loading","pagination"])):(N(),Y(E(ur),{key:1,loading:"",columns:[{title:"Thread"},{title:"Stage"},{title:"Status"}],bordered:""},{emptyText:w(()=>[Qc]),_:1}))]))}}),kc={key:1,class:"workflow-container"},qc=$t({__name:"WorkflowView",props:{kanbanRepository:{},workflowApi:{}},setup(i){const n=i,{result:e,loading:o}=qn(()=>Zo.init(n.workflowApi,!1)),{setup:r,tearDown:c,stageRunsCount:t}=Xo({kanbanRepository:n.kanbanRepository});return Qn(r),kn(c),(a,s)=>(N(),st(_t,null,[E(o)?(N(),Y(ta,{key:0})):dt("",!0),E(e)?(N(),st("div",kc,[G(Yo,{workflow:E(e),editable:!1,"stage-runs-count":E(t),"show-drag-hint":!1},null,8,["workflow","stage-runs-count"])])):dt("",!0)],64))}});const Ru=Ee(qc,[["__scopeId","data-v-765d5d38"]]);export{Cu as E,Tu as K,Ou as P,Ru as W,Pu as _,Au as a,Iu as b}; -//# sourceMappingURL=WorkflowView.d3a65122.js.map +//# sourceMappingURL=WorkflowView.2e20a43a.js.map diff --git a/abstra_statics/dist/assets/Workspace.5572506a.js b/abstra_statics/dist/assets/Workspace.ba58b63f.js similarity index 87% rename from abstra_statics/dist/assets/Workspace.5572506a.js rename to abstra_statics/dist/assets/Workspace.ba58b63f.js index e12b8b778a..1d6e34f511 100644 --- a/abstra_statics/dist/assets/Workspace.5572506a.js +++ b/abstra_statics/dist/assets/Workspace.ba58b63f.js @@ -1,2 +1,2 @@ -import{B as z}from"./BaseLayout.4967fc3d.js";import{d as y,B as s,f as n,o as e,X as l,Z as _,R as f,e8 as M,a as t,c as A,w as v,b as g,u as p,bw as H,aF as w,by as S,e9 as k,bP as B,bN as P,ea as N,e as j,r as C,aR as b,eb as x,ec as D,ed as L,aV as I,cF as F,Y as G,$ as E}from"./vue-router.33f35a18.js";import{F as W}from"./PhSignOut.vue.b806976f.js";import{u as q}from"./editor.c70395a0.js";import{N as R}from"./NavbarControls.948aa1fc.js";import{_ as T}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js";import{I as O,G as X}from"./PhIdentificationBadge.vue.45493857.js";import{G as Y}from"./PhCaretRight.vue.d23111f3.js";import{G as J}from"./PhFlowArrow.vue.9bde0f49.js";import{G as K}from"./PhKanban.vue.2acea65f.js";import{b as Q}from"./index.6db53852.js";import"./workspaceStore.be837912.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./asyncComputed.c677c545.js";import"./CloseCircleOutlined.1d6fe2b1.js";import"./index.f014adef.js";import"./index.241ee38a.js";import"./workspaces.91ed8c72.js";import"./record.075b7d45.js";import"./popupNotifcation.7fc1aee0.js";import"./PhArrowSquareOut.vue.03bd374b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js";import"./BookOutlined.767e0e7a.js";import"./PhChats.vue.b6dd7b5a.js";import"./Logo.389f375b.js";import"./index.8f5819bb.js";import"./Avatar.dcb46dd7.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[o]="90dc3a2c-9a46-4193-93b7-162855ded691",u._sentryDebugIdIdentifier="sentry-dbid-90dc3a2c-9a46-4193-93b7-162855ded691")}catch{}})();const U=["width","height","fill","transform"],a0={key:0},e0=t("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,24V84H44V60ZM44,196V108H212v88Z"},null,-1),l0=[e0],t0={key:1},o0=t("path",{d:"M224,56V96H32V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),r0=t("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"},null,-1),i0=[o0,r0],n0={key:2},s0=t("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Z"},null,-1),d0=[s0],u0={key:3},m0=t("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V90H38V56A2,2,0,0,1,40,54ZM216,202H40a2,2,0,0,1-2-2V102H218v98A2,2,0,0,1,216,202Z"},null,-1),h0=[m0],p0={key:4},v0=t("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"},null,-1),c0=[v0],V0={key:5},g0=t("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V92H36V56A4,4,0,0,1,40,52ZM216,204H40a4,4,0,0,1-4-4V100H220V200A4,4,0,0,1,216,204Z"},null,-1),Z0=[g0],$0={name:"PhBrowser"},y0=y({...$0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",a0,l0)):r.value==="duotone"?(e(),l("g",t0,i0)):r.value==="fill"?(e(),l("g",n0,d0)):r.value==="light"?(e(),l("g",u0,h0)):r.value==="regular"?(e(),l("g",p0,c0)):r.value==="thin"?(e(),l("g",V0,Z0)):f("",!0)],16,U))}}),f0=["width","height","fill","transform"],A0={key:0},_0=t("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"},null,-1),M0=[_0],w0={key:1},H0=t("path",{d:"M160,48V208L80,128Z",opacity:"0.2"},null,-1),k0=t("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"},null,-1),b0=[H0,k0],x0={key:2},L0=t("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"},null,-1),S0=[L0],C0={key:3},z0=t("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"},null,-1),B0=[z0],P0={key:4},N0=t("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"},null,-1),j0=[N0],D0={key:5},I0=t("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"},null,-1),F0=[I0],G0={name:"PhCaretLeft"},E0=y({...G0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",A0,M0)):r.value==="duotone"?(e(),l("g",w0,b0)):r.value==="fill"?(e(),l("g",x0,S0)):r.value==="light"?(e(),l("g",C0,B0)):r.value==="regular"?(e(),l("g",P0,j0)):r.value==="thin"?(e(),l("g",D0,F0)):f("",!0)],16,f0))}}),W0=["width","height","fill","transform"],q0={key:0},R0=t("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z"},null,-1),T0=[R0],O0={key:1},X0=t("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"},null,-1),Y0=t("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1),J0=[X0,Y0],K0={key:2},Q0=t("path",{d:"M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z"},null,-1),U0=[Q0],a1={key:3},e1=t("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z"},null,-1),l1=[e1],t1={key:4},o1=t("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1),r1=[o1],i1={key:5},n1=t("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z"},null,-1),s1=[n1],d1={name:"PhCloud"},u1=y({...d1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",q0,T0)):r.value==="duotone"?(e(),l("g",O0,J0)):r.value==="fill"?(e(),l("g",K0,U0)):r.value==="light"?(e(),l("g",a1,l1)):r.value==="regular"?(e(),l("g",t1,r1)):r.value==="thin"?(e(),l("g",i1,s1)):f("",!0)],16,W0))}}),m1=["width","height","fill","transform"],h1={key:0},p1=t("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212H172a12,12,0,0,0,0,24h28a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM64,140H48a12,12,0,0,0-12,12v56a12,12,0,0,0,24,0v-4h4a32,32,0,0,0,0-64Zm0,40H60V164h4a8,8,0,0,1,0,16Zm80,7.44V208a12,12,0,0,1-24,0V187.44l-18.18-29.08a12,12,0,0,1,20.36-12.72L132,161.36l9.82-15.72a12,12,0,0,1,20.36,12.72Z"},null,-1),v1=[p1],c1={key:1},V1=t("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),g1=t("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H168a8,8,0,0,0,0,16h32a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM64,144H48a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40H56V160h8a12,12,0,0,1,0,24Zm90.78-27.76-18.78,30V208a8,8,0,0,1-16,0V186.29l-18.78-30a8,8,0,1,1,13.56-8.48L128,168.91l13.22-21.15a8,8,0,1,1,13.56,8.48Z"},null,-1),Z1=[V1,g1],$1={key:2},y1=t("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H172a4,4,0,0,1,4,4V228a4,4,0,0,0,4,4h20a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184Zm91-27.48L136,186.29v21.44a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V186.29l-18.61-29.77a8.22,8.22,0,0,1,2.16-11.17,8,8,0,0,1,11.23,2.41L128,168.91l13.22-21.15a8,8,0,0,1,11.23-2.41A8.22,8.22,0,0,1,154.61,156.52Z"},null,-1),f1=[y1],A1={key:3},_1=t("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2H168a6,6,0,0,0,0,12h32a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM64,146H48a6,6,0,0,0-6,6v56a6,6,0,0,0,12,0V198H64a26,26,0,0,0,0-52Zm0,40H54V158H64a14,14,0,0,1,0,28Zm89.09-30.82L134,185.72V208a6,6,0,0,1-12,0V185.72l-19.09-30.54a6,6,0,0,1,10.18-6.36L128,172.68l14.91-23.86a6,6,0,0,1,10.18,6.36Z"},null,-1),M1=[_1],w1={key:4},H1=t("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H168a8,8,0,0,0,0,16h32a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM64,144H48a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40H56V160h8a12,12,0,0,1,0,24Zm90.78-27.76-18.78,30V208a8,8,0,0,1-16,0V186.29l-18.78-30a8,8,0,1,1,13.56-8.48L128,168.91l13.22-21.15a8,8,0,1,1,13.56,8.48Z"},null,-1),k1=[H1],b1={key:5},x1=t("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4H168a4,4,0,0,0,0,8h32a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM64,148H48a4,4,0,0,0-4,4v56a4,4,0,0,0,8,0V196H64a24,24,0,0,0,0-48Zm0,40H52V156H64a16,16,0,0,1,0,32Zm87.39-33.88-19.39,31V208a4,4,0,0,1-8,0V185.15l-19.39-31a4,4,0,0,1,6.78-4.24L128,176.45l16.61-26.57a4,4,0,1,1,6.78,4.24Z"},null,-1),L1=[x1],S1={name:"PhFilePy"},C1=y({...S1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",h1,v1)):r.value==="duotone"?(e(),l("g",c1,Z1)):r.value==="fill"?(e(),l("g",$1,f1)):r.value==="light"?(e(),l("g",A1,M1)):r.value==="regular"?(e(),l("g",w1,k1)):r.value==="thin"?(e(),l("g",b1,L1)):f("",!0)],16,m1))}}),z1=["width","height","fill","transform"],B1={key:0},P1=t("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,178.57,87.73l-72-39.42Zm0,78.83L56,76,81.56,62l72,39.41ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l24-13.13V152a12,12,0,0,0,24,0V109.92l24-13.13v76.65Z"},null,-1),N1=[P1],j1={key:1},D1=t("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.18a8,8,0,0,1-4.16-7V80.18a8,8,0,0,1,.7-3.25Z",opacity:"0.2"},null,-1),I1=t("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"},null,-1),F1=[D1,I1],G1={key:2},E1=t("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.35,44L178.57,92.29l-80.35-44Zm0,88L47.65,76,81.56,57.43l80.35,44Zm88,55.85h0l-80,43.79V133.83l32-17.51V152a8,8,0,0,0,16,0V107.56l32-17.51v85.76Z"},null,-1),W1=[E1],q1={key:3},R1=t("path",{d:"M222.72,67.91l-88-48.18a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.91ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,178.57,94.57,94.05,48.31ZM122,223,39,177.57a2,2,0,0,1-1-1.75V86.66l84,46ZM43.49,76,81.56,55.15l84.51,46.26L128,122.24ZM218,175.82a2,2,0,0,1-1,1.75h0L134,223V132.64l36-19.71V152a6,6,0,0,0,12,0V106.37l36-19.71Z"},null,-1),T1=[R1],O1={key:4},X1=t("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"},null,-1),Y1=[X1],J1={key:5},K1=t("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,178.5,96.89a4,4,0,0,0-.58-.4l-88-48.18Zm1.92,96L39.33,76,81.56,52.87l88.67,48.54Zm-89.92,54.8a4,4,0,0,1-2.08-3.5V83.29l88,48.16v94.91Zm179.84,0h0l-85.92,47V131.45l40-21.89V152a4,4,0,0,0,8,0V105.18l40-21.89v92.53A4,4,0,0,1,217.92,179.32Z"},null,-1),Q1=[K1],U1={name:"PhPackage"},a2=y({...U1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",B1,N1)):r.value==="duotone"?(e(),l("g",j1,F1)):r.value==="fill"?(e(),l("g",G1,W1)):r.value==="light"?(e(),l("g",q1,T1)):r.value==="regular"?(e(),l("g",O1,Y1)):r.value==="thin"?(e(),l("g",J1,Q1)):f("",!0)],16,z1))}}),e2=["width","height","fill","transform"],l2={key:0},t2=t("path",{d:"M68,102.06V40a12,12,0,0,0-24,0v62.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V169.94a36,36,0,0,0,0-67.88ZM56,148a12,12,0,1,1,12-12A12,12,0,0,1,56,148ZM164,88a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0V54.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V121.94A36.07,36.07,0,0,0,164,88Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,128,100Zm108,68a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0v94.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V201.94A36.07,36.07,0,0,0,236,168Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,200,180Z"},null,-1),o2=[t2],r2={key:1},i2=t("path",{d:"M80,136a24,24,0,1,1-24-24A24,24,0,0,1,80,136Zm48-72a24,24,0,1,0,24,24A24,24,0,0,0,128,64Zm72,80a24,24,0,1,0,24,24A24,24,0,0,0,200,144Z",opacity:"0.2"},null,-1),n2=t("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"},null,-1),s2=[i2,n2],d2={key:2},u2=t("path",{d:"M84,136a28,28,0,0,1-20,26.83V216a8,8,0,0,1-16,0V162.83a28,28,0,0,1,0-53.66V40a8,8,0,0,1,16,0v69.17A28,28,0,0,1,84,136Zm52-74.83V40a8,8,0,0,0-16,0V61.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V114.83a28,28,0,0,0,0-53.66Zm72,80V40a8,8,0,0,0-16,0V141.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V194.83a28,28,0,0,0,0-53.66Z"},null,-1),m2=[u2],h2={key:3},p2=t("path",{d:"M62,106.6V40a6,6,0,0,0-12,0v66.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V165.4a30,30,0,0,0,0-58.8ZM56,154a18,18,0,1,1,18-18A18,18,0,0,1,56,154Zm78-95.4V40a6,6,0,0,0-12,0V58.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V117.4a30,30,0,0,0,0-58.8ZM128,106a18,18,0,1,1,18-18A18,18,0,0,1,128,106Zm102,62a30.05,30.05,0,0,0-24-29.4V40a6,6,0,0,0-12,0v98.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V197.4A30.05,30.05,0,0,0,230,168Zm-30,18a18,18,0,1,1,18-18A18,18,0,0,1,200,186Z"},null,-1),v2=[p2],c2={key:4},V2=t("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"},null,-1),g2=[V2],Z2={key:5},$2=t("path",{d:"M60,108.29V40a4,4,0,0,0-8,0v68.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V163.71a28,28,0,0,0,0-55.42ZM56,156a20,20,0,1,1,20-20A20,20,0,0,1,56,156Zm76-95.71V40a4,4,0,0,0-8,0V60.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V115.71a28,28,0,0,0,0-55.42ZM128,108a20,20,0,1,1,20-20A20,20,0,0,1,128,108Zm100,60a28,28,0,0,0-24-27.71V40a4,4,0,0,0-8,0V140.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V195.71A28,28,0,0,0,228,168Zm-28,20a20,20,0,1,1,20-20A20,20,0,0,1,200,188Z"},null,-1),y2=[$2],f2={name:"PhSliders"},A2=y({...f2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",l2,o2)):r.value==="duotone"?(e(),l("g",r2,s2)):r.value==="fill"?(e(),l("g",d2,m2)):r.value==="light"?(e(),l("g",h2,v2)):r.value==="regular"?(e(),l("g",c2,g2)):r.value==="thin"?(e(),l("g",Z2,y2)):f("",!0)],16,e2))}}),_2={class:"menu-item"},M2=["href"],w2={class:"menu-item"},H2=y({__name:"CloudProjectDropdown",setup(u){const o=q();return(c,d)=>(e(),A(p(P),null,{overlay:v(()=>[g(p(S),null,{default:v(()=>[g(p(H),null,{default:v(()=>{var i;return[t("div",_2,[g(p(u1)),t("a",{href:(i=p(o).links)==null?void 0:i.project,style:{color:"black"},target:"_project"},"Open Console",8,M2)])]}),_:1}),g(p(H),{danger:"",onClick:d[0]||(d[0]=i=>p(o).deleteLogin())},{default:v(()=>[t("div",w2,[g(p(W)),w(" Logout ")])]),_:1})]),_:1})]),default:v(()=>[g(p(B),{type:"text",size:"small",class:"menu-item"},{default:v(()=>{var i;return[g(p(y0),{size:"18"}),w(" "+k((i=p(o).cloudProject)==null?void 0:i.name),1)]}),_:1})]),_:1}))}});const k2={class:"logo"},b2={key:0,class:"toggle-button"},x2={key:1,class:"toggle-button"},L2=y({__name:"Sidebar",setup(u){const o=N();function c(){var Z,V;return[(V=(Z=r.value.map(a=>a.children).flat().find(a=>a.path===o.path))==null?void 0:Z.name)!=null?V:"Workflow"]}const d=n(c),i=j(!1),$=()=>i.value=!i.value,r=n(()=>[{name:"Project",children:[{name:"Workflow",icon:J,path:"/_editor/workflow"},{name:"Stages",icon:C1,path:"/_editor/stages"},{name:"Threads",icon:K,path:"/_editor/threads"}]},{name:"Settings",children:[{name:"Preferences",icon:A2,path:"/_editor/preferences"},{name:"Requirements",icon:a2,path:"/_editor/requirements"},{name:"Env Vars",icon:O,path:"/_editor/env-vars"},{name:"Access Control",icon:X,path:"/_editor/access-control"}]}]);return(m,Z)=>{const V=C("RouterLink");return e(),l("div",{style:G({width:i.value?"80px":"200px"}),class:"sidebar"},[t("div",k2,[g(T,{"hide-text":i.value},null,8,["hide-text"])]),g(p(S),{"inline-collapsed":i.value,mode:"inline","selected-keys":d.value,style:{display:"flex","flex-direction":"column",width:"100%","flex-grow":"1",border:"none"}},{default:v(()=>[(e(!0),l(b,null,x(r.value,a=>(e(),A(p(F),{key:a.name,title:a.name},{default:v(()=>[(e(!0),l(b,null,x(a.children,h=>(e(),A(p(H),{key:h.name,role:"button",tabindex:"0",disabled:h.disabled},{icon:v(()=>[(e(),A(D(h.icon),{class:L({active:d.value.includes(h.path),disabled:h.disabled}),size:"18"},null,8,["class"]))]),default:v(()=>[h.disabled?(e(),A(p(I),{key:1,placement:"bottomLeft",title:h.tooltip},{default:v(()=>[w(k(h.name),1)]),_:2},1032,["title"])):(e(),A(V,{key:0,to:h.path,class:L({active:d.value.includes(h.path),disabled:h.disabled})},{default:v(()=>[w(k(h.name),1)]),_:2},1032,["to","class"]))]),_:2},1032,["disabled"]))),128))]),_:2},1032,["title"]))),128)),i.value?(e(),l("div",b2,[g(p(Y),{size:"20",onClick:$})])):f("",!0),i.value?f("",!0):(e(),l("div",x2,[g(p(E0),{size:"20",onClick:$})]))]),_:1},8,["inline-collapsed","selected-keys"])],4)}}});const S2=E(L2,[["__scopeId","data-v-f69aae2e"]]),C2={style:{display:"flex","align-items":"center",gap:"60px"}},n8=y({__name:"Workspace",setup(u){return(o,c)=>{const d=C("RouterView");return e(),A(z,null,{navbar:v(()=>[g(p(Q),{style:{padding:"5px 10px",border:"1px solid #f0f0f0","border-left":"0px"}},{title:v(()=>[t("div",C2,[g(H2)])]),extra:v(()=>[g(R,{"show-github-stars":""})]),_:1})]),sidebar:v(()=>[g(S2,{class:"sidebar"})]),content:v(()=>[g(d)]),_:1})}}});export{n8 as default}; -//# sourceMappingURL=Workspace.5572506a.js.map +import{B as z}from"./BaseLayout.577165c3.js";import{d as f,B as s,f as n,o as e,X as l,Z as _,R as y,e8 as M,a as t,c as A,w as v,b as g,u as p,bw as H,aF as w,by as S,e9 as k,bP as B,bN as P,ea as N,e as j,r as C,aR as b,eb as x,ec as D,ed as L,aV as I,cF as F,Y as G,$ as E}from"./vue-router.324eaed2.js";import{F as W}from"./PhSignOut.vue.d965d159.js";import{u as q}from"./editor.1b3b164b.js";import{N as R}from"./NavbarControls.414bdd58.js";import{_ as T}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js";import{I as O,G as X}from"./PhIdentificationBadge.vue.c9ecd119.js";import{G as Y}from"./PhCaretRight.vue.70c5f54b.js";import{G as J}from"./PhFlowArrow.vue.a7015891.js";import{G as K}from"./PhKanban.vue.e9ec854d.js";import{b as Q}from"./index.51467614.js";import"./workspaceStore.5977d9e8.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./asyncComputed.3916dfed.js";import"./CloseCircleOutlined.6d0d12eb.js";import"./index.0887bacc.js";import"./index.7d758831.js";import"./workspaces.a34621fe.js";import"./record.cff1707c.js";import"./popupNotifcation.5a82bc93.js";import"./PhArrowSquareOut.vue.2a1b339b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js";import"./BookOutlined.789cce39.js";import"./PhChats.vue.42699894.js";import"./Logo.bfb8cf31.js";import"./index.ea51f4a9.js";import"./Avatar.4c029798.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[o]="6ba5d322-97e6-44af-a545-6f97ad60de3c",u._sentryDebugIdIdentifier="sentry-dbid-6ba5d322-97e6-44af-a545-6f97ad60de3c")}catch{}})();const U=["width","height","fill","transform"],a0={key:0},e0=t("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,24V84H44V60ZM44,196V108H212v88Z"},null,-1),l0=[e0],t0={key:1},o0=t("path",{d:"M224,56V96H32V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),r0=t("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"},null,-1),i0=[o0,r0],n0={key:2},s0=t("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Z"},null,-1),d0=[s0],u0={key:3},m0=t("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V90H38V56A2,2,0,0,1,40,54ZM216,202H40a2,2,0,0,1-2-2V102H218v98A2,2,0,0,1,216,202Z"},null,-1),h0=[m0],p0={key:4},v0=t("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"},null,-1),c0=[v0],V0={key:5},g0=t("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V92H36V56A4,4,0,0,1,40,52ZM216,204H40a4,4,0,0,1-4-4V100H220V200A4,4,0,0,1,216,204Z"},null,-1),Z0=[g0],$0={name:"PhBrowser"},f0=f({...$0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",a0,l0)):r.value==="duotone"?(e(),l("g",t0,i0)):r.value==="fill"?(e(),l("g",n0,d0)):r.value==="light"?(e(),l("g",u0,h0)):r.value==="regular"?(e(),l("g",p0,c0)):r.value==="thin"?(e(),l("g",V0,Z0)):y("",!0)],16,U))}}),y0=["width","height","fill","transform"],A0={key:0},_0=t("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"},null,-1),M0=[_0],w0={key:1},H0=t("path",{d:"M160,48V208L80,128Z",opacity:"0.2"},null,-1),k0=t("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"},null,-1),b0=[H0,k0],x0={key:2},L0=t("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"},null,-1),S0=[L0],C0={key:3},z0=t("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"},null,-1),B0=[z0],P0={key:4},N0=t("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"},null,-1),j0=[N0],D0={key:5},I0=t("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"},null,-1),F0=[I0],G0={name:"PhCaretLeft"},E0=f({...G0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",A0,M0)):r.value==="duotone"?(e(),l("g",w0,b0)):r.value==="fill"?(e(),l("g",x0,S0)):r.value==="light"?(e(),l("g",C0,B0)):r.value==="regular"?(e(),l("g",P0,j0)):r.value==="thin"?(e(),l("g",D0,F0)):y("",!0)],16,y0))}}),W0=["width","height","fill","transform"],q0={key:0},R0=t("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z"},null,-1),T0=[R0],O0={key:1},X0=t("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"},null,-1),Y0=t("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1),J0=[X0,Y0],K0={key:2},Q0=t("path",{d:"M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z"},null,-1),U0=[Q0],a1={key:3},e1=t("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z"},null,-1),l1=[e1],t1={key:4},o1=t("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1),r1=[o1],i1={key:5},n1=t("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z"},null,-1),s1=[n1],d1={name:"PhCloud"},u1=f({...d1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",q0,T0)):r.value==="duotone"?(e(),l("g",O0,J0)):r.value==="fill"?(e(),l("g",K0,U0)):r.value==="light"?(e(),l("g",a1,l1)):r.value==="regular"?(e(),l("g",t1,r1)):r.value==="thin"?(e(),l("g",i1,s1)):y("",!0)],16,W0))}}),m1=["width","height","fill","transform"],h1={key:0},p1=t("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212H172a12,12,0,0,0,0,24h28a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM64,140H48a12,12,0,0,0-12,12v56a12,12,0,0,0,24,0v-4h4a32,32,0,0,0,0-64Zm0,40H60V164h4a8,8,0,0,1,0,16Zm80,7.44V208a12,12,0,0,1-24,0V187.44l-18.18-29.08a12,12,0,0,1,20.36-12.72L132,161.36l9.82-15.72a12,12,0,0,1,20.36,12.72Z"},null,-1),v1=[p1],c1={key:1},V1=t("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),g1=t("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H168a8,8,0,0,0,0,16h32a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM64,144H48a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40H56V160h8a12,12,0,0,1,0,24Zm90.78-27.76-18.78,30V208a8,8,0,0,1-16,0V186.29l-18.78-30a8,8,0,1,1,13.56-8.48L128,168.91l13.22-21.15a8,8,0,1,1,13.56,8.48Z"},null,-1),Z1=[V1,g1],$1={key:2},f1=t("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H172a4,4,0,0,1,4,4V228a4,4,0,0,0,4,4h20a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184Zm91-27.48L136,186.29v21.44a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V186.29l-18.61-29.77a8.22,8.22,0,0,1,2.16-11.17,8,8,0,0,1,11.23,2.41L128,168.91l13.22-21.15a8,8,0,0,1,11.23-2.41A8.22,8.22,0,0,1,154.61,156.52Z"},null,-1),y1=[f1],A1={key:3},_1=t("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2H168a6,6,0,0,0,0,12h32a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM64,146H48a6,6,0,0,0-6,6v56a6,6,0,0,0,12,0V198H64a26,26,0,0,0,0-52Zm0,40H54V158H64a14,14,0,0,1,0,28Zm89.09-30.82L134,185.72V208a6,6,0,0,1-12,0V185.72l-19.09-30.54a6,6,0,0,1,10.18-6.36L128,172.68l14.91-23.86a6,6,0,0,1,10.18,6.36Z"},null,-1),M1=[_1],w1={key:4},H1=t("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H168a8,8,0,0,0,0,16h32a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM64,144H48a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40H56V160h8a12,12,0,0,1,0,24Zm90.78-27.76-18.78,30V208a8,8,0,0,1-16,0V186.29l-18.78-30a8,8,0,1,1,13.56-8.48L128,168.91l13.22-21.15a8,8,0,1,1,13.56,8.48Z"},null,-1),k1=[H1],b1={key:5},x1=t("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4H168a4,4,0,0,0,0,8h32a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM64,148H48a4,4,0,0,0-4,4v56a4,4,0,0,0,8,0V196H64a24,24,0,0,0,0-48Zm0,40H52V156H64a16,16,0,0,1,0,32Zm87.39-33.88-19.39,31V208a4,4,0,0,1-8,0V185.15l-19.39-31a4,4,0,0,1,6.78-4.24L128,176.45l16.61-26.57a4,4,0,1,1,6.78,4.24Z"},null,-1),L1=[x1],S1={name:"PhFilePy"},C1=f({...S1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",h1,v1)):r.value==="duotone"?(e(),l("g",c1,Z1)):r.value==="fill"?(e(),l("g",$1,y1)):r.value==="light"?(e(),l("g",A1,M1)):r.value==="regular"?(e(),l("g",w1,k1)):r.value==="thin"?(e(),l("g",b1,L1)):y("",!0)],16,m1))}}),z1=["width","height","fill","transform"],B1={key:0},P1=t("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,178.57,87.73l-72-39.42Zm0,78.83L56,76,81.56,62l72,39.41ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l24-13.13V152a12,12,0,0,0,24,0V109.92l24-13.13v76.65Z"},null,-1),N1=[P1],j1={key:1},D1=t("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.18a8,8,0,0,1-4.16-7V80.18a8,8,0,0,1,.7-3.25Z",opacity:"0.2"},null,-1),I1=t("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"},null,-1),F1=[D1,I1],G1={key:2},E1=t("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.35,44L178.57,92.29l-80.35-44Zm0,88L47.65,76,81.56,57.43l80.35,44Zm88,55.85h0l-80,43.79V133.83l32-17.51V152a8,8,0,0,0,16,0V107.56l32-17.51v85.76Z"},null,-1),W1=[E1],q1={key:3},R1=t("path",{d:"M222.72,67.91l-88-48.18a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.91ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,178.57,94.57,94.05,48.31ZM122,223,39,177.57a2,2,0,0,1-1-1.75V86.66l84,46ZM43.49,76,81.56,55.15l84.51,46.26L128,122.24ZM218,175.82a2,2,0,0,1-1,1.75h0L134,223V132.64l36-19.71V152a6,6,0,0,0,12,0V106.37l36-19.71Z"},null,-1),T1=[R1],O1={key:4},X1=t("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"},null,-1),Y1=[X1],J1={key:5},K1=t("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,178.5,96.89a4,4,0,0,0-.58-.4l-88-48.18Zm1.92,96L39.33,76,81.56,52.87l88.67,48.54Zm-89.92,54.8a4,4,0,0,1-2.08-3.5V83.29l88,48.16v94.91Zm179.84,0h0l-85.92,47V131.45l40-21.89V152a4,4,0,0,0,8,0V105.18l40-21.89v92.53A4,4,0,0,1,217.92,179.32Z"},null,-1),Q1=[K1],U1={name:"PhPackage"},a2=f({...U1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",B1,N1)):r.value==="duotone"?(e(),l("g",j1,F1)):r.value==="fill"?(e(),l("g",G1,W1)):r.value==="light"?(e(),l("g",q1,T1)):r.value==="regular"?(e(),l("g",O1,Y1)):r.value==="thin"?(e(),l("g",J1,Q1)):y("",!0)],16,z1))}}),e2=["width","height","fill","transform"],l2={key:0},t2=t("path",{d:"M68,102.06V40a12,12,0,0,0-24,0v62.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V169.94a36,36,0,0,0,0-67.88ZM56,148a12,12,0,1,1,12-12A12,12,0,0,1,56,148ZM164,88a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0V54.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V121.94A36.07,36.07,0,0,0,164,88Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,128,100Zm108,68a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0v94.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V201.94A36.07,36.07,0,0,0,236,168Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,200,180Z"},null,-1),o2=[t2],r2={key:1},i2=t("path",{d:"M80,136a24,24,0,1,1-24-24A24,24,0,0,1,80,136Zm48-72a24,24,0,1,0,24,24A24,24,0,0,0,128,64Zm72,80a24,24,0,1,0,24,24A24,24,0,0,0,200,144Z",opacity:"0.2"},null,-1),n2=t("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"},null,-1),s2=[i2,n2],d2={key:2},u2=t("path",{d:"M84,136a28,28,0,0,1-20,26.83V216a8,8,0,0,1-16,0V162.83a28,28,0,0,1,0-53.66V40a8,8,0,0,1,16,0v69.17A28,28,0,0,1,84,136Zm52-74.83V40a8,8,0,0,0-16,0V61.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V114.83a28,28,0,0,0,0-53.66Zm72,80V40a8,8,0,0,0-16,0V141.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V194.83a28,28,0,0,0,0-53.66Z"},null,-1),m2=[u2],h2={key:3},p2=t("path",{d:"M62,106.6V40a6,6,0,0,0-12,0v66.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V165.4a30,30,0,0,0,0-58.8ZM56,154a18,18,0,1,1,18-18A18,18,0,0,1,56,154Zm78-95.4V40a6,6,0,0,0-12,0V58.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V117.4a30,30,0,0,0,0-58.8ZM128,106a18,18,0,1,1,18-18A18,18,0,0,1,128,106Zm102,62a30.05,30.05,0,0,0-24-29.4V40a6,6,0,0,0-12,0v98.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V197.4A30.05,30.05,0,0,0,230,168Zm-30,18a18,18,0,1,1,18-18A18,18,0,0,1,200,186Z"},null,-1),v2=[p2],c2={key:4},V2=t("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"},null,-1),g2=[V2],Z2={key:5},$2=t("path",{d:"M60,108.29V40a4,4,0,0,0-8,0v68.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V163.71a28,28,0,0,0,0-55.42ZM56,156a20,20,0,1,1,20-20A20,20,0,0,1,56,156Zm76-95.71V40a4,4,0,0,0-8,0V60.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V115.71a28,28,0,0,0,0-55.42ZM128,108a20,20,0,1,1,20-20A20,20,0,0,1,128,108Zm100,60a28,28,0,0,0-24-27.71V40a4,4,0,0,0-8,0V140.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V195.71A28,28,0,0,0,228,168Zm-28,20a20,20,0,1,1,20-20A20,20,0,0,1,200,188Z"},null,-1),f2=[$2],y2={name:"PhSliders"},A2=f({...y2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const o=u,c=s("weight","regular"),d=s("size","1em"),i=s("color","currentColor"),$=s("mirrored",!1),r=n(()=>{var a;return(a=o.weight)!=null?a:c}),m=n(()=>{var a;return(a=o.size)!=null?a:d}),Z=n(()=>{var a;return(a=o.color)!=null?a:i}),V=n(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:$?"scale(-1, 1)":void 0);return(a,h)=>(e(),l("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:Z.value,transform:V.value},a.$attrs),[_(a.$slots,"default"),r.value==="bold"?(e(),l("g",l2,o2)):r.value==="duotone"?(e(),l("g",r2,s2)):r.value==="fill"?(e(),l("g",d2,m2)):r.value==="light"?(e(),l("g",h2,v2)):r.value==="regular"?(e(),l("g",c2,g2)):r.value==="thin"?(e(),l("g",Z2,f2)):y("",!0)],16,e2))}}),_2={class:"menu-item"},M2=["href"],w2={class:"menu-item"},H2=f({__name:"CloudProjectDropdown",setup(u){const o=q();return(c,d)=>(e(),A(p(P),null,{overlay:v(()=>[g(p(S),null,{default:v(()=>[g(p(H),null,{default:v(()=>{var i;return[t("div",_2,[g(p(u1)),t("a",{href:(i=p(o).links)==null?void 0:i.project,style:{color:"black"},target:"_project"},"Open Console",8,M2)])]}),_:1}),g(p(H),{danger:"",onClick:d[0]||(d[0]=i=>p(o).deleteLogin())},{default:v(()=>[t("div",w2,[g(p(W)),w(" Logout ")])]),_:1})]),_:1})]),default:v(()=>[g(p(B),{type:"text",size:"small",class:"menu-item"},{default:v(()=>{var i;return[g(p(f0),{size:"18"}),w(" "+k((i=p(o).cloudProject)==null?void 0:i.name),1)]}),_:1})]),_:1}))}});const k2={class:"logo"},b2={key:0,class:"toggle-button"},x2={key:1,class:"toggle-button"},L2=f({__name:"Sidebar",setup(u){const o=N();function c(){var Z,V;return[(V=(Z=r.value.map(a=>a.children).flat().find(a=>a.path===o.path))==null?void 0:Z.name)!=null?V:"Workflow"]}const d=n(c),i=j(!1),$=()=>i.value=!i.value,r=n(()=>[{name:"Project",children:[{name:"Workflow",icon:J,path:"/_editor/workflow"},{name:"Stages",icon:C1,path:"/_editor/stages"},{name:"Threads",icon:K,path:"/_editor/threads"}]},{name:"Settings",children:[{name:"Preferences",icon:A2,path:"/_editor/preferences"},{name:"Requirements",icon:a2,path:"/_editor/requirements"},{name:"Env Vars",icon:O,path:"/_editor/env-vars"},{name:"Access Control",icon:X,path:"/_editor/access-control"}]}]);return(m,Z)=>{const V=C("RouterLink");return e(),l("div",{style:G({width:i.value?"80px":"200px"}),class:"sidebar"},[t("div",k2,[g(T,{"hide-text":i.value},null,8,["hide-text"])]),g(p(S),{"inline-collapsed":i.value,mode:"inline","selected-keys":d.value,style:{display:"flex","flex-direction":"column",width:"100%","flex-grow":"1",border:"none"}},{default:v(()=>[(e(!0),l(b,null,x(r.value,a=>(e(),A(p(F),{key:a.name,title:a.name},{default:v(()=>[(e(!0),l(b,null,x(a.children,h=>(e(),A(p(H),{key:h.name,role:"button",tabindex:"0",disabled:h.disabled},{icon:v(()=>[(e(),A(D(h.icon),{class:L({active:d.value.includes(h.path),disabled:h.disabled}),size:"18"},null,8,["class"]))]),default:v(()=>[h.disabled?(e(),A(p(I),{key:1,placement:"bottomLeft",title:h.tooltip},{default:v(()=>[w(k(h.name),1)]),_:2},1032,["title"])):(e(),A(V,{key:0,to:h.path,class:L({active:d.value.includes(h.path),disabled:h.disabled})},{default:v(()=>[w(k(h.name),1)]),_:2},1032,["to","class"]))]),_:2},1032,["disabled"]))),128))]),_:2},1032,["title"]))),128)),i.value?(e(),l("div",b2,[g(p(Y),{size:"20",onClick:$})])):y("",!0),i.value?y("",!0):(e(),l("div",x2,[g(p(E0),{size:"20",onClick:$})]))]),_:1},8,["inline-collapsed","selected-keys"])],4)}}});const S2=E(L2,[["__scopeId","data-v-f69aae2e"]]),C2={style:{display:"flex","align-items":"center",gap:"60px"}},n8=f({__name:"Workspace",setup(u){return(o,c)=>{const d=C("RouterView");return e(),A(z,null,{navbar:v(()=>[g(p(Q),{style:{padding:"5px 10px",border:"1px solid #f0f0f0","border-left":"0px"}},{title:v(()=>[t("div",C2,[g(H2)])]),extra:v(()=>[g(R,{"show-github-stars":""})]),_:1})]),sidebar:v(()=>[g(S2,{class:"sidebar"})]),content:v(()=>[g(d)]),_:1})}}});export{n8 as default}; +//# sourceMappingURL=Workspace.ba58b63f.js.map diff --git a/abstra_statics/dist/assets/ant-design.51753590.js b/abstra_statics/dist/assets/ant-design.48401d91.js similarity index 59% rename from abstra_statics/dist/assets/ant-design.51753590.js rename to abstra_statics/dist/assets/ant-design.48401d91.js index e244234d69..e7853e9317 100644 --- a/abstra_statics/dist/assets/ant-design.51753590.js +++ b/abstra_statics/dist/assets/ant-design.48401d91.js @@ -1,2 +1,2 @@ -import{ej as n,cH as b}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b7a705e8-4c8f-45f4-8871-d0257d22db3a",e._sentryDebugIdIdentifier="sentry-dbid-b7a705e8-4c8f-45f4-8871-d0257d22db3a")}catch{}})();function u(e){return n.exports.isArray(e)?e.length===0?"[ ]":"[ ... ]":n.exports.isObject(e)?Object.keys(e).length===0?"{ }":"{ ... }":n.exports.isString(e)?`'${e}'`:n.exports.isUndefined(e)||n.exports.isNull(e)?"None":e===!0?"True":e===!1?"False":`${e}`}function c(e){if(n.exports.isArray(e))return"array";if(n.exports.isObject(e))return"object";throw new Error("treeKey called with non-object and non-array")}function o(e,r=[],t){const l=t?`'${t}': ${u(e)}`:u(e);if(n.exports.isArray(e)){const i=c(e);return[{title:l,key:[...r,i].join("/"),children:e.flatMap((s,f)=>o(s,[...r,i,`${f}`]))}]}else if(n.exports.isObject(e)){const i=c(e);return[{title:l,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([s,f])=>o(f,[...r,i,s],s))}]}else return[{title:l,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{b.confirm({title:e,onOk:()=>t(!0),okText:r==null?void 0:r.okText,onCancel:()=>t(!1),cancelText:r==null?void 0:r.cancelText})})}export{x as a,o as t}; -//# sourceMappingURL=ant-design.51753590.js.map +import{ej as n,cH as b}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c290b5c2-1e7e-4312-9841-67eb39b20f94",e._sentryDebugIdIdentifier="sentry-dbid-c290b5c2-1e7e-4312-9841-67eb39b20f94")}catch{}})();function c(e){return n.exports.isArray(e)?e.length===0?"[ ]":"[ ... ]":n.exports.isObject(e)?Object.keys(e).length===0?"{ }":"{ ... }":n.exports.isString(e)?`'${e}'`:n.exports.isUndefined(e)||n.exports.isNull(e)?"None":e===!0?"True":e===!1?"False":`${e}`}function u(e){if(n.exports.isArray(e))return"array";if(n.exports.isObject(e))return"object";throw new Error("treeKey called with non-object and non-array")}function o(e,r=[],t){const l=t?`'${t}': ${c(e)}`:c(e);if(n.exports.isArray(e)){const i=u(e);return[{title:l,key:[...r,i].join("/"),children:e.flatMap((s,f)=>o(s,[...r,i,`${f}`]))}]}else if(n.exports.isObject(e)){const i=u(e);return[{title:l,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([s,f])=>o(f,[...r,i,s],s))}]}else return[{title:l,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{b.confirm({title:e,onOk:()=>t(!0),okText:r==null?void 0:r.okText,onCancel:()=>t(!1),cancelText:r==null?void 0:r.cancelText})})}export{x as a,o as t}; +//# sourceMappingURL=ant-design.48401d91.js.map diff --git a/abstra_statics/dist/assets/api.9a4e5329.js b/abstra_statics/dist/assets/api.bbc4c8cb.js similarity index 66% rename from abstra_statics/dist/assets/api.9a4e5329.js rename to abstra_statics/dist/assets/api.bbc4c8cb.js index cbf3e396bd..d72e37d07f 100644 --- a/abstra_statics/dist/assets/api.9a4e5329.js +++ b/abstra_statics/dist/assets/api.bbc4c8cb.js @@ -1,2 +1,2 @@ -import{l as r}from"./fetch.3971ea84.js";import{N as t}from"./vue-router.33f35a18.js";import{w as i}from"./metadata.bccf44f5.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="06a4c0f1-0f2a-4222-aa02-e83b382e1a72",o._sentryDebugIdIdentifier="sentry-dbid-06a4c0f1-0f2a-4222-aa02-e83b382e1a72")}catch{}})();const l=i.stages.flatMap(o=>o.transitions.flatMap(e=>e.typeName)),c=t.object({type:t.enum(["forms","hooks","jobs","scripts","conditions","iterators"]),id:t.string(),title:t.string(),position:t.object({x:t.number(),y:t.number()}),props:t.object({path:t.string().nullable(),filename:t.string().nullable(),variableName:t.string().nullable(),itemName:t.string().nullable()})}),d=t.object({id:t.string(),type:t.enum(["forms:finished",...l]),sourceStageId:t.string(),targetStageId:t.string(),props:t.object({conditionValue:t.string().nullable()})}),s=t.object({stages:t.array(c),transitions:t.array(d)}),f={"Content-Type":"application/json"},b="abstra-run-id";class p{async load(){const e=await fetch("/_editor/api/workflows");if(e.ok){const a=await e.json();return s.parse(a)}else throw new Error("Failed to fetch initial data")}async update(e){const a=await fetch("/_editor/api/workflows",{method:"PUT",headers:f,body:JSON.stringify(e)});if(a.ok){const n=await a.json();return s.parse(n)}else throw new Error("Failed to update workflow")}}const y=new p;class g{constructor(e,a=r){this.authHeaders=e,this.fetch=a}get headers(){return{"Content-Type":"application/json",...this.authHeaders}}async load(){const e=await this.fetch("/_workflows",{headers:this.headers});if(e.ok){const a=await e.json();return s.parse(a)}else throw new Error("Failed to fetch initial data")}async update(e){throw new Error("not implemented")}}export{b as A,p as E,g as P,y as w}; -//# sourceMappingURL=api.9a4e5329.js.map +import{l as r}from"./fetch.42a41b34.js";import{N as t}from"./vue-router.324eaed2.js";import{w as i}from"./metadata.4c5c5434.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="e3abc6e5-2800-4da2-9778-172e904a6ec9",o._sentryDebugIdIdentifier="sentry-dbid-e3abc6e5-2800-4da2-9778-172e904a6ec9")}catch{}})();const l=i.stages.flatMap(o=>o.transitions.flatMap(e=>e.typeName)),c=t.object({type:t.enum(["forms","hooks","jobs","scripts","conditions","iterators"]),id:t.string(),title:t.string(),position:t.object({x:t.number(),y:t.number()}),props:t.object({path:t.string().nullable(),filename:t.string().nullable(),variableName:t.string().nullable(),itemName:t.string().nullable()})}),d=t.object({id:t.string(),type:t.enum(["forms:finished",...l]),sourceStageId:t.string(),targetStageId:t.string(),props:t.object({conditionValue:t.string().nullable()})}),s=t.object({stages:t.array(c),transitions:t.array(d)}),p={"Content-Type":"application/json"},b="abstra-run-id";class w{async load(){const e=await fetch("/_editor/api/workflows");if(e.ok){const a=await e.json();return s.parse(a)}else throw new Error("Failed to fetch initial data")}async update(e){const a=await fetch("/_editor/api/workflows",{method:"PUT",headers:p,body:JSON.stringify(e)});if(a.ok){const n=await a.json();return s.parse(n)}else throw new Error("Failed to update workflow")}}const y=new w;class g{constructor(e,a=r){this.authHeaders=e,this.fetch=a}get headers(){return{"Content-Type":"application/json",...this.authHeaders}}async load(){const e=await this.fetch("/_workflows",{headers:this.headers});if(e.ok){const a=await e.json();return s.parse(a)}else throw new Error("Failed to fetch initial data")}async update(e){throw new Error("not implemented")}}export{b as A,w as E,g as P,y as w}; +//# sourceMappingURL=api.bbc4c8cb.js.map diff --git a/abstra_statics/dist/assets/apiKey.084f4c6e.js b/abstra_statics/dist/assets/apiKey.084f4c6e.js new file mode 100644 index 0000000000..b7c0850784 --- /dev/null +++ b/abstra_statics/dist/assets/apiKey.084f4c6e.js @@ -0,0 +1,2 @@ +var c=Object.defineProperty;var o=(s,t,e)=>t in s?c(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var d=(s,t,e)=>(o(s,typeof t!="symbol"?t+"":t,e),e);import{C as r}from"./gateway.edd4374b.js";import"./vue-router.324eaed2.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="5679cb1e-b38f-450d-a038-1822fec41360",s._sentryDebugIdIdentifier="sentry-dbid-5679cb1e-b38f-450d-a038-1822fec41360")}catch{}})();class u{constructor(){d(this,"urlPath","api-keys")}async create({projectId:t,name:e}){return r.post(`projects/${t}/${this.urlPath}`,{name:e})}async delete(t,e){await r.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t){return r.get(`projects/${t}/${this.urlPath}`)}}const a=new u;class n{constructor(t){this.dto=t}static async list(t){return(await a.list(t)).map(i=>new n(i))}static async create(t){const e=await a.create(t);return new n(e)}static async delete(t,e){await a.delete(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get createdAt(){return new Date(this.dto.createdAt)}get ownerId(){return this.dto.createdBy}get value(){var t;return(t=this.dto.value)!=null?t:null}}export{n as A}; +//# sourceMappingURL=apiKey.084f4c6e.js.map diff --git a/abstra_statics/dist/assets/apiKey.c5bb4529.js b/abstra_statics/dist/assets/apiKey.c5bb4529.js deleted file mode 100644 index 05e5c442d3..0000000000 --- a/abstra_statics/dist/assets/apiKey.c5bb4529.js +++ /dev/null @@ -1,2 +0,0 @@ -var c=Object.defineProperty;var o=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var d=(a,t,e)=>(o(a,typeof t!="symbol"?t+"":t,e),e);import{C as s}from"./gateway.a5388860.js";import"./vue-router.33f35a18.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="6ab27153-7dc5-4ac0-a3aa-9a02a105245d",a._sentryDebugIdIdentifier="sentry-dbid-6ab27153-7dc5-4ac0-a3aa-9a02a105245d")}catch{}})();class u{constructor(){d(this,"urlPath","api-keys")}async create({projectId:t,name:e}){return s.post(`projects/${t}/${this.urlPath}`,{name:e})}async delete(t,e){await s.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t){return s.get(`projects/${t}/${this.urlPath}`)}}const r=new u;class n{constructor(t){this.dto=t}static async list(t){return(await r.list(t)).map(i=>new n(i))}static async create(t){const e=await r.create(t);return new n(e)}static async delete(t,e){await r.delete(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get createdAt(){return new Date(this.dto.createdAt)}get ownerId(){return this.dto.createdBy}get value(){var t;return(t=this.dto.value)!=null?t:null}}export{n as A}; -//# sourceMappingURL=apiKey.c5bb4529.js.map diff --git a/abstra_statics/dist/assets/asyncComputed.c677c545.js b/abstra_statics/dist/assets/asyncComputed.3916dfed.js similarity index 61% rename from abstra_statics/dist/assets/asyncComputed.c677c545.js rename to abstra_statics/dist/assets/asyncComputed.3916dfed.js index cbe4bbb780..4c092c851b 100644 --- a/abstra_statics/dist/assets/asyncComputed.c677c545.js +++ b/abstra_statics/dist/assets/asyncComputed.3916dfed.js @@ -1,2 +1,2 @@ -import{Q as c,f as l}from"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="38bb96e4-5c39-4522-a223-f07a6d1e8efc",r._sentryDebugIdIdentifier="sentry-dbid-38bb96e4-5c39-4522-a223-f07a6d1e8efc")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),s=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(s));o();const u=l(()=>e.value.loading),a=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:u,result:a,error:d,refetch:o}};export{i as a}; -//# sourceMappingURL=asyncComputed.c677c545.js.map +import{Q as c,f as l}from"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="d65935fc-de28-4154-928a-c298d9020968",r._sentryDebugIdIdentifier="sentry-dbid-d65935fc-de28-4154-928a-c298d9020968")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),s=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(s));o();const u=l(()=>e.value.loading),a=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:u,result:a,error:d,refetch:o}};export{i as a}; +//# sourceMappingURL=asyncComputed.3916dfed.js.map diff --git a/abstra_statics/dist/assets/colorHelpers.aaea81c6.js b/abstra_statics/dist/assets/colorHelpers.78fae216.js similarity index 81% rename from abstra_statics/dist/assets/colorHelpers.aaea81c6.js rename to abstra_statics/dist/assets/colorHelpers.78fae216.js index 3ed14747bb..7f709de9c8 100644 --- a/abstra_statics/dist/assets/colorHelpers.aaea81c6.js +++ b/abstra_statics/dist/assets/colorHelpers.78fae216.js @@ -1,2 +1,2 @@ -import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="737155d2-2b01-49c2-91d6-85b95b53e524",t._sentryDebugIdIdentifier="sentry-dbid-737155d2-2b01-49c2-91d6-85b95b53e524")}catch{}})();function p(t,e){const{r:n,g:r,b:o,usePound:s}=g(t);return w(c(n,-e),c(r,-e),c(o,-e),s)}function c(t,e){const n=t*(100+e*100)/100;return n>255?255:n<0?0:Math.round(n)}function E(t){return t.startsWith("#")||t.match(/^(rgb|hsl)/)}const v=(t,e)=>y(p(y(t),e)),P=t=>k(t)?v(t,.1):p(t,.1);function k(t){const{r:e,g:n,b:r}=g(t);return e*.299+n*.587+r*.114<186}function g(t){let e=!1;t[0]=="#"&&(t=t.slice(1),e=!0);const n=parseInt(t,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:e}}function y(t){const{r:e,g:n,b:r,usePound:o}=g(t);return w(255-e,255-n,255-r,o)}const w=(t,e,n,r=!0)=>(r?"#":"")+(n|e<<8|t<<16).toString(16).padStart(6,"0");function _(t){return new Promise((e,n)=>{const r=document.createElement("img");r.src=t,r.crossOrigin="Anonymous",r.style.display="none",document.body.appendChild(r);let o=0;r.onerror=s=>n(new Error(`Failed to load image: ${s}`)),r.onload=()=>{const{width:s,height:l}=r,a=document.createElement("canvas");a.width=s,a.height=l;const u=a.getContext("2d");if(!u)return e(!1);u.drawImage(r,0,0);const I=u.getImageData(0,0,a.width,a.height),{data:d}=I;let f,b,h,m;for(let i=0,x=d.length;i255?255:n<0?0:Math.round(n)}function E(t){return t.startsWith("#")||t.match(/^(rgb|hsl)/)}const v=(t,e)=>y(p(y(t),e)),P=t=>k(t)?v(t,.1):p(t,.1);function k(t){const{r:e,g:n,b:r}=g(t);return e*.299+n*.587+r*.114<186}function g(t){let e=!1;t[0]=="#"&&(t=t.slice(1),e=!0);const n=parseInt(t,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:e}}function y(t){const{r:e,g:n,b:r,usePound:o}=g(t);return w(255-e,255-n,255-r,o)}const w=(t,e,n,r=!0)=>(r?"#":"")+(n|e<<8|t<<16).toString(16).padStart(6,"0");function _(t){return new Promise((e,n)=>{const r=document.createElement("img");r.src=t,r.crossOrigin="Anonymous",r.style.display="none",document.body.appendChild(r);let o=0;r.onerror=s=>n(new Error(`Failed to load image: ${s}`)),r.onload=()=>{const{width:s,height:l}=r,a=document.createElement("canvas");a.width=s,a.height=l;const u=a.getContext("2d");if(!u)return e(!1);u.drawImage(r,0,0);const I=u.getImageData(0,0,a.width,a.height),{data:d}=I;let f,b,h,m;for(let i=0,x=d.length;i()=>{t=null,e(...l)},o=function(){if(t==null){for(var l=arguments.length,s=new Array(l),d=0;d{Kt.cancel(t),t=null},o}function Rt(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Po(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function ko(e,t,n){if(n!==void 0&&t.bottomo.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},Ct.push(n),jl.forEach(o=>{n.eventHandlers[o]=In(e,o,()=>{n.affixList.forEach(l=>{const{lazyUpdatePosition:s}=l.exposed;s()},(o==="touchstart"||o==="touchmove")&&An?{passive:!0}:!1)})}))}function Eo(e){const t=Ct.find(n=>{const o=n.affixList.some(l=>l===e);return o&&(n.affixList=n.affixList.filter(l=>l!==e)),o});t&&t.affixList.length===0&&(Ct=Ct.filter(n=>n!==t),jl.forEach(n=>{const o=t.eventHandlers[n];o&&o.remove&&o.remove()}))}const _s=e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},Hs=Ce("Affix",e=>{const t=Ie(e,{zIndexPopup:e.zIndexBase+10});return[_s(t)]});function Fs(){return typeof window<"u"?window:null}var ft;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(ft||(ft={}));const Ws=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:Fs},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),Vs=U({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:Ws(),setup(e,t){let{slots:n,emit:o,expose:l,attrs:s}=t;const d=ee(),i=ee(),r=yt({affixStyle:void 0,placeholderStyle:void 0,status:ft.None,lastAffix:!1,prevTarget:null,timeout:null}),a=Bi(),c=N(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),u=N(()=>e.offsetBottom),g=()=>{const{status:T,lastAffix:A}=r,{target:x}=e;if(T!==ft.Prepare||!i.value||!d.value||!x)return;const P=x();if(!P)return;const y={status:ft.None},I=Rt(d.value);if(I.top===0&&I.left===0&&I.width===0&&I.height===0)return;const R=Rt(P),k=Po(I,R,c.value),w=ko(I,R,u.value);if(!(I.top===0&&I.left===0&&I.width===0&&I.height===0)){if(k!==void 0){const $=`${I.width}px`,O=`${I.height}px`;y.affixStyle={position:"fixed",top:k,width:$,height:O},y.placeholderStyle={width:$,height:O}}else if(w!==void 0){const $=`${I.width}px`,O=`${I.height}px`;y.affixStyle={position:"fixed",bottom:w,width:$,height:O},y.placeholderStyle={width:$,height:O}}y.lastAffix=!!y.affixStyle,A!==y.lastAffix&&o("change",y.lastAffix),h(r,y)}},v=()=>{h(r,{status:ft.Prepare,affixStyle:void 0,placeholderStyle:void 0}),a.update()},f=En(()=>{v()}),m=En(()=>{const{target:T}=e,{affixStyle:A}=r;if(T&&A){const x=T();if(x&&d.value){const P=Rt(x),y=Rt(d.value),I=Po(y,P,c.value),R=ko(y,P,u.value);if(I!==void 0&&A.top===I||R!==void 0&&A.bottom===R)return}}v()});l({updatePosition:f,lazyUpdatePosition:m}),se(()=>e.target,T=>{const A=(T==null?void 0:T())||null;r.prevTarget!==A&&(Eo(a),A&&(Oo(A,a),f()),r.prevTarget=A)}),se(()=>[e.offsetTop,e.offsetBottom],f),Qe(()=>{const{target:T}=e;T&&(r.timeout=setTimeout(()=>{Oo(T(),a),f()}))}),Zt(()=>{g()}),Mi(()=>{clearTimeout(r.timeout),Eo(a),f.cancel(),m.cancel()});const{prefixCls:C}=ve("affix",e),[b,S]=Hs(C);return()=>{var T;const{affixStyle:A,placeholderStyle:x}=r,P=G({[C.value]:A,[S.value]:!0}),y=Ne(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return b(p(Li,{onResize:f},{default:()=>[p("div",E(E(E({},y),s),{},{ref:d}),[A&&p("div",{style:x,"aria-hidden":"true"},null),p("div",{class:P,ref:i,style:A},[(T=n.default)===null||T===void 0?void 0:T.call(n)])])]}))}}}),Kl=Je(Vs);function Mt(){}const Gl=Symbol("anchorContextKey"),js=e=>{nt(Gl,e)},Ks=()=>ct(Gl,{registerLink:Mt,unregisterLink:Mt,scrollTo:Mt,activeLink:N(()=>""),handleClick:Mt,direction:N(()=>"vertical")}),Gs=js,Us=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:o,lineWidthBold:l,colorPrimary:s,lineType:d,colorSplit:i}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:h(h({},Te(e)),{position:"relative",paddingInlineStart:l,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":h(h({},Tt),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",left:{_skip_check_:!0,value:0},top:0,height:"100%",borderInlineStart:`${l}px ${d} ${i}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${o} ease-in-out`,width:l,backgroundColor:s,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},Xs=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:o,colorPrimary:l}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:o,backgroundColor:l}}}}},Ys=Ce("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:o,paddingXXS:l}=e,s=Ie(e,{holderOffsetBlock:l,anchorPaddingBlock:l,anchorPaddingBlockSecondary:l/2,anchorPaddingInline:o,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[Us(s),Xs(s)]}),qs=()=>({prefixCls:String,href:String,title:Le(),target:String,customTitleProps:Oe()}),qn=U({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:Se(qs(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t,l=null;const{handleClick:s,scrollTo:d,unregisterLink:i,registerLink:r,activeLink:a}=Ks(),{prefixCls:c}=ve("anchor",e),u=g=>{const{href:v}=e;s(g,{title:l,href:v}),d(v)};return se(()=>e.href,(g,v)=>{et(()=>{i(v),r(g)})}),Qe(()=>{r(e.href)}),Re(()=>{i(e.href)}),()=>{var g;const{href:v,target:f,title:m=n.title,customTitleProps:C={}}=e,b=c.value;l=typeof m=="function"?m(C):m;const S=a.value===v,T=G(`${b}-link`,{[`${b}-link-active`]:S},o.class),A=G(`${b}-link-title`,{[`${b}-link-title-active`]:S});return p("div",E(E({},o),{},{class:T}),[p("a",{class:A,href:v,title:typeof l=="string"?l:"",target:f,onClick:u},[n.customTitle?n.customTitle(C):l]),(g=n.default)===null||g===void 0?void 0:g.call(n)])}}});function Zs(){return window}function No(e,t){if(!e.getClientRects().length)return 0;const n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}const Ro=/#([\S ]+)$/,Js=()=>({prefixCls:String,offsetTop:Number,bounds:Number,affix:{type:Boolean,default:!0},showInkInFixed:{type:Boolean,default:!1},getContainer:Function,wrapperClass:String,wrapperStyle:{type:Object,default:void 0},getCurrentAnchor:Function,targetOffset:Number,items:ke(),direction:H.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),lt=U({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:Js(),setup(e,t){let{emit:n,attrs:o,slots:l,expose:s}=t;const{prefixCls:d,getTargetContainer:i,direction:r}=ve("anchor",e),a=N(()=>{var y;return(y=e.direction)!==null&&y!==void 0?y:"vertical"}),c=te(null),u=te(),g=yt({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),v=te(null),f=N(()=>{const{getContainer:y}=e;return y||(i==null?void 0:i.value)||Zs}),m=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const R=[],k=f.value();return g.links.forEach(w=>{const $=Ro.exec(w.toString());if(!$)return;const O=document.getElementById($[1]);if(O){const B=No(O,k);BO.top>$.top?O:$).link:""},C=y=>{const{getCurrentAnchor:I}=e;v.value!==y&&(v.value=typeof I=="function"?I(y):y,n("change",y))},b=y=>{const{offsetTop:I,targetOffset:R}=e;C(y);const k=Ro.exec(y);if(!k)return;const w=document.getElementById(k[1]);if(!w)return;const $=f.value(),O=hl($,!0),B=No(w,$);let z=O+B;z-=R!==void 0?R:I||0,g.animating=!0,gl(z,{callback:()=>{g.animating=!1},getContainer:f.value})};s({scrollTo:b});const S=()=>{if(g.animating)return;const{offsetTop:y,bounds:I,targetOffset:R}=e,k=m(R!==void 0?R:y||0,I);C(k)},T=()=>{const y=u.value.querySelector(`.${d.value}-link-title-active`);if(y&&c.value){const I=a.value==="horizontal";c.value.style.top=I?"":`${y.offsetTop+y.clientHeight/2}px`,c.value.style.height=I?"":`${y.clientHeight}px`,c.value.style.left=I?`${y.offsetLeft}px`:"",c.value.style.width=I?`${y.clientWidth}px`:"",I&&Di(y,{scrollMode:"if-needed",block:"nearest"})}};Gs({registerLink:y=>{g.links.includes(y)||g.links.push(y)},unregisterLink:y=>{const I=g.links.indexOf(y);I!==-1&&g.links.splice(I,1)},activeLink:v,scrollTo:b,handleClick:(y,I)=>{n("click",y,I)},direction:a}),Qe(()=>{et(()=>{const y=f.value();g.scrollContainer=y,g.scrollEvent=In(g.scrollContainer,"scroll",S),S()})}),Re(()=>{g.scrollEvent&&g.scrollEvent.remove()}),Zt(()=>{if(g.scrollEvent){const y=f.value();g.scrollContainer!==y&&(g.scrollContainer=y,g.scrollEvent.remove(),g.scrollEvent=In(g.scrollContainer,"scroll",S),S())}T()});const A=y=>Array.isArray(y)?y.map(I=>{const{children:R,key:k,href:w,target:$,class:O,style:B,title:z}=I;return p(qn,{key:k,href:w,target:$,class:O,style:B,title:z,customTitleProps:I},{default:()=>[a.value==="vertical"?A(R):null],customTitle:l.customTitle})}):null,[x,P]=Ys(d);return()=>{var y;const{offsetTop:I,affix:R,showInkInFixed:k}=e,w=d.value,$=G(`${w}-ink`,{[`${w}-ink-visible`]:v.value}),O=G(P.value,e.wrapperClass,`${w}-wrapper`,{[`${w}-wrapper-horizontal`]:a.value==="horizontal",[`${w}-rtl`]:r.value==="rtl"}),B=G(w,{[`${w}-fixed`]:!R&&!k}),z=h({maxHeight:I?`calc(100vh - ${I}px)`:"100vh"},e.wrapperStyle),j=p("div",{class:O,style:z,ref:u},[p("div",{class:B},[p("span",{class:$,ref:c},null),Array.isArray(e.items)?A(e.items):(y=l.default)===null||y===void 0?void 0:y.call(l)])]);return x(R?p(Kl,E(E({},o),{},{offsetTop:I,target:f.value}),{default:()=>[j]}):j)}}});lt.Link=qn;lt.install=function(e){return e.component(lt.name,lt),e.component(lt.Link.name,lt.Link),e};const Zn=()=>null;Zn.isSelectOption=!0;Zn.displayName="AAutoCompleteOption";const pt=Zn,Jn=()=>null;Jn.isSelectOptGroup=!0;Jn.displayName="AAutoCompleteOptGroup";const zt=Jn;function Qs(e){var t,n;return((t=e==null?void 0:e.type)===null||t===void 0?void 0:t.isSelectOption)||((n=e==null?void 0:e.type)===null||n===void 0?void 0:n.isSelectOptGroup)}const ec=()=>h(h({},Ne(zi(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),tc=pt,nc=zt,fn=U({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:ec(),slots:Object,setup(e,t){let{slots:n,attrs:o,expose:l}=t;wt(),wt(),wt(!e.dropdownClassName);const s=te(),d=()=>{var c;const u=Ot((c=n.default)===null||c===void 0?void 0:c.call(n));return u.length?u[0]:void 0};l({focus:()=>{var c;(c=s.value)===null||c===void 0||c.focus()},blur:()=>{var c;(c=s.value)===null||c===void 0||c.blur()}});const{prefixCls:a}=ve("select",e);return()=>{var c,u,g;const{size:v,dataSource:f,notFoundContent:m=(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)}=e;let C;const{class:b}=o,S={[b]:!!b,[`${a.value}-lg`]:v==="large",[`${a.value}-sm`]:v==="small",[`${a.value}-show-search`]:!0,[`${a.value}-auto-complete`]:!0};if(e.options===void 0){const A=((u=n.dataSource)===null||u===void 0?void 0:u.call(n))||((g=n.options)===null||g===void 0?void 0:g.call(n))||[];A.length&&Qs(A[0])?C=A:C=f?f.map(x=>{if(pl(x))return x;switch(typeof x){case"string":return p(pt,{key:x,value:x},{default:()=>[x]});case"object":return p(pt,{key:x.value,value:x.value},{default:()=>[x.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const T=Ne(h(h(h({},e),o),{mode:Pn.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:d,notFoundContent:m,class:S,popupClassName:e.popupClassName||e.dropdownClassName,ref:s}),["dataSource","loading"]);return p(Pn,T,E({default:()=>[C]},Ne(n,["default","dataSource","options"])))}}}),oc=h(fn,{Option:pt,OptGroup:zt,install(e){return e.component(fn.name,fn),e.component(pt.displayName,pt),e.component(zt.displayName,zt),e}}),lc=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},ic=function(e){return/[height|width]$/.test(e)},Mo=function(e){let t="";const n=Object.keys(e);return n.forEach(function(o,l){let s=e[o];o=lc(o),ic(o)&&typeof s=="number"&&(s=s+"px"),s===!0?t+=o:s===!1?t+="not "+o:t+="("+o+": "+s+")",l{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},Xt=e=>{const t=[],n=Xl(e),o=Yl(e);for(let l=n;le.currentSlide-cc(e),Yl=e=>e.currentSlide+uc(e),cc=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,uc=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,Rn=e=>e&&e.offsetWidth||0,Qn=e=>e&&e.offsetHeight||0,ql=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const o=e.startX-e.curX,l=e.startY-e.curY,s=Math.atan2(l,o);return n=Math.round(s*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":t===!0?n>=35&&n<=135?"up":"down":"vertical"},nn=e=>{let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},gn=(e,t)=>{const n={};return t.forEach(o=>n[o]=e[o]),n},dc=e=>{const t=e.children.length,n=e.listRef,o=Math.ceil(Rn(n)),l=e.trackRef,s=Math.ceil(Rn(l));let d;if(e.vertical)d=o;else{let v=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(v*=o/100),d=Math.ceil((o-v)/e.slidesToShow)}const i=n&&Qn(n.querySelector('[data-index="0"]')),r=i*e.slidesToShow;let a=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(a=t-1-e.initialSlide);let c=e.lazyLoadedList||[];const u=Xt(h(h({},e),{currentSlide:a,lazyLoadedList:c}));c=c.concat(u);const g={slideCount:t,slideWidth:d,listWidth:o,trackWidth:s,currentSlide:a,slideHeight:i,listHeight:r,lazyLoadedList:c};return e.autoplaying===null&&e.autoplay&&(g.autoplaying="playing"),g},fc=e=>{const{waitForAnimate:t,animating:n,fade:o,infinite:l,index:s,slideCount:d,lazyLoad:i,currentSlide:r,centerMode:a,slidesToScroll:c,slidesToShow:u,useCSS:g}=e;let{lazyLoadedList:v}=e;if(t&&n)return{};let f=s,m,C,b,S={},T={};const A=l?s:Nn(s,0,d-1);if(o){if(!l&&(s<0||s>=d))return{};s<0?f=s+d:s>=d&&(f=s-d),i&&v.indexOf(f)<0&&(v=v.concat(f)),S={animating:!0,currentSlide:f,lazyLoadedList:v,targetSlide:f},T={animating:!1,targetSlide:f}}else m=f,f<0?(m=f+d,l?d%c!==0&&(m=d-d%c):m=0):!nn(e)&&f>r?f=m=r:a&&f>=d?(f=l?d:d-1,m=l?0:d-1):f>=d&&(m=f-d,l?d%c!==0&&(m=0):m=d-u),!l&&f+u>=d&&(m=d-u),C=Pt(h(h({},e),{slideIndex:f})),b=Pt(h(h({},e),{slideIndex:m})),l||(C===b&&(f=m),C=b),i&&(v=v.concat(Xt(h(h({},e),{currentSlide:f})))),g?(S={animating:!0,currentSlide:m,trackStyle:Zl(h(h({},e),{left:C})),lazyLoadedList:v,targetSlide:A},T={animating:!1,currentSlide:m,trackStyle:At(h(h({},e),{left:b})),swipeLeft:null,targetSlide:A}):S={currentSlide:m,trackStyle:At(h(h({},e),{left:b})),lazyLoadedList:v,targetSlide:A};return{state:S,nextState:T}},hc=(e,t)=>{let n,o,l;const{slidesToScroll:s,slidesToShow:d,slideCount:i,currentSlide:r,targetSlide:a,lazyLoad:c,infinite:u}=e,v=i%s!==0?0:(i-r)%s;if(t.message==="previous")o=v===0?s:d-v,l=r-o,c&&!u&&(n=r-o,l=n===-1?i-1:n),u||(l=a-s);else if(t.message==="next")o=v===0?s:v,l=r+o,c&&!u&&(l=(r+s)%i+v),u||(l=a+s);else if(t.message==="dots")l=t.index*t.slidesToScroll;else if(t.message==="children"){if(l=t.index,u){const f=Sc(h(h({},e),{targetSlide:l}));l>t.currentSlide&&f==="left"?l=l-i:le.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",pc=(e,t,n)=>(e.target.tagName==="IMG"&&vt(e),!t||!n&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}),vc=(e,t)=>{const{scrolling:n,animating:o,vertical:l,swipeToSlide:s,verticalSwiping:d,rtl:i,currentSlide:r,edgeFriction:a,edgeDragged:c,onEdge:u,swiped:g,swiping:v,slideCount:f,slidesToScroll:m,infinite:C,touchObject:b,swipeEvent:S,listHeight:T,listWidth:A}=t;if(n)return;if(o)return vt(e);l&&s&&d&&vt(e);let x,P={};const y=Pt(t);b.curX=e.touches?e.touches[0].pageX:e.clientX,b.curY=e.touches?e.touches[0].pageY:e.clientY,b.swipeLength=Math.round(Math.sqrt(Math.pow(b.curX-b.startX,2)));const I=Math.round(Math.sqrt(Math.pow(b.curY-b.startY,2)));if(!d&&!v&&I>10)return{scrolling:!0};d&&(b.swipeLength=I);let R=(i?-1:1)*(b.curX>b.startX?1:-1);d&&(R=b.curY>b.startY?1:-1);const k=Math.ceil(f/m),w=ql(t.touchObject,d);let $=b.swipeLength;return C||(r===0&&(w==="right"||w==="down")||r+1>=k&&(w==="left"||w==="up")||!nn(t)&&(w==="left"||w==="up"))&&($=b.swipeLength*a,c===!1&&u&&(u(w),P.edgeDragged=!0)),!g&&S&&(S(w),P.swiped=!0),l?x=y+$*(T/A)*R:i?x=y-$*R:x=y+$*R,d&&(x=y+$*R),P=h(h({},P),{touchObject:b,swipeLeft:x,trackStyle:At(h(h({},t),{left:x}))}),Math.abs(b.curX-b.startX)10&&(P.swiping=!0,vt(e)),P},mc=(e,t)=>{const{dragging:n,swipe:o,touchObject:l,listWidth:s,touchThreshold:d,verticalSwiping:i,listHeight:r,swipeToSlide:a,scrolling:c,onSwipe:u,targetSlide:g,currentSlide:v,infinite:f}=t;if(!n)return o&&vt(e),{};const m=i?r/d:s/d,C=ql(l,i),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!l.swipeLength)return b;if(l.swipeLength>m){vt(e),u&&u(C);let S,T;const A=f?v:g;switch(C){case"left":case"up":T=A+Bo(t),S=a?Lo(t,T):T,b.currentDirection=0;break;case"right":case"down":T=A-Bo(t),S=a?Lo(t,T):T,b.currentDirection=1;break;default:S=A}b.triggerSlideHandler=S}else{const S=Pt(t);b.trackStyle=Zl(h(h({},t),{left:S}))}return b},bc=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,o=e.infinite?e.slidesToShow*-1:0;const l=[];for(;n{const n=bc(e);let o=0;if(t>n[n.length-1])t=n[n.length-1];else for(const l in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const o=e.listRef,l=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(l).every(i=>{if(e.vertical){if(i.offsetTop+Qn(i)/2>e.swipeLeft*-1)return n=i,!1}else if(i.offsetLeft-t+Rn(i)/2>e.swipeLeft*-1)return n=i,!1;return!0}),!n)return 0;const s=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-s)||1}else return e.slidesToScroll},eo=(e,t)=>t.reduce((n,o)=>n&&e.hasOwnProperty(o),!0)?null:console.error("Keys Missing:",e),At=e=>{eo(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const o=e.slideCount+2*e.slidesToShow;e.vertical?n=o*e.slideHeight:t=yc(e)*e.slideWidth;let l={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",d=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";l=h(h({},l),{WebkitTransform:s,transform:d,msTransform:i})}else e.vertical?l.top=e.left:l.left=e.left;return e.fade&&(l={opacity:1}),t&&(l.width=t+"px"),n&&(l.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?l.marginTop=e.left+"px":l.marginLeft=e.left+"px"),l},Zl=e=>{eo(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const t=At(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},Pt=e=>{if(e.unslick)return 0;eo(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:o,centerMode:l,slideCount:s,slidesToShow:d,slidesToScroll:i,slideWidth:r,listWidth:a,variableWidth:c,slideHeight:u,fade:g,vertical:v}=e;let f=0,m,C,b=0;if(g||e.slideCount===1)return 0;let S=0;if(o?(S=-Ze(e),s%i!==0&&t+i>s&&(S=-(t>s?d-(t-s):s%i)),l&&(S+=parseInt(d/2))):(s%i!==0&&t+i>s&&(S=d-s%i),l&&(S=parseInt(d/2))),f=S*r,b=S*u,v?m=t*u*-1+b:m=t*r*-1+f,c===!0){let T;const A=n;if(T=t+Ze(e),C=A&&A.childNodes[T],m=C?C.offsetLeft*-1:0,l===!0){T=o?t+Ze(e):t,C=A&&A.children[T],m=0;for(let x=0;xe.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),_t=e=>e.unslick||!e.infinite?0:e.slideCount,yc=e=>e.slideCount===1?1:Ze(e)+e.slideCount+_t(e),Sc=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+wc(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:l}=e;if(n){let s=(t-1)/2+1;return parseInt(l)>0&&(s+=1),o&&t%2===0&&(s+=1),s}return o?0:t-1},Cc=e=>{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:l}=e;if(n){let s=(t-1)/2+1;return parseInt(l)>0&&(s+=1),!o&&t%2===0&&(s+=1),s}return o?t-1:0},Do=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),pn=e=>{let t,n,o,l;e.rtl?l=e.slideCount-1-e.index:l=e.index;const s=l<0||l>=e.slideCount;e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(l-e.currentSlide)%e.slideCount===0,l>e.currentSlide-o-1&&l<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=l&&l=e.slideCount?d=e.targetSlide-e.slideCount:d=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":s,"slick-current":l===d}},xc=function(e){const t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth+(typeof e.slideWidth=="number"?"px":"")),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight)+"px":t.left=-e.index*parseInt(e.slideWidth)+"px",t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},vn=(e,t)=>e.key+"-"+t,$c=function(e,t){let n;const o=[],l=[],s=[],d=t.length,i=Xl(e),r=Yl(e);return t.forEach((a,c)=>{let u;const g={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?u=a:u=p("div");const v=xc(h(h({},e),{index:c})),f=u.props.class||"";let m=pn(h(h({},e),{index:c}));if(o.push(sn(u,{key:"original"+vn(u,c),tabindex:"-1","data-index":c,"aria-hidden":!m["slick-active"],class:G(m,f),style:h(h({outline:"none"},u.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&e.fade===!1){const C=d-c;C<=Ze(e)&&d!==e.slidesToShow&&(n=-C,n>=i&&(u=a),m=pn(h(h({},e),{index:n})),l.push(sn(u,{key:"precloned"+vn(u,n),class:G(m,f),tabindex:"-1","data-index":n,"aria-hidden":!m["slick-active"],style:h(h({},u.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}}))),d!==e.slidesToShow&&(n=d+c,n{e.focusOnSelect&&e.focusOnSelect(g)}})))}}),e.rtl?l.concat(o,s).reverse():l.concat(o,s)},Jl=(e,t)=>{let{attrs:n,slots:o}=t;const l=$c(n,Ot(o==null?void 0:o.default())),{onMouseenter:s,onMouseover:d,onMouseleave:i}=n,r={onMouseenter:s,onMouseover:d,onMouseleave:i},a=h({class:"slick-track",style:n.trackStyle},r);return p("div",a,[l])};Jl.inheritAttrs=!1;const Tc=Jl,Ic=function(e){let t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t},Ql=(e,t)=>{let{attrs:n}=t;const{slideCount:o,slidesToScroll:l,slidesToShow:s,infinite:d,currentSlide:i,appendDots:r,customPaging:a,clickHandler:c,dotsClass:u,onMouseenter:g,onMouseover:v,onMouseleave:f}=n,m=Ic({slideCount:o,slidesToScroll:l,slidesToShow:s,infinite:d}),C={onMouseenter:g,onMouseover:v,onMouseleave:f};let b=[];for(let S=0;S=P&&i<=A:i===P}),I={message:"dots",index:S,slidesToScroll:l,currentSlide:i};b=b.concat(p("li",{key:S,class:y},[mt(a({i:S}),{onClick:R})]))}return mt(r({dots:b}),h({class:u},C))};Ql.inheritAttrs=!1;const Ac=Ql;function ei(){}function ti(e,t,n){n&&n.preventDefault(),t(e,n)}const ni=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,infinite:l,currentSlide:s,slideCount:d,slidesToShow:i}=n,r={"slick-arrow":!0,"slick-prev":!0};let a=function(v){ti({message:"previous"},o,v)};!l&&(s===0||d<=i)&&(r["slick-disabled"]=!0,a=ei);const c={key:"0","data-role":"none",class:r,style:{display:"block"},onClick:a},u={currentSlide:s,slideCount:d};let g;return n.prevArrow?g=mt(n.prevArrow(h(h({},c),u)),{key:"0",class:r,style:{display:"block"},onClick:a},!1):g=p("button",E({key:"0",type:"button"},c),[" ",at("Previous")]),g};ni.inheritAttrs=!1;const oi=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,currentSlide:l,slideCount:s}=n,d={"slick-arrow":!0,"slick-next":!0};let i=function(u){ti({message:"next"},o,u)};nn(n)||(d["slick-disabled"]=!0,i=ei);const r={key:"1","data-role":"none",class:G(d),style:{display:"block"},onClick:i},a={currentSlide:l,slideCount:s};let c;return n.nextArrow?c=mt(n.nextArrow(h(h({},r),a)),{key:"1",class:G(d),style:{display:"block"},onClick:i},!1):c=p("button",E({key:"1",type:"button"},r),[" ",at("Next")]),c};oi.inheritAttrs=!1;var Pc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{this.currentSlide>=e.children.length&&this.changeSlide({message:"index",index:e.children.length-e.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&e.autoplay?this.handleAutoPlay("playing"):e.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=h({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=Xt(h(h({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=h({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState(e,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new _i(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),t=>{t.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,t.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(t=>clearTimeout(t)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),(e=this.ro)===null||e===void 0||e.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const e=Xt(h(h({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler(e){this.list=e},trackRefHandler(e){this.track=e},adaptHeight(){if(this.adaptiveHeight&&this.list){const e=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=Qn(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=Hi(()=>this.resizeWindow(e),50),this.debouncedResize()},resizeWindow(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!Boolean(this.track))return;const n=h(h({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(n,e,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState(e,t,n){const o=dc(e);e=h(h(h({},e),o),{slideIndex:o.currentSlide});const l=Pt(e);e=h(h({},e),{left:l});const s=At(e);(t||this.children.length!==e.children.length)&&(o.trackStyle=s),this.setState(o,n)},ssrInit(){const e=this.children;if(this.variableWidth){let r=0,a=0;const c=[],u=Ze(h(h(h({},this.$props),this.$data),{slideCount:e.length})),g=_t(h(h(h({},this.$props),this.$data),{slideCount:e.length}));e.forEach(f=>{var m,C;const b=((C=(m=f.props.style)===null||m===void 0?void 0:m.width)===null||C===void 0?void 0:C.split("px")[0])||0;c.push(b),r+=b});for(let f=0;f{const l=()=>++n&&n>=t&&this.onWindowResized();if(!o.onclick)o.onclick=()=>o.parentNode.focus();else{const s=o.onclick;o.onclick=()=>{s(),o.parentNode.focus()}}o.onload||(this.$props.lazyLoad?o.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(o.onload=l,o.onerror=()=>{l(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=h(h({},this.$props),this.$data);for(let n=this.currentSlide;n=-Ze(t);n--)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(this.setState(n=>({lazyLoadedList:n.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:n,currentSlide:o,beforeChange:l,speed:s,afterChange:d}=this.$props,{state:i,nextState:r}=fc(h(h(h({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!i)return;l&&l(o,i.currentSlide);const a=i.lazyLoadedList.filter(c=>this.lazyLoadedList.indexOf(c)<0);this.$attrs.onLazyLoad&&a.length>0&&this.__emit("lazyLoad",a),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),d&&d(o),delete this.animationEndCallback),this.setState(i,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),r&&(this.animationEndCallback=setTimeout(()=>{const{animating:c}=r,u=Pc(r,["animating"]);this.setState(u,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:c}),10)),d&&d(i.currentSlide),delete this.animationEndCallback})},s))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=h(h({},this.$props),this.$data),o=hc(n,e);if(!(o!==0&&!o)&&(t===!0?this.slideHandler(o,t):this.slideHandler(o),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const l=this.list.querySelectorAll(".slick-current");l[0]&&l[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=gc(e,this.accessibility,this.rtl);t!==""&&this.changeSlide({message:t})},selectHandler(e){this.changeSlide(e)},disableBodyScroll(){const e=t=>{t=t||window.event,t.preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},enableBodyScroll(){window.ontouchmove=null},swipeStart(e){this.verticalSwiping&&this.disableBodyScroll();const t=pc(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=vc(e,h(h(h({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));!t||(t.swiping&&(this.clickable=!1),this.setState(t))},swipeEnd(e){const t=mc(e,h(h(h({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!t)return;const n=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),n!==void 0&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd(e){this.swipeEnd(e),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:e,currentSlide:this.currentSlide},t),0))},play(){let e;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else if(nn(h(h({},this.$props),this.$data)))e=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(e)},handleAutoPlay(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);const t=this.autoplaying;if(e==="update"){if(t==="hovered"||t==="focused"||t==="paused")return}else if(e==="leave"){if(t==="paused"||t==="focused")return}else if(e==="blur"&&(t==="paused"||t==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const t=this.autoplaying;e==="paused"?this.setState({autoplaying:"paused"}):e==="focused"?(t==="hovered"||t==="playing")&&this.setState({autoplaying:"focused"}):t==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging(e){let{i:t}=e;return p("button",null,[t+1])},appendDots(e){let{dots:t}=e;return p("ul",{style:{display:"block"}},[t])}},render(){const e=G("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=h(h({},this.$props),this.$data);let n=gn(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:o}=this.$props;n=h(h({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:o?this.onTrackLeave:Pe,onMouseover:o?this.onTrackOver:Pe});let l;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let C=gn(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);C.customPaging=this.customPaging,C.appendDots=this.appendDots;const{customPaging:b,appendDots:S}=this.$slots;b&&(C.customPaging=b),S&&(C.appendDots=S);const{pauseOnDotsHover:T}=this.$props;C=h(h({},C),{clickHandler:this.changeSlide,onMouseover:T?this.onDotsOver:Pe,onMouseleave:T?this.onDotsLeave:Pe}),l=p(Ac,C,null)}let s,d;const i=gn(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);i.clickHandler=this.changeSlide;const{prevArrow:r,nextArrow:a}=this.$slots;r&&(i.prevArrow=r),a&&(i.nextArrow=a),this.arrows&&(s=p(ni,i,null),d=p(oi,i,null));let c=null;this.vertical&&(c={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let u=null;this.vertical===!1?this.centerMode===!0&&(u={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(u={padding:this.centerPadding+" 0px"});const g=h(h({},c),u),v=this.touchMove;let f={ref:this.listRefHandler,class:"slick-list",style:g,onClick:this.clickHandler,onMousedown:v?this.swipeStart:Pe,onMousemove:this.dragging&&v?this.swipeMove:Pe,onMouseup:v?this.swipeEnd:Pe,onMouseleave:this.dragging&&v?this.swipeEnd:Pe,[An?"onTouchstartPassive":"onTouchstart"]:v?this.swipeStart:Pe,[An?"onTouchmovePassive":"onTouchmove"]:this.dragging&&v?this.swipeMove:Pe,onTouchend:v?this.touchEnd:Pe,onTouchcancel:this.dragging&&v?this.swipeEnd:Pe,onKeydown:this.accessibility?this.keyHandler:Pe},m={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(f={class:"slick-list",ref:this.listRefHandler},m={class:e}),p("div",m,[this.unslick?"":s,p("div",f,[p(Tc,n,{default:()=>[this.children]})]),this.unslick?"":d,this.unslick?"":l])}},Oc=U({name:"Slider",mixins:[vl],inheritAttrs:!1,props:h({},Ul),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,o)=>n-o),e.forEach((n,o)=>{let l;o===0?l=hn({minWidth:0,maxWidth:n}):l=hn({minWidth:e[o-1]+1,maxWidth:n}),Do()&&this.media(l,()=>{this.setState({breakpoint:n})})});const t=hn({minWidth:e.slice(-1)[0]});Do()&&this.media(t,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})},methods:{innerSliderRefHandler(e){this.innerSlider=e},media(e,t){const n=window.matchMedia(e),o=l=>{let{matches:s}=l;s&&t()};n.addListener(o),o(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:o})},slickPrev(){var e;(e=this.innerSlider)===null||e===void 0||e.slickPrev()},slickNext(){var e;(e=this.innerSlider)===null||e===void 0||e.slickNext()},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;(n=this.innerSlider)===null||n===void 0||n.slickGoTo(e,t)},slickPause(){var e;(e=this.innerSlider)===null||e===void 0||e.pause("paused")},slickPlay(){var e;(e=this.innerSlider)===null||e===void 0||e.handleAutoPlay("play")}},render(){var e;let t,n;this.breakpoint?(n=this.responsive.filter(i=>i.breakpoint===this.breakpoint),t=n[0].settings==="unslick"?"unslick":h(h({},this.$props),n[0].settings)):t=h({},this.$props),t.centerMode&&(t.slidesToScroll>1,t.slidesToScroll=1),t.fade&&(t.slidesToShow>1,t.slidesToScroll>1,t.slidesToShow=1,t.slidesToScroll=1);let o=Fi(this)||[];o=o.filter(i=>typeof i=="string"?!!i.trim():!!i),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);const l=[];let s=null;for(let i=0;i=o.length));u+=1)c.push(mt(o[u],{key:100*i+10*a+u,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));r.push(p("div",{key:10*i+a},[c]))}t.variableWidth?l.push(p("div",{key:i,style:{width:s}},[r])):l.push(p("div",{key:i},[r]))}if(t==="unslick"){const i="regular slider "+(this.className||"");return p("div",{class:i},[o])}else l.length<=t.slidesToShow&&(t.unslick=!0);const d=h(h(h({},this.$attrs),t),{children:l,ref:this.innerSliderRefHandler});return p(kc,E(E({},d),{},{__propsSymbol__:[]}),this.$slots)}}),Ec=e=>{const{componentCls:t,antCls:n,carouselArrowSize:o,carouselDotOffset:l,marginXXS:s}=e,d=-o*1.25,i=s;return{[t]:h(h({},Te(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:o,height:o,marginTop:-o/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:d,"&::before":{content:'"\u2190"'}},".slick-next":{insetInlineEnd:d,"&::before":{content:'"\u2192"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:l},"&-top":{top:l,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-i,content:'""'}},"&.slick-active":{width:e.dotWidthActive,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},Nc=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:o}=e,l={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:h(h({},l),{margin:`${o}px 0`,verticalAlign:"baseline",button:l,"&.slick-active":h(h({},l),{button:l})})}}}},Rc=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},Mc=Ce("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,o=Ie(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[Ec(o),Nc(o),Rc(o)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var Lc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l({effect:be(),dots:Y(!0),vertical:Y(),autoplay:Y(),easing:String,beforeChange:J(),afterChange:J(),prefixCls:String,accessibility:Y(),nextArrow:H.any,prevArrow:H.any,pauseOnHover:Y(),adaptiveHeight:Y(),arrows:Y(!1),autoplaySpeed:Number,centerMode:Y(),centerPadding:String,cssEase:String,dotsClass:String,draggable:Y(!1),fade:Y(),focusOnSelect:Y(),infinite:Y(),initialSlide:Number,lazyLoad:be(),rtl:Y(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:Y(),swipeToSlide:Y(),swipeEvent:J(),touchMove:Y(),touchThreshold:Number,variableWidth:Y(),useCSS:Y(),slickGoTo:Number,responsive:Array,dotPosition:be(),verticalSwiping:Y(!1)}),Dc=U({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:Bc(),setup(e,t){let{slots:n,attrs:o,expose:l}=t;const s=te();l({goTo:function(f){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var C;(C=s.value)===null||C===void 0||C.slickGoTo(f,m)},autoplay:f=>{var m,C;(C=(m=s.value)===null||m===void 0?void 0:m.innerSlider)===null||C===void 0||C.handleAutoPlay(f)},prev:()=>{var f;(f=s.value)===null||f===void 0||f.slickPrev()},next:()=>{var f;(f=s.value)===null||f===void 0||f.slickNext()},innerSlider:N(()=>{var f;return(f=s.value)===null||f===void 0?void 0:f.innerSlider})}),Be(()=>{wt(e.vertical===void 0)});const{prefixCls:i,direction:r}=ve("carousel",e),[a,c]=Mc(i),u=N(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),g=N(()=>u.value==="left"||u.value==="right"),v=N(()=>{const f="slick-dots";return G({[f]:!0,[`${f}-${u.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:f,arrows:m,draggable:C,effect:b}=e,{class:S,style:T}=o,A=Lc(o,["class","style"]),x=b==="fade"?!0:e.fade,P=G(i.value,{[`${i.value}-rtl`]:r.value==="rtl",[`${i.value}-vertical`]:g.value,[`${S}`]:!!S},c.value);return a(p("div",{class:P,style:T},[p(Oc,E(E(E({ref:s},e),A),{},{dots:!!f,dotsClass:v.value,arrows:m,draggable:C,fade:x,vertical:g.value}),n)]))}}}),zc=Je(Dc),_c={useBreakpoint:Wi},Hc=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:o,commentNestIndent:l,commentFontSizeBase:s,commentFontSizeSm:d,commentAuthorNameColor:i,commentAuthorTimeColor:r,commentActionColor:a,commentActionHoverColor:c,commentActionsMarginBottom:u,commentActionsMarginTop:g,commentContentDetailPMarginBottom:v}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:o},[`${t}-avatar`]:{position:"relative",flexShrink:0,marginRight:e.marginSM,cursor:"pointer",img:{width:"32px",height:"32px",borderRadius:"50%"}},[`${t}-content`]:{position:"relative",flex:"1 1 auto",minWidth:"1px",fontSize:s,wordWrap:"break-word",["&-author"]:{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:s,["& > a,& > span"]:{paddingRight:e.paddingXS,fontSize:d,lineHeight:"18px"},["&-name"]:{color:i,fontSize:s,transition:`color ${e.motionDurationSlow}`,["> *"]:{color:i,["&:hover"]:{color:i}}},["&-time"]:{color:r,whiteSpace:"nowrap",cursor:"auto"}},["&-detail p"]:{marginBottom:v,whiteSpace:"pre-wrap"}},[`${t}-actions`]:{marginTop:g,marginBottom:u,paddingLeft:0,["> li"]:{display:"inline-block",color:a,["> span"]:{marginRight:"10px",color:a,fontSize:d,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,userSelect:"none",["&:hover"]:{color:c}}}},[`${t}-nested`]:{marginLeft:l},"&-rtl":{direction:"rtl"}}}},Fc=Ce("Comment",e=>{const t=Ie(e,{commentBg:"inherit",commentPaddingBase:`${e.paddingMD}px 0`,commentNestIndent:"44px",commentFontSizeBase:e.fontSize,commentFontSizeSm:e.fontSizeSM,commentAuthorNameColor:e.colorTextTertiary,commentAuthorTimeColor:e.colorTextPlaceholder,commentActionColor:e.colorTextTertiary,commentActionHoverColor:e.colorTextSecondary,commentActionsMarginBottom:"inherit",commentActionsMarginTop:e.marginSM,commentContentDetailPMarginBottom:"inherit"});return[Hc(t)]}),Wc=()=>({actions:Array,author:H.any,avatar:H.any,content:H.any,prefixCls:String,datetime:H.any}),Vc=U({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:Wc(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:l,direction:s}=ve("comment",e),[d,i]=Fc(l),r=(c,u)=>p("div",{class:`${c}-nested`},[u]),a=c=>!c||!c.length?null:c.map((g,v)=>p("li",{key:`action-${v}`},[g]));return()=>{var c,u,g,v,f,m,C,b,S,T,A;const x=l.value,P=(c=e.actions)!==null&&c!==void 0?c:(u=n.actions)===null||u===void 0?void 0:u.call(n),y=(g=e.author)!==null&&g!==void 0?g:(v=n.author)===null||v===void 0?void 0:v.call(n),I=(f=e.avatar)!==null&&f!==void 0?f:(m=n.avatar)===null||m===void 0?void 0:m.call(n),R=(C=e.content)!==null&&C!==void 0?C:(b=n.content)===null||b===void 0?void 0:b.call(n),k=(S=e.datetime)!==null&&S!==void 0?S:(T=n.datetime)===null||T===void 0?void 0:T.call(n),w=p("div",{class:`${x}-avatar`},[typeof I=="string"?p("img",{src:I,alt:"comment-avatar"},null):I]),$=P?p("ul",{class:`${x}-actions`},[a(Array.isArray(P)?P:[P])]):null,O=p("div",{class:`${x}-content-author`},[y&&p("span",{class:`${x}-content-author-name`},[y]),k&&p("span",{class:`${x}-content-author-time`},[k])]),B=p("div",{class:`${x}-content`},[O,p("div",{class:`${x}-content-detail`},[R]),$]),z=p("div",{class:`${x}-inner`},[w,B]),j=Ot((A=n.default)===null||A===void 0?void 0:A.call(n));return d(p("div",E(E({},o),{},{class:[x,{[`${x}-rtl`]:s.value==="rtl"},o.class,i.value]}),[z,j&&j.length?r(x,j):null]))}}}),jc=Je(Vc);var Kc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const Gc=Kc;function zo(e){for(var t=1;t({prefixCls:String,description:H.any,type:be("default"),shape:be("circle"),tooltip:H.any,href:String,target:J(),badge:Oe(),onClick:J()}),Xc=()=>({prefixCls:be()}),Yc=()=>h(h({},no()),{trigger:be(),open:Y(),onOpenChange:J(),"onUpdate:open":J()}),qc=()=>h(h({},no()),{prefixCls:String,duration:Number,target:J(),visibilityHeight:Number,onClick:J()}),Zc=U({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:Xc(),setup(e,t){let{attrs:n,slots:o}=t;return()=>{var l;const{prefixCls:s}=e,d=Fn((l=o.description)===null||l===void 0?void 0:l.call(o));return p("div",E(E({},n),{},{class:[n.class,`${s}-content`]}),[o.icon||d.length?p(je,null,[o.icon&&p("div",{class:`${s}-icon`},[o.icon()]),d.length?p("div",{class:`${s}-description`},[d]):null]):p("div",{class:`${s}-icon`},[p(li,null,null)])])}}}),Jc=Zc,ii=Symbol("floatButtonGroupContext"),Qc=e=>(nt(ii,e),e),ai=()=>ct(ii,{shape:te()}),eu=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),_o=eu,tu=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:o,motionEaseInOutCirc:l}=e,s=`${t}-group`,d=new Co("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new Co("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${s}-wrap`]:h({},ji(`${s}-wrap`,d,i,o,!0))},{[`${s}-wrap`]:{[` +import{a9 as Kt,aa as In,ab as An,ac as Ce,ad as Ie,ae as Je,d as U,Q as ee,D as yt,f as N,g as se,W as Qe,af as Zt,ag as Mi,ah as ve,ai as G,aj as Ne,b as p,ak as E,al as Li,S as h,am as Bi,V as nt,B as ct,an as Tt,ao as Te,ap as Se,aq as Re,ar as Le,as as Oe,J as et,e as te,at as ke,au as H,av as hl,aw as gl,ax as Di,ay as wt,az as pl,aA as Pn,aB as zi,aC as Ot,aD as sn,aE as mt,aF as at,aG as vl,aH as _i,aI as Hi,aJ as Fi,aK as Be,aL as be,aM as Y,aN as J,aO as Wi,aP as St,aQ as Fn,aR as je,aS as Vi,aT as Co,aU as ji,aV as Wn,aW as It,aX as ml,aY as Vn,aZ as jn,a_ as bl,a$ as yl,b0 as Sl,b1 as wl,b2 as Ki,b3 as Gi,b4 as Ui,b5 as Cl,b6 as ge,b7 as he,b8 as xl,b9 as Xi,ba as $l,bb as Tl,bc as Il,bd as Yi,be as Al,bf as Kn,bg as Gn,bh as Pl,bi as Et,bj as Jt,bk as kl,bl as Ol,bm as rt,bn as El,bo as xo,bp as $o,bq as Qt,br as Nl,bs as qi,bt as Gt,bu as Ut,bv as kn,bw as Dt,bx as en,by as Xe,bz as Rl,bA as Ye,bB as Zi,bC as Ji,bD as Qi,bE as cn,bF as ea,bG as ta,bH as Ml,bI as na,bJ as oa,bK as Un,U as Xn,bL as Yn,bM as Ll,bN as Bl,bO as la,bP as bt,G as Ve,bQ as ia,bR as aa,bS as ra,bT as sa,bU as ca,bV as ua,bW as da,bX as On,bY as fa,bZ as ha,K as tn,b_ as ga,b$ as To,c0 as pa,c1 as va,c2 as ma,c3 as ba,c4 as un,c5 as ya,c6 as Sa,c7 as wa,c8 as Ca,c9 as xa,ca as $a,cb as Ta,cc as Ia,a8 as Dl,cd as Aa,ce as Pa,cf as ka,cg as Io,ch as zl,ci as Oa,a0 as Nt,cj as Ea,ck as Na,cl as Ra,cm as Ma,cn as La,co as Ba,cp as Da,cq as za,cr as _a,A as _l,cs as Ha,ct as Fa,cu as Wa,cv as Va,cw as ja,cx as Ka,cy as Ga,cz as Ua,cA as Xa,cB as Ya,cC as qa,cD as Hl,cE as Za,cF as Ja,cG as Qa,cH as ot,cI as Fl,cJ as er,cK as tr,cL as nr,cM as or,cN as lr,cO as ir,cP as ar,cQ as rr,cR as sr,cS as cr,cT as ur,cU as dr,cV as fr,cW as hr,cX as gr,cY as pr,cZ as vr,c_ as mr,c$ as br,d0 as yr,d1 as Sr,d2 as wr,d3 as Cr,d4 as xr,d5 as $r,d6 as Tr,d7 as Ir,d8 as Ar,d9 as Pr,da as kr,db as Or,dc as Er,dd as Nr,de as Rr,df as Mr,r as Lr,o as Br,c as Dr,w as zr,u as _r,k as Hr,T as Fr,m as Wr,P as Vr,C as jr,M as Kr,s as Gr,n as dn,p as Ur,q as Xr,t as Yr,v as qr}from"./vue-router.324eaed2.js";import{A as Zr,a as Jr,r as Ao}from"./router.0c18ec5d.js";import{A as Qr}from"./index.0887bacc.js";import{G as es}from"./index.ea51f4a9.js";import"./index.e3c8c96c.js";import{B as ts,A as ns,a as os,b as ls}from"./index.51467614.js";import{G as is,M as as}from"./index.7e70395a.js";import{T as rs,A as ss}from"./index.582a893b.js";import{A as cs}from"./index.b0999c8c.js";import{D as us,M as ds,W as fs,R as hs,Q as gs}from"./dayjs.31352634.js";import{A as ps,D as vs}from"./index.49b2eaf0.js";import{A as ms}from"./index.341662d4.js";import{A as bs}from"./index.fe1d28be.js";import{B as Wl,i as ys,R as Ss}from"./Badge.9808092c.js";import{A as ws,a as Cs,I as xs}from"./index.5cae8761.js";import{S as Vl,C as $s,A as Ts,a as Is,b as As,c as Ps,d as ks}from"./Card.1902bdb7.js";import{A as Os}from"./index.71c22de0.js";import{A as Es}from"./index.7d758831.js";import{A as Ns,S as Rs}from"./index.0b1755c2.js";import{A as Ms}from"./Avatar.4c029798.js";import{C as Ls,A as Bs}from"./CollapsePanel.ce95f921.js";import{T as Ds,A as zs}from"./TabPane.caed57de.js";import"./gateway.edd4374b.js";import"./popupNotifcation.5a82bc93.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="431b6baa-9b38-4d2c-9f5c-256582e6e55c",e._sentryDebugIdIdentifier="sentry-dbid-431b6baa-9b38-4d2c-9f5c-256582e6e55c")}catch{}})();function En(e){let t;const n=l=>()=>{t=null,e(...l)},o=function(){if(t==null){for(var l=arguments.length,s=new Array(l),d=0;d{Kt.cancel(t),t=null},o}function Rt(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Po(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function ko(e,t,n){if(n!==void 0&&t.bottomo.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},Ct.push(n),jl.forEach(o=>{n.eventHandlers[o]=In(e,o,()=>{n.affixList.forEach(l=>{const{lazyUpdatePosition:s}=l.exposed;s()},(o==="touchstart"||o==="touchmove")&&An?{passive:!0}:!1)})}))}function Eo(e){const t=Ct.find(n=>{const o=n.affixList.some(l=>l===e);return o&&(n.affixList=n.affixList.filter(l=>l!==e)),o});t&&t.affixList.length===0&&(Ct=Ct.filter(n=>n!==t),jl.forEach(n=>{const o=t.eventHandlers[n];o&&o.remove&&o.remove()}))}const _s=e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},Hs=Ce("Affix",e=>{const t=Ie(e,{zIndexPopup:e.zIndexBase+10});return[_s(t)]});function Fs(){return typeof window<"u"?window:null}var ft;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(ft||(ft={}));const Ws=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:Fs},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),Vs=U({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:Ws(),setup(e,t){let{slots:n,emit:o,expose:l,attrs:s}=t;const d=ee(),i=ee(),r=yt({affixStyle:void 0,placeholderStyle:void 0,status:ft.None,lastAffix:!1,prevTarget:null,timeout:null}),a=Bi(),c=N(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),u=N(()=>e.offsetBottom),g=()=>{const{status:T,lastAffix:A}=r,{target:x}=e;if(T!==ft.Prepare||!i.value||!d.value||!x)return;const P=x();if(!P)return;const y={status:ft.None},I=Rt(d.value);if(I.top===0&&I.left===0&&I.width===0&&I.height===0)return;const R=Rt(P),k=Po(I,R,c.value),w=ko(I,R,u.value);if(!(I.top===0&&I.left===0&&I.width===0&&I.height===0)){if(k!==void 0){const $=`${I.width}px`,O=`${I.height}px`;y.affixStyle={position:"fixed",top:k,width:$,height:O},y.placeholderStyle={width:$,height:O}}else if(w!==void 0){const $=`${I.width}px`,O=`${I.height}px`;y.affixStyle={position:"fixed",bottom:w,width:$,height:O},y.placeholderStyle={width:$,height:O}}y.lastAffix=!!y.affixStyle,A!==y.lastAffix&&o("change",y.lastAffix),h(r,y)}},v=()=>{h(r,{status:ft.Prepare,affixStyle:void 0,placeholderStyle:void 0}),a.update()},f=En(()=>{v()}),m=En(()=>{const{target:T}=e,{affixStyle:A}=r;if(T&&A){const x=T();if(x&&d.value){const P=Rt(x),y=Rt(d.value),I=Po(y,P,c.value),R=ko(y,P,u.value);if(I!==void 0&&A.top===I||R!==void 0&&A.bottom===R)return}}v()});l({updatePosition:f,lazyUpdatePosition:m}),se(()=>e.target,T=>{const A=(T==null?void 0:T())||null;r.prevTarget!==A&&(Eo(a),A&&(Oo(A,a),f()),r.prevTarget=A)}),se(()=>[e.offsetTop,e.offsetBottom],f),Qe(()=>{const{target:T}=e;T&&(r.timeout=setTimeout(()=>{Oo(T(),a),f()}))}),Zt(()=>{g()}),Mi(()=>{clearTimeout(r.timeout),Eo(a),f.cancel(),m.cancel()});const{prefixCls:C}=ve("affix",e),[b,S]=Hs(C);return()=>{var T;const{affixStyle:A,placeholderStyle:x}=r,P=G({[C.value]:A,[S.value]:!0}),y=Ne(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return b(p(Li,{onResize:f},{default:()=>[p("div",E(E(E({},y),s),{},{ref:d}),[A&&p("div",{style:x,"aria-hidden":"true"},null),p("div",{class:P,ref:i,style:A},[(T=n.default)===null||T===void 0?void 0:T.call(n)])])]}))}}}),Kl=Je(Vs);function Mt(){}const Gl=Symbol("anchorContextKey"),js=e=>{nt(Gl,e)},Ks=()=>ct(Gl,{registerLink:Mt,unregisterLink:Mt,scrollTo:Mt,activeLink:N(()=>""),handleClick:Mt,direction:N(()=>"vertical")}),Gs=js,Us=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:o,lineWidthBold:l,colorPrimary:s,lineType:d,colorSplit:i}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:h(h({},Te(e)),{position:"relative",paddingInlineStart:l,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":h(h({},Tt),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",left:{_skip_check_:!0,value:0},top:0,height:"100%",borderInlineStart:`${l}px ${d} ${i}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${o} ease-in-out`,width:l,backgroundColor:s,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},Xs=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:o,colorPrimary:l}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:o,backgroundColor:l}}}}},Ys=Ce("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:o,paddingXXS:l}=e,s=Ie(e,{holderOffsetBlock:l,anchorPaddingBlock:l,anchorPaddingBlockSecondary:l/2,anchorPaddingInline:o,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[Us(s),Xs(s)]}),qs=()=>({prefixCls:String,href:String,title:Le(),target:String,customTitleProps:Oe()}),qn=U({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:Se(qs(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t,l=null;const{handleClick:s,scrollTo:d,unregisterLink:i,registerLink:r,activeLink:a}=Ks(),{prefixCls:c}=ve("anchor",e),u=g=>{const{href:v}=e;s(g,{title:l,href:v}),d(v)};return se(()=>e.href,(g,v)=>{et(()=>{i(v),r(g)})}),Qe(()=>{r(e.href)}),Re(()=>{i(e.href)}),()=>{var g;const{href:v,target:f,title:m=n.title,customTitleProps:C={}}=e,b=c.value;l=typeof m=="function"?m(C):m;const S=a.value===v,T=G(`${b}-link`,{[`${b}-link-active`]:S},o.class),A=G(`${b}-link-title`,{[`${b}-link-title-active`]:S});return p("div",E(E({},o),{},{class:T}),[p("a",{class:A,href:v,title:typeof l=="string"?l:"",target:f,onClick:u},[n.customTitle?n.customTitle(C):l]),(g=n.default)===null||g===void 0?void 0:g.call(n)])}}});function Zs(){return window}function No(e,t){if(!e.getClientRects().length)return 0;const n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}const Ro=/#([\S ]+)$/,Js=()=>({prefixCls:String,offsetTop:Number,bounds:Number,affix:{type:Boolean,default:!0},showInkInFixed:{type:Boolean,default:!1},getContainer:Function,wrapperClass:String,wrapperStyle:{type:Object,default:void 0},getCurrentAnchor:Function,targetOffset:Number,items:ke(),direction:H.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),lt=U({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:Js(),setup(e,t){let{emit:n,attrs:o,slots:l,expose:s}=t;const{prefixCls:d,getTargetContainer:i,direction:r}=ve("anchor",e),a=N(()=>{var y;return(y=e.direction)!==null&&y!==void 0?y:"vertical"}),c=te(null),u=te(),g=yt({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),v=te(null),f=N(()=>{const{getContainer:y}=e;return y||(i==null?void 0:i.value)||Zs}),m=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const R=[],k=f.value();return g.links.forEach(w=>{const $=Ro.exec(w.toString());if(!$)return;const O=document.getElementById($[1]);if(O){const B=No(O,k);BO.top>$.top?O:$).link:""},C=y=>{const{getCurrentAnchor:I}=e;v.value!==y&&(v.value=typeof I=="function"?I(y):y,n("change",y))},b=y=>{const{offsetTop:I,targetOffset:R}=e;C(y);const k=Ro.exec(y);if(!k)return;const w=document.getElementById(k[1]);if(!w)return;const $=f.value(),O=hl($,!0),B=No(w,$);let z=O+B;z-=R!==void 0?R:I||0,g.animating=!0,gl(z,{callback:()=>{g.animating=!1},getContainer:f.value})};s({scrollTo:b});const S=()=>{if(g.animating)return;const{offsetTop:y,bounds:I,targetOffset:R}=e,k=m(R!==void 0?R:y||0,I);C(k)},T=()=>{const y=u.value.querySelector(`.${d.value}-link-title-active`);if(y&&c.value){const I=a.value==="horizontal";c.value.style.top=I?"":`${y.offsetTop+y.clientHeight/2}px`,c.value.style.height=I?"":`${y.clientHeight}px`,c.value.style.left=I?`${y.offsetLeft}px`:"",c.value.style.width=I?`${y.clientWidth}px`:"",I&&Di(y,{scrollMode:"if-needed",block:"nearest"})}};Gs({registerLink:y=>{g.links.includes(y)||g.links.push(y)},unregisterLink:y=>{const I=g.links.indexOf(y);I!==-1&&g.links.splice(I,1)},activeLink:v,scrollTo:b,handleClick:(y,I)=>{n("click",y,I)},direction:a}),Qe(()=>{et(()=>{const y=f.value();g.scrollContainer=y,g.scrollEvent=In(g.scrollContainer,"scroll",S),S()})}),Re(()=>{g.scrollEvent&&g.scrollEvent.remove()}),Zt(()=>{if(g.scrollEvent){const y=f.value();g.scrollContainer!==y&&(g.scrollContainer=y,g.scrollEvent.remove(),g.scrollEvent=In(g.scrollContainer,"scroll",S),S())}T()});const A=y=>Array.isArray(y)?y.map(I=>{const{children:R,key:k,href:w,target:$,class:O,style:B,title:z}=I;return p(qn,{key:k,href:w,target:$,class:O,style:B,title:z,customTitleProps:I},{default:()=>[a.value==="vertical"?A(R):null],customTitle:l.customTitle})}):null,[x,P]=Ys(d);return()=>{var y;const{offsetTop:I,affix:R,showInkInFixed:k}=e,w=d.value,$=G(`${w}-ink`,{[`${w}-ink-visible`]:v.value}),O=G(P.value,e.wrapperClass,`${w}-wrapper`,{[`${w}-wrapper-horizontal`]:a.value==="horizontal",[`${w}-rtl`]:r.value==="rtl"}),B=G(w,{[`${w}-fixed`]:!R&&!k}),z=h({maxHeight:I?`calc(100vh - ${I}px)`:"100vh"},e.wrapperStyle),j=p("div",{class:O,style:z,ref:u},[p("div",{class:B},[p("span",{class:$,ref:c},null),Array.isArray(e.items)?A(e.items):(y=l.default)===null||y===void 0?void 0:y.call(l)])]);return x(R?p(Kl,E(E({},o),{},{offsetTop:I,target:f.value}),{default:()=>[j]}):j)}}});lt.Link=qn;lt.install=function(e){return e.component(lt.name,lt),e.component(lt.Link.name,lt.Link),e};const Zn=()=>null;Zn.isSelectOption=!0;Zn.displayName="AAutoCompleteOption";const pt=Zn,Jn=()=>null;Jn.isSelectOptGroup=!0;Jn.displayName="AAutoCompleteOptGroup";const zt=Jn;function Qs(e){var t,n;return((t=e==null?void 0:e.type)===null||t===void 0?void 0:t.isSelectOption)||((n=e==null?void 0:e.type)===null||n===void 0?void 0:n.isSelectOptGroup)}const ec=()=>h(h({},Ne(zi(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),tc=pt,nc=zt,fn=U({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:ec(),slots:Object,setup(e,t){let{slots:n,attrs:o,expose:l}=t;wt(),wt(),wt(!e.dropdownClassName);const s=te(),d=()=>{var c;const u=Ot((c=n.default)===null||c===void 0?void 0:c.call(n));return u.length?u[0]:void 0};l({focus:()=>{var c;(c=s.value)===null||c===void 0||c.focus()},blur:()=>{var c;(c=s.value)===null||c===void 0||c.blur()}});const{prefixCls:a}=ve("select",e);return()=>{var c,u,g;const{size:v,dataSource:f,notFoundContent:m=(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)}=e;let C;const{class:b}=o,S={[b]:!!b,[`${a.value}-lg`]:v==="large",[`${a.value}-sm`]:v==="small",[`${a.value}-show-search`]:!0,[`${a.value}-auto-complete`]:!0};if(e.options===void 0){const A=((u=n.dataSource)===null||u===void 0?void 0:u.call(n))||((g=n.options)===null||g===void 0?void 0:g.call(n))||[];A.length&&Qs(A[0])?C=A:C=f?f.map(x=>{if(pl(x))return x;switch(typeof x){case"string":return p(pt,{key:x,value:x},{default:()=>[x]});case"object":return p(pt,{key:x.value,value:x.value},{default:()=>[x.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const T=Ne(h(h(h({},e),o),{mode:Pn.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:d,notFoundContent:m,class:S,popupClassName:e.popupClassName||e.dropdownClassName,ref:s}),["dataSource","loading"]);return p(Pn,T,E({default:()=>[C]},Ne(n,["default","dataSource","options"])))}}}),oc=h(fn,{Option:pt,OptGroup:zt,install(e){return e.component(fn.name,fn),e.component(pt.displayName,pt),e.component(zt.displayName,zt),e}}),lc=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},ic=function(e){return/[height|width]$/.test(e)},Mo=function(e){let t="";const n=Object.keys(e);return n.forEach(function(o,l){let s=e[o];o=lc(o),ic(o)&&typeof s=="number"&&(s=s+"px"),s===!0?t+=o:s===!1?t+="not "+o:t+="("+o+": "+s+")",l{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},Xt=e=>{const t=[],n=Xl(e),o=Yl(e);for(let l=n;le.currentSlide-cc(e),Yl=e=>e.currentSlide+uc(e),cc=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,uc=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,Rn=e=>e&&e.offsetWidth||0,Qn=e=>e&&e.offsetHeight||0,ql=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const o=e.startX-e.curX,l=e.startY-e.curY,s=Math.atan2(l,o);return n=Math.round(s*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":t===!0?n>=35&&n<=135?"up":"down":"vertical"},nn=e=>{let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},gn=(e,t)=>{const n={};return t.forEach(o=>n[o]=e[o]),n},dc=e=>{const t=e.children.length,n=e.listRef,o=Math.ceil(Rn(n)),l=e.trackRef,s=Math.ceil(Rn(l));let d;if(e.vertical)d=o;else{let v=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(v*=o/100),d=Math.ceil((o-v)/e.slidesToShow)}const i=n&&Qn(n.querySelector('[data-index="0"]')),r=i*e.slidesToShow;let a=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(a=t-1-e.initialSlide);let c=e.lazyLoadedList||[];const u=Xt(h(h({},e),{currentSlide:a,lazyLoadedList:c}));c=c.concat(u);const g={slideCount:t,slideWidth:d,listWidth:o,trackWidth:s,currentSlide:a,slideHeight:i,listHeight:r,lazyLoadedList:c};return e.autoplaying===null&&e.autoplay&&(g.autoplaying="playing"),g},fc=e=>{const{waitForAnimate:t,animating:n,fade:o,infinite:l,index:s,slideCount:d,lazyLoad:i,currentSlide:r,centerMode:a,slidesToScroll:c,slidesToShow:u,useCSS:g}=e;let{lazyLoadedList:v}=e;if(t&&n)return{};let f=s,m,C,b,S={},T={};const A=l?s:Nn(s,0,d-1);if(o){if(!l&&(s<0||s>=d))return{};s<0?f=s+d:s>=d&&(f=s-d),i&&v.indexOf(f)<0&&(v=v.concat(f)),S={animating:!0,currentSlide:f,lazyLoadedList:v,targetSlide:f},T={animating:!1,targetSlide:f}}else m=f,f<0?(m=f+d,l?d%c!==0&&(m=d-d%c):m=0):!nn(e)&&f>r?f=m=r:a&&f>=d?(f=l?d:d-1,m=l?0:d-1):f>=d&&(m=f-d,l?d%c!==0&&(m=0):m=d-u),!l&&f+u>=d&&(m=d-u),C=Pt(h(h({},e),{slideIndex:f})),b=Pt(h(h({},e),{slideIndex:m})),l||(C===b&&(f=m),C=b),i&&(v=v.concat(Xt(h(h({},e),{currentSlide:f})))),g?(S={animating:!0,currentSlide:m,trackStyle:Zl(h(h({},e),{left:C})),lazyLoadedList:v,targetSlide:A},T={animating:!1,currentSlide:m,trackStyle:At(h(h({},e),{left:b})),swipeLeft:null,targetSlide:A}):S={currentSlide:m,trackStyle:At(h(h({},e),{left:b})),lazyLoadedList:v,targetSlide:A};return{state:S,nextState:T}},hc=(e,t)=>{let n,o,l;const{slidesToScroll:s,slidesToShow:d,slideCount:i,currentSlide:r,targetSlide:a,lazyLoad:c,infinite:u}=e,v=i%s!==0?0:(i-r)%s;if(t.message==="previous")o=v===0?s:d-v,l=r-o,c&&!u&&(n=r-o,l=n===-1?i-1:n),u||(l=a-s);else if(t.message==="next")o=v===0?s:v,l=r+o,c&&!u&&(l=(r+s)%i+v),u||(l=a+s);else if(t.message==="dots")l=t.index*t.slidesToScroll;else if(t.message==="children"){if(l=t.index,u){const f=Sc(h(h({},e),{targetSlide:l}));l>t.currentSlide&&f==="left"?l=l-i:le.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",pc=(e,t,n)=>(e.target.tagName==="IMG"&&vt(e),!t||!n&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}),vc=(e,t)=>{const{scrolling:n,animating:o,vertical:l,swipeToSlide:s,verticalSwiping:d,rtl:i,currentSlide:r,edgeFriction:a,edgeDragged:c,onEdge:u,swiped:g,swiping:v,slideCount:f,slidesToScroll:m,infinite:C,touchObject:b,swipeEvent:S,listHeight:T,listWidth:A}=t;if(n)return;if(o)return vt(e);l&&s&&d&&vt(e);let x,P={};const y=Pt(t);b.curX=e.touches?e.touches[0].pageX:e.clientX,b.curY=e.touches?e.touches[0].pageY:e.clientY,b.swipeLength=Math.round(Math.sqrt(Math.pow(b.curX-b.startX,2)));const I=Math.round(Math.sqrt(Math.pow(b.curY-b.startY,2)));if(!d&&!v&&I>10)return{scrolling:!0};d&&(b.swipeLength=I);let R=(i?-1:1)*(b.curX>b.startX?1:-1);d&&(R=b.curY>b.startY?1:-1);const k=Math.ceil(f/m),w=ql(t.touchObject,d);let $=b.swipeLength;return C||(r===0&&(w==="right"||w==="down")||r+1>=k&&(w==="left"||w==="up")||!nn(t)&&(w==="left"||w==="up"))&&($=b.swipeLength*a,c===!1&&u&&(u(w),P.edgeDragged=!0)),!g&&S&&(S(w),P.swiped=!0),l?x=y+$*(T/A)*R:i?x=y-$*R:x=y+$*R,d&&(x=y+$*R),P=h(h({},P),{touchObject:b,swipeLeft:x,trackStyle:At(h(h({},t),{left:x}))}),Math.abs(b.curX-b.startX)10&&(P.swiping=!0,vt(e)),P},mc=(e,t)=>{const{dragging:n,swipe:o,touchObject:l,listWidth:s,touchThreshold:d,verticalSwiping:i,listHeight:r,swipeToSlide:a,scrolling:c,onSwipe:u,targetSlide:g,currentSlide:v,infinite:f}=t;if(!n)return o&&vt(e),{};const m=i?r/d:s/d,C=ql(l,i),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!l.swipeLength)return b;if(l.swipeLength>m){vt(e),u&&u(C);let S,T;const A=f?v:g;switch(C){case"left":case"up":T=A+Bo(t),S=a?Lo(t,T):T,b.currentDirection=0;break;case"right":case"down":T=A-Bo(t),S=a?Lo(t,T):T,b.currentDirection=1;break;default:S=A}b.triggerSlideHandler=S}else{const S=Pt(t);b.trackStyle=Zl(h(h({},t),{left:S}))}return b},bc=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,o=e.infinite?e.slidesToShow*-1:0;const l=[];for(;n{const n=bc(e);let o=0;if(t>n[n.length-1])t=n[n.length-1];else for(const l in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const o=e.listRef,l=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(l).every(i=>{if(e.vertical){if(i.offsetTop+Qn(i)/2>e.swipeLeft*-1)return n=i,!1}else if(i.offsetLeft-t+Rn(i)/2>e.swipeLeft*-1)return n=i,!1;return!0}),!n)return 0;const s=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-s)||1}else return e.slidesToScroll},eo=(e,t)=>t.reduce((n,o)=>n&&e.hasOwnProperty(o),!0)?null:console.error("Keys Missing:",e),At=e=>{eo(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const o=e.slideCount+2*e.slidesToShow;e.vertical?n=o*e.slideHeight:t=yc(e)*e.slideWidth;let l={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",d=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";l=h(h({},l),{WebkitTransform:s,transform:d,msTransform:i})}else e.vertical?l.top=e.left:l.left=e.left;return e.fade&&(l={opacity:1}),t&&(l.width=t+"px"),n&&(l.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?l.marginTop=e.left+"px":l.marginLeft=e.left+"px"),l},Zl=e=>{eo(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const t=At(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},Pt=e=>{if(e.unslick)return 0;eo(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:o,centerMode:l,slideCount:s,slidesToShow:d,slidesToScroll:i,slideWidth:r,listWidth:a,variableWidth:c,slideHeight:u,fade:g,vertical:v}=e;let f=0,m,C,b=0;if(g||e.slideCount===1)return 0;let S=0;if(o?(S=-Ze(e),s%i!==0&&t+i>s&&(S=-(t>s?d-(t-s):s%i)),l&&(S+=parseInt(d/2))):(s%i!==0&&t+i>s&&(S=d-s%i),l&&(S=parseInt(d/2))),f=S*r,b=S*u,v?m=t*u*-1+b:m=t*r*-1+f,c===!0){let T;const A=n;if(T=t+Ze(e),C=A&&A.childNodes[T],m=C?C.offsetLeft*-1:0,l===!0){T=o?t+Ze(e):t,C=A&&A.children[T],m=0;for(let x=0;xe.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),_t=e=>e.unslick||!e.infinite?0:e.slideCount,yc=e=>e.slideCount===1?1:Ze(e)+e.slideCount+_t(e),Sc=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+wc(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:l}=e;if(n){let s=(t-1)/2+1;return parseInt(l)>0&&(s+=1),o&&t%2===0&&(s+=1),s}return o?0:t-1},Cc=e=>{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:l}=e;if(n){let s=(t-1)/2+1;return parseInt(l)>0&&(s+=1),!o&&t%2===0&&(s+=1),s}return o?t-1:0},Do=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),pn=e=>{let t,n,o,l;e.rtl?l=e.slideCount-1-e.index:l=e.index;const s=l<0||l>=e.slideCount;e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(l-e.currentSlide)%e.slideCount===0,l>e.currentSlide-o-1&&l<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=l&&l=e.slideCount?d=e.targetSlide-e.slideCount:d=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":s,"slick-current":l===d}},xc=function(e){const t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth+(typeof e.slideWidth=="number"?"px":"")),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight)+"px":t.left=-e.index*parseInt(e.slideWidth)+"px",t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},vn=(e,t)=>e.key+"-"+t,$c=function(e,t){let n;const o=[],l=[],s=[],d=t.length,i=Xl(e),r=Yl(e);return t.forEach((a,c)=>{let u;const g={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?u=a:u=p("div");const v=xc(h(h({},e),{index:c})),f=u.props.class||"";let m=pn(h(h({},e),{index:c}));if(o.push(sn(u,{key:"original"+vn(u,c),tabindex:"-1","data-index":c,"aria-hidden":!m["slick-active"],class:G(m,f),style:h(h({outline:"none"},u.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&e.fade===!1){const C=d-c;C<=Ze(e)&&d!==e.slidesToShow&&(n=-C,n>=i&&(u=a),m=pn(h(h({},e),{index:n})),l.push(sn(u,{key:"precloned"+vn(u,n),class:G(m,f),tabindex:"-1","data-index":n,"aria-hidden":!m["slick-active"],style:h(h({},u.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}}))),d!==e.slidesToShow&&(n=d+c,n{e.focusOnSelect&&e.focusOnSelect(g)}})))}}),e.rtl?l.concat(o,s).reverse():l.concat(o,s)},Jl=(e,t)=>{let{attrs:n,slots:o}=t;const l=$c(n,Ot(o==null?void 0:o.default())),{onMouseenter:s,onMouseover:d,onMouseleave:i}=n,r={onMouseenter:s,onMouseover:d,onMouseleave:i},a=h({class:"slick-track",style:n.trackStyle},r);return p("div",a,[l])};Jl.inheritAttrs=!1;const Tc=Jl,Ic=function(e){let t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t},Ql=(e,t)=>{let{attrs:n}=t;const{slideCount:o,slidesToScroll:l,slidesToShow:s,infinite:d,currentSlide:i,appendDots:r,customPaging:a,clickHandler:c,dotsClass:u,onMouseenter:g,onMouseover:v,onMouseleave:f}=n,m=Ic({slideCount:o,slidesToScroll:l,slidesToShow:s,infinite:d}),C={onMouseenter:g,onMouseover:v,onMouseleave:f};let b=[];for(let S=0;S=P&&i<=A:i===P}),I={message:"dots",index:S,slidesToScroll:l,currentSlide:i};b=b.concat(p("li",{key:S,class:y},[mt(a({i:S}),{onClick:R})]))}return mt(r({dots:b}),h({class:u},C))};Ql.inheritAttrs=!1;const Ac=Ql;function ei(){}function ti(e,t,n){n&&n.preventDefault(),t(e,n)}const ni=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,infinite:l,currentSlide:s,slideCount:d,slidesToShow:i}=n,r={"slick-arrow":!0,"slick-prev":!0};let a=function(v){ti({message:"previous"},o,v)};!l&&(s===0||d<=i)&&(r["slick-disabled"]=!0,a=ei);const c={key:"0","data-role":"none",class:r,style:{display:"block"},onClick:a},u={currentSlide:s,slideCount:d};let g;return n.prevArrow?g=mt(n.prevArrow(h(h({},c),u)),{key:"0",class:r,style:{display:"block"},onClick:a},!1):g=p("button",E({key:"0",type:"button"},c),[" ",at("Previous")]),g};ni.inheritAttrs=!1;const oi=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,currentSlide:l,slideCount:s}=n,d={"slick-arrow":!0,"slick-next":!0};let i=function(u){ti({message:"next"},o,u)};nn(n)||(d["slick-disabled"]=!0,i=ei);const r={key:"1","data-role":"none",class:G(d),style:{display:"block"},onClick:i},a={currentSlide:l,slideCount:s};let c;return n.nextArrow?c=mt(n.nextArrow(h(h({},r),a)),{key:"1",class:G(d),style:{display:"block"},onClick:i},!1):c=p("button",E({key:"1",type:"button"},r),[" ",at("Next")]),c};oi.inheritAttrs=!1;var Pc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{this.currentSlide>=e.children.length&&this.changeSlide({message:"index",index:e.children.length-e.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&e.autoplay?this.handleAutoPlay("playing"):e.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=h({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=Xt(h(h({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=h({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState(e,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new _i(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),t=>{t.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,t.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(t=>clearTimeout(t)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),(e=this.ro)===null||e===void 0||e.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const e=Xt(h(h({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler(e){this.list=e},trackRefHandler(e){this.track=e},adaptHeight(){if(this.adaptiveHeight&&this.list){const e=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=Qn(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=Hi(()=>this.resizeWindow(e),50),this.debouncedResize()},resizeWindow(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!Boolean(this.track))return;const n=h(h({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(n,e,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState(e,t,n){const o=dc(e);e=h(h(h({},e),o),{slideIndex:o.currentSlide});const l=Pt(e);e=h(h({},e),{left:l});const s=At(e);(t||this.children.length!==e.children.length)&&(o.trackStyle=s),this.setState(o,n)},ssrInit(){const e=this.children;if(this.variableWidth){let r=0,a=0;const c=[],u=Ze(h(h(h({},this.$props),this.$data),{slideCount:e.length})),g=_t(h(h(h({},this.$props),this.$data),{slideCount:e.length}));e.forEach(f=>{var m,C;const b=((C=(m=f.props.style)===null||m===void 0?void 0:m.width)===null||C===void 0?void 0:C.split("px")[0])||0;c.push(b),r+=b});for(let f=0;f{const l=()=>++n&&n>=t&&this.onWindowResized();if(!o.onclick)o.onclick=()=>o.parentNode.focus();else{const s=o.onclick;o.onclick=()=>{s(),o.parentNode.focus()}}o.onload||(this.$props.lazyLoad?o.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(o.onload=l,o.onerror=()=>{l(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=h(h({},this.$props),this.$data);for(let n=this.currentSlide;n=-Ze(t);n--)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(this.setState(n=>({lazyLoadedList:n.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:n,currentSlide:o,beforeChange:l,speed:s,afterChange:d}=this.$props,{state:i,nextState:r}=fc(h(h(h({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!i)return;l&&l(o,i.currentSlide);const a=i.lazyLoadedList.filter(c=>this.lazyLoadedList.indexOf(c)<0);this.$attrs.onLazyLoad&&a.length>0&&this.__emit("lazyLoad",a),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),d&&d(o),delete this.animationEndCallback),this.setState(i,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),r&&(this.animationEndCallback=setTimeout(()=>{const{animating:c}=r,u=Pc(r,["animating"]);this.setState(u,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:c}),10)),d&&d(i.currentSlide),delete this.animationEndCallback})},s))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=h(h({},this.$props),this.$data),o=hc(n,e);if(!(o!==0&&!o)&&(t===!0?this.slideHandler(o,t):this.slideHandler(o),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const l=this.list.querySelectorAll(".slick-current");l[0]&&l[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=gc(e,this.accessibility,this.rtl);t!==""&&this.changeSlide({message:t})},selectHandler(e){this.changeSlide(e)},disableBodyScroll(){const e=t=>{t=t||window.event,t.preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},enableBodyScroll(){window.ontouchmove=null},swipeStart(e){this.verticalSwiping&&this.disableBodyScroll();const t=pc(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=vc(e,h(h(h({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));!t||(t.swiping&&(this.clickable=!1),this.setState(t))},swipeEnd(e){const t=mc(e,h(h(h({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!t)return;const n=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),n!==void 0&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd(e){this.swipeEnd(e),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:e,currentSlide:this.currentSlide},t),0))},play(){let e;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else if(nn(h(h({},this.$props),this.$data)))e=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(e)},handleAutoPlay(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);const t=this.autoplaying;if(e==="update"){if(t==="hovered"||t==="focused"||t==="paused")return}else if(e==="leave"){if(t==="paused"||t==="focused")return}else if(e==="blur"&&(t==="paused"||t==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const t=this.autoplaying;e==="paused"?this.setState({autoplaying:"paused"}):e==="focused"?(t==="hovered"||t==="playing")&&this.setState({autoplaying:"focused"}):t==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging(e){let{i:t}=e;return p("button",null,[t+1])},appendDots(e){let{dots:t}=e;return p("ul",{style:{display:"block"}},[t])}},render(){const e=G("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=h(h({},this.$props),this.$data);let n=gn(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:o}=this.$props;n=h(h({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:o?this.onTrackLeave:Pe,onMouseover:o?this.onTrackOver:Pe});let l;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let C=gn(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);C.customPaging=this.customPaging,C.appendDots=this.appendDots;const{customPaging:b,appendDots:S}=this.$slots;b&&(C.customPaging=b),S&&(C.appendDots=S);const{pauseOnDotsHover:T}=this.$props;C=h(h({},C),{clickHandler:this.changeSlide,onMouseover:T?this.onDotsOver:Pe,onMouseleave:T?this.onDotsLeave:Pe}),l=p(Ac,C,null)}let s,d;const i=gn(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);i.clickHandler=this.changeSlide;const{prevArrow:r,nextArrow:a}=this.$slots;r&&(i.prevArrow=r),a&&(i.nextArrow=a),this.arrows&&(s=p(ni,i,null),d=p(oi,i,null));let c=null;this.vertical&&(c={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let u=null;this.vertical===!1?this.centerMode===!0&&(u={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(u={padding:this.centerPadding+" 0px"});const g=h(h({},c),u),v=this.touchMove;let f={ref:this.listRefHandler,class:"slick-list",style:g,onClick:this.clickHandler,onMousedown:v?this.swipeStart:Pe,onMousemove:this.dragging&&v?this.swipeMove:Pe,onMouseup:v?this.swipeEnd:Pe,onMouseleave:this.dragging&&v?this.swipeEnd:Pe,[An?"onTouchstartPassive":"onTouchstart"]:v?this.swipeStart:Pe,[An?"onTouchmovePassive":"onTouchmove"]:this.dragging&&v?this.swipeMove:Pe,onTouchend:v?this.touchEnd:Pe,onTouchcancel:this.dragging&&v?this.swipeEnd:Pe,onKeydown:this.accessibility?this.keyHandler:Pe},m={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(f={class:"slick-list",ref:this.listRefHandler},m={class:e}),p("div",m,[this.unslick?"":s,p("div",f,[p(Tc,n,{default:()=>[this.children]})]),this.unslick?"":d,this.unslick?"":l])}},Oc=U({name:"Slider",mixins:[vl],inheritAttrs:!1,props:h({},Ul),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,o)=>n-o),e.forEach((n,o)=>{let l;o===0?l=hn({minWidth:0,maxWidth:n}):l=hn({minWidth:e[o-1]+1,maxWidth:n}),Do()&&this.media(l,()=>{this.setState({breakpoint:n})})});const t=hn({minWidth:e.slice(-1)[0]});Do()&&this.media(t,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})},methods:{innerSliderRefHandler(e){this.innerSlider=e},media(e,t){const n=window.matchMedia(e),o=l=>{let{matches:s}=l;s&&t()};n.addListener(o),o(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:o})},slickPrev(){var e;(e=this.innerSlider)===null||e===void 0||e.slickPrev()},slickNext(){var e;(e=this.innerSlider)===null||e===void 0||e.slickNext()},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;(n=this.innerSlider)===null||n===void 0||n.slickGoTo(e,t)},slickPause(){var e;(e=this.innerSlider)===null||e===void 0||e.pause("paused")},slickPlay(){var e;(e=this.innerSlider)===null||e===void 0||e.handleAutoPlay("play")}},render(){var e;let t,n;this.breakpoint?(n=this.responsive.filter(i=>i.breakpoint===this.breakpoint),t=n[0].settings==="unslick"?"unslick":h(h({},this.$props),n[0].settings)):t=h({},this.$props),t.centerMode&&(t.slidesToScroll>1,t.slidesToScroll=1),t.fade&&(t.slidesToShow>1,t.slidesToScroll>1,t.slidesToShow=1,t.slidesToScroll=1);let o=Fi(this)||[];o=o.filter(i=>typeof i=="string"?!!i.trim():!!i),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);const l=[];let s=null;for(let i=0;i=o.length));u+=1)c.push(mt(o[u],{key:100*i+10*a+u,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));r.push(p("div",{key:10*i+a},[c]))}t.variableWidth?l.push(p("div",{key:i,style:{width:s}},[r])):l.push(p("div",{key:i},[r]))}if(t==="unslick"){const i="regular slider "+(this.className||"");return p("div",{class:i},[o])}else l.length<=t.slidesToShow&&(t.unslick=!0);const d=h(h(h({},this.$attrs),t),{children:l,ref:this.innerSliderRefHandler});return p(kc,E(E({},d),{},{__propsSymbol__:[]}),this.$slots)}}),Ec=e=>{const{componentCls:t,antCls:n,carouselArrowSize:o,carouselDotOffset:l,marginXXS:s}=e,d=-o*1.25,i=s;return{[t]:h(h({},Te(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:o,height:o,marginTop:-o/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:d,"&::before":{content:'"\u2190"'}},".slick-next":{insetInlineEnd:d,"&::before":{content:'"\u2192"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:l},"&-top":{top:l,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-i,content:'""'}},"&.slick-active":{width:e.dotWidthActive,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},Nc=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:o}=e,l={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:h(h({},l),{margin:`${o}px 0`,verticalAlign:"baseline",button:l,"&.slick-active":h(h({},l),{button:l})})}}}},Rc=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},Mc=Ce("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,o=Ie(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[Ec(o),Nc(o),Rc(o)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var Lc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l({effect:be(),dots:Y(!0),vertical:Y(),autoplay:Y(),easing:String,beforeChange:J(),afterChange:J(),prefixCls:String,accessibility:Y(),nextArrow:H.any,prevArrow:H.any,pauseOnHover:Y(),adaptiveHeight:Y(),arrows:Y(!1),autoplaySpeed:Number,centerMode:Y(),centerPadding:String,cssEase:String,dotsClass:String,draggable:Y(!1),fade:Y(),focusOnSelect:Y(),infinite:Y(),initialSlide:Number,lazyLoad:be(),rtl:Y(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:Y(),swipeToSlide:Y(),swipeEvent:J(),touchMove:Y(),touchThreshold:Number,variableWidth:Y(),useCSS:Y(),slickGoTo:Number,responsive:Array,dotPosition:be(),verticalSwiping:Y(!1)}),Dc=U({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:Bc(),setup(e,t){let{slots:n,attrs:o,expose:l}=t;const s=te();l({goTo:function(f){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var C;(C=s.value)===null||C===void 0||C.slickGoTo(f,m)},autoplay:f=>{var m,C;(C=(m=s.value)===null||m===void 0?void 0:m.innerSlider)===null||C===void 0||C.handleAutoPlay(f)},prev:()=>{var f;(f=s.value)===null||f===void 0||f.slickPrev()},next:()=>{var f;(f=s.value)===null||f===void 0||f.slickNext()},innerSlider:N(()=>{var f;return(f=s.value)===null||f===void 0?void 0:f.innerSlider})}),Be(()=>{wt(e.vertical===void 0)});const{prefixCls:i,direction:r}=ve("carousel",e),[a,c]=Mc(i),u=N(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),g=N(()=>u.value==="left"||u.value==="right"),v=N(()=>{const f="slick-dots";return G({[f]:!0,[`${f}-${u.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:f,arrows:m,draggable:C,effect:b}=e,{class:S,style:T}=o,A=Lc(o,["class","style"]),x=b==="fade"?!0:e.fade,P=G(i.value,{[`${i.value}-rtl`]:r.value==="rtl",[`${i.value}-vertical`]:g.value,[`${S}`]:!!S},c.value);return a(p("div",{class:P,style:T},[p(Oc,E(E(E({ref:s},e),A),{},{dots:!!f,dotsClass:v.value,arrows:m,draggable:C,fade:x,vertical:g.value}),n)]))}}}),zc=Je(Dc),_c={useBreakpoint:Wi},Hc=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:o,commentNestIndent:l,commentFontSizeBase:s,commentFontSizeSm:d,commentAuthorNameColor:i,commentAuthorTimeColor:r,commentActionColor:a,commentActionHoverColor:c,commentActionsMarginBottom:u,commentActionsMarginTop:g,commentContentDetailPMarginBottom:v}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:o},[`${t}-avatar`]:{position:"relative",flexShrink:0,marginRight:e.marginSM,cursor:"pointer",img:{width:"32px",height:"32px",borderRadius:"50%"}},[`${t}-content`]:{position:"relative",flex:"1 1 auto",minWidth:"1px",fontSize:s,wordWrap:"break-word",["&-author"]:{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:s,["& > a,& > span"]:{paddingRight:e.paddingXS,fontSize:d,lineHeight:"18px"},["&-name"]:{color:i,fontSize:s,transition:`color ${e.motionDurationSlow}`,["> *"]:{color:i,["&:hover"]:{color:i}}},["&-time"]:{color:r,whiteSpace:"nowrap",cursor:"auto"}},["&-detail p"]:{marginBottom:v,whiteSpace:"pre-wrap"}},[`${t}-actions`]:{marginTop:g,marginBottom:u,paddingLeft:0,["> li"]:{display:"inline-block",color:a,["> span"]:{marginRight:"10px",color:a,fontSize:d,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,userSelect:"none",["&:hover"]:{color:c}}}},[`${t}-nested`]:{marginLeft:l},"&-rtl":{direction:"rtl"}}}},Fc=Ce("Comment",e=>{const t=Ie(e,{commentBg:"inherit",commentPaddingBase:`${e.paddingMD}px 0`,commentNestIndent:"44px",commentFontSizeBase:e.fontSize,commentFontSizeSm:e.fontSizeSM,commentAuthorNameColor:e.colorTextTertiary,commentAuthorTimeColor:e.colorTextPlaceholder,commentActionColor:e.colorTextTertiary,commentActionHoverColor:e.colorTextSecondary,commentActionsMarginBottom:"inherit",commentActionsMarginTop:e.marginSM,commentContentDetailPMarginBottom:"inherit"});return[Hc(t)]}),Wc=()=>({actions:Array,author:H.any,avatar:H.any,content:H.any,prefixCls:String,datetime:H.any}),Vc=U({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:Wc(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:l,direction:s}=ve("comment",e),[d,i]=Fc(l),r=(c,u)=>p("div",{class:`${c}-nested`},[u]),a=c=>!c||!c.length?null:c.map((g,v)=>p("li",{key:`action-${v}`},[g]));return()=>{var c,u,g,v,f,m,C,b,S,T,A;const x=l.value,P=(c=e.actions)!==null&&c!==void 0?c:(u=n.actions)===null||u===void 0?void 0:u.call(n),y=(g=e.author)!==null&&g!==void 0?g:(v=n.author)===null||v===void 0?void 0:v.call(n),I=(f=e.avatar)!==null&&f!==void 0?f:(m=n.avatar)===null||m===void 0?void 0:m.call(n),R=(C=e.content)!==null&&C!==void 0?C:(b=n.content)===null||b===void 0?void 0:b.call(n),k=(S=e.datetime)!==null&&S!==void 0?S:(T=n.datetime)===null||T===void 0?void 0:T.call(n),w=p("div",{class:`${x}-avatar`},[typeof I=="string"?p("img",{src:I,alt:"comment-avatar"},null):I]),$=P?p("ul",{class:`${x}-actions`},[a(Array.isArray(P)?P:[P])]):null,O=p("div",{class:`${x}-content-author`},[y&&p("span",{class:`${x}-content-author-name`},[y]),k&&p("span",{class:`${x}-content-author-time`},[k])]),B=p("div",{class:`${x}-content`},[O,p("div",{class:`${x}-content-detail`},[R]),$]),z=p("div",{class:`${x}-inner`},[w,B]),j=Ot((A=n.default)===null||A===void 0?void 0:A.call(n));return d(p("div",E(E({},o),{},{class:[x,{[`${x}-rtl`]:s.value==="rtl"},o.class,i.value]}),[z,j&&j.length?r(x,j):null]))}}}),jc=Je(Vc);var Kc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const Gc=Kc;function zo(e){for(var t=1;t({prefixCls:String,description:H.any,type:be("default"),shape:be("circle"),tooltip:H.any,href:String,target:J(),badge:Oe(),onClick:J()}),Xc=()=>({prefixCls:be()}),Yc=()=>h(h({},no()),{trigger:be(),open:Y(),onOpenChange:J(),"onUpdate:open":J()}),qc=()=>h(h({},no()),{prefixCls:String,duration:Number,target:J(),visibilityHeight:Number,onClick:J()}),Zc=U({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:Xc(),setup(e,t){let{attrs:n,slots:o}=t;return()=>{var l;const{prefixCls:s}=e,d=Fn((l=o.description)===null||l===void 0?void 0:l.call(o));return p("div",E(E({},n),{},{class:[n.class,`${s}-content`]}),[o.icon||d.length?p(je,null,[o.icon&&p("div",{class:`${s}-icon`},[o.icon()]),d.length?p("div",{class:`${s}-description`},[d]):null]):p("div",{class:`${s}-icon`},[p(li,null,null)])])}}}),Jc=Zc,ii=Symbol("floatButtonGroupContext"),Qc=e=>(nt(ii,e),e),ai=()=>ct(ii,{shape:te()}),eu=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),_o=eu,tu=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:o,motionEaseInOutCirc:l}=e,s=`${t}-group`,d=new Co("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new Co("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${s}-wrap`]:h({},ji(`${s}-wrap`,d,i,o,!0))},{[`${s}-wrap`]:{[` &${s}-wrap-enter, &${s}-wrap-appear `]:{opacity:0,animationTimingFunction:l},[`&${s}-wrap-leave`]:{animationTimingFunction:l}}}]},nu=e=>{const{antCls:t,componentCls:n,floatButtonSize:o,margin:l,borderRadiusLG:s,borderRadiusSM:d,badgeOffset:i,floatButtonBodyPadding:r}=e,a=`${n}-group`;return{[a]:h(h({},Te(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:o,height:"auto",boxShadow:"none",minHeight:o,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:s,[`${a}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:l},[`&${a}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${a}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:o,height:o,borderRadius:"50%"}}},[`${a}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:s,borderStartEndRadius:s},"&:last-child":{borderEndStartRadius:s,borderEndEndRadius:s},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:-(r+i),insetInlineEnd:-(r+i)}}},[`${a}-wrap`]:{display:"block",borderRadius:s,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:r,"&:first-child":{borderStartStartRadius:s,borderStartEndRadius:s},"&:last-child":{borderEndStartRadius:s,borderEndEndRadius:s},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${a}-circle-shadow`]:{boxShadow:"none"},[`${a}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:r,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:d}}}}},ou=e=>{const{antCls:t,componentCls:n,floatButtonBodyPadding:o,floatButtonIconSize:l,floatButtonSize:s,borderRadiusLG:d,badgeOffset:i,dotOffsetInSquare:r,dotOffsetInCircle:a}=e;return{[n]:h(h({},Te(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:s,height:s,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:-i,insetInlineEnd:-i}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:s,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${o/2}px ${o}px`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:l,fontSize:l,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:s,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:a,insetInlineEnd:a}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:s,borderRadius:d,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:r,insetInlineEnd:r}},[`${n}-body`]:{height:"auto",borderRadius:d}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},oo=Ce("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:o,marginXXL:l,marginLG:s,fontSize:d,fontSizeIcon:i,controlItemBgHover:r,paddingXXS:a,borderRadiusLG:c}=e,u=Ie(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:r,floatButtonFontSize:d,floatButtonIconSize:i*1.5,floatButtonSize:o,floatButtonInsetBlockEnd:l,floatButtonInsetInlineEnd:s,floatButtonBodySize:o-a*2,floatButtonBodyPadding:a,badgeOffset:a*1.5,dotOffsetInCircle:_o(o/2),dotOffsetInSquare:_o(c)});return[nu(u),ou(u),Vi(e),tu(u)]});var lu=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l(r==null?void 0:r.value)||e.shape);return()=>{var u;const{prefixCls:g,type:v="default",shape:f="circle",description:m=(u=o.description)===null||u===void 0?void 0:u.call(o),tooltip:C,badge:b={}}=e,S=lu(e,["prefixCls","type","shape","description","tooltip","badge"]),T=G(l.value,`${l.value}-${v}`,`${l.value}-${c.value}`,{[`${l.value}-rtl`]:s.value==="rtl"},n.class,i.value),A=p(Wn,{placement:"left"},{title:o.tooltip||C?()=>o.tooltip&&o.tooltip()||C:void 0,default:()=>p(Wl,b,{default:()=>[p("div",{class:`${l.value}-body`},[p(Jc,{prefixCls:l.value},{icon:o.icon,description:()=>m})])]})});return d(e.href?p("a",E(E(E({ref:a},n),S),{},{class:T}),[A]):p("button",E(E(E({ref:a},n),S),{},{class:T,type:"button"}),[A]))}}}),tt=iu,au=U({compatConfig:{MODE:3},name:"AFloatButtonGroup",inheritAttrs:!1,props:Se(Yc(),{type:"default",shape:"circle"}),setup(e,t){let{attrs:n,slots:o,emit:l}=t;const{prefixCls:s,direction:d}=ve(lo,e),[i,r]=oo(s),[a,c]=It(!1,{value:N(()=>e.open)}),u=te(null),g=te(null);Qc({shape:N(()=>e.shape)});const v={onMouseenter(){var b;c(!0),l("update:open",!0),(b=e.onOpenChange)===null||b===void 0||b.call(e,!0)},onMouseleave(){var b;c(!1),l("update:open",!1),(b=e.onOpenChange)===null||b===void 0||b.call(e,!1)}},f=N(()=>e.trigger==="hover"?v:{}),m=()=>{var b;const S=!a.value;l("update:open",S),(b=e.onOpenChange)===null||b===void 0||b.call(e,S),c(S)},C=b=>{var S,T,A;if(!((S=u.value)===null||S===void 0)&&S.contains(b.target)){!((T=Sl(g.value))===null||T===void 0)&&T.contains(b.target)&&m();return}c(!1),l("update:open",!1),(A=e.onOpenChange)===null||A===void 0||A.call(e,!1)};return se(N(()=>e.trigger),b=>{!wl()||(document.removeEventListener("click",C),b==="click"&&document.addEventListener("click",C))},{immediate:!0}),Re(()=>{document.removeEventListener("click",C)}),()=>{var b;const{shape:S="circle",type:T="default",tooltip:A,description:x,trigger:P}=e,y=`${s.value}-group`,I=G(y,r.value,n.class,{[`${y}-rtl`]:d.value==="rtl",[`${y}-${S}`]:S,[`${y}-${S}-shadow`]:!P}),R=G(r.value,`${y}-wrap`),k=ml(`${y}-wrap`);return i(p("div",E(E({ref:u},n),{},{class:I},f.value),[P&&["click","hover"].includes(P)?p(je,null,[p(Vn,k,{default:()=>[jn(p("div",{class:R},[o.default&&o.default()]),[[bl,a.value]])]}),p(tt,{ref:g,type:T,shape:S,tooltip:A,description:x},{icon:()=>{var w,$;return a.value?((w=o.closeIcon)===null||w===void 0?void 0:w.call(o))||p(yl,null,null):(($=o.icon)===null||$===void 0?void 0:$.call(o))||p(li,null,null)},tooltip:o.tooltip,description:o.description})]):(b=o.default)===null||b===void 0?void 0:b.call(o)]))}}}),Yt=au;var ru={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};const su=ru;function Ho(e){for(var t=1;twindow,duration:450,type:"default",shape:"circle"}),setup(e,t){let{slots:n,attrs:o,emit:l}=t;const{prefixCls:s,direction:d}=ve(lo,e),[i]=oo(s),r=te(),a=yt({visible:e.visibilityHeight===0,scrollEvent:null}),c=()=>r.value&&r.value.ownerDocument?r.value.ownerDocument:window,u=C=>{const{target:b=c,duration:S}=e;gl(0,{getContainer:b,duration:S}),l("click",C)},g=En(C=>{const{visibilityHeight:b}=e,S=hl(C.target,!0);a.visible=S>=b}),v=()=>{const{target:C}=e,S=(C||c)();g({target:S}),S==null||S.addEventListener("scroll",g)},f=()=>{const{target:C}=e,S=(C||c)();g.cancel(),S==null||S.removeEventListener("scroll",g)};se(()=>e.target,()=>{f(),et(()=>{v()})}),Qe(()=>{et(()=>{v()})}),Ki(()=>{et(()=>{v()})}),Gi(()=>{f()}),Re(()=>{f()});const m=ai();return()=>{const{description:C,type:b,shape:S,tooltip:T,badge:A}=e,x=h(h({},o),{shape:(m==null?void 0:m.shape.value)||S,onClick:u,class:{[`${s.value}`]:!0,[`${o.class}`]:o.class,[`${s.value}-rtl`]:d.value==="rtl"},description:C,type:b,tooltip:T,badge:A}),P=ml("fade");return i(p(Vn,P,{default:()=>[jn(p(tt,E(E({},x),{},{ref:r}),{icon:()=>{var y;return((y=n.icon)===null||y===void 0?void 0:y.call(n))||p(uu,null,null)}}),[[bl,a.visible]])]}))}}}),qt=du;tt.Group=Yt;tt.BackTop=qt;tt.install=function(e){return e.component(tt.name,tt),e.component(Yt.name,Yt),e.component(qt.name,qt),e};var fu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const hu=fu;function Fo(e){for(var t=1;tNumber.MAX_SAFE_INTEGER)return String(Mn()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new it(Number.MAX_SAFE_INTEGER);if(o0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":so(this.number):this.origin}}class ht{constructor(t){if(this.origin="",ri(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(ro(n)&&(n=Number(n)),n=typeof n=="string"?n:so(n),co(n)){const o=xt(n);this.negative=o.negative;const l=o.trimStr.split(".");this.integer=BigInt(l[0]);const s=l[1]||"0";this.decimal=BigInt(s),this.decimalLen=s.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new ht(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new ht(t);const n=new ht(t);if(n.isInvalidate())return this;const o=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),l=this.alignDecimal(o),s=n.alignDecimal(o),d=(l+s).toString(),{negativeStr:i,trimStr:r}=xt(d),a=`${i}${r.padStart(o+1,"0")}`;return new ht(`${a.slice(0,-o)}.${a.slice(-o)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":xt(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function We(e){return Mn()?new ht(e):new it(e)}function Ln(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:l,integerStr:s,decimalStr:d}=xt(e),i=`${t}${d}`,r=`${l}${s}`;if(n>=0){const a=Number(d[n]);if(a>=5&&!o){const c=We(e).add(`${l}0.${"0".repeat(n)}${10-a}`);return Ln(c.toString(),t,n,o)}return n===0?r:`${r}${t}${d.padEnd(n,"0").slice(0,n)}`}return i===".0"?r:`${r}${i}`}const vu=200,mu=600,bu=U({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:J()},slots:Object,setup(e,t){let{slots:n,emit:o}=t;const l=te(),s=(i,r)=>{i.preventDefault(),o("step",r);function a(){o("step",r),l.value=setTimeout(a,vu)}l.value=setTimeout(a,mu)},d=()=>{clearTimeout(l.value)};return Re(()=>{d()}),()=>{if(Ui())return null;const{prefixCls:i,upDisabled:r,downDisabled:a}=e,c=`${i}-handler`,u=G(c,`${c}-up`,{[`${c}-up-disabled`]:r}),g=G(c,`${c}-down`,{[`${c}-down-disabled`]:a}),v={unselectable:"on",role:"button",onMouseup:d,onMouseleave:d},{upNode:f,downNode:m}=n;return p("div",{class:`${c}-wrap`},[p("span",E(E({},v),{},{onMousedown:C=>{s(C,!0)},"aria-label":"Increase Value","aria-disabled":r,class:u}),[(f==null?void 0:f())||p("span",{unselectable:"on",class:`${i}-handler-up-inner`},null)]),p("span",E(E({},v),{},{onMousedown:C=>{s(C,!1)},"aria-label":"Decrease Value","aria-disabled":a,class:g}),[(m==null?void 0:m())||p("span",{unselectable:"on",class:`${i}-handler-down-inner`},null)])])}}});function yu(e,t){const n=te(null);function o(){try{const{selectionStart:s,selectionEnd:d,value:i}=e.value,r=i.substring(0,s),a=i.substring(d);n.value={start:s,end:d,value:i,beforeTxt:r,afterTxt:a}}catch{}}function l(){if(e.value&&n.value&&t.value)try{const{value:s}=e.value,{beforeTxt:d,afterTxt:i,start:r}=n.value;let a=s.length;if(s.endsWith(i))a=s.length-n.value.afterTxt.length;else if(s.startsWith(d))a=d.length;else{const c=d[r-1],u=s.indexOf(c,r-1);u!==-1&&(a=u+1)}e.value.setSelectionRange(a,a)}catch(s){Cl(!1,`Something warning of cursor restore. Please fire issue about this: ${s.message}`)}}return[o,l]}const Su=()=>{const e=ee(0),t=()=>{Kt.cancel(e.value)};return Re(()=>{t()}),n=>{t(),e.value=Kt(()=>{n()})}};var wu=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);le||t.isEmpty()?t.toString():t.toNumber(),Vo=e=>{const t=We(e);return t.isInvalidate()?null:t},si=()=>({stringMode:Y(),defaultValue:ge([String,Number]),value:ge([String,Number]),prefixCls:be(),min:ge([String,Number]),max:ge([String,Number]),step:ge([String,Number],1),tabindex:Number,controls:Y(!0),readonly:Y(),disabled:Y(),autofocus:Y(),keyboard:Y(!0),parser:J(),formatter:J(),precision:Number,decimalSeparator:String,onInput:J(),onChange:J(),onPressEnter:J(),onStep:J(),onBlur:J(),onFocus:J()}),Cu=U({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:h(h({},si()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:l,expose:s}=t;const d=ee(),i=ee(!1),r=ee(!1),a=ee(!1),c=ee(We(e.value));function u(M){e.value===void 0&&(c.value=M)}const g=(M,D)=>{if(!D)return e.precision>=0?e.precision:Math.max(kt(M),kt(e.step))},v=M=>{const D=String(M);if(e.parser)return e.parser(D);let F=D;return e.decimalSeparator&&(F=F.replace(e.decimalSeparator,".")),F.replace(/[^\w.-]+/g,"")},f=ee(""),m=(M,D)=>{if(e.formatter)return e.formatter(M,{userTyping:D,input:String(f.value)});let F=typeof M=="number"?so(M):M;if(!D){const _=g(F,D);if(co(F)&&(e.decimalSeparator||_>=0)){const L=e.decimalSeparator||".";F=Ln(F,L,_)}}return F},C=(()=>{const M=e.value;return c.value.isInvalidate()&&["string","number"].includes(typeof M)?Number.isNaN(M)?"":M:m(c.value.toString(),!1)})();f.value=C;function b(M,D){f.value=m(M.isInvalidate()?M.toString(!1):M.toString(!D),D)}const S=N(()=>Vo(e.max)),T=N(()=>Vo(e.min)),A=N(()=>!S.value||!c.value||c.value.isInvalidate()?!1:S.value.lessEquals(c.value)),x=N(()=>!T.value||!c.value||c.value.isInvalidate()?!1:c.value.lessEquals(T.value)),[P,y]=yu(d,i),I=M=>S.value&&!M.lessEquals(S.value)?S.value:T.value&&!T.value.lessEquals(M)?T.value:null,R=M=>!I(M),k=(M,D)=>{var F;let _=M,L=R(_)||_.isEmpty();if(!_.isEmpty()&&!D&&(_=I(_)||_,L=!0),!e.readonly&&!e.disabled&&L){const W=_.toString(),Z=g(W,D);return Z>=0&&(_=We(Ln(W,".",Z))),_.equals(c.value)||(u(_),(F=e.onChange)===null||F===void 0||F.call(e,_.isEmpty()?null:Wo(e.stringMode,_)),e.value===void 0&&b(_,D)),_}return c.value},w=Su(),$=M=>{var D;if(P(),f.value=M,!a.value){const F=v(M),_=We(F);_.isNaN()||k(_,!0)}(D=e.onInput)===null||D===void 0||D.call(e,M),w(()=>{let F=M;e.parser||(F=M.replace(/。/g,".")),F!==M&&$(F)})},O=()=>{a.value=!0},B=()=>{a.value=!1,$(d.value.value)},z=M=>{$(M.target.value)},j=M=>{var D,F;if(M&&A.value||!M&&x.value)return;r.value=!1;let _=We(e.step);M||(_=_.negate());const L=(c.value||We(0)).add(_.toString()),W=k(L,!1);(D=e.onStep)===null||D===void 0||D.call(e,Wo(e.stringMode,W),{offset:e.step,type:M?"up":"down"}),(F=d.value)===null||F===void 0||F.focus()},q=M=>{const D=We(v(f.value));let F=D;D.isNaN()?F=c.value:F=k(D,M),e.value!==void 0?b(c.value,!1):F.isNaN()||b(F,!1)},Q=M=>{var D;const{which:F}=M;r.value=!0,F===he.ENTER&&(a.value||(r.value=!1),q(!1),(D=e.onPressEnter)===null||D===void 0||D.call(e,M)),e.keyboard!==!1&&!a.value&&[he.UP,he.DOWN].includes(F)&&(j(he.UP===F),M.preventDefault())},X=()=>{r.value=!1},ie=M=>{q(!1),i.value=!1,r.value=!1,l("blur",M)};return se(()=>e.precision,()=>{c.value.isInvalidate()||b(c.value,!1)},{flush:"post"}),se(()=>e.value,()=>{const M=We(e.value);c.value=M;const D=We(v(f.value));(!M.equals(D)||!r.value||e.formatter)&&b(M,r.value)},{flush:"post"}),se(f,()=>{e.formatter&&y()},{flush:"post"}),se(()=>e.disabled,M=>{M&&(i.value=!1)}),s({focus:()=>{var M;(M=d.value)===null||M===void 0||M.focus()},blur:()=>{var M;(M=d.value)===null||M===void 0||M.blur()}}),()=>{const M=h(h({},n),e),{prefixCls:D="rc-input-number",min:F,max:_,step:L=1,defaultValue:W,value:Z,disabled:le,readonly:ue,keyboard:V,controls:ce=!0,autofocus:pe,stringMode:we,parser:ye,formatter:Ae,precision:Ke,decimalSeparator:De,onChange:ze,onInput:Me,onPressEnter:Ge,onStep:Ue,lazy:K,class:ne,style:oe}=M,re=wu(M,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:me,downHandler:de}=o,ae=`${D}-input`,fe={};return K?fe.onChange=z:fe.onInput=z,p("div",{class:G(D,ne,{[`${D}-focused`]:i.value,[`${D}-disabled`]:le,[`${D}-readonly`]:ue,[`${D}-not-a-number`]:c.value.isNaN(),[`${D}-out-of-range`]:!c.value.isInvalidate()&&!R(c.value)}),style:oe,onKeydown:Q,onKeyup:X},[ce&&p(bu,{prefixCls:D,upDisabled:A.value,downDisabled:x.value,onStep:j},{upNode:me,downNode:de}),p("div",{class:`${ae}-wrap`},[p("input",E(E(E({autofocus:pe,autocomplete:"off",role:"spinbutton","aria-valuemin":F,"aria-valuemax":_,"aria-valuenow":c.value.isInvalidate()?null:c.value.toString(),step:L},re),{},{ref:d,class:ae,value:f.value,disabled:le,readonly:ue,onFocus:$e=>{i.value=!0,l("focus",$e)}},fe),{},{onBlur:ie,onCompositionstart:O,onCompositionend:B}),null)])])}}});function mn(e){return e!=null}const xu=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorBorder:l,borderRadius:s,fontSizeLG:d,controlHeightLG:i,controlHeightSM:r,colorError:a,inputPaddingHorizontalSM:c,colorTextDescription:u,motionDurationMid:g,colorPrimary:v,controlHeight:f,inputPaddingHorizontal:m,colorBgContainer:C,colorTextDisabled:b,borderRadiusSM:S,borderRadiusLG:T,controlWidth:A,handleVisible:x}=e;return[{[t]:h(h(h(h({},Te(e)),Kn(e)),Gn(e,t)),{display:"inline-block",width:A,margin:0,padding:0,border:`${n}px ${o} ${l}`,borderRadius:s,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:d,borderRadius:T,[`input${t}-input`]:{height:i-2*n}},"&-sm":{padding:0,borderRadius:S,[`input${t}-input`]:{height:r-2*n,padding:`0 ${c}px`}},"&:hover":h({},$l(e)),"&-focused":h({},Tl(e)),"&-disabled":h(h({},Il(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:a}},"&-group":h(h(h({},Te(e)),Yi(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:T}},"&-sm":{[`${t}-group-addon`]:{borderRadius:S}}}}),[t]:{"&-input":h(h({width:"100%",height:f-2*n,padding:`0 ${m}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:s,outline:0,transition:`all ${g} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},Al(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:C,borderStartStartRadius:0,borderStartEndRadius:s,borderEndEndRadius:s,borderEndStartRadius:0,opacity:x===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${g} linear ${g}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` @@ -14,4 +14,4 @@ import{a9 as Kt,aa as In,ab as An,ac as Ce,ad as Ie,ae as Je,d as U,Q as ee,D as ${t}-handler-up-disabled:hover &-handler-up-inner, ${t}-handler-down-disabled:hover &-handler-down-inner `]:{color:b}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},$u=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:o,controlWidth:l,borderRadiusLG:s,borderRadiusSM:d}=e;return{[`${t}-affix-wrapper`]:h(h(h({},Kn(e)),Gn(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:l,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:s},"&-sm":{borderRadius:d},[`&:not(${t}-affix-wrapper-disabled):hover`]:h(h({},$l(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:o}}})}},Tu=Ce("InputNumber",e=>{const t=xl(e);return[xu(t),$u(t),Xi(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var Iu=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);lh(h({},jo),{size:be(),bordered:Y(!0),placeholder:String,name:String,id:String,type:String,addonBefore:H.any,addonAfter:H.any,prefix:H.any,"onUpdate:value":jo.onChange,valueModifiers:Object,status:be()}),bn=U({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:Au(),slots:Object,setup(e,t){let{emit:n,expose:o,attrs:l,slots:s}=t;const d=Et(),i=Jt.useInject(),r=N(()=>Qt(i.status,e.status)),{prefixCls:a,size:c,direction:u,disabled:g}=ve("input-number",e),{compactSize:v,compactItemClassnames:f}=kl(a,u),m=Ol(),C=N(()=>{var $;return($=g.value)!==null&&$!==void 0?$:m.value}),[b,S]=Tu(a),T=N(()=>v.value||c.value),A=ee(e.value===void 0?e.defaultValue:e.value),x=ee(!1);se(()=>e.value,()=>{A.value=e.value});const P=ee(null),y=()=>{var $;($=P.value)===null||$===void 0||$.focus()};o({focus:y,blur:()=>{var $;($=P.value)===null||$===void 0||$.blur()}});const R=$=>{e.value===void 0&&(A.value=$),n("update:value",$),n("change",$),d.onFieldChange()},k=$=>{x.value=!1,n("blur",$),d.onFieldBlur()},w=$=>{x.value=!0,n("focus",$)};return()=>{var $,O,B,z;const{hasFeedback:j,isFormItemInput:q,feedbackIcon:Q}=i,X=($=e.id)!==null&&$!==void 0?$:d.id.value,ie=h(h(h({},l),e),{id:X,disabled:C.value}),{class:M,bordered:D,readonly:F,style:_,addonBefore:L=(O=s.addonBefore)===null||O===void 0?void 0:O.call(s),addonAfter:W=(B=s.addonAfter)===null||B===void 0?void 0:B.call(s),prefix:Z=(z=s.prefix)===null||z===void 0?void 0:z.call(s),valueModifiers:le={}}=ie,ue=Iu(ie,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),V=a.value,ce=G({[`${V}-lg`]:T.value==="large",[`${V}-sm`]:T.value==="small",[`${V}-rtl`]:u.value==="rtl",[`${V}-readonly`]:F,[`${V}-borderless`]:!D,[`${V}-in-form-item`]:q},rt(V,r.value),M,f.value,S.value);let pe=p(Cu,E(E({},Ne(ue,["size","defaultValue"])),{},{ref:P,lazy:!!le.lazy,value:A.value,class:ce,prefixCls:V,readonly:F,onChange:R,onBlur:k,onFocus:w}),{upHandler:s.upIcon?()=>p("span",{class:`${V}-handler-up-inner`},[s.upIcon()]):()=>p(pu,{class:`${V}-handler-up-inner`},null),downHandler:s.downIcon?()=>p("span",{class:`${V}-handler-down-inner`},[s.downIcon()]):()=>p(El,{class:`${V}-handler-down-inner`},null)});const we=mn(L)||mn(W),ye=mn(Z);if(ye||j){const Ae=G(`${V}-affix-wrapper`,rt(`${V}-affix-wrapper`,r.value,j),{[`${V}-affix-wrapper-focused`]:x.value,[`${V}-affix-wrapper-disabled`]:C.value,[`${V}-affix-wrapper-sm`]:T.value==="small",[`${V}-affix-wrapper-lg`]:T.value==="large",[`${V}-affix-wrapper-rtl`]:u.value==="rtl",[`${V}-affix-wrapper-readonly`]:F,[`${V}-affix-wrapper-borderless`]:!D,[`${M}`]:!we&&M},S.value);pe=p("div",{class:Ae,style:_,onClick:y},[ye&&p("span",{class:`${V}-prefix`},[Z]),pe,j&&p("span",{class:`${V}-suffix`},[Q])])}if(we){const Ae=`${V}-group`,Ke=`${Ae}-addon`,De=L?p("div",{class:Ke},[L]):null,ze=W?p("div",{class:Ke},[W]):null,Me=G(`${V}-wrapper`,Ae,{[`${Ae}-rtl`]:u.value==="rtl"},S.value),Ge=G(`${V}-group-wrapper`,{[`${V}-group-wrapper-sm`]:T.value==="small",[`${V}-group-wrapper-lg`]:T.value==="large",[`${V}-group-wrapper-rtl`]:u.value==="rtl"},rt(`${a}-group-wrapper`,r.value,j),M,S.value);pe=p("div",{class:Ge,style:_},[p("div",{class:Me},[De&&p(xo,null,{default:()=>[p($o,null,{default:()=>[De]})]}),pe,ze&&p(xo,null,{default:()=>[p($o,null,{default:()=>[ze]})]})])])}return b(mt(pe,{style:_}))}}}),Pu=h(bn,{install:e=>(e.component(bn.name,bn),e)}),ku=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:o,colorText:l}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:l,background:n},[`${t}-sider-zero-width-trigger`]:{color:l,background:n,border:`1px solid ${o}`,borderInlineStart:0}}}},Ou=ku,Eu=e=>{const{antCls:t,componentCls:n,colorText:o,colorTextLightSolid:l,colorBgHeader:s,colorBgBody:d,colorBgTrigger:i,layoutHeaderHeight:r,layoutHeaderPaddingInline:a,layoutHeaderColor:c,layoutFooterPadding:u,layoutTriggerHeight:g,layoutZeroTriggerSize:v,motionDurationMid:f,motionDurationSlow:m,fontSize:C,borderRadius:b}=e;return{[n]:h(h({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:d,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:r,paddingInline:a,color:c,lineHeight:`${r}px`,background:s,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:u,color:o,fontSize:C,background:d},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:s,transition:`all ${f}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:g},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:g,color:l,lineHeight:`${g}px`,textAlign:"center",background:i,cursor:"pointer",transition:`all ${f}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:r,insetInlineEnd:-v,zIndex:1,width:v,height:v,color:l,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:s,borderStartStartRadius:0,borderStartEndRadius:b,borderEndEndRadius:b,borderEndStartRadius:0,cursor:"pointer",transition:`background ${m} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${m}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-v,borderStartStartRadius:b,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b}}}}},Ou(e)),{"&-rtl":{direction:"rtl"}})}},Nu=Ce("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:o,controlHeightLG:l,marginXXS:s}=e,d=l*1.25,i=Ie(e,{layoutHeaderHeight:o*2,layoutHeaderPaddingInline:d,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${d}px`,layoutTriggerHeight:l+s*2,layoutZeroTriggerSize:l});return[Eu(i)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),uo=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function on(e){let{suffixCls:t,tagName:n,name:o}=e;return l=>U({compatConfig:{MODE:3},name:o,props:uo(),setup(d,i){let{slots:r}=i;const{prefixCls:a}=ve(t,d);return()=>{const c=h(h({},d),{prefixCls:a.value,tagName:n});return p(l,c,r)}}})}const fo=U({compatConfig:{MODE:3},props:uo(),setup(e,t){let{slots:n}=t;return()=>p(e.tagName,{class:e.prefixCls},n)}}),Ru=U({compatConfig:{MODE:3},inheritAttrs:!1,props:uo(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:l,direction:s}=ve("",e),[d,i]=Nu(l),r=te([]);nt(Nl,{addSider:u=>{r.value=[...r.value,u]},removeSider:u=>{r.value=r.value.filter(g=>g!==u)}});const c=N(()=>{const{prefixCls:u,hasSider:g}=e;return{[i.value]:!0,[`${u}`]:!0,[`${u}-has-sider`]:typeof g=="boolean"?g:r.value.length>0,[`${u}-rtl`]:s.value==="rtl"}});return()=>{const{tagName:u}=e;return d(p(u,h(h({},o),{class:[c.value,o.class]}),n))}}}),Mu=on({suffixCls:"layout",tagName:"section",name:"ALayout"})(Ru),Ht=on({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(fo),Ft=on({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(fo),Wt=on({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(fo),yn=Mu;var Lu={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const Bu=Lu;function Ko(e){for(var t=1;t({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:H.any,width:H.oneOfType([H.number,H.string]),collapsedWidth:H.oneOfType([H.number,H.string]),breakpoint:H.oneOf(kn("xs","sm","md","lg","xl","xxl","xxxl")),theme:H.oneOf(kn("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),Hu=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Vt=U({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:Se(_u(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:o,slots:l}=t;const{prefixCls:s}=ve("layout-sider",e),d=ct(Nl,void 0),i=ee(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),r=ee(!1);se(()=>e.collapsed,()=>{i.value=!!e.collapsed}),nt(qi,i);const a=(m,C)=>{e.collapsed===void 0&&(i.value=m),n("update:collapsed",m),n("collapse",m,C)},c=ee(m=>{r.value=m.matches,n("breakpoint",m.matches),i.value!==m.matches&&a(m.matches,"responsive")});let u;function g(m){return c.value(m)}const v=Hu("ant-sider-");d&&d.addSider(v),Qe(()=>{se(()=>e.breakpoint,()=>{try{u==null||u.removeEventListener("change",g)}catch{u==null||u.removeListener(g)}if(typeof window<"u"){const{matchMedia:m}=window;if(m&&e.breakpoint&&e.breakpoint in Go){u=m(`(max-width: ${Go[e.breakpoint]})`);try{u.addEventListener("change",g)}catch{u.addListener(g)}g(u)}}},{immediate:!0})}),Re(()=>{try{u==null||u.removeEventListener("change",g)}catch{u==null||u.removeListener(g)}d&&d.removeSider(v)});const f=()=>{a(!i.value,"clickTrigger")};return()=>{var m,C;const b=s.value,{collapsedWidth:S,width:T,reverseArrow:A,zeroWidthTriggerStyle:x,trigger:P=(m=l.trigger)===null||m===void 0?void 0:m.call(l),collapsible:y,theme:I}=e,R=i.value?S:T,k=ys(R)?`${R}px`:String(R),w=parseFloat(String(S||0))===0?p("span",{onClick:f,class:G(`${b}-zero-width-trigger`,`${b}-zero-width-trigger-${A?"right":"left"}`),style:x},[P||p(zu,null,null)]):null,$={expanded:A?p(Gt,null,null):p(Ut,null,null),collapsed:A?p(Ut,null,null):p(Gt,null,null)},O=i.value?"collapsed":"expanded",B=$[O],z=P!==null?w||p("div",{class:`${b}-trigger`,onClick:f,style:{width:k}},[P||B]):null,j=[o.style,{flex:`0 0 ${k}`,maxWidth:k,minWidth:k,width:k}],q=G(b,`${b}-${I}`,{[`${b}-collapsed`]:!!i.value,[`${b}-has-trigger`]:y&&P!==null&&!w,[`${b}-below`]:!!r.value,[`${b}-zero-width`]:parseFloat(k)===0},o.class);return p("aside",E(E({},o),{},{class:q,style:j}),[p("div",{class:`${b}-children`},[(C=l.default)===null||C===void 0?void 0:C.call(l)]),y||r.value&&w?z:null])}}}),Fu=Ht,Wu=Ft,Vu=Vt,ju=Wt,Ku=h(yn,{Header:Ht,Footer:Ft,Content:Wt,Sider:Vt,install:e=>(e.component(yn.name,yn),e.component(Ht.name,Ht),e.component(Ft.name,Ft),e.component(Vt.name,Vt),e.component(Wt.name,Wt),e)});function Gu(e){const{selectionStart:t}=e;return e.value.slice(0,t)}function Uu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(Array.isArray(t)?t:[t]).reduce((o,l)=>{const s=e.lastIndexOf(l);return s>o.location?{location:s,prefix:l}:o},{location:-1,prefix:""})}function Uo(e){return(e||"").toLowerCase()}function Xu(e,t,n){const o=e[0];if(!o||o===n)return e;let l=e;const s=t.length;for(let d=0;d[]}},setup(e,t){let{slots:n}=t;const{activeIndex:o,setActiveIndex:l,selectOption:s,onFocus:d=ed,loading:i}=ct(ci,{activeIndex:ee(),loading:ee(!1)});let r;const a=c=>{clearTimeout(r),r=setTimeout(()=>{d(c)})};return Re(()=>{clearTimeout(r)}),()=>{var c;const{prefixCls:u,options:g}=e,v=g[o.value]||{};return p(Xe,{prefixCls:`${u}-menu`,activeKey:v.value,onSelect:f=>{let{key:m}=f;const C=g.find(b=>{let{value:S}=b;return S===m});s(C)},onMousedown:a},{default:()=>[!i.value&&g.map((f,m)=>{var C,b;const{value:S,disabled:T,label:A=f.value,class:x,style:P}=f;return p(Dt,{key:S,disabled:T,onMouseenter:()=>{l(m)},class:x,style:P},{default:()=>[(b=(C=n.option)===null||C===void 0?void 0:C.call(n,f))!==null&&b!==void 0?b:typeof A=="function"?A(f):A]})}),!i.value&&g.length===0?p(Dt,{key:"notFoundContent",disabled:!0},{default:()=>[(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)]}):null,i.value&&p(Dt,{key:"loading",disabled:!0},{default:()=>[p(en,{size:"small"},null)]})]})}}}),nd={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},od=U({compatConfig:{MODE:3},name:"KeywordTrigger",props:{loading:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},prefixCls:String,placement:String,visible:{type:Boolean,default:void 0},transitionName:String,getPopupContainer:Function,direction:String,dropdownClassName:String},setup(e,t){let{slots:n}=t;const o=()=>`${e.prefixCls}-dropdown`,l=()=>{const{options:d}=e;return p(td,{prefixCls:o(),options:d},{notFoundContent:n.notFoundContent,option:n.option})},s=N(()=>{const{placement:d,direction:i}=e;let r="topRight";return i==="rtl"?r=d==="top"?"topLeft":"bottomLeft":r=d==="top"?"topRight":"bottomRight",r});return()=>{const{visible:d,transitionName:i,getPopupContainer:r}=e;return p(Rl,{prefixCls:o(),popupVisible:d,popup:l(),popupClassName:e.dropdownClassName,popupPlacement:s.value,popupTransitionName:i,builtinPlacements:nd,getPopupContainer:r},{default:n.default})}}}),ld=kn("top","bottom"),ui={autofocus:{type:Boolean,default:void 0},prefix:H.oneOfType([H.string,H.arrayOf(H.string)]),prefixCls:String,value:String,disabled:{type:Boolean,default:void 0},split:String,transitionName:String,placement:H.oneOf(ld),character:H.any,characterRender:Function,filterOption:{type:[Boolean,Function]},validateSearch:Function,getPopupContainer:{type:Function},options:ke(),loading:{type:Boolean,default:void 0},rows:[Number,String],direction:{type:String}},di=h(h({},ui),{dropdownClassName:String}),fi={prefix:"@",split:" ",rows:1,validateSearch:Zu,filterOption:()=>Ju};Se(di,fi);var Xo=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{a.value=e.value});const c=w=>{n("change",w)},u=w=>{let{target:{value:$,composing:O},isComposing:B}=w;B||O||c($)},g=(w,$,O)=>{h(a,{measuring:!0,measureText:w,measurePrefix:$,measureLocation:O,activeIndex:0})},v=w=>{h(a,{measuring:!1,measureLocation:0,measureText:null}),w==null||w()},f=w=>{const{which:$}=w;if(!!a.measuring){if($===he.UP||$===he.DOWN){const O=I.value.length,B=$===he.UP?-1:1,z=(a.activeIndex+B+O)%O;a.activeIndex=z,w.preventDefault()}else if($===he.ESC)v();else if($===he.ENTER){if(w.preventDefault(),!I.value.length){v();return}const O=I.value[a.activeIndex];x(O)}}},m=w=>{const{key:$,which:O}=w,{measureText:B,measuring:z}=a,{prefix:j,validateSearch:q}=e,Q=w.target;if(Q.composing)return;const X=Gu(Q),{location:ie,prefix:M}=Uu(X,j);if([he.ESC,he.UP,he.DOWN,he.ENTER].indexOf(O)===-1)if(ie!==-1){const D=X.slice(ie+M.length),F=q(D,e),_=!!y(D).length;F?($===M||$==="Shift"||z||D!==B&&_)&&g(D,M,ie):z&&v(),F&&n("search",D,M)}else z&&v()},C=w=>{a.measuring||n("pressenter",w)},b=w=>{T(w)},S=w=>{A(w)},T=w=>{clearTimeout(r.value);const{isFocus:$}=a;!$&&w&&n("focus",w),a.isFocus=!0},A=w=>{r.value=setTimeout(()=>{a.isFocus=!1,v(),n("blur",w)},100)},x=w=>{const{split:$}=e,{value:O=""}=w,{text:B,selectionLocation:z}=Yu(a.value,{measureLocation:a.measureLocation,targetText:O,prefix:a.measurePrefix,selectionStart:i.value.selectionStart,split:$});c(B),v(()=>{qu(i.value,z)}),n("select",w,a.measurePrefix)},P=w=>{a.activeIndex=w},y=w=>{const $=w||a.measureText||"",{filterOption:O}=e;return e.options.filter(z=>O?O($,z):!0)},I=N(()=>y());return l({blur:()=>{i.value.blur()},focus:()=>{i.value.focus()}}),nt(ci,{activeIndex:Ye(a,"activeIndex"),setActiveIndex:P,selectOption:x,onFocus:T,onBlur:A,loading:Ye(e,"loading")}),Zt(()=>{et(()=>{a.measuring&&(d.value.scrollTop=i.value.scrollTop)})}),()=>{const{measureLocation:w,measurePrefix:$,measuring:O}=a,{prefixCls:B,placement:z,transitionName:j,getPopupContainer:q,direction:Q}=e,X=Xo(e,["prefixCls","placement","transitionName","getPopupContainer","direction"]),{class:ie,style:M}=o,D=Xo(o,["class","style"]),F=Ne(X,["value","prefix","split","validateSearch","filterOption","options","loading"]),_=h(h(h({},F),D),{onChange:Yo,onSelect:Yo,value:a.value,onInput:u,onBlur:S,onKeydown:f,onKeyup:m,onFocus:b,onPressenter:C});return p("div",{class:G(B,ie),style:M},[jn(p("textarea",E({ref:i},_),null),[[Zi]]),O&&p("div",{ref:d,class:`${B}-measure`},[a.value.slice(0,w),p(od,{prefixCls:B,transitionName:j,dropdownClassName:e.dropdownClassName,placement:z,options:O?I.value:[],visible:!0,direction:Q,getPopupContainer:q},{default:()=>[p("span",null,[$])],notFoundContent:s.notFoundContent,option:s.option}),a.value.slice(w+$.length)])])}}}),ad={value:String,disabled:Boolean,payload:Oe()},hi=h(h({},ad),{label:Le([])}),gi={name:"Option",props:hi,render(e,t){let{slots:n}=t;var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}};U(h({compatConfig:{MODE:3}},gi));const rd=e=>{const{componentCls:t,colorTextDisabled:n,controlItemBgHover:o,controlPaddingHorizontal:l,colorText:s,motionDurationSlow:d,lineHeight:i,controlHeight:r,inputPaddingHorizontal:a,inputPaddingVertical:c,fontSize:u,colorBgElevated:g,borderRadiusLG:v,boxShadowSecondary:f}=e,m=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{[t]:h(h(h(h(h({},Te(e)),Kn(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:i,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Gn(e,t)),{"&-disabled":{"> textarea":h({},Il(e))},"&-focused":h({},Tl(e)),[`&-affix-wrapper ${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:a,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`> textarea, ${t}-measure`]:{color:s,boxSizing:"border-box",minHeight:r-2,margin:0,padding:`${c}px ${a}px`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":h({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},Al(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},"&-dropdown":h(h({},Te(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:u,fontVariant:"initial",backgroundColor:g,borderRadius:v,outline:"none",boxShadow:f,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,marginBottom:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":h(h({},Tt),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${m}px ${l}px`,color:s,fontWeight:"normal",lineHeight:i,cursor:"pointer",transition:`background ${d} ease`,"&:hover":{backgroundColor:o},"&:first-child":{borderStartStartRadius:v,borderStartEndRadius:v,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:v,borderEndEndRadius:v},"&-disabled":{color:n,cursor:"not-allowed","&:hover":{color:n,backgroundColor:o,cursor:"not-allowed"}},"&-selected":{color:s,fontWeight:e.fontWeightStrong,backgroundColor:o},"&-active":{backgroundColor:o}})}})})}},sd=Ce("Mentions",e=>{const t=xl(e);return[rd(t)]},e=>({dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50}));var qo=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:n="@",split:o=" "}=t,l=Array.isArray(n)?n:[n];return e.split(o).map(function(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",d=null;return l.some(i=>s.slice(0,i.length)===i?(d=i,!0):!1),d!==null?{prefix:d,value:s.slice(d.length)}:null}).filter(s=>!!s&&!!s.value)},dd=()=>h(h({},ui),{loading:{type:Boolean,default:void 0},onFocus:{type:Function},onBlur:{type:Function},onSelect:{type:Function},onChange:{type:Function},onPressenter:{type:Function},"onUpdate:value":{type:Function},notFoundContent:H.any,defaultValue:String,id:String,status:String}),Sn=U({compatConfig:{MODE:3},name:"AMentions",inheritAttrs:!1,props:dd(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:l,expose:s}=t;var d,i;const{prefixCls:r,renderEmpty:a,direction:c}=ve("mentions",e),[u,g]=sd(r),v=ee(!1),f=ee(null),m=ee((i=(d=e.value)!==null&&d!==void 0?d:e.defaultValue)!==null&&i!==void 0?i:""),C=Et(),b=Jt.useInject(),S=N(()=>Qt(b.status,e.status));Ji({prefixCls:N(()=>`${r.value}-menu`),mode:N(()=>"vertical"),selectable:N(()=>!1),onClick:()=>{},validator:$=>{wt()}}),se(()=>e.value,$=>{m.value=$});const T=$=>{v.value=!0,o("focus",$)},A=$=>{v.value=!1,o("blur",$),C.onFieldBlur()},x=function(){for(var $=arguments.length,O=new Array($),B=0;B<$;B++)O[B]=arguments[B];o("select",...O),v.value=!0},P=$=>{e.value===void 0&&(m.value=$),o("update:value",$),o("change",$),C.onFieldChange()},y=()=>{const $=e.notFoundContent;return $!==void 0?$:n.notFoundContent?n.notFoundContent():a("Select")},I=()=>{var $;return Ot((($=n.default)===null||$===void 0?void 0:$.call(n))||[]).map(O=>{var B,z;return h(h({},Qi(O)),{label:(z=(B=O.children)===null||B===void 0?void 0:B.default)===null||z===void 0?void 0:z.call(B)})})};s({focus:()=>{f.value.focus()},blur:()=>{f.value.blur()}});const w=N(()=>e.loading?cd:e.filterOption);return()=>{const{disabled:$,getPopupContainer:O,rows:B=1,id:z=C.id.value}=e,j=qo(e,["disabled","getPopupContainer","rows","id"]),{hasFeedback:q,feedbackIcon:Q}=b,{class:X}=l,ie=qo(l,["class"]),M=Ne(j,["defaultValue","onUpdate:value","prefixCls"]),D=G({[`${r.value}-disabled`]:$,[`${r.value}-focused`]:v.value,[`${r.value}-rtl`]:c.value==="rtl"},rt(r.value,S.value),!q&&X,g.value),F=h(h(h(h({prefixCls:r.value},M),{disabled:$,direction:c.value,filterOption:w.value,getPopupContainer:O,options:e.loading?[{value:"ANTDV_SEARCHING",disabled:!0,label:p(en,{size:"small"},null)}]:e.options||I(),class:D}),ie),{rows:B,onChange:P,onSelect:x,onFocus:T,onBlur:A,ref:f,value:m.value,id:z}),_=p(id,E(E({},F),{},{dropdownClassName:g.value}),{notFoundContent:y,option:n.option});return u(q?p("div",{class:G(`${r.value}-affix-wrapper`,rt(`${r.value}-affix-wrapper`,S.value,q),X,g.value)},[_,p("span",{class:`${r.value}-suffix`},[Q])]):_)}}}),jt=U(h(h({compatConfig:{MODE:3}},gi),{name:"AMentionsOption",props:hi})),fd=h(Sn,{Option:jt,getMentions:ud,install:e=>(e.component(Sn.name,Sn),e.component(jt.name,jt),e)}),pi=e=>{const{value:t,formatter:n,precision:o,decimalSeparator:l,groupSeparator:s="",prefixCls:d}=e;let i;if(typeof n=="function")i=n({value:t});else{const r=String(t),a=r.match(/^(-?)(\d*)(\.(\d+))?$/);if(!a)i=r;else{const c=a[1];let u=a[2]||"0",g=a[4]||"";u=u.replace(/\B(?=(\d{3})+(?!\d))/g,s),typeof o=="number"&&(g=g.padEnd(o,"0").slice(0,o>0?o:0)),g&&(g=`${l}${g}`),i=[p("span",{key:"int",class:`${d}-content-value-int`},[c,u]),g&&p("span",{key:"decimal",class:`${d}-content-value-decimal`},[g])]}}return p("span",{class:`${d}-content-value`},[i])};pi.displayName="StatisticNumber";const hd=pi,gd=e=>{const{componentCls:t,marginXXS:n,padding:o,colorTextDescription:l,statisticTitleFontSize:s,colorTextHeading:d,statisticContentFontSize:i,statisticFontFamily:r}=e;return{[`${t}`]:h(h({},Te(e)),{[`${t}-title`]:{marginBottom:n,color:l,fontSize:s},[`${t}-skeleton`]:{paddingTop:o},[`${t}-content`]:{color:d,fontSize:i,fontFamily:r,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},pd=Ce("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:o}=e,l=Ie(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:o});return[gd(l)]}),vi=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:ge([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:J(),formatter:Le(),precision:Number,prefix:cn(),suffix:cn(),title:cn(),loading:Y()}),qe=U({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:Se(vi(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:l,direction:s}=ve("statistic",e),[d,i]=pd(l);return()=>{var r,a,c,u,g,v,f;const{value:m=0,valueStyle:C,valueRender:b}=e,S=l.value,T=(r=e.title)!==null&&r!==void 0?r:(a=n.title)===null||a===void 0?void 0:a.call(n),A=(c=e.prefix)!==null&&c!==void 0?c:(u=n.prefix)===null||u===void 0?void 0:u.call(n),x=(g=e.suffix)!==null&&g!==void 0?g:(v=n.suffix)===null||v===void 0?void 0:v.call(n),P=(f=e.formatter)!==null&&f!==void 0?f:n.formatter;let y=p(hd,E({"data-for-update":Date.now()},h(h({},e),{prefixCls:S,value:m,formatter:P})),null);return b&&(y=b(y)),d(p("div",E(E({},o),{},{class:[S,{[`${S}-rtl`]:s.value==="rtl"},o.class,i.value]}),[T&&p("div",{class:`${S}-title`},[T]),p(Vl,{paragraph:!1,loading:e.loading},{default:()=>[p("div",{style:C,class:`${S}-content`},[A&&p("span",{class:`${S}-content-prefix`},[A]),y,x&&p("span",{class:`${S}-content-suffix`},[x])])]})]))}}}),vd=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function md(e,t){let n=e;const o=/\[[^\]]*]/g,l=(t.match(o)||[]).map(r=>r.slice(1,-1)),s=t.replace(o,"[]"),d=vd.reduce((r,a)=>{let[c,u]=a;if(r.includes(c)){const g=Math.floor(n/u);return n-=g*u,r.replace(new RegExp(`${c}+`,"g"),v=>{const f=v.length;return g.toString().padStart(f,"0")})}return r},s);let i=0;return d.replace(o,()=>{const r=l[i];return i+=1,r})}function bd(e,t){const{format:n=""}=t,o=new Date(e).getTime(),l=Date.now(),s=Math.max(o-l,0);return md(s,n)}const yd=1e3/30;function wn(e){return new Date(e).getTime()}const Sd=()=>h(h({},vi()),{value:ge([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),wd=U({compatConfig:{MODE:3},name:"AStatisticCountdown",props:Se(Sd(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:o}=t;const l=te(),s=te(),d=()=>{const{value:u}=e;wn(u)>=Date.now()?i():r()},i=()=>{if(l.value)return;const u=wn(e.value);l.value=setInterval(()=>{s.value.$forceUpdate(),u>Date.now()&&n("change",u-Date.now()),d()},yd)},r=()=>{const{value:u}=e;l.value&&(clearInterval(l.value),l.value=void 0,wn(u){let{value:g,config:v}=u;const{format:f}=e;return bd(g,h(h({},v),{format:f}))},c=u=>u;return Qe(()=>{d()}),Zt(()=>{d()}),Re(()=>{r()}),()=>{const u=e.value;return p(qe,E({ref:s},h(h({},Ne(e,["onFinish","onChange"])),{value:u,valueRender:c,formatter:a})),o)}}});qe.Countdown=wd;qe.install=function(e){return e.component(qe.name,qe),e.component(qe.Countdown.name,qe.Countdown),e};const Cd=qe.Countdown;function xd(e){let t=e.pageXOffset;const n="scrollLeft";if(typeof t!="number"){const o=e.document;t=o.documentElement[n],typeof t!="number"&&(t=o.body[n])}return t}function $d(e){let t,n;const o=e.ownerDocument,{body:l}=o,s=o&&o.documentElement,d=e.getBoundingClientRect();return t=d.left,n=d.top,t-=s.clientLeft||l.clientLeft||0,n-=s.clientTop||l.clientTop||0,{left:t,top:n}}function Td(e){const t=$d(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=xd(o),t.left}var Id={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const Ad=Id;function Zo(e){for(var t=1;t{const{index:r}=e;n("hover",i,r)},l=i=>{const{index:r}=e;n("click",i,r)},s=i=>{const{index:r}=e;i.keyCode===13&&n("click",i,r)},d=N(()=>{const{prefixCls:i,index:r,value:a,allowHalf:c,focused:u}=e,g=r+1;let v=i;return a===0&&r===0&&u?v+=` ${i}-focused`:c&&a+.5>=g&&a{const{disabled:i,prefixCls:r,characterRender:a,character:c,index:u,count:g,value:v}=e,f=typeof c=="function"?c({disabled:i,prefixCls:r,index:u,count:g,value:v}):c;let m=p("li",{class:d.value},[p("div",{onClick:i?null:l,onKeydown:i?null:s,onMousemove:i?null:o,role:"radio","aria-checked":v>u?"true":"false","aria-posinset":u+1,"aria-setsize":g,tabindex:i?-1:0},[p("div",{class:`${r}-first`},[f]),p("div",{class:`${r}-second`},[f])])]);return a&&(m=a(m,e)),m}}}),Nd=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},Rd=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),Md=e=>{const{componentCls:t}=e;return{[t]:h(h(h(h(h({},Te(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),Nd(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),Rd(e))}},Ld=Ce("Rate",e=>{const{colorFillContent:t}=e,n=Ie(e,{rateStarColor:e["yellow-6"],rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[Md(n)]}),Bd=()=>({prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:H.any,autofocus:{type:Boolean,default:void 0},tabindex:H.oneOfType([H.number,H.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),Dd=U({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:Se(Bd(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup(e,t){let{slots:n,attrs:o,emit:l,expose:s}=t;const{prefixCls:d,direction:i}=ve("rate",e),[r,a]=Ld(d),c=Et(),u=te(),[g,v]=ea(),f=yt({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});se(()=>e.value,()=>{f.value=e.value});const m=w=>Sl(v.value.get(w)),C=(w,$)=>{const O=i.value==="rtl";let B=w+1;if(e.allowHalf){const z=m(w),j=Td(z),q=z.clientWidth;(O&&$-j>q/2||!O&&$-j{e.value===void 0&&(f.value=w),l("update:value",w),l("change",w),c.onFieldChange()},S=(w,$)=>{const O=C($,w.pageX);O!==f.cleanedValue&&(f.hoverValue=O,f.cleanedValue=null),l("hoverChange",O)},T=()=>{f.hoverValue=void 0,f.cleanedValue=null,l("hoverChange",void 0)},A=(w,$)=>{const{allowClear:O}=e,B=C($,w.pageX);let z=!1;O&&(z=B===f.value),T(),b(z?0:B),f.cleanedValue=z?B:null},x=w=>{f.focused=!0,l("focus",w)},P=w=>{f.focused=!1,l("blur",w),c.onFieldBlur()},y=w=>{const{keyCode:$}=w,{count:O,allowHalf:B}=e,z=i.value==="rtl";$===he.RIGHT&&f.value0&&!z||$===he.RIGHT&&f.value>0&&z?(B?f.value-=.5:f.value-=1,b(f.value),w.preventDefault()):$===he.LEFT&&f.value{e.disabled||u.value.focus()};s({focus:I,blur:()=>{e.disabled||u.value.blur()}}),Qe(()=>{const{autofocus:w,disabled:$}=e;w&&!$&&I()});const k=(w,$)=>{let{index:O}=$;const{tooltips:B}=e;return B?p(Wn,{title:B[O]},{default:()=>[w]}):w};return()=>{const{count:w,allowHalf:$,disabled:O,tabindex:B,id:z=c.id.value}=e,{class:j,style:q}=o,Q=[],X=O?`${d.value}-disabled`:"",ie=e.character||n.character||(()=>p(kd,null,null));for(let D=0;D{var s;n("change",l),l.target.value===""&&((s=e.handleClear)===null||s===void 0||s.call(e))};return()=>{const{placeholder:l,value:s,prefixCls:d,disabled:i}=e;return p(Ml,{placeholder:l,class:d,value:s,onChange:o,disabled:i,allowClear:!0},{prefix:()=>p(ta,null,null)})}}});function Fd(){}const Wd={renderedText:H.any,renderedEl:H.any,item:H.any,checked:Y(),prefixCls:String,disabled:Y(),showRemove:Y(),onClick:Function,onRemove:Function},Vd=U({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:Wd,emits:["click","remove"],setup(e,t){let{emit:n}=t;return()=>{const{renderedText:o,renderedEl:l,item:s,checked:d,disabled:i,prefixCls:r,showRemove:a}=e,c=G({[`${r}-content-item`]:!0,[`${r}-content-item-disabled`]:i||s.disabled});let u;return(typeof o=="string"||typeof o=="number")&&(u=String(o)),p(Yn,{componentName:"Transfer",defaultLocale:Xn.Transfer},{default:g=>{const v=p("span",{class:`${r}-content-item-text`},[l]);return a?p("li",{class:c,title:u},[v,p(na,{disabled:i||s.disabled,class:`${r}-content-item-remove`,"aria-label":g.remove,onClick:()=>{n("remove",s)}},{default:()=>[p(oa,null,null)]})]):p("li",{class:c,title:u,onClick:i||s.disabled?Fd:()=>{n("click",s)}},[p(Un,{class:`${r}-checkbox`,checked:d,disabled:i||s.disabled},null),v])}})}}}),jd={prefixCls:String,filteredRenderItems:H.array.def([]),selectedKeys:H.array,disabled:Y(),showRemove:Y(),pagination:H.any,onItemSelect:Function,onScroll:Function,onItemRemove:Function};function Kd(e){if(!e)return null;const t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return typeof e=="object"?h(h({},t),e):t}const Gd=U({compatConfig:{MODE:3},name:"ListBody",inheritAttrs:!1,props:jd,emits:["itemSelect","itemRemove","scroll"],setup(e,t){let{emit:n,expose:o}=t;const l=te(1),s=u=>{const{selectedKeys:g}=e,v=g.indexOf(u.key)>=0;n("itemSelect",u.key,!v)},d=u=>{n("itemRemove",[u.key])},i=u=>{n("scroll",u)},r=N(()=>Kd(e.pagination));se([r,()=>e.filteredRenderItems],()=>{if(r.value){const u=Math.ceil(e.filteredRenderItems.length/r.value.pageSize);l.value=Math.min(l.value,u)}},{immediate:!0});const a=N(()=>{const{filteredRenderItems:u}=e;let g=u;return r.value&&(g=u.slice((l.value-1)*r.value.pageSize,l.value*r.value.pageSize)),g}),c=u=>{l.value=u};return o({items:a}),()=>{const{prefixCls:u,filteredRenderItems:g,selectedKeys:v,disabled:f,showRemove:m}=e;let C=null;r.value&&(C=p(Ll,{simple:r.value.simple,showSizeChanger:r.value.showSizeChanger,showLessItems:r.value.showLessItems,size:"small",disabled:f,class:`${u}-pagination`,total:g.length,pageSize:r.value.pageSize,current:l.value,onChange:c},null));const b=a.value.map(S=>{let{renderedEl:T,renderedText:A,item:x}=S;const{disabled:P}=x,y=v.indexOf(x.key)>=0;return p(Vd,{disabled:f||P,key:x.key,item:x,renderedText:A,renderedEl:T,checked:y,prefixCls:u,onClick:s,onRemove:d,showRemove:m},null)});return p(je,null,[p("ul",{class:G(`${u}-content`,{[`${u}-content-show-remove`]:m}),onScroll:i},[b]),C])}}}),Ud=Gd,Bn=e=>{const t=new Map;return e.forEach((n,o)=>{t.set(n,o)}),t},Xd=e=>{const t=new Map;return e.forEach((n,o)=>{let{disabled:l,key:s}=n;l&&t.set(s,o)}),t},Yd=()=>null;function qd(e){return!!(e&&!pl(e)&&Object.prototype.toString.call(e)==="[object Object]")}function Lt(e){return e.filter(t=>!t.disabled).map(t=>t.key)}const Zd={prefixCls:String,dataSource:ke([]),filter:String,filterOption:Function,checkedKeys:H.arrayOf(H.string),handleFilter:Function,handleClear:Function,renderItem:Function,showSearch:Y(!1),searchPlaceholder:String,notFoundContent:H.any,itemUnit:String,itemsUnit:String,renderList:H.any,disabled:Y(),direction:be(),showSelectAll:Y(),remove:String,selectAll:String,selectCurrent:String,selectInvert:String,removeAll:String,removeCurrent:String,selectAllLabel:H.any,showRemove:Y(),pagination:H.any,onItemSelect:Function,onItemSelectAll:Function,onItemRemove:Function,onScroll:Function},Jo=U({compatConfig:{MODE:3},name:"TransferList",inheritAttrs:!1,props:Zd,slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const l=te(""),s=te(),d=te(),i=(x,P)=>{let y=x?x(P):null;const I=!!y&&Fn(y).length>0;return I||(y=p(Ud,E(E({},P),{},{ref:d}),null)),{customize:I,bodyContent:y}},r=x=>{const{renderItem:P=Yd}=e,y=P(x),I=qd(y);return{renderedText:I?y.value:y,renderedEl:I?y.label:y,item:x}},a=te([]),c=te([]);Be(()=>{const x=[],P=[];e.dataSource.forEach(y=>{const I=r(y),{renderedText:R}=I;if(l.value&&l.value.trim()&&!b(R,y))return null;x.push(y),P.push(I)}),a.value=x,c.value=P});const u=N(()=>{const{checkedKeys:x}=e;if(x.length===0)return"none";const P=Bn(x);return a.value.every(y=>P.has(y.key)||!!y.disabled)?"all":"part"}),g=N(()=>Lt(a.value)),v=(x,P)=>Array.from(new Set([...x,...e.checkedKeys])).filter(y=>P.indexOf(y)===-1),f=x=>{let{disabled:P,prefixCls:y}=x;var I;const R=u.value==="all";return p(Un,{disabled:((I=e.dataSource)===null||I===void 0?void 0:I.length)===0||P,checked:R,indeterminate:u.value==="part",class:`${y}-checkbox`,onChange:()=>{const w=g.value;e.onItemSelectAll(v(R?[]:w,R?e.checkedKeys:[]))}},null)},m=x=>{var P;const{target:{value:y}}=x;l.value=y,(P=e.handleFilter)===null||P===void 0||P.call(e,x)},C=x=>{var P;l.value="",(P=e.handleClear)===null||P===void 0||P.call(e,x)},b=(x,P)=>{const{filterOption:y}=e;return y?y(l.value,P):x.includes(l.value)},S=(x,P)=>{const{itemsUnit:y,itemUnit:I,selectAllLabel:R}=e;if(R)return typeof R=="function"?R({selectedCount:x,totalCount:P}):R;const k=P>1?y:I;return p(je,null,[(x>0?`${x}/`:"")+P,at(" "),k])},T=N(()=>Array.isArray(e.notFoundContent)?e.notFoundContent[e.direction==="left"?0:1]:e.notFoundContent),A=(x,P,y,I,R,k)=>{const w=R?p("div",{class:`${x}-body-search-wrapper`},[p(Hd,{prefixCls:`${x}-search`,onChange:m,handleClear:C,placeholder:P,value:l.value,disabled:k},null)]):null;let $;const{onEvents:O}=la(n),{bodyContent:B,customize:z}=i(I,h(h(h({},e),{filteredItems:a.value,filteredRenderItems:c.value,selectedKeys:y}),O));return z?$=p("div",{class:`${x}-body-customize-wrapper`},[B]):$=a.value.length?B:p("div",{class:`${x}-body-not-found`},[T.value]),p("div",{class:R?`${x}-body ${x}-body-with-search`:`${x}-body`,ref:s},[w,$])};return()=>{var x,P;const{prefixCls:y,checkedKeys:I,disabled:R,showSearch:k,searchPlaceholder:w,selectAll:$,selectCurrent:O,selectInvert:B,removeAll:z,removeCurrent:j,renderList:q,onItemSelectAll:Q,onItemRemove:X,showSelectAll:ie=!0,showRemove:M,pagination:D}=e,F=(x=o.footer)===null||x===void 0?void 0:x.call(o,h({},e)),_=G(y,{[`${y}-with-pagination`]:!!D,[`${y}-with-footer`]:!!F}),L=A(y,w,I,q,k,R),W=F?p("div",{class:`${y}-footer`},[F]):null,Z=!M&&!D&&f({disabled:R,prefixCls:y});let le=null;M?le=p(Xe,null,{default:()=>[D&&p(Xe.Item,{key:"removeCurrent",onClick:()=>{const V=Lt((d.value.items||[]).map(ce=>ce.item));X==null||X(V)}},{default:()=>[j]}),p(Xe.Item,{key:"removeAll",onClick:()=>{X==null||X(g.value)}},{default:()=>[z]})]}):le=p(Xe,null,{default:()=>[p(Xe.Item,{key:"selectAll",onClick:()=>{const V=g.value;Q(v(V,[]))}},{default:()=>[$]}),D&&p(Xe.Item,{onClick:()=>{const V=Lt((d.value.items||[]).map(ce=>ce.item));Q(v(V,[]))}},{default:()=>[O]}),p(Xe.Item,{key:"selectInvert",onClick:()=>{let V;D?V=Lt((d.value.items||[]).map(ye=>ye.item)):V=g.value;const ce=new Set(I),pe=[],we=[];V.forEach(ye=>{ce.has(ye)?we.push(ye):pe.push(ye)}),Q(v(pe,we))}},{default:()=>[B]})]});const ue=p(Bl,{class:`${y}-header-dropdown`,overlay:le,disabled:R},{default:()=>[p(El,null,null)]});return p("div",{class:_,style:n.style},[p("div",{class:`${y}-header`},[ie?p(je,null,[Z,ue]):null,p("span",{class:`${y}-header-selected`},[p("span",null,[S(I.length,a.value.length)]),p("span",{class:`${y}-header-title`},[(P=o.titleText)===null||P===void 0?void 0:P.call(o)])])]),L,W])}}});function Qo(){}const po=e=>{const{disabled:t,moveToLeft:n=Qo,moveToRight:o=Qo,leftArrowText:l="",rightArrowText:s="",leftActive:d,rightActive:i,class:r,style:a,direction:c,oneWay:u}=e;return p("div",{class:r,style:a},[p(bt,{type:"primary",size:"small",disabled:t||!i,onClick:o,icon:c!=="rtl"?p(Gt,null,null):p(Ut,null,null)},{default:()=>[s]}),!u&&p(bt,{type:"primary",size:"small",disabled:t||!d,onClick:n,icon:c!=="rtl"?p(Ut,null,null):p(Gt,null,null)},{default:()=>[l]})])};po.displayName="Operation";po.inheritAttrs=!1;const Jd=po,Qd=e=>{const{antCls:t,componentCls:n,listHeight:o,controlHeightLG:l,marginXXS:s,margin:d}=e,i=`${t}-table`,r=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:o},[`${i}-wrapper`]:{[`${i}-small`]:{border:0,borderRadius:0,[`${i}-selection-column`]:{width:l,minWidth:l}},[`${i}-pagination${i}-pagination`]:{margin:`${d}px 0 ${s}px`}},[`${r}[disabled]`]:{backgroundColor:"transparent"}}}},el=(e,t)=>{const{componentCls:n,colorBorder:o}=e;return{[`${n}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:o}}}},ef=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:h({},el(e,e.colorError)),[`${t}-status-warning`]:h({},el(e,e.colorWarning))}},tf=e=>{const{componentCls:t,colorBorder:n,colorSplit:o,lineWidth:l,transferItemHeight:s,transferHeaderHeight:d,transferHeaderVerticalPadding:i,transferItemPaddingVertical:r,controlItemBgActive:a,controlItemBgActiveHover:c,colorTextDisabled:u,listHeight:g,listWidth:v,listWidthLG:f,fontSizeIcon:m,marginXS:C,paddingSM:b,lineType:S,iconCls:T,motionDurationSlow:A}=e;return{display:"flex",flexDirection:"column",width:v,height:g,border:`${l}px ${S} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:f,height:"auto"},"&-search":{[`${T}-search`]:{color:u}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:d,padding:`${i-l}px ${b}px ${i}px`,color:e.colorText,background:e.colorBgContainer,borderBottom:`${l}px ${S} ${o}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":h(h({},Tt),{flex:"auto",textAlign:"end"}),"&-dropdown":h(h({},Pl()),{fontSize:m,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",overflow:"hidden",fontSize:e.fontSize,"&-search-wrapper":{position:"relative",flex:"none",padding:b}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:s,padding:`${r}px ${b}px`,transition:`all ${A}`,"> *:not(:last-child)":{marginInlineEnd:C},"> *":{flex:"none"},"&-text":h(h({},Tt),{flex:"auto"}),"&-remove":{position:"relative",color:n,cursor:"pointer",transition:`all ${A}`,"&:hover":{color:e.colorLinkHover},"&::after":{position:"absolute",insert:`-${r}px -50%`,content:'""'}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:e.controlItemBgHover,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:c}},"&-checked":{backgroundColor:a},"&-disabled":{color:u,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:`${e.paddingXS}px 0`,textAlign:"end",borderTop:`${l}px ${S} ${o}`},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:u,textAlign:"center"},"&-footer":{borderTop:`${l}px ${S} ${o}`},"&-checkbox":{lineHeight:1}}},nf=e=>{const{antCls:t,iconCls:n,componentCls:o,transferHeaderHeight:l,marginXS:s,marginXXS:d,fontSizeIcon:i,fontSize:r,lineHeight:a}=e;return{[o]:h(h({},Te(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${o}-disabled`]:{[`${o}-list`]:{background:e.colorBgContainerDisabled}},[`${o}-list`]:tf(e),[`${o}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${s}px`,verticalAlign:"middle",[`${t}-btn`]:{display:"block","&:first-child":{marginBottom:d},[n]:{fontSize:i}}},[`${t}-empty-image`]:{maxHeight:l/2-Math.round(r*a)}})}},of=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},lf=Ce("Transfer",e=>{const{fontSize:t,lineHeight:n,lineWidth:o,controlHeightLG:l,controlHeight:s}=e,d=Math.round(t*n),i=l,r=s,a=Ie(e,{transferItemHeight:r,transferHeaderHeight:i,transferHeaderVerticalPadding:Math.ceil((i-o-d)/2),transferItemPaddingVertical:(r-d)/2});return[nf(a),Qd(a),ef(a),of(a)]},{listWidth:180,listHeight:200,listWidthLG:250}),af=()=>({id:String,prefixCls:String,dataSource:ke([]),disabled:Y(),targetKeys:ke(),selectedKeys:ke(),render:J(),listStyle:ge([Function,Object],()=>({})),operationStyle:Oe(void 0),titles:ke(),operations:ke(),showSearch:Y(!1),filterOption:J(),searchPlaceholder:String,notFoundContent:H.any,locale:Oe(),rowKey:J(),showSelectAll:Y(),selectAllLabels:ke(),children:J(),oneWay:Y(),pagination:ge([Object,Boolean]),status:be(),onChange:J(),onSelectChange:J(),onSearch:J(),onScroll:J(),"onUpdate:targetKeys":J(),"onUpdate:selectedKeys":J()}),rf=U({compatConfig:{MODE:3},name:"ATransfer",inheritAttrs:!1,props:af(),slots:Object,setup(e,t){let{emit:n,attrs:o,slots:l,expose:s}=t;const{configProvider:d,prefixCls:i,direction:r}=ve("transfer",e),[a,c]=lf(i),u=te([]),g=te([]),v=Et(),f=Jt.useInject(),m=N(()=>Qt(f.status,e.status));se(()=>e.selectedKeys,()=>{var L,W;u.value=((L=e.selectedKeys)===null||L===void 0?void 0:L.filter(Z=>e.targetKeys.indexOf(Z)===-1))||[],g.value=((W=e.selectedKeys)===null||W===void 0?void 0:W.filter(Z=>e.targetKeys.indexOf(Z)>-1))||[]},{immediate:!0});const C=(L,W)=>{const Z={notFoundContent:W("Transfer")},le=ia(l,e,"notFoundContent");return le&&(Z.notFoundContent=le),e.searchPlaceholder!==void 0&&(Z.searchPlaceholder=e.searchPlaceholder),h(h(h({},L),Z),e.locale)},b=L=>{const{targetKeys:W=[],dataSource:Z=[]}=e,le=L==="right"?u.value:g.value,ue=Xd(Z),V=le.filter(ye=>!ue.has(ye)),ce=Bn(V),pe=L==="right"?V.concat(W):W.filter(ye=>!ce.has(ye)),we=L==="right"?"left":"right";L==="right"?u.value=[]:g.value=[],n("update:targetKeys",pe),y(we,[]),n("change",pe,L,V),v.onFieldChange()},S=()=>{b("left")},T=()=>{b("right")},A=(L,W)=>{y(L,W)},x=L=>A("left",L),P=L=>A("right",L),y=(L,W)=>{L==="left"?(e.selectedKeys||(u.value=W),n("update:selectedKeys",[...W,...g.value]),n("selectChange",W,Ve(g.value))):(e.selectedKeys||(g.value=W),n("update:selectedKeys",[...W,...u.value]),n("selectChange",Ve(u.value),W))},I=(L,W)=>{const Z=W.target.value;n("search",L,Z)},R=L=>{I("left",L)},k=L=>{I("right",L)},w=L=>{n("search",L,"")},$=()=>{w("left")},O=()=>{w("right")},B=(L,W,Z)=>{const le=L==="left"?[...u.value]:[...g.value],ue=le.indexOf(W);ue>-1&&le.splice(ue,1),Z&&le.push(W),y(L,le)},z=(L,W)=>B("left",L,W),j=(L,W)=>B("right",L,W),q=L=>{const{targetKeys:W=[]}=e,Z=W.filter(le=>!L.includes(le));n("update:targetKeys",Z),n("change",Z,"left",[...L])},Q=(L,W)=>{n("scroll",L,W)},X=L=>{Q("left",L)},ie=L=>{Q("right",L)},M=(L,W)=>typeof L=="function"?L({direction:W}):L,D=te([]),F=te([]);Be(()=>{const{dataSource:L,rowKey:W,targetKeys:Z=[]}=e,le=[],ue=new Array(Z.length),V=Bn(Z);L.forEach(ce=>{W&&(ce.key=W(ce)),V.has(ce.key)?ue[V.get(ce.key)]=ce:le.push(ce)}),D.value=le,F.value=ue}),s({handleSelectChange:y});const _=L=>{var W,Z,le,ue,V,ce;const{disabled:pe,operations:we=[],showSearch:ye,listStyle:Ae,operationStyle:Ke,filterOption:De,showSelectAll:ze,selectAllLabels:Me=[],oneWay:Ge,pagination:Ue,id:K=v.id.value}=e,{class:ne,style:oe}=o,re=l.children,me=!re&&Ue,de=d.renderEmpty,ae=C(L,de),{footer:fe}=l,$e=e.render||l.render,_e=g.value.length>0,He=u.value.length>0,Ee=G(i.value,ne,{[`${i.value}-disabled`]:pe,[`${i.value}-customize-list`]:!!re,[`${i.value}-rtl`]:r.value==="rtl"},rt(i.value,m.value,f.hasFeedback),c.value),xe=e.titles,Fe=(le=(W=xe&&xe[0])!==null&&W!==void 0?W:(Z=l.leftTitle)===null||Z===void 0?void 0:Z.call(l))!==null&&le!==void 0?le:(ae.titles||["",""])[0],ut=(ce=(ue=xe&&xe[1])!==null&&ue!==void 0?ue:(V=l.rightTitle)===null||V===void 0?void 0:V.call(l))!==null&&ce!==void 0?ce:(ae.titles||["",""])[1];return p("div",E(E({},o),{},{class:Ee,style:oe,id:K}),[p(Jo,E({key:"leftList",prefixCls:`${i.value}-list`,dataSource:D.value,filterOption:De,style:M(Ae,"left"),checkedKeys:u.value,handleFilter:R,handleClear:$,onItemSelect:z,onItemSelectAll:x,renderItem:$e,showSearch:ye,renderList:re,onScroll:X,disabled:pe,direction:r.value==="rtl"?"right":"left",showSelectAll:ze,selectAllLabel:Me[0]||l.leftSelectAllLabel,pagination:me},ae),{titleText:()=>Fe,footer:fe}),p(Jd,{key:"operation",class:`${i.value}-operation`,rightActive:He,rightArrowText:we[0],moveToRight:T,leftActive:_e,leftArrowText:we[1],moveToLeft:S,style:Ke,disabled:pe,direction:r.value,oneWay:Ge},null),p(Jo,E({key:"rightList",prefixCls:`${i.value}-list`,dataSource:F.value,filterOption:De,style:M(Ae,"right"),checkedKeys:g.value,handleFilter:k,handleClear:O,onItemSelect:j,onItemSelectAll:P,onItemRemove:q,renderItem:$e,showSearch:ye,renderList:re,onScroll:ie,disabled:pe,direction:r.value==="rtl"?"left":"right",showSelectAll:ze,selectAllLabel:Me[1]||l.rightSelectAllLabel,showRemove:Ge,pagination:me},ae),{titleText:()=>ut,footer:fe})])};return()=>a(p(Yn,{componentName:"Transfer",defaultLocale:Xn.Transfer,children:_},null))}}),sf=Je(rf);function cf(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function uf(e){const{label:t,value:n,children:o}=e||{},l=n||"value";return{_title:t?[t]:["title","label"],value:l,key:l,children:o||"children"}}function Dn(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function df(e,t){const n=[];function o(l){l.forEach(s=>{n.push(s[t.value]);const d=s[t.children];d&&o(d)})}return o(e),n}function tl(e){return e==null}const mi=Symbol("TreeSelectContextPropsKey");function ff(e){return nt(mi,e)}function hf(){return ct(mi,{})}const gf={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},pf=U({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{slots:n,expose:o}=t;const l=aa(),s=ra(),d=hf(),i=te(),r=sa(()=>d.treeData,[()=>l.open,()=>d.treeData],x=>x[0]),a=N(()=>{const{checkable:x,halfCheckedKeys:P,checkedKeys:y}=s;return x?{checked:y,halfChecked:P}:null});se(()=>l.open,()=>{et(()=>{var x;l.open&&!l.multiple&&s.checkedKeys.length&&((x=i.value)===null||x===void 0||x.scrollTo({key:s.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const c=N(()=>String(l.searchValue).toLowerCase()),u=x=>c.value?String(x[s.treeNodeFilterProp]).toLowerCase().includes(c.value):!1,g=ee(s.treeDefaultExpandedKeys),v=ee(null);se(()=>l.searchValue,()=>{l.searchValue&&(v.value=df(Ve(d.treeData),Ve(d.fieldNames)))},{immediate:!0});const f=N(()=>s.treeExpandedKeys?s.treeExpandedKeys.slice():l.searchValue?v.value:g.value),m=x=>{var P;g.value=x,v.value=x,(P=s.onTreeExpand)===null||P===void 0||P.call(s,x)},C=x=>{x.preventDefault()},b=(x,P)=>{let{node:y}=P;var I,R;const{checkable:k,checkedKeys:w}=s;k&&Dn(y)||((I=d.onSelect)===null||I===void 0||I.call(d,y.key,{selected:!w.includes(y.key)}),l.multiple||(R=l.toggleOpen)===null||R===void 0||R.call(l,!1))},S=te(null),T=N(()=>s.keyEntities[S.value]),A=x=>{S.value=x};return o({scrollTo:function(){for(var x,P,y=arguments.length,I=new Array(y),R=0;R{var P;const{which:y}=x;switch(y){case he.UP:case he.DOWN:case he.LEFT:case he.RIGHT:(P=i.value)===null||P===void 0||P.onKeydown(x);break;case he.ENTER:{if(T.value){const{selectable:I,value:R}=T.value.node||{};I!==!1&&b(null,{node:{key:S.value},selected:!s.checkedKeys.includes(R)})}break}case he.ESC:l.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var x;const{prefixCls:P,multiple:y,searchValue:I,open:R,notFoundContent:k=(x=n.notFoundContent)===null||x===void 0?void 0:x.call(n)}=l,{listHeight:w,listItemHeight:$,virtual:O,dropdownMatchSelectWidth:B,treeExpandAction:z}=d,{checkable:j,treeDefaultExpandAll:q,treeIcon:Q,showTreeIcon:X,switcherIcon:ie,treeLine:M,loadData:D,treeLoadedKeys:F,treeMotion:_,onTreeLoad:L,checkedKeys:W}=s;if(r.value.length===0)return p("div",{role:"listbox",class:`${P}-empty`,onMousedown:C},[k]);const Z={fieldNames:d.fieldNames};return F&&(Z.loadedKeys=F),f.value&&(Z.expandedKeys=f.value),p("div",{onMousedown:C},[T.value&&R&&p("span",{style:gf,"aria-live":"assertive"},[T.value.node.value]),p(ca,E(E({ref:i,focusable:!1,prefixCls:`${P}-tree`,treeData:r.value,height:w,itemHeight:$,virtual:O!==!1&&B!==!1,multiple:y,icon:Q,showIcon:X,switcherIcon:ie,showLine:M,loadData:I?null:D,motion:_,activeKey:S.value,checkable:j,checkStrictly:!0,checkedKeys:a.value,selectedKeys:j?[]:W,defaultExpandAll:q},Z),{},{onActiveChange:A,onSelect:b,onCheck:b,onExpand:m,onLoad:L,filterTreeNode:u,expandAction:z}),h(h({},n),{checkable:s.customSlots.treeCheckable}))])}}}),vf="SHOW_ALL",bi="SHOW_PARENT",vo="SHOW_CHILD";function nl(e,t,n,o){const l=new Set(e);return t===vo?e.filter(s=>{const d=n[s];return!(d&&d.children&&d.children.some(i=>{let{node:r}=i;return l.has(r[o.value])})&&d.children.every(i=>{let{node:r}=i;return Dn(r)||l.has(r[o.value])}))}):t===bi?e.filter(s=>{const d=n[s],i=d?d.parent:null;return!(i&&!Dn(i.node)&&l.has(i.key))}):e}const ln=()=>null;ln.inheritAttrs=!1;ln.displayName="ATreeSelectNode";ln.isTreeSelectNode=!0;const mo=ln;var mf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l0&&arguments[0]!==void 0?arguments[0]:[];return Fn(n).map(o=>{var l,s,d;if(!bf(o))return null;const i=o.children||{},r=o.key,a={};for(const[y,I]of Object.entries(o.props))a[ua(y)]=I;const{isLeaf:c,checkable:u,selectable:g,disabled:v,disableCheckbox:f}=a,m={isLeaf:c||c===""||void 0,checkable:u||u===""||void 0,selectable:g||g===""||void 0,disabled:v||v===""||void 0,disableCheckbox:f||f===""||void 0},C=h(h({},a),m),{title:b=(l=i.title)===null||l===void 0?void 0:l.call(i,C),switcherIcon:S=(s=i.switcherIcon)===null||s===void 0?void 0:s.call(i,C)}=a,T=mf(a,["title","switcherIcon"]),A=(d=i.default)===null||d===void 0?void 0:d.call(i),x=h(h(h({},T),{title:b,switcherIcon:S,key:r,isLeaf:c}),m),P=t(A);return P.length&&(x.children=P),x})}return t(e)}function zn(e){if(!e)return e;const t=h({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function Sf(e,t,n,o,l,s){let d=null,i=null;function r(){function a(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c.map((v,f)=>{const m=`${u}-${f}`,C=v[s.value],b=n.includes(C),S=a(v[s.children]||[],m,b),T=p(mo,v,{default:()=>[S.map(A=>A.node)]});if(t===C&&(d=T),b){const A={pos:m,node:T,children:S};return g||i.push(A),A}return null}).filter(v=>v)}i||(i=[],a(o),i.sort((c,u)=>{let{node:{props:{value:g}}}=c,{node:{props:{value:v}}}=u;const f=n.indexOf(g),m=n.indexOf(v);return f-m}))}Object.defineProperty(e,"triggerNode",{get(){return r(),d}}),Object.defineProperty(e,"allCheckedNodes",{get(){return r(),l?i:i.map(a=>{let{node:c}=a;return c})}})}function wf(e,t){let{id:n,pId:o,rootPId:l}=t;const s={},d=[];return e.map(r=>{const a=h({},r),c=a[n];return s[c]=a,a.key=a.key||c,a}).forEach(r=>{const a=r[o],c=s[a];c&&(c.children=c.children||[],c.children.push(r)),(a===l||!c&&l===null)&&d.push(r)}),d}function Cf(e,t,n){const o=ee();return se([n,e,t],()=>{const l=n.value;e.value?o.value=n.value?wf(Ve(e.value),h({id:"id",pId:"pId",rootPId:null},l!==!0?l:{})):Ve(e.value).slice():o.value=yf(Ve(t.value))},{immediate:!0,deep:!0}),o}const xf=e=>{const t=ee({valueLabels:new Map}),n=ee();return se(e,()=>{n.value=Ve(e.value)},{immediate:!0}),[N(()=>{const{valueLabels:l}=t.value,s=new Map,d=n.value.map(i=>{var r;const{value:a}=i,c=(r=i.label)!==null&&r!==void 0?r:l.get(a);return s.set(a,c),h(h({},i),{label:c})});return t.value.valueLabels=s,d})]},$f=(e,t)=>{const n=ee(new Map),o=ee({});return Be(()=>{const l=t.value,s=da(e.value,{fieldNames:l,initWrapper:d=>h(h({},d),{valueEntities:new Map}),processEntity:(d,i)=>{const r=d.node[l.value];i.valueEntities.set(r,d)}});n.value=s.valueEntities,o.value=s.keyEntities}),{valueEntities:n,keyEntities:o}},Tf=(e,t,n,o,l,s)=>{const d=ee([]),i=ee([]);return Be(()=>{let r=e.value.map(u=>{let{value:g}=u;return g}),a=t.value.map(u=>{let{value:g}=u;return g});const c=r.filter(u=>!o.value[u]);n.value&&({checkedKeys:r,halfCheckedKeys:a}=On(r,!0,o.value,l.value,s.value)),d.value=Array.from(new Set([...c,...r])),i.value=a}),[d,i]},If=(e,t,n)=>{let{treeNodeFilterProp:o,filterTreeNode:l,fieldNames:s}=n;return N(()=>{const{children:d}=s.value,i=t.value,r=o==null?void 0:o.value;if(!i||l.value===!1)return e.value;let a;if(typeof l.value=="function")a=l.value;else{const u=i.toUpperCase();a=(g,v)=>{const f=v[r];return String(f).toUpperCase().includes(u)}}function c(u){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const v=[];for(let f=0,m=u.length;fe.treeCheckable&&!e.treeCheckStrictly),i=N(()=>e.treeCheckable||e.treeCheckStrictly),r=N(()=>e.treeCheckStrictly||e.labelInValue),a=N(()=>i.value||e.multiple),c=N(()=>uf(e.fieldNames)),[u,g]=It("",{value:N(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:K=>K||""}),v=K=>{var ne;g(K),(ne=e.onSearch)===null||ne===void 0||ne.call(e,K)},f=Cf(Ye(e,"treeData"),Ye(e,"children"),Ye(e,"treeDataSimpleMode")),{keyEntities:m,valueEntities:C}=$f(f,c),b=K=>{const ne=[],oe=[];return K.forEach(re=>{C.value.has(re)?oe.push(re):ne.push(re)}),{missingRawValues:ne,existRawValues:oe}},S=If(f,u,{fieldNames:c,treeNodeFilterProp:Ye(e,"treeNodeFilterProp"),filterTreeNode:Ye(e,"filterTreeNode")}),T=K=>{if(K){if(e.treeNodeLabelProp)return K[e.treeNodeLabelProp];const{_title:ne}=c.value;for(let oe=0;oecf(K).map(oe=>Af(oe)?{value:oe}:oe),x=K=>A(K).map(oe=>{let{label:re}=oe;const{value:me,halfChecked:de}=oe;let ae;const fe=C.value.get(me);return fe&&(re=re!=null?re:T(fe.node),ae=fe.node.disabled),{label:re,value:me,halfChecked:de,disabled:ae}}),[P,y]=It(e.defaultValue,{value:Ye(e,"value")}),I=N(()=>A(P.value)),R=ee([]),k=ee([]);Be(()=>{const K=[],ne=[];I.value.forEach(oe=>{oe.halfChecked?ne.push(oe):K.push(oe)}),R.value=K,k.value=ne});const w=N(()=>R.value.map(K=>K.value)),{maxLevel:$,levelEntities:O}=ha(m),[B,z]=Tf(R,k,d,m,$,O),j=N(()=>{const oe=nl(B.value,e.showCheckedStrategy,m.value,c.value).map(de=>{var ae,fe,$e;return($e=(fe=(ae=m.value[de])===null||ae===void 0?void 0:ae.node)===null||fe===void 0?void 0:fe[c.value.value])!==null&&$e!==void 0?$e:de}).map(de=>{const ae=R.value.find(fe=>fe.value===de);return{value:de,label:ae==null?void 0:ae.label}}),re=x(oe),me=re[0];return!a.value&&me&&tl(me.value)&&tl(me.label)?[]:re.map(de=>{var ae;return h(h({},de),{label:(ae=de.label)!==null&&ae!==void 0?ae:de.value})})}),[q]=xf(j),Q=(K,ne,oe)=>{const re=x(K);if(y(re),e.autoClearSearchValue&&g(""),e.onChange){let me=K;d.value&&(me=nl(K,e.showCheckedStrategy,m.value,c.value).map(Fe=>{const ut=C.value.get(Fe);return ut?ut.node[c.value.value]:Fe}));const{triggerValue:de,selected:ae}=ne||{triggerValue:void 0,selected:void 0};let fe=me;if(e.treeCheckStrictly){const xe=k.value.filter(Fe=>!me.includes(Fe.value));fe=[...fe,...xe]}const $e=x(fe),_e={preValue:R.value,triggerValue:de};let He=!0;(e.treeCheckStrictly||oe==="selection"&&!ae)&&(He=!1),Sf(_e,de,K,f.value,He,c.value),i.value?_e.checked=ae:_e.selected=ae;const Ee=r.value?$e:$e.map(xe=>xe.value);e.onChange(a.value?Ee:Ee[0],r.value?null:$e.map(xe=>xe.label),_e)}},X=(K,ne)=>{let{selected:oe,source:re}=ne;var me,de,ae;const fe=Ve(m.value),$e=Ve(C.value),_e=fe[K],He=_e==null?void 0:_e.node,Ee=(me=He==null?void 0:He[c.value.value])!==null&&me!==void 0?me:K;if(!a.value)Q([Ee],{selected:!0,triggerValue:Ee},"option");else{let xe=oe?[...w.value,Ee]:B.value.filter(Fe=>Fe!==Ee);if(d.value){const{missingRawValues:Fe,existRawValues:ut}=b(xe),wo=ut.map(rn=>$e.get(rn).key);let an;oe?{checkedKeys:an}=On(wo,!0,fe,$.value,O.value):{checkedKeys:an}=On(wo,{checked:!1,halfCheckedKeys:z.value},fe,$.value,O.value),xe=[...Fe,...an.map(rn=>fe[rn].node[c.value.value])]}Q(xe,{selected:oe,triggerValue:Ee},re||"option")}oe||!a.value?(de=e.onSelect)===null||de===void 0||de.call(e,Ee,zn(He)):(ae=e.onDeselect)===null||ae===void 0||ae.call(e,Ee,zn(He))},ie=K=>{if(e.onDropdownVisibleChange){const ne={};Object.defineProperty(ne,"documentClickClose",{get(){return!1}}),e.onDropdownVisibleChange(K,ne)}},M=(K,ne)=>{const oe=K.map(re=>re.value);if(ne.type==="clear"){Q(oe,{},"selection");return}ne.values.length&&X(ne.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:D,loadData:F,treeLoadedKeys:_,onTreeLoad:L,treeDefaultExpandAll:W,treeExpandedKeys:Z,treeDefaultExpandedKeys:le,onTreeExpand:ue,virtual:V,listHeight:ce,listItemHeight:pe,treeLine:we,treeIcon:ye,showTreeIcon:Ae,switcherIcon:Ke,treeMotion:De,customSlots:ze,dropdownMatchSelectWidth:Me,treeExpandAction:Ge}=tn(e);ga(To({checkable:i,loadData:F,treeLoadedKeys:_,onTreeLoad:L,checkedKeys:B,halfCheckedKeys:z,treeDefaultExpandAll:W,treeExpandedKeys:Z,treeDefaultExpandedKeys:le,onTreeExpand:ue,treeIcon:ye,treeMotion:De,showTreeIcon:Ae,switcherIcon:Ke,treeLine:we,treeNodeFilterProp:D,keyEntities:m,customSlots:ze})),ff(To({virtual:V,listHeight:ce,listItemHeight:pe,treeData:S,fieldNames:c,onSelect:X,dropdownMatchSelectWidth:Me,treeExpandAction:Ge}));const Ue=te();return o({focus(){var K;(K=Ue.value)===null||K===void 0||K.focus()},blur(){var K;(K=Ue.value)===null||K===void 0||K.blur()},scrollTo(K){var ne;(ne=Ue.value)===null||ne===void 0||ne.scrollTo(K)}}),()=>{var K;const ne=Ne(e,["id","prefixCls","customSlots","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return p(pa,E(E(E({ref:Ue},n),ne),{},{id:s,prefixCls:e.prefixCls,mode:a.value?"multiple":void 0,displayValues:q.value,onDisplayValuesChange:M,searchValue:u.value,onSearch:v,OptionList:pf,emptyOptions:!f.value.length,onDropdownVisibleChange:ie,tagRender:e.tagRender||l.tagRender,dropdownMatchSelectWidth:(K=e.dropdownMatchSelectWidth)!==null&&K!==void 0?K:!0}),l)}}}),kf=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:o}=e,l=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},ma(n,Ie(e,{colorBgContainer:o})),{[l]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${l}-treenode`]:{[`${l}-node-content-wrapper`]:{flex:"auto"}}}}},ba(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${l}-switcher${l}-switcher_close`]:{[`${l}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Of(e,t){return Ce("TreeSelect",n=>{const o=Ie(n,{treePrefixCls:t.value});return[kf(o)]})(e)}const ol=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function Ef(){return h(h({},Ne(yi(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:H.any,size:be(),bordered:Y(),treeLine:ge([Boolean,Object]),replaceFields:Oe(),placement:be(),status:be(),popupClassName:String,dropdownClassName:String,"onUpdate:value":J(),"onUpdate:treeExpandedKeys":J(),"onUpdate:searchValue":J()})}const Cn=U({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:Se(Ef(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:l,emit:s}=t;Cl(!(e.treeData===void 0&&o.default)),un(e.multiple!==!1||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),un(e.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),un(!e.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const d=Et(),i=Jt.useInject(),r=N(()=>Qt(i.status,e.status)),{prefixCls:a,renderEmpty:c,direction:u,virtual:g,dropdownMatchSelectWidth:v,size:f,getPopupContainer:m,getPrefixCls:C,disabled:b}=ve("select",e),{compactSize:S,compactItemClassnames:T}=kl(a,u),A=N(()=>S.value||f.value),x=Ol(),P=N(()=>{var _;return(_=b.value)!==null&&_!==void 0?_:x.value}),y=N(()=>C()),I=N(()=>e.placement!==void 0?e.placement:u.value==="rtl"?"bottomRight":"bottomLeft"),R=N(()=>ol(y.value,Ca(I.value),e.transitionName)),k=N(()=>ol(y.value,"",e.choiceTransitionName)),w=N(()=>C("select-tree",e.prefixCls)),$=N(()=>C("tree-select",e.prefixCls)),[O,B]=ya(a),[z]=Of($,w),j=N(()=>G(e.popupClassName||e.dropdownClassName,`${$.value}-dropdown`,{[`${$.value}-dropdown-rtl`]:u.value==="rtl"},B.value)),q=N(()=>!!(e.treeCheckable||e.multiple)),Q=N(()=>e.showArrow!==void 0?e.showArrow:e.loading||!q.value),X=te();l({focus(){var _,L;(L=(_=X.value).focus)===null||L===void 0||L.call(_)},blur(){var _,L;(L=(_=X.value).blur)===null||L===void 0||L.call(_)}});const ie=function(){for(var _=arguments.length,L=new Array(_),W=0;W<_;W++)L[W]=arguments[W];s("update:value",L[0]),s("change",...L),d.onFieldChange()},M=_=>{s("update:treeExpandedKeys",_),s("treeExpand",_)},D=_=>{s("update:searchValue",_),s("search",_)},F=_=>{s("blur",_),d.onFieldBlur()};return()=>{var _,L;const{notFoundContent:W=(_=o.notFoundContent)===null||_===void 0?void 0:_.call(o),prefixCls:Z,bordered:le,listHeight:ue,listItemHeight:V,multiple:ce,treeIcon:pe,treeLine:we,showArrow:ye,switcherIcon:Ae=(L=o.switcherIcon)===null||L===void 0?void 0:L.call(o),fieldNames:Ke=e.replaceFields,id:De=d.id.value}=e,{isFormItemInput:ze,hasFeedback:Me,feedbackIcon:Ge}=i,{suffixIcon:Ue,removeIcon:K,clearIcon:ne}=Sa(h(h({},e),{multiple:q.value,showArrow:Q.value,hasFeedback:Me,feedbackIcon:Ge,prefixCls:a.value}),o);let oe;W!==void 0?oe=W:oe=c("Select");const re=Ne(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),me=G(!Z&&$.value,{[`${a.value}-lg`]:A.value==="large",[`${a.value}-sm`]:A.value==="small",[`${a.value}-rtl`]:u.value==="rtl",[`${a.value}-borderless`]:!le,[`${a.value}-in-form-item`]:ze},rt(a.value,r.value,Me),T.value,n.class,B.value),de={};return e.treeData===void 0&&o.default&&(de.children=Ot(o.default())),O(z(p(Pf,E(E(E(E({},n),re),{},{disabled:P.value,virtual:g.value,dropdownMatchSelectWidth:v.value,id:De,fieldNames:Ke,ref:X,prefixCls:a.value,class:me,listHeight:ue,listItemHeight:V,treeLine:!!we,inputIcon:Ue,multiple:ce,removeIcon:K,clearIcon:ne,switcherIcon:ae=>wa(w.value,Ae,ae,o.leafIcon,we),showTreeIcon:pe,notFoundContent:oe,getPopupContainer:m==null?void 0:m.value,treeMotion:null,dropdownClassName:j.value,choiceTransitionName:k.value,onChange:ie,onBlur:F,onSearch:D,onTreeExpand:M},de),{},{transitionName:R.value,customSlots:h(h({},o),{treeCheckable:()=>p("span",{class:`${a.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:e.maxTagPlaceholder||o.maxTagPlaceholder,placement:I.value,showArrow:Me||ye}),h(h({},o),{treeCheckable:()=>p("span",{class:`${a.value}-tree-checkbox-inner`},null)}))))}}}),_n=mo,Nf=h(Cn,{TreeNode:mo,SHOW_ALL:vf,SHOW_PARENT:bi,SHOW_CHILD:vo,install:e=>(e.component(Cn.name,Cn),e.component(_n.displayName,_n),e)});function Rf(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Mf(e){return Object.keys(e).map(t=>`${Rf(t)}: ${e[t]};`).join(" ")}function ll(){return window.devicePixelRatio||1}function xn(e,t,n,o){e.translate(t,n),e.rotate(Math.PI/180*Number(o)),e.translate(-t,-n)}const Lf=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(o=>o===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var Bf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l2&&arguments[2]!==void 0?arguments[2]:{};const{window:o=xa}=n,l=Bf(n,["window"]);let s;const d=$a(()=>o&&"MutationObserver"in o),i=()=>{s&&(s.disconnect(),s=void 0)},r=se(()=>Ta(e),c=>{i(),d.value&&o&&c&&(s=new MutationObserver(t),s.observe(c,l))},{immediate:!0}),a=()=>{i(),r()};return Ia(a),{isSupported:d,stop:a}}const $n=2,il=3,zf=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:ge([String,Array]),font:Oe(),rootClassName:String,gap:ke(),offset:ke()}),_f=U({name:"AWatermark",inheritAttrs:!1,props:Se(zf(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:o}=t;const[,l]=Dl(),s=ee(),d=ee(),i=ee(!1),r=N(()=>{var k,w;return(w=(k=e.gap)===null||k===void 0?void 0:k[0])!==null&&w!==void 0?w:100}),a=N(()=>{var k,w;return(w=(k=e.gap)===null||k===void 0?void 0:k[1])!==null&&w!==void 0?w:100}),c=N(()=>r.value/2),u=N(()=>a.value/2),g=N(()=>{var k,w;return(w=(k=e.offset)===null||k===void 0?void 0:k[0])!==null&&w!==void 0?w:c.value}),v=N(()=>{var k,w;return(w=(k=e.offset)===null||k===void 0?void 0:k[1])!==null&&w!==void 0?w:u.value}),f=N(()=>{var k,w;return(w=(k=e.font)===null||k===void 0?void 0:k.fontSize)!==null&&w!==void 0?w:l.value.fontSizeLG}),m=N(()=>{var k,w;return(w=(k=e.font)===null||k===void 0?void 0:k.fontWeight)!==null&&w!==void 0?w:"normal"}),C=N(()=>{var k,w;return(w=(k=e.font)===null||k===void 0?void 0:k.fontStyle)!==null&&w!==void 0?w:"normal"}),b=N(()=>{var k,w;return(w=(k=e.font)===null||k===void 0?void 0:k.fontFamily)!==null&&w!==void 0?w:"sans-serif"}),S=N(()=>{var k,w;return(w=(k=e.font)===null||k===void 0?void 0:k.color)!==null&&w!==void 0?w:l.value.colorFill}),T=N(()=>{var k;const w={zIndex:(k=e.zIndex)!==null&&k!==void 0?k:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let $=g.value-c.value,O=v.value-u.value;return $>0&&(w.left=`${$}px`,w.width=`calc(100% - ${$}px)`,$=0),O>0&&(w.top=`${O}px`,w.height=`calc(100% - ${O}px)`,O=0),w.backgroundPosition=`${$}px ${O}px`,w}),A=()=>{d.value&&(d.value.remove(),d.value=void 0)},x=(k,w)=>{var $;s.value&&d.value&&(i.value=!0,d.value.setAttribute("style",Mf(h(h({},T.value),{backgroundImage:`url('${k}')`,backgroundSize:`${(r.value+w)*$n}px`}))),($=s.value)===null||$===void 0||$.append(d.value),setTimeout(()=>{i.value=!1}))},P=k=>{let w=120,$=64;const O=e.content,B=e.image,z=e.width,j=e.height;if(!B&&k.measureText){k.font=`${Number(f.value)}px ${b.value}`;const q=Array.isArray(O)?O:[O],Q=q.map(X=>k.measureText(X).width);w=Math.ceil(Math.max(...Q)),$=Number(f.value)*q.length+(q.length-1)*il}return[z!=null?z:w,j!=null?j:$]},y=(k,w,$,O,B)=>{const z=ll(),j=e.content,q=Number(f.value)*z;k.font=`${C.value} normal ${m.value} ${q}px/${B}px ${b.value}`,k.fillStyle=S.value,k.textAlign="center",k.textBaseline="top",k.translate(O/2,0);const Q=Array.isArray(j)?j:[j];Q==null||Q.forEach((X,ie)=>{k.fillText(X!=null?X:"",w,$+ie*(q+il*z))})},I=()=>{var k;const w=document.createElement("canvas"),$=w.getContext("2d"),O=e.image,B=(k=e.rotate)!==null&&k!==void 0?k:-22;if($){d.value||(d.value=document.createElement("div"));const z=ll(),[j,q]=P($),Q=(r.value+j)*z,X=(a.value+q)*z;w.setAttribute("width",`${Q*$n}px`),w.setAttribute("height",`${X*$n}px`);const ie=r.value*z/2,M=a.value*z/2,D=j*z,F=q*z,_=(D+r.value*z)/2,L=(F+a.value*z)/2,W=ie+Q,Z=M+X,le=_+Q,ue=L+X;if($.save(),xn($,_,L,B),O){const V=new Image;V.onload=()=>{$.drawImage(V,ie,M,D,F),$.restore(),xn($,le,ue,B),$.drawImage(V,W,Z,D,F),x(w.toDataURL(),j)},V.crossOrigin="anonymous",V.referrerPolicy="no-referrer",V.src=O}else y($,ie,M,D,F),$.restore(),xn($,le,ue,B),y($,W,Z,D,F),x(w.toDataURL(),j)}};return Qe(()=>{I()}),se(()=>[e,l.value.colorFill,l.value.fontSizeLG],()=>{I()},{deep:!0,flush:"post"}),Re(()=>{A()}),Df(s,k=>{i.value||k.forEach(w=>{Lf(w,d.value)&&(A(),I())})},{attributes:!0}),()=>{var k;return p("div",E(E({},o),{},{ref:s,class:[o.class,e.rootClassName],style:[{position:"relative"},o.style]}),[(k=n.default)===null||k===void 0?void 0:k.call(n)])}}}),Hf=Je(_f);function al(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function rl(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const Ff=h({overflow:"hidden"},Tt),Wf=e=>{const{componentCls:t}=e;return{[t]:h(h(h(h(h({},Te(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":h(h({},rl(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":h({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},Ff),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:h(h({},rl(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),al(`&-disabled ${t}-item`,e)),al(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},Vf=Ce("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:o,colorText:l,colorFillSecondary:s,colorBgLayout:d,colorBgElevated:i}=e,r=Ie(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:o,labelColorHover:l,bgColor:d,bgColorHover:s,bgColorSelected:i});return[Wf(r)]}),sl=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,dt=e=>e!==void 0?`${e}px`:void 0,jf=U({props:{value:Le(),getValueIndex:Le(),prefixCls:Le(),motionName:Le(),onMotionStart:Le(),onMotionEnd:Le(),direction:Le(),containerRef:Le()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const o=te(),l=f=>{var m;const C=e.getValueIndex(f),b=(m=e.containerRef.value)===null||m===void 0?void 0:m.querySelectorAll(`.${e.prefixCls}-item`)[C];return(b==null?void 0:b.offsetParent)&&b},s=te(null),d=te(null);se(()=>e.value,(f,m)=>{const C=l(m),b=l(f),S=sl(C),T=sl(b);s.value=S,d.value=T,n(C&&b?"motionStart":"motionEnd")},{flush:"post"});const i=N(()=>{var f,m;return e.direction==="rtl"?dt(-((f=s.value)===null||f===void 0?void 0:f.right)):dt((m=s.value)===null||m===void 0?void 0:m.left)}),r=N(()=>{var f,m;return e.direction==="rtl"?dt(-((f=d.value)===null||f===void 0?void 0:f.right)):dt((m=d.value)===null||m===void 0?void 0:m.left)});let a;const c=f=>{clearTimeout(a),et(()=>{f&&(f.style.transform="translateX(var(--thumb-start-left))",f.style.width="var(--thumb-start-width)")})},u=f=>{a=setTimeout(()=>{f&&(Aa(f,`${e.motionName}-appear-active`),f.style.transform="translateX(var(--thumb-active-left))",f.style.width="var(--thumb-active-width)")})},g=f=>{s.value=null,d.value=null,f&&(f.style.transform=null,f.style.width=null,Pa(f,`${e.motionName}-appear-active`)),n("motionEnd")},v=N(()=>{var f,m;return{"--thumb-start-left":i.value,"--thumb-start-width":dt((f=s.value)===null||f===void 0?void 0:f.width),"--thumb-active-left":r.value,"--thumb-active-width":dt((m=d.value)===null||m===void 0?void 0:m.width)}});return Re(()=>{clearTimeout(a)}),()=>{const f={ref:o,style:v.value,class:[`${e.prefixCls}-thumb`]};return p(Vn,{appear:!0,onBeforeEnter:c,onEnter:u,onAfterEnter:g},{default:()=>[!s.value||!d.value?null:p("div",f,null)]})}}}),Kf=jf;function Gf(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t})}const Uf=()=>({prefixCls:String,options:ke(),block:Y(),disabled:Y(),size:be(),value:h(h({},ge([String,Number])),{required:!0}),motionName:String,onChange:J(),"onUpdate:value":J()}),Si=(e,t)=>{let{slots:n,emit:o}=t;const{value:l,disabled:s,payload:d,title:i,prefixCls:r,label:a=n.label,checked:c,className:u}=e,g=v=>{s||o("change",v,l)};return p("label",{class:G({[`${r}-item-disabled`]:s},u)},[p("input",{class:`${r}-item-input`,type:"radio",disabled:s,checked:c,onChange:g},null),p("div",{class:`${r}-item-label`,title:typeof i=="string"?i:""},[typeof a=="function"?a({value:l,disabled:s,payload:d,title:i}):a!=null?a:l])])};Si.inheritAttrs=!1;const Xf=U({name:"ASegmented",inheritAttrs:!1,props:Se(Uf(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:l}=t;const{prefixCls:s,direction:d,size:i}=ve("segmented",e),[r,a]=Vf(s),c=ee(),u=ee(!1),g=N(()=>Gf(e.options)),v=(f,m)=>{e.disabled||(n("update:value",m),n("change",m))};return()=>{const f=s.value;return r(p("div",E(E({},l),{},{class:G(f,{[a.value]:!0,[`${f}-block`]:e.block,[`${f}-disabled`]:e.disabled,[`${f}-lg`]:i.value=="large",[`${f}-sm`]:i.value=="small",[`${f}-rtl`]:d.value==="rtl"},l.class),ref:c}),[p("div",{class:`${f}-group`},[p(Kf,{containerRef:c,prefixCls:f,value:e.value,motionName:`${f}-${e.motionName}`,direction:d.value,getValueIndex:m=>g.value.findIndex(C=>C.value===m),onMotionStart:()=>{u.value=!0},onMotionEnd:()=>{u.value=!1}},null),g.value.map(m=>p(Si,E(E({key:m.value,prefixCls:f,checked:m.value===e.value,onChange:v},m),{},{className:G(m.className,`${f}-item`,{[`${f}-item-selected`]:m.value===e.value&&!u.value}),disabled:!!e.disabled||!!m.disabled}),o))])]))}}}),Yf=Je(Xf),qf=e=>{const{componentCls:t}=e;return{[t]:h(h({},Te(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired`]:{color:e.QRCodeExpiredTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}},Zf=Ce("QRCode",e=>qf(Ie(e,{QRCodeExpiredTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var Jf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const Qf=Jf;function cl(e){for(var t=1;t({size:{type:Number,default:160},value:{type:String,required:!0},type:be("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:Oe()}),nh=()=>h(h({},yo()),{errorLevel:be("M"),icon:String,iconSize:{type:Number,default:40},status:be("active"),bordered:{type:Boolean,default:!0}});var st;(function(e){class t{static encodeText(i,r){const a=e.QrSegment.makeSegments(i);return t.encodeSegments(a,r)}static encodeBinary(i,r){const a=e.QrSegment.makeBytes(i);return t.encodeSegments([a],r)}static encodeSegments(i,r){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,g=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(t.MIN_VERSION<=a&&a<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let v,f;for(v=a;;v++){const S=t.getNumDataCodewords(v,r)*8,T=s.getTotalBits(i,v);if(T<=S){f=T;break}if(v>=c)throw new RangeError("Data too long")}for(const S of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])g&&f<=t.getNumDataCodewords(v,S)*8&&(r=S);const m=[];for(const S of i){n(S.mode.modeBits,4,m),n(S.numChars,S.mode.numCharCountBits(v),m);for(const T of S.getData())m.push(T)}l(m.length==f);const C=t.getNumDataCodewords(v,r)*8;l(m.length<=C),n(0,Math.min(4,C-m.length),m),n(0,(8-m.length%8)%8,m),l(m.length%8==0);for(let S=236;m.lengthb[T>>>3]|=S<<7-(T&7)),new t(v,r,b,u)}constructor(i,r,a,c){if(this.version=i,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],it.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=i*4+17;const u=[];for(let v=0;v>>9)*1335;const c=(r<<10|a)^21522;l(c>>>15==0);for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let i=this.version;for(let a=0;a<12;a++)i=i<<1^(i>>>11)*7973;const r=this.version<<12|i;l(r>>>18==0);for(let a=0;a<18;a++){const c=o(r,a),u=this.size-11+a%3,g=Math.floor(a/3);this.setFunctionModule(u,g,c),this.setFunctionModule(g,u,c)}}drawFinderPattern(i,r){for(let a=-4;a<=4;a++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(a)),g=i+c,v=r+a;0<=g&&g{(S!=f-u||A>=v)&&b.push(T[S])});return l(b.length==g),b}drawCodewords(i){if(i.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let r=0;for(let a=this.size-1;a>=1;a-=2){a==6&&(a=5);for(let c=0;c>>3],7-(r&7)),r++)}}l(r==i.length*8)}applyMask(i){if(i<0||i>7)throw new RangeError("Mask value out of range");for(let r=0;r5&&i++):(this.finderPenaltyAddHistory(v,f),g||(i+=this.finderPenaltyCountPatterns(f)*t.PENALTY_N3),g=this.modules[u][m],v=1);i+=this.finderPenaltyTerminateAndCount(g,v,f)*t.PENALTY_N3}for(let u=0;u5&&i++):(this.finderPenaltyAddHistory(v,f),g||(i+=this.finderPenaltyCountPatterns(f)*t.PENALTY_N3),g=this.modules[m][u],v=1);i+=this.finderPenaltyTerminateAndCount(g,v,f)*t.PENALTY_N3}for(let u=0;ug+(v?1:0),r);const a=this.size*this.size,c=Math.ceil(Math.abs(r*20-a*10)/a)-1;return l(0<=c&&c<=9),i+=c*t.PENALTY_N4,l(0<=i&&i<=2568888),i}getAlignmentPatternPositions(){if(this.version==1)return[];{const i=Math.floor(this.version/7)+2,r=this.version==32?26:Math.ceil((this.version*4+4)/(i*2-2))*2,a=[6];for(let c=this.size-7;a.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let r=(16*i+128)*i+64;if(i>=2){const a=Math.floor(i/7)+2;r-=(25*a-10)*a-55,i>=7&&(r-=36)}return l(208<=r&&r<=29648),r}static getNumDataCodewords(i,r){return Math.floor(t.getNumRawDataModules(i)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][i]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][i]}static reedSolomonComputeDivisor(i){if(i<1||i>255)throw new RangeError("Degree out of range");const r=[];for(let c=0;c0);for(const c of i){const u=c^a.shift();a.push(0),r.forEach((g,v)=>a[v]^=t.reedSolomonMultiply(g,u))}return a}static reedSolomonMultiply(i,r){if(i>>>8!=0||r>>>8!=0)throw new RangeError("Byte out of range");let a=0;for(let c=7;c>=0;c--)a=a<<1^(a>>>7)*285,a^=(r>>>c&1)*i;return l(a>>>8==0),a}finderPenaltyCountPatterns(i){const r=i[1];l(r<=this.size*3);const a=r>0&&i[2]==r&&i[3]==r*3&&i[4]==r&&i[5]==r;return(a&&i[0]>=r*4&&i[6]>=r?1:0)+(a&&i[6]>=r*4&&i[0]>=r?1:0)}finderPenaltyTerminateAndCount(i,r,a){return i&&(this.finderPenaltyAddHistory(r,a),r=0),r+=this.size,this.finderPenaltyAddHistory(r,a),this.finderPenaltyCountPatterns(a)}finderPenaltyAddHistory(i,r){r[0]==0&&(i+=this.size),r.pop(),r.unshift(i)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(d,i,r){if(i<0||i>31||d>>>i!=0)throw new RangeError("Value out of range");for(let a=i-1;a>=0;a--)r.push(d>>>a&1)}function o(d,i){return(d>>>i&1)!=0}function l(d){if(!d)throw new Error("Assertion error")}class s{static makeBytes(i){const r=[];for(const a of i)n(a,8,r);return new s(s.Mode.BYTE,i.length,r)}static makeNumeric(i){if(!s.isNumeric(i))throw new RangeError("String contains non-numeric characters");const r=[];for(let a=0;a=1<1&&arguments[1]!==void 0?arguments[1]:0;const n=[];return e.forEach(function(o,l){let s=null;o.forEach(function(d,i){if(!d&&s!==null){n.push(`M${s+t} ${l+t}h${i-s}v1H${s+t}z`),s=null;return}if(i===o.length-1){if(!d)return;s===null?n.push(`M${i+t},${l+t} h1v1H${i+t}z`):n.push(`M${s+t},${l+t} h${i+1-s}v1H${s+t}z`);return}d&&s===null&&(s=i)})}),n.join("")}function Ai(e,t){return e.slice().map((n,o)=>o=t.y+t.h?n:n.map((l,s)=>s=t.x+t.w?l:!1))}function Pi(e,t,n,o){if(o==null)return null;const l=e.length+n*2,s=Math.floor(t*ih),d=l/t,i=(o.width||s)*d,r=(o.height||s)*d,a=o.x==null?e.length/2-i/2:o.x*d,c=o.y==null?e.length/2-r/2:o.y*d;let u=null;if(o.excavate){const g=Math.floor(a),v=Math.floor(c),f=Math.ceil(i+a-g),m=Math.ceil(r+c-v);u={x:g,y:v,w:f,h:m}}return{x:a,y:c,h:r,w:i,excavation:u}}function ki(e,t){return t!=null?Math.floor(t):e?oh:lh}const ah=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),rh=U({name:"QRCodeCanvas",inheritAttrs:!1,props:h(h({},yo()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:o}=t;const l=N(()=>{var r;return(r=e.imageSettings)===null||r===void 0?void 0:r.src}),s=ee(null),d=ee(null),i=ee(!1);return o({toDataURL:(r,a)=>{var c;return(c=s.value)===null||c===void 0?void 0:c.toDataURL(r,a)}}),Be(()=>{const{value:r,size:a=Hn,level:c=Ci,bgColor:u=xi,fgColor:g=$i,includeMargin:v=Ti,marginSize:f,imageSettings:m}=e;if(s.value!=null){const C=s.value,b=C.getContext("2d");if(!b)return;let S=gt.QrCode.encodeText(r,wi[c]).getModules();const T=ki(v,f),A=S.length+T*2,x=Pi(S,a,T,m),P=d.value,y=i.value&&x!=null&&P!==null&&P.complete&&P.naturalHeight!==0&&P.naturalWidth!==0;y&&x.excavation!=null&&(S=Ai(S,x.excavation));const I=window.devicePixelRatio||1;C.height=C.width=a*I;const R=a/A*I;b.scale(R,R),b.fillStyle=u,b.fillRect(0,0,A,A),b.fillStyle=g,ah?b.fill(new Path2D(Ii(S,T))):S.forEach(function(k,w){k.forEach(function($,O){$&&b.fillRect(O+T,w+T,1,1)})}),y&&b.drawImage(P,x.x+T,x.y+T,x.w,x.h)}},{flush:"post"}),se(l,()=>{i.value=!1}),()=>{var r;const a=(r=e.size)!==null&&r!==void 0?r:Hn,c={height:`${a}px`,width:`${a}px`};let u=null;return l.value!=null&&(u=p("img",{src:l.value,key:l.value,style:{display:"none"},onLoad:()=>{i.value=!0},ref:d},null)),p(je,null,[p("canvas",E(E({},n),{},{style:[c,n.style],ref:s}),null),u])}}}),sh=U({name:"QRCodeSVG",inheritAttrs:!1,props:h(h({},yo()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,o=null,l=null,s=null,d=null;return Be(()=>{const{value:i,size:r=Hn,level:a=Ci,includeMargin:c=Ti,marginSize:u,imageSettings:g}=e;t=gt.QrCode.encodeText(i,wi[a]).getModules(),n=ki(c,u),o=t.length+n*2,l=Pi(t,r,n,g),g!=null&&l!=null&&(l.excavation!=null&&(t=Ai(t,l.excavation)),d=p("image",{"xlink:href":g.src,height:l.h,width:l.w,x:l.x+n,y:l.y+n,preserveAspectRatio:"none"},null)),s=Ii(t,n)}),()=>{const i=e.bgColor&&xi,r=e.fgColor&&$i;return p("svg",{height:e.size,width:e.size,viewBox:`0 0 ${o} ${o}`},[!!e.title&&p("title",null,[e.title]),p("path",{fill:i,d:`M0,0 h${o}v${o}H0z`,"shape-rendering":"crispEdges"},null),p("path",{fill:r,d:s,"shape-rendering":"crispEdges"},null),d])}}}),ch=U({name:"AQrcode",inheritAttrs:!1,props:nh(),emits:["refresh"],setup(e,t){let{emit:n,attrs:o,expose:l}=t;const[s]=ka("QRCode"),{prefixCls:d}=ve("qrcode",e),[i,r]=Zf(d),[,a]=Dl(),c=te();l({toDataURL:(g,v)=>{var f;return(f=c.value)===null||f===void 0?void 0:f.toDataURL(g,v)}});const u=N(()=>{const{value:g,icon:v="",size:f=160,iconSize:m=40,color:C=a.value.colorText,bgColor:b="transparent",errorLevel:S="M"}=e,T={src:v,x:void 0,y:void 0,height:m,width:m,excavate:!0};return{value:g,size:f-(a.value.paddingSM+a.value.lineWidth)*2,level:S,bgColor:b,fgColor:C,imageSettings:v?T:void 0}});return()=>{const g=d.value;return i(p("div",E(E({},o),{},{style:[o.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:u.value.bgColor}],class:[r.value,g,{[`${g}-borderless`]:!e.bordered}]}),[e.status!=="active"&&p("div",{class:`${g}-mask`},[e.status==="loading"&&p(en,null,null),e.status==="expired"&&p(je,null,[p("p",{class:`${g}-expired`},[s.value.expired]),p(bt,{type:"link",onClick:v=>n("refresh",v)},{default:()=>[s.value.refresh],icon:()=>p(th,null,null)})])]),e.type==="canvas"?p(rh,E({ref:c},u.value),null):p(sh,u.value,null)]))}}}),uh=Je(ch);function dh(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:l,bottom:s,left:d}=e.getBoundingClientRect();return o>=0&&d>=0&&l<=t&&s<=n}function fh(e,t,n,o){const[l,s]=Io(void 0);Be(()=>{const c=typeof e.value=="function"?e.value():e.value;s(c||null)},{flush:"post"});const[d,i]=Io(null),r=()=>{if(!t.value){i(null);return}if(l.value){!dh(l.value)&&t.value&&l.value.scrollIntoView(o.value);const{left:c,top:u,width:g,height:v}=l.value.getBoundingClientRect(),f={left:c,top:u,width:g,height:v,radius:0};JSON.stringify(d.value)!==JSON.stringify(f)&&i(f)}else i(null)};return Qe(()=>{se([t,l],()=>{r()},{flush:"post",immediate:!0}),window.addEventListener("resize",r)}),Re(()=>{window.removeEventListener("resize",r)}),[N(()=>{var c,u;if(!d.value)return d.value;const g=((c=n.value)===null||c===void 0?void 0:c.offset)||6,v=((u=n.value)===null||u===void 0?void 0:u.radius)||2;return{left:d.value.left-g,top:d.value.top-g,width:d.value.width+g*2,height:d.value.height+g*2,radius:v}}),l]}const hh=()=>({arrow:ge([Boolean,Object]),target:ge([String,Function,Object]),title:ge([String,Object]),description:ge([String,Object]),placement:be(),mask:ge([Object,Boolean],!0),className:{type:String},style:Oe(),scrollIntoViewOptions:ge([Boolean,Object])}),So=()=>h(h({},hh()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:J(),onFinish:J(),renderPanel:J(),onPrev:J(),onNext:J()}),gh=U({name:"DefaultPanel",inheritAttrs:!1,props:So(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:o,current:l,total:s,title:d,description:i,onClose:r,onPrev:a,onNext:c,onFinish:u}=e;return p("div",E(E({},n),{},{class:G(`${o}-content`,n.class)}),[p("div",{class:`${o}-inner`},[p("button",{type:"button",onClick:r,"aria-label":"Close",class:`${o}-close`},[p("span",{class:`${o}-close-x`},[at("\xD7")])]),p("div",{class:`${o}-header`},[p("div",{class:`${o}-title`},[d])]),p("div",{class:`${o}-description`},[i]),p("div",{class:`${o}-footer`},[p("div",{class:`${o}-sliders`},[s>1?[...Array.from({length:s}).keys()].map((g,v)=>p("span",{key:g,class:v===l?"active":""},null)):null]),p("div",{class:`${o}-buttons`},[l!==0?p("button",{class:`${o}-prev-btn`,onClick:a},[at("Prev")]):null,l===s-1?p("button",{class:`${o}-finish-btn`,onClick:u},[at("Finish")]):p("button",{class:`${o}-next-btn`,onClick:c},[at("Next")])])])])])}}}),ph=gh,vh=U({name:"TourStep",inheritAttrs:!1,props:So(),setup(e,t){let{attrs:n}=t;return()=>{const{current:o,renderPanel:l}=e;return p(je,null,[typeof l=="function"?l(h(h({},n),e),o):p(ph,E(E({},n),e),null)])}}}),mh=vh;let ul=0;const bh=wl();function yh(){let e;return bh?(e=ul,ul+=1):e="TEST_OR_SSR",e}function Sh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:te("");const t=`vc_unique_${yh()}`;return e.value||t}const Bt={fill:"transparent","pointer-events":"auto"},wh=U({name:"TourMask",props:{prefixCls:{type:String},pos:Oe(),rootClassName:{type:String},showMask:Y(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:Y(),animated:ge([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const o=Sh();return()=>{const{prefixCls:l,open:s,rootClassName:d,pos:i,showMask:r,fill:a,animated:c,zIndex:u}=e,g=`${l}-mask-${o}`,v=typeof c=="object"?c==null?void 0:c.placeholder:c;return p(zl,{visible:s,autoLock:!0},{default:()=>s&&p("div",E(E({},n),{},{class:G(`${l}-mask`,d,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:u,pointerEvents:"none"},n.style]}),[r?p("svg",{style:{width:"100%",height:"100%"}},[p("defs",null,[p("mask",{id:g},[p("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),i&&p("rect",{x:i.left,y:i.top,rx:i.radius,width:i.width,height:i.height,fill:"black",class:v?`${l}-placeholder-animated`:""},null)])]),p("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:a,mask:`url(#${g})`},null),i&&p(je,null,[p("rect",E(E({},Bt),{},{x:"0",y:"0",width:"100%",height:i.top}),null),p("rect",E(E({},Bt),{},{x:"0",y:"0",width:i.left,height:"100%"}),null),p("rect",E(E({},Bt),{},{x:"0",y:i.top+i.height,width:"100%",height:`calc(100vh - ${i.top+i.height}px)`}),null),p("rect",E(E({},Bt),{},{x:i.left+i.width,y:"0",width:`calc(100vw - ${i.left+i.width}px)`,height:"100%"}),null)])]):null])})}}}),Ch=wh,xh=[0,0],dl={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function Oi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(dl).forEach(n=>{t[n]=h(h({},dl[n]),{autoArrow:e,targetOffset:xh})}),t}Oi();var $h=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{const{builtinPlacements:e,popupAlign:t}=Oa();return{builtinPlacements:e,popupAlign:t,steps:ke(),open:Y(),defaultCurrent:{type:Number},current:{type:Number},onChange:J(),onClose:J(),onFinish:J(),mask:ge([Boolean,Object],!0),arrow:ge([Boolean,Object],!0),rootClassName:{type:String},placement:be("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:J(),gap:Oe(),animated:ge([Boolean,Object]),scrollIntoViewOptions:ge([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},Th=U({name:"Tour",inheritAttrs:!1,props:Se(Ei(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:o,scrollIntoViewOptions:l,open:s,gap:d,arrow:i}=tn(e),r=te(),[a,c]=It(0,{value:N(()=>e.current),defaultValue:t.value}),[u,g]=It(void 0,{value:N(()=>e.open),postState:y=>a.value<0||a.value>=e.steps.length?!1:y!=null?y:!0}),v=ee(u.value);Be(()=>{u.value&&!v.value&&c(0),v.value=u.value});const f=N(()=>e.steps[a.value]||{}),m=N(()=>{var y;return(y=f.value.placement)!==null&&y!==void 0?y:n.value}),C=N(()=>{var y;return u.value&&((y=f.value.mask)!==null&&y!==void 0?y:o.value)}),b=N(()=>{var y;return(y=f.value.scrollIntoViewOptions)!==null&&y!==void 0?y:l.value}),[S,T]=fh(N(()=>f.value.target),s,d,b),A=N(()=>T.value?typeof f.value.arrow>"u"?i.value:f.value.arrow:!1),x=N(()=>typeof A.value=="object"?A.value.pointAtCenter:!1);se(x,()=>{var y;(y=r.value)===null||y===void 0||y.forcePopupAlign()}),se(a,()=>{var y;(y=r.value)===null||y===void 0||y.forcePopupAlign()});const P=y=>{var I;c(y),(I=e.onChange)===null||I===void 0||I.call(e,y)};return()=>{var y;const{prefixCls:I,steps:R,onClose:k,onFinish:w,rootClassName:$,renderPanel:O,animated:B,zIndex:z}=e,j=$h(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if(T.value===void 0)return null;const q=()=>{g(!1),k==null||k(a.value)},Q=typeof C.value=="boolean"?C.value:!!C.value,X=typeof C.value=="boolean"?void 0:C.value,ie=()=>T.value||document.body,M=()=>p(mh,E({arrow:A.value,key:"content",prefixCls:I,total:R.length,renderPanel:O,onPrev:()=>{P(a.value-1)},onNext:()=>{P(a.value+1)},onClose:q,current:a.value,onFinish:()=>{q(),w==null||w()}},f.value),null),D=N(()=>{const F=S.value||Tn,_={};return Object.keys(F).forEach(L=>{typeof F[L]=="number"?_[L]=`${F[L]}px`:_[L]=F[L]}),_});return u.value?p(je,null,[p(Ch,{zIndex:z,prefixCls:I,pos:S.value,showMask:Q,style:X==null?void 0:X.style,fill:X==null?void 0:X.color,open:u.value,animated:B,rootClassName:$},null),p(Rl,E(E({},j),{},{builtinPlacements:f.value.target?(y=j.builtinPlacements)!==null&&y!==void 0?y:Oi(x.value):void 0,ref:r,popupStyle:f.value.target?f.value.style:h(h({},f.value.style),{position:"fixed",left:Tn.left,top:Tn.top,transform:"translate(-50%, -50%)"}),popupPlacement:m.value,popupVisible:u.value,popupClassName:G($,f.value.className),prefixCls:I,popup:M,forceRender:!1,destroyPopupOnHide:!0,zIndex:z,mask:!1,getTriggerDOMNode:ie}),{default:()=>[p(zl,{visible:u.value,autoLock:!0},{default:()=>[p("div",{class:G($,`${I}-target-placeholder`),style:h(h({},D.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),Ih=Th,Ah=()=>h(h({},Ei()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),Ph=()=>h(h({},So()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),kh=U({name:"ATourPanel",inheritAttrs:!1,props:Ph(),setup(e,t){let{attrs:n,slots:o}=t;const{current:l,total:s}=tn(e),d=N(()=>l.value===s.value-1),i=a=>{var c;const u=e.prevButtonProps;(c=e.onPrev)===null||c===void 0||c.call(e,a),typeof(u==null?void 0:u.onClick)=="function"&&(u==null||u.onClick())},r=a=>{var c,u;const g=e.nextButtonProps;d.value?(c=e.onFinish)===null||c===void 0||c.call(e,a):(u=e.onNext)===null||u===void 0||u.call(e,a),typeof(g==null?void 0:g.onClick)=="function"&&(g==null||g.onClick())};return()=>{const{prefixCls:a,title:c,onClose:u,cover:g,description:v,type:f,arrow:m}=e,C=e.prevButtonProps,b=e.nextButtonProps;let S;c&&(S=p("div",{class:`${a}-header`},[p("div",{class:`${a}-title`},[c])]));let T;v&&(T=p("div",{class:`${a}-description`},[v]));let A;g&&(A=p("div",{class:`${a}-cover`},[g]));let x;o.indicatorsRender?x=o.indicatorsRender({current:l.value,total:s}):x=[...Array.from({length:s.value}).keys()].map((I,R)=>p("span",{key:I,class:G(R===l.value&&`${a}-indicator-active`,`${a}-indicator`)},null));const P=f==="primary"?"default":"primary",y={type:"default",ghost:f==="primary"};return p(Yn,{componentName:"Tour",defaultLocale:Xn.Tour},{default:I=>{var R,k;return p("div",E(E({},n),{},{class:G(f==="primary"?`${a}-primary`:"",n.class,`${a}-content`)}),[m&&p("div",{class:`${a}-arrow`,key:"arrow"},null),p("div",{class:`${a}-inner`},[p(yl,{class:`${a}-close`,onClick:u},null),A,S,T,p("div",{class:`${a}-footer`},[s.value>1&&p("div",{class:`${a}-indicators`},[x]),p("div",{class:`${a}-buttons`},[l.value!==0?p(bt,E(E(E({},y),C),{},{onClick:i,size:"small",class:G(`${a}-prev-btn`,C==null?void 0:C.className)}),{default:()=>[(R=C==null?void 0:C.children)!==null&&R!==void 0?R:I.Previous]}):null,p(bt,E(E({type:P},b),{},{onClick:r,size:"small",class:G(`${a}-next-btn`,b==null?void 0:b.className)}),{default:()=>[(k=b==null?void 0:b.children)!==null&&k!==void 0?k:d.value?I.Finish:I.Next]})])])])])}})}}}),Oh=kh,Eh=e=>{let{defaultType:t,steps:n,current:o,defaultCurrent:l}=e;const s=te(l==null?void 0:l.value),d=N(()=>o==null?void 0:o.value);se(d,c=>{s.value=c!=null?c:l==null?void 0:l.value},{immediate:!0});const i=c=>{s.value=c},r=N(()=>{var c,u;return typeof s.value=="number"?n&&((u=(c=n.value)===null||c===void 0?void 0:c[s.value])===null||u===void 0?void 0:u.type):t==null?void 0:t.value});return{currentMergedType:N(()=>{var c;return(c=r.value)!==null&&c!==void 0?c:t==null?void 0:t.value}),updateInnerCurrent:i}},Nh=Eh,Rh=e=>{const{componentCls:t,lineHeight:n,padding:o,paddingXS:l,borderRadius:s,borderRadiusXS:d,colorPrimary:i,colorText:r,colorFill:a,indicatorHeight:c,indicatorWidth:u,boxShadowTertiary:g,tourZIndexPopup:v,fontSize:f,colorBgContainer:m,fontWeightStrong:C,marginXS:b,colorTextLightSolid:S,tourBorderRadius:T,colorWhite:A,colorBgTextHover:x,tourCloseSize:P,motionDurationSlow:y,antCls:I}=e;return[{[t]:h(h({},Te(e)),{color:r,position:"absolute",zIndex:v,display:"block",visibility:"visible",fontSize:f,lineHeight:n,width:520,"--antd-arrow-background-color":m,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:T,boxShadow:g,position:"relative",backgroundColor:m,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:o,insetInlineEnd:o,color:e.colorIcon,outline:"none",width:P,height:P,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${o+P+l}px ${o}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${o}px ${o}px ${l}px`,[`${t}-title`]:{lineHeight:n,fontSize:f,fontWeight:C}},[`${t}-description`]:{padding:`0 ${o}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${l}px ${o}px ${o}px`,textAlign:"end",borderRadius:`0 0 ${d}px ${d}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:u,height:c,display:"inline-block",borderRadius:"50%",background:a,"&:not(:last-child)":{marginInlineEnd:c},"&-active":{background:i}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${I}-btn`]:{marginInlineStart:b}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":i,[`${t}-inner`]:{color:S,textAlign:"start",textDecoration:"none",backgroundColor:i,borderRadius:s,boxShadow:g,[`${t}-close`]:{color:S},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new Nt(S).setAlpha(.15).toRgbString(),"&-active":{background:S}}},[`${t}-prev-btn`]:{color:S,borderColor:new Nt(S).setAlpha(.15).toRgbString(),backgroundColor:i,"&:hover":{backgroundColor:new Nt(S).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:i,borderColor:"transparent",background:A,"&:hover":{background:new Nt(x).onBackground(A).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${y}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(T,Ea)}}},Na(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:T,limitVerticalRadius:!0})]},Mh=Ce("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:o}=e,l=Ie(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*o});return[Rh(l)]});var Lh=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{const{steps:m,current:C,type:b,rootClassName:S}=e,T=Lh(e,["steps","current","type","rootClassName"]),A=G({[`${a.value}-primary`]:v.value==="primary",[`${a.value}-rtl`]:c.value==="rtl"},g.value,S),x=(I,R)=>p(Oh,E(E({},I),{},{type:b,current:R}),{indicatorsRender:l.indicatorsRender}),P=I=>{f(I),o("update:current",I),o("change",I)},y=N(()=>Ra({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return u(p(Ih,E(E(E({},n),T),{},{rootClassName:A,prefixCls:a.value,current:C,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:x,onChange:P,steps:m,builtinPlacements:y.value}),null))}}}),Dh=Je(Bh),Ni=Symbol("appConfigContext"),zh=e=>nt(Ni,e),_h=()=>ct(Ni,{}),Ri=Symbol("appContext"),Hh=e=>nt(Ri,e),Fh=yt({message:{},notification:{},modal:{}}),Wh=()=>ct(Ri,Fh),Vh=e=>{const{componentCls:t,colorText:n,fontSize:o,lineHeight:l,fontFamily:s}=e;return{[t]:{color:n,fontSize:o,lineHeight:l,fontFamily:s}}},jh=Ce("App",e=>[Vh(e)]),Kh=()=>({rootClassName:String,message:Oe(),notification:Oe()}),Gh=()=>Wh(),$t=U({name:"AApp",props:Se(Kh(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:o}=ve("app",e),[l,s]=jh(o),d=N(()=>G(s.value,o.value,e.rootClassName)),i=_h(),r=N(()=>({message:h(h({},i.message),e.message),notification:h(h({},i.notification),e.notification)}));zh(r.value);const[a,c]=Ma(r.value.message),[u,g]=La(r.value.notification),[v,f]=Ba(),m=N(()=>({message:a,notification:u,modal:v}));return Hh(m.value),()=>{var C;return l(p("div",{class:d.value},[f(),c(),g(),(C=n.default)===null||C===void 0?void 0:C.call(n)]))}}});$t.useApp=Gh;$t.install=function(e){e.component($t.name,$t)};const Uh=$t,fl=Object.freeze(Object.defineProperty({__proto__:null,Affix:Kl,Anchor:lt,AnchorLink:qn,AutoComplete:oc,AutoCompleteOptGroup:nc,AutoCompleteOption:tc,Alert:Qr,Avatar:Ms,AvatarGroup:es,Badge:Wl,BadgeRibbon:Ss,Breadcrumb:ts,BreadcrumbItem:ns,BreadcrumbSeparator:os,Button:bt,ButtonGroup:Da,Calendar:za,Card:$s,CardGrid:is,CardMeta:as,Collapse:Ls,CollapsePanel:Bs,Carousel:zc,Cascader:cs,Checkbox:Un,CheckboxGroup:_a,Col:Zr,Comment:jc,ConfigProvider:_l,DatePicker:us,MonthPicker:ds,WeekPicker:fs,RangePicker:hs,QuarterPicker:gs,Descriptions:ps,DescriptionsItem:vs,Divider:ms,Dropdown:Bl,DropdownButton:Ha,Drawer:bs,Empty:Fa,FloatButton:tt,FloatButtonGroup:Yt,BackTop:qt,Form:Wa,FormItem:Va,FormItemRest:ja,Grid:_c,Input:Ml,InputGroup:Ka,InputPassword:Ga,InputSearch:Ua,Textarea:Xa,Image:Ya,ImagePreviewGroup:qa,InputNumber:Pu,Layout:Ku,LayoutHeader:Fu,LayoutSider:Vu,LayoutFooter:Wu,LayoutContent:ju,List:ws,ListItem:Cs,ListItemMeta:xs,message:Hl,Menu:Xe,MenuDivider:Za,MenuItem:Dt,MenuItemGroup:Ja,SubMenu:Qa,Mentions:fd,MentionsOption:jt,Modal:ot,Statistic:qe,StatisticCountdown:Cd,notification:Fl,PageHeader:ls,Pagination:Ll,Popconfirm:er,Popover:tr,Progress:nr,Radio:or,RadioButton:lr,RadioGroup:ir,Rate:zd,Result:Os,Row:Jr,Select:Pn,SelectOptGroup:ar,SelectOption:rr,Skeleton:Vl,SkeletonButton:Ts,SkeletonAvatar:Is,SkeletonInput:As,SkeletonImage:Ps,SkeletonTitle:ks,Slider:sr,Space:Es,Compact:cr,Spin:en,Steps:Ns,Step:Rs,Switch:ur,Table:dr,TableColumn:fr,TableColumnGroup:hr,TableSummary:gr,TableSummaryRow:pr,TableSummaryCell:vr,Transfer:sf,Tree:mr,TreeNode:br,DirectoryTree:yr,TreeSelect:Nf,TreeSelectNode:_n,Tabs:Ds,TabPane:zs,Tag:Sr,CheckableTag:wr,TimePicker:Cr,TimeRangePicker:xr,Timeline:rs,TimelineItem:ss,Tooltip:Wn,Typography:$r,TypographyLink:Tr,TypographyParagraph:Ir,TypographyText:Ar,TypographyTitle:Pr,Upload:kr,UploadDragger:Or,LocaleProvider:Er,Watermark:Hf,Segmented:Yf,QRCode:uh,Tour:Dh,App:Uh,Flex:Nr},Symbol.toStringTag,{value:"Module"})),Xh=function(e){return Object.keys(fl).forEach(t=>{const n=fl[t];n.install&&e.use(n)}),e.use(Mr.StyleProvider),e.config.globalProperties.$message=Hl,e.config.globalProperties.$notification=Fl,e.config.globalProperties.$info=ot.info,e.config.globalProperties.$success=ot.success,e.config.globalProperties.$error=ot.error,e.config.globalProperties.$warning=ot.warning,e.config.globalProperties.$confirm=ot.confirm,e.config.globalProperties.$destroyAll=ot.destroyAll,e},Yh={version:Rr,install:Xh},qh=U({__name:"App",setup(e){const t={token:{colorPrimary:"#EA576A",colorLink:"#813841",colorLinkHover:"#EA576A"}};return(n,o)=>{const l=Lr("RouterView");return Br(),Dr(_r(_l),{theme:t,"page-header":{ghost:!1}},{default:zr(()=>[p(l)]),_:1})}}});(async()=>{const e=Hr({render:()=>Ur(qh)});Fr.init(),Wr(e,Ao),e.use(Ao),e.use(Vr),e.use(Yh),e.mount("#app"),e.component("VSelect",jr),e.component("Markdown",Kr),e.component("Message",Gr),dn(e,Xr),dn(e,Yr),dn(e,qr)})(); -//# sourceMappingURL=console.f1afbc1a.js.map +//# sourceMappingURL=console.79773b58.js.map diff --git a/abstra_statics/dist/assets/cssMode.69a04801.js b/abstra_statics/dist/assets/cssMode.7e4d67cb.js similarity index 99% rename from abstra_statics/dist/assets/cssMode.69a04801.js rename to abstra_statics/dist/assets/cssMode.7e4d67cb.js index d6856408de..4dc442c726 100644 --- a/abstra_statics/dist/assets/cssMode.69a04801.js +++ b/abstra_statics/dist/assets/cssMode.7e4d67cb.js @@ -1,4 +1,4 @@ -var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="949c1b19-f604-447d-a4c2-2fae8af909f9",e._sentryDebugIdIdentifier="sentry-dbid-949c1b19-f604-447d-a4c2-2fae8af909f9")}catch{}})();/*!----------------------------------------------------------------------------- +var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e28081aa-0857-4276-b84a-07fedd5b3b80",e._sentryDebugIdIdentifier="sentry-dbid-e28081aa-0857-4276-b84a-07fedd5b3b80")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license @@ -7,4 +7,4 @@ var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,config `,a==="\r"&&t+10&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return k.create(0,n);for(;rn?t=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1"u"}e.undefined=r;function t(f){return f===!0||f===!1}e.boolean=t;function a(f){return n.call(f)==="[object String]"}e.string=a;function o(f){return n.call(f)==="[object Number]"}e.number=o;function u(f,A,N){return n.call(f)==="[object Number]"&&A<=f&&f<=N}e.numberRange=u;function g(f){return n.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=g;function d(f){return n.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=d;function v(f){return n.call(f)==="[object Function]"}e.func=v;function w(f){return f!==null&&typeof f=="object"}e.objectLiteral=w;function b(f,A){return Array.isArray(f)&&f.every(A)}e.typedArray=b})(s||(s={}));var $e=class{constructor(e,n,i){E(this,"_disposables",[]);E(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>Qe(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function qe(e){switch(e){case I.Error:return c.MarkerSeverity.Error;case I.Warning:return c.MarkerSeverity.Warning;case I.Information:return c.MarkerSeverity.Info;case I.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function Qe(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:qe(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var Ge=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),y(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:Ze(d.command),range:u,kind:Ye(d.kind)};return d.textEdit&&(Je(d.textEdit)?v.range={insert:m(d.textEdit.insert),replace:m(d.textEdit.replace)}:v.range=m(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function y(e){if(!!e)return{character:e.column-1,line:e.lineNumber-1}}function Me(e){if(!!e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function m(e){if(!!e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Je(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function Ye(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function j(e){if(!!e)return{range:m(e.range),text:e.newText}}function Ze(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Ke=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),y(n))).then(t=>{if(!!t)return{range:m(t.range),contents:tt(t.contents)}})}};function et(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function De(e){return typeof e=="string"?{value:e}:et(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+` `+e.value+"\n```\n"}}function tt(e){if(!!e)return Array.isArray(e)?e.map(De):[De(e)]}var rt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),y(n))).then(t=>{if(!!t)return t.map(a=>({range:m(a.range),kind:nt(a.kind)}))})}};function nt(e){switch(e){case P.Read:return c.languages.DocumentHighlightKind.Read;case P.Write:return c.languages.DocumentHighlightKind.Write;case P.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var it=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),y(n))).then(t=>{if(!!t)return[Te(t)]})}};function Te(e){return{uri:c.Uri.parse(e.uri),range:m(e.range)}}var at=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),y(n))).then(a=>{if(!!a)return a.map(Te)})}},ot=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),y(n),i)).then(a=>st(a))}};function st(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:m(t.range),text:t.newText}})}return{edits:n}}var ut=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(!!r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:ct(t.kind),range:m(t.location.range),selectionRange:m(t.location.range),tags:[]}))})}};function ct(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var wt=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(!!r)return{links:r.map(t=>({range:m(t.range),url:t.target}))}})}},dt=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Se(n)).then(a=>{if(!(!a||a.length===0))return a.map(j)}))}},ft=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Me(n),Se(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Se(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var gt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(!!r)return r.map(t=>({color:t.color,range:m(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Me(n.range))).then(t=>{if(!!t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},lt=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(!!t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=ht(a.kind)),o})})}};function ht(e){switch(e){case D.Comment:return c.languages.FoldingRangeKind.Comment;case D.Imports:return c.languages.FoldingRangeKind.Imports;case D.Region:return c.languages.FoldingRangeKind.Region}}var vt=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(y))).then(t=>{if(!!t)return t.map(a=>{const o=[];for(;a;)o.push({range:m(a.range)}),a=a.parent;return o})})}};function kt(e){const n=[],i=[],r=new Xe(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Fe(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Ge(t,["/","-",":"]))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Ke(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new rt(t))),u.definitions&&i.push(c.languages.registerDefinitionProvider(o,new it(t))),u.references&&i.push(c.languages.registerReferenceProvider(o,new at(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new ut(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new ot(t))),u.colors&&i.push(c.languages.registerColorProvider(o,new gt(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new lt(t))),u.diagnostics&&i.push(new $e(o,t,e.onDidChange)),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new vt(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new dt(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new ft(t)))}return a(),n.push(Pe(i)),Pe(n)}function Pe(e){return{dispose:()=>Fe(e)}}function Fe(e){for(;e.length;)e.pop().dispose()}export{Ge as CompletionAdapter,it as DefinitionAdapter,$e as DiagnosticsAdapter,gt as DocumentColorAdapter,dt as DocumentFormattingEditProvider,rt as DocumentHighlightAdapter,wt as DocumentLinkAdapter,ft as DocumentRangeFormattingEditProvider,ut as DocumentSymbolAdapter,lt as FoldingRangeAdapter,Ke as HoverAdapter,at as ReferenceAdapter,ot as RenameAdapter,vt as SelectionRangeAdapter,Xe as WorkerManager,y as fromPosition,Me as fromRange,kt as setupMode,m as toRange,j as toTextEdit}; -//# sourceMappingURL=cssMode.69a04801.js.map +//# sourceMappingURL=cssMode.7e4d67cb.js.map diff --git a/abstra_statics/dist/assets/datetime.2a4e2aaa.js b/abstra_statics/dist/assets/datetime.0827e1b6.js similarity index 80% rename from abstra_statics/dist/assets/datetime.2a4e2aaa.js rename to abstra_statics/dist/assets/datetime.0827e1b6.js index 9cff0369d7..cfc5003f93 100644 --- a/abstra_statics/dist/assets/datetime.2a4e2aaa.js +++ b/abstra_statics/dist/assets/datetime.0827e1b6.js @@ -1,2 +1,2 @@ -import{C as n}from"./gateway.a5388860.js";import"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="f3ee62dd-49e5-4807-a0a0-a303ee040342",o._sentryDebugIdIdentifier="sentry-dbid-f3ee62dd-49e5-4807-a0a0-a303ee040342")}catch{}})();class u{async list(t){return n.get(`projects/${t}/builds`)}async get(t){return n.get(`builds/${t}`)}async download(t){return n.get(`builds/${t}/download`)}}const d=new u;class l{constructor(t){this.dto=t}static async list(t){return(await d.list(t)).map(i=>new l(i))}get id(){return this.dto.id}get projectId(){return this.dto.projectId}get createdAt(){return new Date(this.dto.createdAt)}get status(){return this.dto.status}get log(){return this.dto.log}get latest(){return this.dto.latest}get abstraVersion(){return this.dto.abstraVersion}async download(){const t=await d.download(this.id);if(!t)throw new Error("Download failed");window.open(t.url,"_blank")}}class g{constructor(t,s,i,r){this.projectId=t,this.buildId=s,this.abstraVersion=i,this.project=r}static fromV0(t,s,i,r){const a={hooks:r.hooks.map(e=>({id:e.path,logQuery:{buildId:s,stageId:e.path,stageTitle:e.title},...e})),forms:r.forms.map(e=>({id:e.path,logQuery:{buildId:s,stageId:e.path,stageTitle:e.title},...e})),jobs:r.jobs.map(e=>({id:e.identifier,logQuery:{buildId:s,stageId:e.identifier,stageTitle:e.title},...e})),scripts:[]};return new g(t,s,i,a)}static fromDTO(t,s,i,r){const a={hooks:r.hooks.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e})),forms:r.forms.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e})),jobs:r.jobs.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e})),scripts:r.scripts.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e}))};return new g(t,s,i,a)}static async get(t){const s=await d.get(t);if(!s)throw new Error("Build not found");const{projectId:i,abstraJson:r,abstraVersion:a}=s;if(!r||!a)return null;const e=JSON.parse(r);if(!e.version)throw new Error("Version is invalid");return e.version==="0.1"?this.fromV0(i,t,a,e):this.fromDTO(i,t,a,e)}get runtimes(){return[...this.project.forms.map(t=>({...t,type:"form"})),...this.project.hooks.map(t=>({...t,type:"hook"})),...this.project.jobs.map(t=>({...t,type:"job"})),...this.project.scripts.map(t=>({...t,type:"script"}))]}}function h(o,t){return o.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...t})}export{l as B,g as a,u as b,h as g}; -//# sourceMappingURL=datetime.2a4e2aaa.js.map +import{C as n}from"./gateway.edd4374b.js";import"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="b5288616-3dd5-4463-8e61-c7af270feb8d",o._sentryDebugIdIdentifier="sentry-dbid-b5288616-3dd5-4463-8e61-c7af270feb8d")}catch{}})();class c{async list(t){return n.get(`projects/${t}/builds`)}async get(t){return n.get(`builds/${t}`)}async download(t){return n.get(`builds/${t}/download`)}}const d=new c;class l{constructor(t){this.dto=t}static async list(t){return(await d.list(t)).map(i=>new l(i))}get id(){return this.dto.id}get projectId(){return this.dto.projectId}get createdAt(){return new Date(this.dto.createdAt)}get status(){return this.dto.status}get log(){return this.dto.log}get latest(){return this.dto.latest}get abstraVersion(){return this.dto.abstraVersion}async download(){const t=await d.download(this.id);if(!t)throw new Error("Download failed");window.open(t.url,"_blank")}}class g{constructor(t,s,i,r){this.projectId=t,this.buildId=s,this.abstraVersion=i,this.project=r}static fromV0(t,s,i,r){const a={hooks:r.hooks.map(e=>({id:e.path,logQuery:{buildId:s,stageId:e.path,stageTitle:e.title},...e})),forms:r.forms.map(e=>({id:e.path,logQuery:{buildId:s,stageId:e.path,stageTitle:e.title},...e})),jobs:r.jobs.map(e=>({id:e.identifier,logQuery:{buildId:s,stageId:e.identifier,stageTitle:e.title},...e})),scripts:[]};return new g(t,s,i,a)}static fromDTO(t,s,i,r){const a={hooks:r.hooks.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e})),forms:r.forms.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e})),jobs:r.jobs.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e})),scripts:r.scripts.map(e=>({logQuery:{buildId:s,stageId:e.id,stageTitle:e.title},...e}))};return new g(t,s,i,a)}static async get(t){const s=await d.get(t);if(!s)throw new Error("Build not found");const{projectId:i,abstraJson:r,abstraVersion:a}=s;if(!r||!a)return null;const e=JSON.parse(r);if(!e.version)throw new Error("Version is invalid");return e.version==="0.1"?this.fromV0(i,t,a,e):this.fromDTO(i,t,a,e)}get runtimes(){return[...this.project.forms.map(t=>({...t,type:"form"})),...this.project.hooks.map(t=>({...t,type:"hook"})),...this.project.jobs.map(t=>({...t,type:"job"})),...this.project.scripts.map(t=>({...t,type:"script"}))]}}function f(o,t){return o.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...t})}export{l as B,g as a,c as b,f as g}; +//# sourceMappingURL=datetime.0827e1b6.js.map diff --git a/abstra_statics/dist/assets/dayjs.1e9ba65b.js b/abstra_statics/dist/assets/dayjs.1e9ba65b.js deleted file mode 100644 index 2a1b91e396..0000000000 --- a/abstra_statics/dist/assets/dayjs.1e9ba65b.js +++ /dev/null @@ -1,2 +0,0 @@ -import{S as s,dA as d,dB as i}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="1865d78a-c58d-4aa7-8387-27f6c56ea65a",e._sentryDebugIdIdentifier="sentry-dbid-1865d78a-c58d-4aa7-8387-27f6c56ea65a")}catch{}})();const{DatePicker:n,WeekPicker:a,MonthPicker:t,YearPicker:f,TimePicker:m,QuarterPicker:r,RangePicker:o}=d(i),y=s(n,{WeekPicker:a,MonthPicker:t,YearPicker:f,RangePicker:o,TimePicker:m,QuarterPicker:r,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(t.name,t),e.component(a.name,a),e.component(r.name,r),e)});export{y as D,t as M,r as Q,o as R,a as W}; -//# sourceMappingURL=dayjs.1e9ba65b.js.map diff --git a/abstra_statics/dist/assets/dayjs.31352634.js b/abstra_statics/dist/assets/dayjs.31352634.js new file mode 100644 index 0000000000..2bfa886685 --- /dev/null +++ b/abstra_statics/dist/assets/dayjs.31352634.js @@ -0,0 +1,2 @@ +import{S as a,dA as i,dB as d}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="bcc7cec2-3857-4664-b956-3c7c006e97db",e._sentryDebugIdIdentifier="sentry-dbid-bcc7cec2-3857-4664-b956-3c7c006e97db")}catch{}})();const{DatePicker:n,WeekPicker:c,MonthPicker:t,YearPicker:b,TimePicker:m,QuarterPicker:r,RangePicker:o}=i(d),u=a(n,{WeekPicker:c,MonthPicker:t,YearPicker:b,RangePicker:o,TimePicker:m,QuarterPicker:r,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(t.name,t),e.component(c.name,c),e.component(r.name,r),e)});export{u as D,t as M,r as Q,o as R,c as W}; +//# sourceMappingURL=dayjs.31352634.js.map diff --git a/abstra_statics/dist/assets/editor.1b3b164b.js b/abstra_statics/dist/assets/editor.1b3b164b.js new file mode 100644 index 0000000000..63f658ce2d --- /dev/null +++ b/abstra_statics/dist/assets/editor.1b3b164b.js @@ -0,0 +1,2 @@ +var T=Object.defineProperty;var k=(o,e,t)=>e in o?T(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var n=(o,e,t)=>(k(o,typeof e!="symbol"?e+"":e,t),t);import{d as A,r as I,o as V,c as j,w as D,a as O,b as U,u as C,A as x,l as f,e as w,f as g,g as E,h as S,i as $,_ as a,j as W,k as N,T as B,m as M,P as q,C as F,M as H,s as J,n as m,p as z,q as G,t as Y,v as K}from"./vue-router.324eaed2.js";import{d as Q,r as X,u as Z,g as ee,s as te,c as oe}from"./workspaceStore.5977d9e8.js";import{a as ae}from"./asyncComputed.3916dfed.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="0df008f3-c055-4cb9-936e-c60a3b1f9b15",o._sentryDebugIdIdentifier="sentry-dbid-0df008f3-c055-4cb9-936e-c60a3b1f9b15")}catch{}})();const re={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},ne=A({__name:"App",setup(o){const e={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(t,r)=>{const l=I("RouterView");return V(),j(C(x),{theme:e,"page-header":{ghost:!1}},{default:D(()=>[O("div",re,[U(l)])]),_:1})}}});class v{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}static getLoginUrl(e){return"https://cloud.abstra.io/api-key?"+new URLSearchParams(e)}}class se{async check(){return(await fetch("/_editor/api/linters/check")).json()}async fix(e,t){const r=await fetch(`/_editor/api/linters/fix/${e}/${t}`,{method:"POST"});if(!r.ok)throw new Error("Failed to fix");return _.refetch(),r.json()}}const b=new se,_=ae(async()=>(await b.check()).map(e=>new le(e)));class ie{constructor(e,t){n(this,"name");n(this,"label");n(this,"ruleName");this.name=e.name,this.label=e.label,this.ruleName=t}async fix(){await b.fix(this.ruleName,this.name)}}class ce{constructor(e,t){n(this,"label");n(this,"fixes");this.ruleName=t,this.label=e.label,this.fixes=e.fixes.map(r=>new ie(r,t))}}class le{constructor(e){n(this,"name");n(this,"label");n(this,"type");n(this,"issues");this.name=e.name,this.label=e.label,this.type=e.type,this.issues=e.issues.map(t=>new ce(t,this.name))}static get asyncComputed(){return _}static fromName(e){var r;const t=(r=_.result.value)==null?void 0:r.find(l=>l.name===e);if(!t)throw new Error(`Rule ${e} not found`);return t}}const i=class{static dispatch(e,t,r=0){window.Intercom?window.Intercom(e,t):r<10?setTimeout(()=>i.dispatch(e,t),100):console.error("Intercom not loaded")}static boot(e,t){i.booted||(i.dispatch("boot",{api_base:"https://api-iam.intercom.io",app_id:"h97k86ks",name:e,email:e,user_hash:t,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),i.booted=!0)}static shutdown(){i.dispatch("shutdown"),i.booted=!1}};let d=i;n(d,"booted",!1);const pe={"console-url":"https://cloud.abstra.io"},de=o=>{const e="VITE_"+f.toUpper(f.snakeCase(o)),t={VITE_SENTRY_RELEASE:"542aaba50a42d9e1385bcc5e5db9c42b54d0be06",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[e];return t||pe[o]},p={consoleUrl:de("console-url")},ue=Q("cloud-project",()=>{const o=new v,e=w(null),t=w(null),r=g(()=>{var s,c;return(c=(s=e.value)==null?void 0:s.logged)!=null?c:!1}),l=g(()=>t.value?{project:`${p.consoleUrl}/projects/${t.value.id}`,users:`${p.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=users`,roles:`${p.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=roles`,builds:`${p.consoleUrl}/projects/${t.value.id}/builds`,login:`${p.consoleUrl}/api-key`}:null),L=async()=>{!r.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},y=async s=>{const c=await o.createLogin(s);e.value=c,c.logged&&await h()},h=async()=>t.value=await o.getCloudProject(),P=async()=>e.value?e.value:(e.value=await o.getLogin(),e.value.logged);return E(()=>e.value,h),E(()=>e.value,async s=>{if(s&&"info"in s){const{email:c,intercomHash:R}=s.info;d.boot(c,R)}else d.shutdown()}),{loadLogin:P,createLogin:y,deleteLogin:L,loginInfo:e,cloudProject:t,isLogged:r,links:l}}),me=X.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),u=S({history:$("/"),routes:[{path:"/_editor/",name:"app",component:()=>a(()=>import("./Home.b4e591a2.js"),["assets/Home.b4e591a2.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/Home.ad31131b.css"]),children:[{path:"",name:"workspace",component:()=>a(()=>import("./Workspace.ba58b63f.js"),["assets/Workspace.ba58b63f.js","assets/BaseLayout.577165c3.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/PhSignOut.vue.d965d159.js","assets/NavbarControls.414bdd58.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/CloseCircleOutlined.6d0d12eb.js","assets/index.0887bacc.js","assets/index.7d758831.js","assets/workspaces.a34621fe.js","assets/record.cff1707c.js","assets/popupNotifcation.5a82bc93.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/PhChats.vue.42699894.js","assets/NavbarControls.8216d9aa.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/PhIdentificationBadge.vue.c9ecd119.js","assets/PhCaretRight.vue.70c5f54b.js","assets/PhFlowArrow.vue.a7015891.js","assets/PhKanban.vue.e9ec854d.js","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/asyncComputed.3916dfed.js","assets/Workspace.1d39102f.css"]),redirect:()=>({name:"workflowEditor"}),children:[{path:"stages",name:"stages",component:()=>a(()=>import("./Stages.17263941.js"),["assets/Stages.17263941.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/CrudView.0b1b90a7.js","assets/router.0c18ec5d.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/ant-design.48401d91.js","assets/asyncComputed.3916dfed.js","assets/string.d698465c.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/forms.32a04fb9.js","assets/record.cff1707c.js","assets/scripts.c1b9be98.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/colorHelpers.78fae216.js","assets/index.0887bacc.js","assets/PhWebhooksLogo.vue.96003388.js","assets/validations.339bcb94.js","assets/Stages.2b141080.css"]),meta:{title:"Stages"}},{path:"workflow",name:"workflowEditor",component:()=>a(()=>import("./WorkflowEditor.91f9a867.js"),["assets/WorkflowEditor.91f9a867.js","assets/api.bbc4c8cb.js","assets/fetch.42a41b34.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/Workflow.d9c6a369.js","assets/PhArrowCounterClockwise.vue.1fa0c440.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/uuid.a06fb10a.js","assets/index.40f13cf1.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/record.cff1707c.js","assets/polling.72e5a2f8.js","assets/index.e3c8c96c.js","assets/Badge.9808092c.js","assets/PhArrowDown.vue.8953407d.js","assets/Workflow.6ef00fbb.css","assets/asyncComputed.3916dfed.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/index.341662d4.js","assets/WorkflowEditor.bb12f104.css"]),meta:{title:"Workflow Editor"}},{path:"threads",name:"workflowThreads",component:()=>a(()=>import("./WorkflowThreads.4907d93b.js"),["assets/WorkflowThreads.4907d93b.js","assets/api.bbc4c8cb.js","assets/fetch.42a41b34.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/WorkflowView.2e20a43a.js","assets/polling.72e5a2f8.js","assets/asyncComputed.3916dfed.js","assets/PhQuestion.vue.6a6a9376.js","assets/ant-design.48401d91.js","assets/index.7d758831.js","assets/index.520f8c66.js","assets/index.582a893b.js","assets/CollapsePanel.ce95f921.js","assets/index.341662d4.js","assets/index.fe1d28be.js","assets/Badge.9808092c.js","assets/PhArrowCounterClockwise.vue.1fa0c440.js","assets/Workflow.d9c6a369.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/uuid.a06fb10a.js","assets/index.40f13cf1.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/record.cff1707c.js","assets/index.e3c8c96c.js","assets/PhArrowDown.vue.8953407d.js","assets/Workflow.6ef00fbb.css","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/LoadingOutlined.09a06334.js","assets/DeleteOutlined.618a8e2f.js","assets/PhDownloadSimple.vue.7ab7df2c.js","assets/utils.6b974807.js","assets/LoadingContainer.57756ccb.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css"]),meta:{title:"Workflow Threads"}},{path:"preferences",name:"settingsPreferences",component:()=>a(()=>import("./PreferencesEditor.84dda27f.js"),["assets/PreferencesEditor.84dda27f.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/record.cff1707c.js","assets/PlayerNavbar.0bdb1677.js","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/LoadingOutlined.09a06334.js","assets/PhSignOut.vue.d965d159.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/PlayerNavbar.8a0727fc.css","assets/PlayerConfigProvider.8618ed20.js","assets/index.40f13cf1.js","assets/PlayerConfigProvider.8864c905.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/LoadingContainer.57756ccb.js","assets/LoadingContainer.56fa997a.css","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/asyncComputed.3916dfed.js","assets/PreferencesEditor.a7201214.css"]),meta:{title:"Preferences"}},{path:"requirements",name:"settingsRequirements",component:()=>a(()=>import("./RequirementsEditor.47afc6fd.js"),["assets/RequirementsEditor.47afc6fd.js","assets/ContentLayout.5465dc16.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.ee57a545.css","assets/CrudView.0b1b90a7.js","assets/router.0c18ec5d.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/record.cff1707c.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/colorHelpers.78fae216.js","assets/RequirementsEditor.46e215f2.css"]),meta:{title:"Requirements"}},{path:"env-vars",name:"env-vars",component:()=>a(()=>import("./EnvVarsEditor.c191ac4a.js"),["assets/EnvVarsEditor.c191ac4a.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/record.cff1707c.js","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/View.vue_vue_type_script_setup_true_lang.4883471d.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/fetch.42a41b34.js","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.0b1b90a7.js","assets/router.0c18ec5d.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/PhPencil.vue.91f72c2e.js","assets/index.0887bacc.js"]),meta:{title:"Environment Variables"}},{path:"access-control",name:"accessControl",component:()=>a(()=>import("./AccessControlEditor.6f5c94d3.js"),["assets/AccessControlEditor.6f5c94d3.js","assets/ContentLayout.5465dc16.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.ee57a545.css","assets/fetch.42a41b34.js","assets/record.cff1707c.js","assets/repository.61a8d769.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/asyncComputed.3916dfed.js","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/PhGlobe.vue.8ad99031.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/index.341662d4.js","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/index.0887bacc.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/AccessControlEditor.b7d1ceb9.css"]),meta:{title:"Access Control"}}]},{path:"project-login",name:"projectLogin",component:()=>a(()=>import("./ProjectLogin.5bfea41a.js"),["assets/ProjectLogin.5bfea41a.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/Logo.03290bf7.css","assets/BaseLayout.577165c3.js","assets/BaseLayout.b7a1f19a.css","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/index.7d758831.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/asyncComputed.3916dfed.js","assets/ProjectLogin.2f3a2bb2.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:"form/:id",name:"formEditor",component:()=>a(()=>import("./FormEditor.dbea5a50.js"),["assets/FormEditor.dbea5a50.js","assets/api.bbc4c8cb.js","assets/fetch.42a41b34.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/PlayerNavbar.0bdb1677.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/LoadingOutlined.09a06334.js","assets/PhSignOut.vue.d965d159.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/PlayerNavbar.8a0727fc.css","assets/BaseLayout.577165c3.js","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.b049bbd7.js","assets/uuid.a06fb10a.js","assets/scripts.c1b9be98.js","assets/record.cff1707c.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/PhCopy.vue.b2238e41.js","assets/PhCopySimple.vue.d9faf509.js","assets/PhCaretRight.vue.70c5f54b.js","assets/Badge.9808092c.js","assets/PhQuestion.vue.6a6a9376.js","assets/workspaces.a34621fe.js","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/PhPencil.vue.91f72c2e.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css","assets/index.0887bacc.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/SourceCode.954a8594.css","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/FormRunner.514c3468.js","assets/Login.vue_vue_type_script_setup_true_lang.88412b2f.js","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/CircularLoading.08cb4e45.js","assets/CircularLoading.1a558a0d.css","assets/index.40f13cf1.js","assets/Login.c8ca392c.css","assets/Steps.f9a5ddf6.js","assets/index.0b1755c2.js","assets/Steps.4d03c6c1.css","assets/Watermark.de74448d.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/PlayerConfigProvider.8618ed20.js","assets/PlayerConfigProvider.8864c905.css","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/PhFlowArrow.vue.a7015891.js","assets/forms.32a04fb9.js","assets/ThreadSelector.d62fadec.js","assets/index.520f8c66.js","assets/index.341662d4.js","assets/ThreadSelector.c38c4d8f.css","assets/index.7d758831.js","assets/NavbarControls.414bdd58.js","assets/CloseCircleOutlined.6d0d12eb.js","assets/popupNotifcation.5a82bc93.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/PhChats.vue.42699894.js","assets/NavbarControls.8216d9aa.css","assets/index.51467614.js","assets/FormEditor.3bacf8bd.css"]),meta:{title:"Form Editor"}},{path:"job/:id",name:"jobEditor",component:()=>a(()=>import("./JobEditor.bd0400b1.js"),["assets/JobEditor.bd0400b1.js","assets/BaseLayout.577165c3.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.b049bbd7.js","assets/uuid.a06fb10a.js","assets/scripts.c1b9be98.js","assets/record.cff1707c.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/PhCopy.vue.b2238e41.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhCopySimple.vue.d9faf509.js","assets/PhCaretRight.vue.70c5f54b.js","assets/Badge.9808092c.js","assets/PhBug.vue.ac4a72e0.js","assets/PhQuestion.vue.6a6a9376.js","assets/LoadingOutlined.09a06334.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/PhPencil.vue.91f72c2e.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css","assets/index.0887bacc.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/SourceCode.954a8594.css","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.5cae8761.js","assets/index.7d758831.js","assets/RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js","assets/NavbarControls.414bdd58.js","assets/CloseCircleOutlined.6d0d12eb.js","assets/popupNotifcation.5a82bc93.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/PhChats.vue.42699894.js","assets/NavbarControls.8216d9aa.css","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js"]),meta:{title:"Job Editor"}},{path:"hook/:id",name:"hookEditor",component:()=>a(()=>import("./HookEditor.d8819aa7.js"),["assets/HookEditor.d8819aa7.js","assets/BaseLayout.577165c3.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.b049bbd7.js","assets/uuid.a06fb10a.js","assets/scripts.c1b9be98.js","assets/record.cff1707c.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/PhCopy.vue.b2238e41.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhCopySimple.vue.d9faf509.js","assets/PhCaretRight.vue.70c5f54b.js","assets/Badge.9808092c.js","assets/PhBug.vue.ac4a72e0.js","assets/PhQuestion.vue.6a6a9376.js","assets/LoadingOutlined.09a06334.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/PhPencil.vue.91f72c2e.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css","assets/index.0887bacc.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/SourceCode.954a8594.css","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js","assets/api.bbc4c8cb.js","assets/fetch.42a41b34.js","assets/metadata.4c5c5434.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/ThreadSelector.d62fadec.js","assets/index.520f8c66.js","assets/index.341662d4.js","assets/ThreadSelector.c38c4d8f.css","assets/index.49b2eaf0.js","assets/CollapsePanel.ce95f921.js","assets/index.7d758831.js","assets/NavbarControls.414bdd58.js","assets/CloseCircleOutlined.6d0d12eb.js","assets/popupNotifcation.5a82bc93.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/PhChats.vue.42699894.js","assets/NavbarControls.8216d9aa.css","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js"]),meta:{title:"Hook Editor"}},{path:"script/:id",name:"scriptEditor",component:()=>a(()=>import("./ScriptEditor.bc3f2f16.js"),["assets/ScriptEditor.bc3f2f16.js","assets/BaseLayout.577165c3.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.b049bbd7.js","assets/uuid.a06fb10a.js","assets/scripts.c1b9be98.js","assets/record.cff1707c.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/PhCopy.vue.b2238e41.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhCopySimple.vue.d9faf509.js","assets/PhCaretRight.vue.70c5f54b.js","assets/Badge.9808092c.js","assets/PhBug.vue.ac4a72e0.js","assets/PhQuestion.vue.6a6a9376.js","assets/LoadingOutlined.09a06334.js","assets/workspaces.a34621fe.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/PhPencil.vue.91f72c2e.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css","assets/index.0887bacc.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/SourceCode.954a8594.css","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.f5ea8c77.js","assets/ThreadSelector.d62fadec.js","assets/index.520f8c66.js","assets/index.341662d4.js","assets/ThreadSelector.c38c4d8f.css","assets/NavbarControls.414bdd58.js","assets/CloseCircleOutlined.6d0d12eb.js","assets/index.7d758831.js","assets/popupNotifcation.5a82bc93.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/PhChats.vue.42699894.js","assets/NavbarControls.8216d9aa.css","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/CollapsePanel.ce95f921.js"]),meta:{title:"Script Editor"}},{path:"resources",name:"resourcesTracker",component:()=>a(()=>import("./ResourcesTracker.a2e7e98c.js"),["assets/ResourcesTracker.a2e7e98c.js","assets/BaseLayout.577165c3.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js"]),meta:{title:"Resources Tracker"}},{path:"welcome",name:"welcome",component:()=>a(()=>import("./Welcome.7ba14821.js"),["assets/Welcome.7ba14821.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/Logo.03290bf7.css","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/fetch.42a41b34.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/workspaceStore.5977d9e8.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/asyncComputed.3916dfed.js","assets/Welcome.8d813f91.css"]),meta:{title:"Welcome",allowUnauthenticated:!0}}]},{path:"/:path(.*)*",name:"form",component:()=>a(()=>import("./App.98a18ac6.js"),["assets/App.98a18ac6.js","assets/App.vue_vue_type_style_index_0_lang.d7c878e1.js","assets/workspaceStore.5977d9e8.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/PlayerConfigProvider.8618ed20.js","assets/index.40f13cf1.js","assets/PlayerConfigProvider.8864c905.css","assets/App.bf2707f8.css"]),children:me}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),_e=ee(u);u.beforeEach(async(o,e)=>{if(await Z().actions.fetch(),o.meta.playerRoute)return _e(o,e);W(o,e);const t=ue();if(!o.meta.allowUnauthenticated&&!t.isLogged&&!await t.loadLogin()){const r={redirect:location.origin+"/_editor/project-login"};window.open(v.getLoginUrl(r),"_self")}});(async()=>{await te();const o=oe(),e=N({render:()=>z(ne)});B.init(),M(e,u),e.use(u),e.use(q),e.use(o),e.mount("#app"),e.component("VSelect",F),e.component("Markdown",H),e.component("Message",J),m(e,G),m(e,Y),m(e,K)})();export{p as E,le as L,ue as u}; +//# sourceMappingURL=editor.1b3b164b.js.map diff --git a/abstra_statics/dist/assets/editor.c70395a0.js b/abstra_statics/dist/assets/editor.c70395a0.js deleted file mode 100644 index 5556d46fe4..0000000000 --- a/abstra_statics/dist/assets/editor.c70395a0.js +++ /dev/null @@ -1,2 +0,0 @@ -var T=Object.defineProperty;var k=(o,e,t)=>e in o?T(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var n=(o,e,t)=>(k(o,typeof e!="symbol"?e+"":e,t),t);import{d as A,r as I,o as V,c as j,w as D,a as O,b as U,u as C,A as x,l as f,e as w,f as g,g as E,h as S,i as $,_ as a,j as W,k as N,T as B,m as M,P as q,C as F,M as H,s as J,n as m,p as z,q as G,t as Y,v as K}from"./vue-router.33f35a18.js";import{d as Q,r as X,u as Z,g as ee,s as te,c as oe}from"./workspaceStore.be837912.js";import{a as ae}from"./asyncComputed.c677c545.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="db4e9964-01bd-4fa0-81f6-6643f7010fd0",o._sentryDebugIdIdentifier="sentry-dbid-db4e9964-01bd-4fa0-81f6-6643f7010fd0")}catch{}})();const re={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},ne=A({__name:"App",setup(o){const e={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(t,r)=>{const l=I("RouterView");return V(),j(C(x),{theme:e,"page-header":{ghost:!1}},{default:D(()=>[O("div",re,[U(l)])]),_:1})}}});class v{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}static getLoginUrl(e){return"https://cloud.abstra.io/api-key?"+new URLSearchParams(e)}}class se{async check(){return(await fetch("/_editor/api/linters/check")).json()}async fix(e,t){const r=await fetch(`/_editor/api/linters/fix/${e}/${t}`,{method:"POST"});if(!r.ok)throw new Error("Failed to fix");return _.refetch(),r.json()}}const b=new se,_=ae(async()=>(await b.check()).map(e=>new le(e)));class ie{constructor(e,t){n(this,"name");n(this,"label");n(this,"ruleName");this.name=e.name,this.label=e.label,this.ruleName=t}async fix(){await b.fix(this.ruleName,this.name)}}class ce{constructor(e,t){n(this,"label");n(this,"fixes");this.ruleName=t,this.label=e.label,this.fixes=e.fixes.map(r=>new ie(r,t))}}class le{constructor(e){n(this,"name");n(this,"label");n(this,"type");n(this,"issues");this.name=e.name,this.label=e.label,this.type=e.type,this.issues=e.issues.map(t=>new ce(t,this.name))}static get asyncComputed(){return _}static fromName(e){var r;const t=(r=_.result.value)==null?void 0:r.find(l=>l.name===e);if(!t)throw new Error(`Rule ${e} not found`);return t}}const i=class{static dispatch(e,t,r=0){window.Intercom?window.Intercom(e,t):r<10?setTimeout(()=>i.dispatch(e,t),100):console.error("Intercom not loaded")}static boot(e,t){i.booted||(i.dispatch("boot",{api_base:"https://api-iam.intercom.io",app_id:"h97k86ks",name:e,email:e,user_hash:t,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),i.booted=!0)}static shutdown(){i.dispatch("shutdown"),i.booted=!1}};let p=i;n(p,"booted",!1);const de={"console-url":"https://cloud.abstra.io"},pe=o=>{const e="VITE_"+f.toUpper(f.snakeCase(o)),t={VITE_SENTRY_RELEASE:"27376e7ccdf48193c415dfe24cbead1938d00380",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[e];return t||de[o]},d={consoleUrl:pe("console-url")},ue=Q("cloud-project",()=>{const o=new v,e=w(null),t=w(null),r=g(()=>{var s,c;return(c=(s=e.value)==null?void 0:s.logged)!=null?c:!1}),l=g(()=>t.value?{project:`${d.consoleUrl}/projects/${t.value.id}`,users:`${d.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=users`,roles:`${d.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=roles`,builds:`${d.consoleUrl}/projects/${t.value.id}/builds`,login:`${d.consoleUrl}/api-key`}:null),L=async()=>{!r.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},y=async s=>{const c=await o.createLogin(s);e.value=c,c.logged&&await h()},h=async()=>t.value=await o.getCloudProject(),P=async()=>e.value?e.value:(e.value=await o.getLogin(),e.value.logged);return E(()=>e.value,h),E(()=>e.value,async s=>{if(s&&"info"in s){const{email:c,intercomHash:R}=s.info;p.boot(c,R)}else p.shutdown()}),{loadLogin:P,createLogin:y,deleteLogin:L,loginInfo:e,cloudProject:t,isLogged:r,links:l}}),me=X.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),u=S({history:$("/"),routes:[{path:"/_editor/",name:"app",component:()=>a(()=>import("./Home.8c43ec6a.js"),["assets/Home.8c43ec6a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/Home.ad31131b.css"]),children:[{path:"",name:"workspace",component:()=>a(()=>import("./Workspace.5572506a.js"),["assets/Workspace.5572506a.js","assets/BaseLayout.4967fc3d.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/PhSignOut.vue.b806976f.js","assets/NavbarControls.948aa1fc.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/CloseCircleOutlined.1d6fe2b1.js","assets/index.f014adef.js","assets/index.241ee38a.js","assets/workspaces.91ed8c72.js","assets/record.075b7d45.js","assets/popupNotifcation.7fc1aee0.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/PhChats.vue.b6dd7b5a.js","assets/NavbarControls.8216d9aa.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/PhIdentificationBadge.vue.45493857.js","assets/PhCaretRight.vue.d23111f3.js","assets/PhFlowArrow.vue.9bde0f49.js","assets/PhKanban.vue.2acea65f.js","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/asyncComputed.c677c545.js","assets/Workspace.1d39102f.css"]),redirect:()=>({name:"workflowEditor"}),children:[{path:"stages",name:"stages",component:()=>a(()=>import("./Stages.c6662b19.js"),["assets/Stages.c6662b19.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/CrudView.3c2a3663.js","assets/router.cbdfe37b.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/ant-design.51753590.js","assets/asyncComputed.c677c545.js","assets/string.44188c83.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/forms.b83627f1.js","assets/record.075b7d45.js","assets/scripts.cc2cce9b.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/colorHelpers.aaea81c6.js","assets/index.f014adef.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/validations.64a1fba7.js","assets/Stages.2b141080.css"]),meta:{title:"Stages"}},{path:"workflow",name:"workflowEditor",component:()=>a(()=>import("./WorkflowEditor.f3c90ad2.js"),["assets/WorkflowEditor.f3c90ad2.js","assets/api.9a4e5329.js","assets/fetch.3971ea84.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/Workflow.f95d40ff.js","assets/PhArrowCounterClockwise.vue.4a7ab991.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/uuid.0acc5368.js","assets/index.dec2a631.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/record.075b7d45.js","assets/polling.3587342a.js","assets/index.1fcaf67f.js","assets/Badge.71fee936.js","assets/PhArrowDown.vue.ba4eea7b.js","assets/Workflow.6ef00fbb.css","assets/asyncComputed.c677c545.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/index.2fc2bb22.js","assets/WorkflowEditor.bb12f104.css"]),meta:{title:"Workflow Editor"}},{path:"threads",name:"workflowThreads",component:()=>a(()=>import("./WorkflowThreads.95f245e1.js"),["assets/WorkflowThreads.95f245e1.js","assets/api.9a4e5329.js","assets/fetch.3971ea84.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/WorkflowView.d3a65122.js","assets/polling.3587342a.js","assets/asyncComputed.c677c545.js","assets/PhQuestion.vue.020af0e7.js","assets/ant-design.51753590.js","assets/index.241ee38a.js","assets/index.46373660.js","assets/index.f435188c.js","assets/CollapsePanel.56bdec23.js","assets/index.2fc2bb22.js","assets/index.fa9b4e97.js","assets/Badge.71fee936.js","assets/PhArrowCounterClockwise.vue.4a7ab991.js","assets/Workflow.f95d40ff.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/uuid.0acc5368.js","assets/index.dec2a631.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/record.075b7d45.js","assets/index.1fcaf67f.js","assets/PhArrowDown.vue.ba4eea7b.js","assets/Workflow.6ef00fbb.css","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/LoadingOutlined.64419cb9.js","assets/DeleteOutlined.d8e8cfb3.js","assets/PhDownloadSimple.vue.b11b5d9f.js","assets/utils.3ec7e4d1.js","assets/LoadingContainer.4ab818eb.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css"]),meta:{title:"Workflow Threads"}},{path:"preferences",name:"settingsPreferences",component:()=>a(()=>import("./PreferencesEditor.e2c83c4d.js"),["assets/PreferencesEditor.e2c83c4d.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/record.075b7d45.js","assets/PlayerNavbar.c92a19bc.js","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/LoadingOutlined.64419cb9.js","assets/PhSignOut.vue.b806976f.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/PlayerNavbar.8a0727fc.css","assets/PlayerConfigProvider.90e436c2.js","assets/index.dec2a631.js","assets/PlayerConfigProvider.8864c905.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/LoadingContainer.4ab818eb.js","assets/LoadingContainer.56fa997a.css","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/asyncComputed.c677c545.js","assets/PreferencesEditor.a7201214.css"]),meta:{title:"Preferences"}},{path:"requirements",name:"settingsRequirements",component:()=>a(()=>import("./RequirementsEditor.6f97ee91.js"),["assets/RequirementsEditor.6f97ee91.js","assets/ContentLayout.d691ad7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.ee57a545.css","assets/CrudView.3c2a3663.js","assets/router.cbdfe37b.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/record.075b7d45.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/colorHelpers.aaea81c6.js","assets/RequirementsEditor.46e215f2.css"]),meta:{title:"Requirements"}},{path:"env-vars",name:"env-vars",component:()=>a(()=>import("./EnvVarsEditor.bff58a68.js"),["assets/EnvVarsEditor.bff58a68.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/record.075b7d45.js","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/View.vue_vue_type_script_setup_true_lang.bbce7f6a.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/fetch.3971ea84.js","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.3c2a3663.js","assets/router.cbdfe37b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/PhPencil.vue.2def7849.js","assets/index.f014adef.js"]),meta:{title:"Environment Variables"}},{path:"access-control",name:"accessControl",component:()=>a(()=>import("./AccessControlEditor.50043c84.js"),["assets/AccessControlEditor.50043c84.js","assets/ContentLayout.d691ad7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.ee57a545.css","assets/fetch.3971ea84.js","assets/record.075b7d45.js","assets/repository.fc6e5621.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/asyncComputed.c677c545.js","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/PhGlobe.vue.5d1ae5ae.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/index.2fc2bb22.js","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/index.f014adef.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/AccessControlEditor.b7d1ceb9.css"]),meta:{title:"Access Control"}}]},{path:"project-login",name:"projectLogin",component:()=>a(()=>import("./ProjectLogin.e17f91c6.js"),["assets/ProjectLogin.e17f91c6.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/Logo.03290bf7.css","assets/BaseLayout.4967fc3d.js","assets/BaseLayout.b7a1f19a.css","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/index.241ee38a.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/asyncComputed.c677c545.js","assets/ProjectLogin.2f3a2bb2.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:"form/:id",name:"formEditor",component:()=>a(()=>import("./FormEditor.8f8cac41.js"),["assets/FormEditor.8f8cac41.js","assets/api.9a4e5329.js","assets/fetch.3971ea84.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/PlayerNavbar.c92a19bc.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/LoadingOutlined.64419cb9.js","assets/PhSignOut.vue.b806976f.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/PlayerNavbar.8a0727fc.css","assets/BaseLayout.4967fc3d.js","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.9682eb82.js","assets/uuid.0acc5368.js","assets/scripts.cc2cce9b.js","assets/record.075b7d45.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/PhCopy.vue.edaabc1e.js","assets/PhCopySimple.vue.b5d1b25b.js","assets/PhCaretRight.vue.d23111f3.js","assets/Badge.71fee936.js","assets/PhQuestion.vue.020af0e7.js","assets/workspaces.91ed8c72.js","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/PhPencil.vue.2def7849.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css","assets/index.f014adef.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/SourceCode.954a8594.css","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/FormRunner.1bcfb465.js","assets/Login.vue_vue_type_script_setup_true_lang.66951764.js","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/CircularLoading.1c6a1f61.js","assets/CircularLoading.1a558a0d.css","assets/index.dec2a631.js","assets/Login.c8ca392c.css","assets/Steps.677c01d2.js","assets/index.b3a210ed.js","assets/Steps.4d03c6c1.css","assets/Watermark.0dce85a3.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/PlayerConfigProvider.90e436c2.js","assets/PlayerConfigProvider.8864c905.css","assets/PhArrowSquareOut.vue.03bd374b.js","assets/PhFlowArrow.vue.9bde0f49.js","assets/forms.b83627f1.js","assets/ThreadSelector.2b29a84a.js","assets/index.46373660.js","assets/index.2fc2bb22.js","assets/ThreadSelector.c38c4d8f.css","assets/index.241ee38a.js","assets/NavbarControls.948aa1fc.js","assets/CloseCircleOutlined.1d6fe2b1.js","assets/popupNotifcation.7fc1aee0.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/PhChats.vue.b6dd7b5a.js","assets/NavbarControls.8216d9aa.css","assets/index.6db53852.js","assets/FormEditor.3bacf8bd.css"]),meta:{title:"Form Editor"}},{path:"job/:id",name:"jobEditor",component:()=>a(()=>import("./JobEditor.15ad7111.js"),["assets/JobEditor.15ad7111.js","assets/BaseLayout.4967fc3d.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.9682eb82.js","assets/uuid.0acc5368.js","assets/scripts.cc2cce9b.js","assets/record.075b7d45.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/PhCopy.vue.edaabc1e.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhCopySimple.vue.b5d1b25b.js","assets/PhCaretRight.vue.d23111f3.js","assets/Badge.71fee936.js","assets/PhBug.vue.ea49dd1b.js","assets/PhQuestion.vue.020af0e7.js","assets/LoadingOutlined.64419cb9.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/PhPencil.vue.2def7849.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css","assets/index.f014adef.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/SourceCode.954a8594.css","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.f9edb8af.js","assets/index.241ee38a.js","assets/RunButton.vue_vue_type_script_setup_true_lang.24af217a.js","assets/NavbarControls.948aa1fc.js","assets/CloseCircleOutlined.1d6fe2b1.js","assets/popupNotifcation.7fc1aee0.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/PhChats.vue.b6dd7b5a.js","assets/NavbarControls.8216d9aa.css","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js"]),meta:{title:"Job Editor"}},{path:"hook/:id",name:"hookEditor",component:()=>a(()=>import("./HookEditor.0b2b3599.js"),["assets/HookEditor.0b2b3599.js","assets/BaseLayout.4967fc3d.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.9682eb82.js","assets/uuid.0acc5368.js","assets/scripts.cc2cce9b.js","assets/record.075b7d45.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/PhCopy.vue.edaabc1e.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhCopySimple.vue.b5d1b25b.js","assets/PhCaretRight.vue.d23111f3.js","assets/Badge.71fee936.js","assets/PhBug.vue.ea49dd1b.js","assets/PhQuestion.vue.020af0e7.js","assets/LoadingOutlined.64419cb9.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/PhPencil.vue.2def7849.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css","assets/index.f014adef.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/SourceCode.954a8594.css","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.24af217a.js","assets/api.9a4e5329.js","assets/fetch.3971ea84.js","assets/metadata.bccf44f5.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/ThreadSelector.2b29a84a.js","assets/index.46373660.js","assets/index.2fc2bb22.js","assets/ThreadSelector.c38c4d8f.css","assets/index.9a7eb52d.js","assets/CollapsePanel.56bdec23.js","assets/index.241ee38a.js","assets/NavbarControls.948aa1fc.js","assets/CloseCircleOutlined.1d6fe2b1.js","assets/popupNotifcation.7fc1aee0.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/PhChats.vue.b6dd7b5a.js","assets/NavbarControls.8216d9aa.css","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js"]),meta:{title:"Hook Editor"}},{path:"script/:id",name:"scriptEditor",component:()=>a(()=>import("./ScriptEditor.6377cdf8.js"),["assets/ScriptEditor.6377cdf8.js","assets/BaseLayout.4967fc3d.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.9682eb82.js","assets/uuid.0acc5368.js","assets/scripts.cc2cce9b.js","assets/record.075b7d45.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/PhCopy.vue.edaabc1e.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhCopySimple.vue.b5d1b25b.js","assets/PhCaretRight.vue.d23111f3.js","assets/Badge.71fee936.js","assets/PhBug.vue.ea49dd1b.js","assets/PhQuestion.vue.020af0e7.js","assets/LoadingOutlined.64419cb9.js","assets/workspaces.91ed8c72.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/PhPencil.vue.2def7849.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css","assets/index.f014adef.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/SourceCode.954a8594.css","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.24af217a.js","assets/ThreadSelector.2b29a84a.js","assets/index.46373660.js","assets/index.2fc2bb22.js","assets/ThreadSelector.c38c4d8f.css","assets/NavbarControls.948aa1fc.js","assets/CloseCircleOutlined.1d6fe2b1.js","assets/index.241ee38a.js","assets/popupNotifcation.7fc1aee0.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/PhChats.vue.b6dd7b5a.js","assets/NavbarControls.8216d9aa.css","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/CollapsePanel.56bdec23.js"]),meta:{title:"Script Editor"}},{path:"resources",name:"resourcesTracker",component:()=>a(()=>import("./ResourcesTracker.7eebb0a9.js"),["assets/ResourcesTracker.7eebb0a9.js","assets/BaseLayout.4967fc3d.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js"]),meta:{title:"Resources Tracker"}},{path:"welcome",name:"welcome",component:()=>a(()=>import("./Welcome.3818224e.js"),["assets/Welcome.3818224e.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/Logo.03290bf7.css","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/fetch.3971ea84.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/workspaceStore.be837912.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/asyncComputed.c677c545.js","assets/Welcome.8d813f91.css"]),meta:{title:"Welcome",allowUnauthenticated:!0}}]},{path:"/:path(.*)*",name:"form",component:()=>a(()=>import("./App.9d80364f.js"),["assets/App.9d80364f.js","assets/App.vue_vue_type_style_index_0_lang.ee165030.js","assets/workspaceStore.be837912.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/PlayerConfigProvider.90e436c2.js","assets/index.dec2a631.js","assets/PlayerConfigProvider.8864c905.css","assets/App.bf2707f8.css"]),children:me}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),_e=ee(u);u.beforeEach(async(o,e)=>{if(await Z().actions.fetch(),o.meta.playerRoute)return _e(o,e);W(o,e);const t=ue();if(!o.meta.allowUnauthenticated&&!t.isLogged&&!await t.loadLogin()){const r={redirect:location.origin+"/_editor/project-login"};window.open(v.getLoginUrl(r),"_self")}});(async()=>{await te();const o=oe(),e=N({render:()=>z(ne)});B.init(),M(e,u),e.use(u),e.use(q),e.use(o),e.mount("#app"),e.component("VSelect",F),e.component("Markdown",H),e.component("Message",J),m(e,G),m(e,Y),m(e,K)})();export{d as E,le as L,ue as u}; -//# sourceMappingURL=editor.c70395a0.js.map diff --git a/abstra_statics/dist/assets/editor.main.05f77984.js b/abstra_statics/dist/assets/editor.main.05f77984.js new file mode 100644 index 0000000000..19bad6d4cb --- /dev/null +++ b/abstra_statics/dist/assets/editor.main.05f77984.js @@ -0,0 +1,2 @@ +import{C as t,E as i,K as d,a as b,M as f,c as l,P as y,R as c,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8b16948a-6036-499e-abfe-518ebaa67d46",e._sentryDebugIdIdentifier="sentry-dbid-8b16948a-6036-499e-abfe-518ebaa67d46")}catch{}})();export{t as CancellationTokenSource,i as Emitter,d as KeyCode,b as KeyMod,f as MarkerSeverity,l as MarkerTag,y as Position,c as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages}; +//# sourceMappingURL=editor.main.05f77984.js.map diff --git a/abstra_statics/dist/assets/editor.main.93aaceec.js b/abstra_statics/dist/assets/editor.main.93aaceec.js deleted file mode 100644 index be8dc76ddc..0000000000 --- a/abstra_statics/dist/assets/editor.main.93aaceec.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as t,E as i,K as d,a as f,M as c,c as l,P as y,R as g,S as u,b,T as k,U as p,e as w,l as D}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8f555750-5dca-474e-a96e-13050e757493",e._sentryDebugIdIdentifier="sentry-dbid-8f555750-5dca-474e-a96e-13050e757493")}catch{}})();export{t as CancellationTokenSource,i as Emitter,d as KeyCode,f as KeyMod,c as MarkerSeverity,l as MarkerTag,y as Position,g as Range,u as Selection,b as SelectionDirection,k as Token,p as Uri,w as editor,D as languages}; -//# sourceMappingURL=editor.main.93aaceec.js.map diff --git a/abstra_statics/dist/assets/fetch.3971ea84.js b/abstra_statics/dist/assets/fetch.3971ea84.js deleted file mode 100644 index fd85756713..0000000000 --- a/abstra_statics/dist/assets/fetch.3971ea84.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f0ce30ef-e762-40b9-a077-bcea693ea2a9",e._sentryDebugIdIdentifier="sentry-dbid-f0ce30ef-e762-40b9-a077-bcea693ea2a9")}catch{}})();const a=(...e)=>window.fetch(...e);export{a as l}; -//# sourceMappingURL=fetch.3971ea84.js.map diff --git a/abstra_statics/dist/assets/fetch.42a41b34.js b/abstra_statics/dist/assets/fetch.42a41b34.js new file mode 100644 index 0000000000..86ee269da7 --- /dev/null +++ b/abstra_statics/dist/assets/fetch.42a41b34.js @@ -0,0 +1,2 @@ +import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="1fcb9642-4154-4b9c-98a3-c9a53d1bbed4",e._sentryDebugIdIdentifier="sentry-dbid-1fcb9642-4154-4b9c-98a3-c9a53d1bbed4")}catch{}})();const b=(...e)=>window.fetch(...e);export{b as l}; +//# sourceMappingURL=fetch.42a41b34.js.map diff --git a/abstra_statics/dist/assets/forms.b83627f1.js b/abstra_statics/dist/assets/forms.32a04fb9.js similarity index 82% rename from abstra_statics/dist/assets/forms.b83627f1.js rename to abstra_statics/dist/assets/forms.32a04fb9.js index e29918425c..1f1cff2a57 100644 --- a/abstra_statics/dist/assets/forms.b83627f1.js +++ b/abstra_statics/dist/assets/forms.32a04fb9.js @@ -1,2 +1,2 @@ -var c=Object.defineProperty;var d=(r,t,e)=>t in r?c(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var n=(r,t,e)=>(d(r,typeof t!="symbol"?t+"":t,e),e);import{A as g}from"./record.075b7d45.js";import"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="616ced39-29c3-4670-9fe7-fdc79ebd2237",r._sentryDebugIdIdentifier="sentry-dbid-616ced39-29c3-4670-9fe7-fdc79ebd2237")}catch{}})();class h{async list(){return await(await fetch("/_editor/api/forms")).json()}async create(t,e,s){return await(await fetch("/_editor/api/forms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/forms/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/forms/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",o=`/_editor/api/forms/${t}`+s;await fetch(o,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async duplicate(t){return await(await fetch(`/_editor/api/forms/${t}/duplicate`,{method:"POST"})).json()}}const i=new h;class a{constructor(t){n(this,"record");this.record=g.create(i,t)}static async list(){return(await i.list()).map(e=>new a(e))}static async create(t,e,s){const o=await i.create(t,e,s);return new a(o)}static async get(t){const e=await i.get(t);return new a(e)}get id(){return this.record.get("id")}get type(){return"form"}get allowRestart(){return this.record.get("allow_restart")}set allowRestart(t){this.record.set("allow_restart",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get autoStart(){return this.record.get("auto_start")}set autoStart(t){this.record.set("auto_start",t)}get endMessage(){return this.record.get("end_message")}set endMessage(t){this.record.set("end_message",t)}get errorMessage(){return this.record.get("error_message")}set errorMessage(t){this.record.set("error_message",t)}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}get restartButtonText(){return this.record.get("restart_button_text")}set restartButtonText(t){this.record.set("restart_button_text",t)}get startButtonText(){return this.record.get("start_button_text")}set startButtonText(t){this.record.set("start_button_text",t)}get startMessage(){return this.record.get("start_message")}set startMessage(t){this.record.set("start_message",t)}get timeoutMessage(){return this.record.get("timeout_message")}set timeoutMessage(t){this.record.set("timeout_message",t)}get notificationTrigger(){return new Proxy(this.record.get("notification_trigger"),{set:(t,e,s)=>(this.record.set("notification_trigger",{...t,[e]:s}),!0)})}set notificationTrigger(t){this.record.set("notification_trigger",t)}get(t){return this.record.get(t)}set(t,e){this.record.set(t,e)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get welcomeTitle(){return this.record.get("welcome_title")}set welcomeTitle(t){this.record.set("welcome_title",t)}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}hasChangesDeep(t){return this.record.hasChangesDeep(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}async delete(t){await i.delete(this.id,t)}async duplicate(){const t=await i.duplicate(this.id);return new a(t)}makeRunnerData(t){return{...t.makeRunnerData(),id:this.id,isLocal:!0,path:this.path,title:this.title,isInitial:this.isInitial,runtimeType:"form",autoStart:this.autoStart,endMessage:this.endMessage,errorMessage:this.errorMessage,allowRestart:this.allowRestart,welcomeTitle:this.welcomeTitle,startMessage:this.startMessage,timeoutMessage:this.timeoutMessage,startButtonText:this.startButtonText,restartButtonText:this.restartButtonText}}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return this.record.get("is_initial")}static from(t){return new a(t)}}export{a as F}; -//# sourceMappingURL=forms.b83627f1.js.map +var c=Object.defineProperty;var d=(r,t,e)=>t in r?c(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var n=(r,t,e)=>(d(r,typeof t!="symbol"?t+"":t,e),e);import{A as g}from"./record.cff1707c.js";import"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="d106bcbc-ffad-472c-b1d4-3e9f5275a134",r._sentryDebugIdIdentifier="sentry-dbid-d106bcbc-ffad-472c-b1d4-3e9f5275a134")}catch{}})();class h{async list(){return await(await fetch("/_editor/api/forms")).json()}async create(t,e,s){return await(await fetch("/_editor/api/forms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/forms/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/forms/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",o=`/_editor/api/forms/${t}`+s;await fetch(o,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async duplicate(t){return await(await fetch(`/_editor/api/forms/${t}/duplicate`,{method:"POST"})).json()}}const a=new h;class i{constructor(t){n(this,"record");this.record=g.create(a,t)}static async list(){return(await a.list()).map(e=>new i(e))}static async create(t,e,s){const o=await a.create(t,e,s);return new i(o)}static async get(t){const e=await a.get(t);return new i(e)}get id(){return this.record.get("id")}get type(){return"form"}get allowRestart(){return this.record.get("allow_restart")}set allowRestart(t){this.record.set("allow_restart",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get autoStart(){return this.record.get("auto_start")}set autoStart(t){this.record.set("auto_start",t)}get endMessage(){return this.record.get("end_message")}set endMessage(t){this.record.set("end_message",t)}get errorMessage(){return this.record.get("error_message")}set errorMessage(t){this.record.set("error_message",t)}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}get restartButtonText(){return this.record.get("restart_button_text")}set restartButtonText(t){this.record.set("restart_button_text",t)}get startButtonText(){return this.record.get("start_button_text")}set startButtonText(t){this.record.set("start_button_text",t)}get startMessage(){return this.record.get("start_message")}set startMessage(t){this.record.set("start_message",t)}get timeoutMessage(){return this.record.get("timeout_message")}set timeoutMessage(t){this.record.set("timeout_message",t)}get notificationTrigger(){return new Proxy(this.record.get("notification_trigger"),{set:(t,e,s)=>(this.record.set("notification_trigger",{...t,[e]:s}),!0)})}set notificationTrigger(t){this.record.set("notification_trigger",t)}get(t){return this.record.get(t)}set(t,e){this.record.set(t,e)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get welcomeTitle(){return this.record.get("welcome_title")}set welcomeTitle(t){this.record.set("welcome_title",t)}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}hasChangesDeep(t){return this.record.hasChangesDeep(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}async delete(t){await a.delete(this.id,t)}async duplicate(){const t=await a.duplicate(this.id);return new i(t)}makeRunnerData(t){return{...t.makeRunnerData(),id:this.id,isLocal:!0,path:this.path,title:this.title,isInitial:this.isInitial,runtimeType:"form",autoStart:this.autoStart,endMessage:this.endMessage,errorMessage:this.errorMessage,allowRestart:this.allowRestart,welcomeTitle:this.welcomeTitle,startMessage:this.startMessage,timeoutMessage:this.timeoutMessage,startButtonText:this.startButtonText,restartButtonText:this.restartButtonText}}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return this.record.get("is_initial")}static from(t){return new i(t)}}export{i as F}; +//# sourceMappingURL=forms.32a04fb9.js.map diff --git a/abstra_statics/dist/assets/freemarker2.3cde3953.js b/abstra_statics/dist/assets/freemarker2.14d8ecd5.js similarity index 98% rename from abstra_statics/dist/assets/freemarker2.3cde3953.js rename to abstra_statics/dist/assets/freemarker2.14d8ecd5.js index 9d7c3ea100..a0775a373f 100644 --- a/abstra_statics/dist/assets/freemarker2.3cde3953.js +++ b/abstra_statics/dist/assets/freemarker2.14d8ecd5.js @@ -1,4 +1,4 @@ -import{m as b}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="42b8ca9a-def7-4e77-afe8-d10037076901",t._sentryDebugIdIdentifier="sentry-dbid-42b8ca9a-def7-4e77-afe8-d10037076901")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as b}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="3962dc9d-bba2-4dfe-bf59-1854aba1894f",t._sentryDebugIdIdentifier="sentry-dbid-3962dc9d-bba2-4dfe-bf59-1854aba1894f")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license @@ -6,4 +6,4 @@ import{m as b}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a1 *-----------------------------------------------------------------------------*/var F=Object.defineProperty,x=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyNames,v=Object.prototype.hasOwnProperty,g=(t,n,_,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of $(n))!v.call(t,o)&&o!==_&&F(t,o,{get:()=>n[o],enumerable:!(e=x(n,o))||e.enumerable});return t},E=(t,n,_)=>(g(t,n,"default"),_&&g(_,n,"default")),r={};E(r,b);var d=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],s=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},u={close:"\\]",id:"bracket",open:"\\["},D={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:` \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function A(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:` \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function i(t,n){const _=`_${t.id}_${n.id}`,e=c=>c.replace(/__id__/g,_),o=c=>{const f=c.source.replace(/__id__/g,_);return new RegExp(f,c.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","->"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function m(t){const n=i(a,t),_=i(u,t),e=i(D,t);return{...n,..._,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,..._.tokenizer,...e.tokenizer}}}var w={conf:l(a),language:i(a,k)},h={conf:l(u),language:i(u,k)},T={conf:l(a),language:i(a,p)},S={conf:l(u),language:i(u,p)},y={conf:A(),language:m(k)},P={conf:A(),language:m(p)};export{T as TagAngleInterpolationBracket,w as TagAngleInterpolationDollar,P as TagAutoInterpolationBracket,y as TagAutoInterpolationDollar,S as TagBracketInterpolationBracket,h as TagBracketInterpolationDollar}; -//# sourceMappingURL=freemarker2.3cde3953.js.map +//# sourceMappingURL=freemarker2.14d8ecd5.js.map diff --git a/abstra_statics/dist/assets/gateway.a5388860.js b/abstra_statics/dist/assets/gateway.a5388860.js deleted file mode 100644 index 801b58165d..0000000000 --- a/abstra_statics/dist/assets/gateway.a5388860.js +++ /dev/null @@ -1,2 +0,0 @@ -var w=Object.defineProperty;var g=(e,t,o)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var h=(e,t,o)=>(g(e,typeof t!="symbol"?t+"":t,o),o);import{p as y}from"./popupNotifcation.7fc1aee0.js";import{L as b,N as E,O as A,l as d}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="263af3a1-2509-4bf1-9e30-c4820b63f21c",e._sentryDebugIdIdentifier="sentry-dbid-263af3a1-2509-4bf1-9e30-c4820b63f21c")}catch{}})();class m{constructor(){h(this,"storage");this.storage=new b(E.string(),"auth:jwt")}async authenticate(t){f.post("authn/authenticate",{email:t})}async verify(t,o){const n=await f.post("authn/verify",{email:t,token:o});if(!(n&&"jwt"in n))throw new Error("Invalid token");return this.saveJWT(n.jwt),this.getAuthor()}saveJWT(t){this.storage.set(t)}getAuthor(){const t=this.storage.get();if(t)try{const o=A(t);if(o.exp&&o.exp>Date.now()/1e3)return{jwt:t,claims:o}}catch{console.warn("Invalid JWT")}return null}removeAuthor(){this.storage.remove()}get headers(){const t=this.getAuthor();return t?{"Author-Authorization":`Bearer ${t.jwt}`}:{}}}const i=new m,T=()=>window.location.host.includes(".abstra.io"),R={"cloud-api":"/api/cloud-api",onboarding:"https://onboarding.abstra.app"},O={"cloud-api":"https://cloud-api.abstra.cloud",onboarding:"https://onboarding.abstra.app"},l=e=>{const t="VITE_"+d.toUpper(d.snakeCase(e)),o={VITE_SENTRY_RELEASE:"27376e7ccdf48193c415dfe24cbead1938d00380",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return o||(T()?R[e]:O[e])},c={cloudApi:l("cloud-api"),onboarding:l("onboarding")};class u extends Error{constructor(t,o){super(t),this.status=o}static async fromResponse(t){const o=await t.text();return new u(o,t.status)}}class f{static async get(t,o){const n=Object.fromEntries(Object.entries(o!=null?o:{}).filter(([,p])=>p!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",a=await fetch(`${c.cloudApi}/console/${t}${s}`,{headers:{...i.headers}});if(a.status===403){y("You are not authorized to access this resource","Click here to go back to the home page.",()=>{window.location.href="/"});return}const r=await a.text();return r?JSON.parse(r):null}static async getBlob(t){return await(await fetch(`${c.cloudApi}/console/${t}`,{headers:{...i.headers}})).blob()}static async post(t,o,n){const s=!!(n!=null&&n["Content-Type"])&&n["Content-Type"]!=="application/json",a=await fetch(`${c.cloudApi}/console/${t}`,{method:"POST",headers:{"Content-Type":"application/json",...i.headers,...n},body:s?o:JSON.stringify(o)});if(!a.ok)throw await u.fromResponse(a);const r=await a.text();return r?JSON.parse(r):null}static async patch(t,o){const n=await fetch(`${c.cloudApi}/console/${t}`,{method:"PATCH",headers:{"Content-Type":"application/json",...i.headers},body:JSON.stringify(o)});if(!n.ok)throw await u.fromResponse(n);const s=await n.text();return s?JSON.parse(s):null}static async delete(t){const o=await fetch(`${c.cloudApi}/console/${t}`,{method:"DELETE",headers:{"Content-Type":"application/json",...i.headers}});if(!o.ok)throw await u.fromResponse(o)}}export{f as C,c as E,i as a}; -//# sourceMappingURL=gateway.a5388860.js.map diff --git a/abstra_statics/dist/assets/gateway.edd4374b.js b/abstra_statics/dist/assets/gateway.edd4374b.js new file mode 100644 index 0000000000..a9620d0fda --- /dev/null +++ b/abstra_statics/dist/assets/gateway.edd4374b.js @@ -0,0 +1,2 @@ +var w=Object.defineProperty;var b=(o,t,e)=>t in o?w(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var d=(o,t,e)=>(b(o,typeof t!="symbol"?t+"":t,e),e);import{p as g}from"./popupNotifcation.5a82bc93.js";import{L as y,N as E,O as A,l as h}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="1ec4fb46-757e-4d1d-a2be-f5ffa8eba7da",o._sentryDebugIdIdentifier="sentry-dbid-1ec4fb46-757e-4d1d-a2be-f5ffa8eba7da")}catch{}})();class m{constructor(){d(this,"storage");this.storage=new y(E.string(),"auth:jwt")}async authenticate(t){f.post("authn/authenticate",{email:t})}async verify(t,e){const n=await f.post("authn/verify",{email:t,token:e});if(!(n&&"jwt"in n))throw new Error("Invalid token");return this.saveJWT(n.jwt),this.getAuthor()}saveJWT(t){this.storage.set(t)}getAuthor(){const t=this.storage.get();if(t)try{const e=A(t);if(e.exp&&e.exp>Date.now()/1e3)return{jwt:t,claims:e}}catch{console.warn("Invalid JWT")}return null}removeAuthor(){this.storage.remove()}get headers(){const t=this.getAuthor();return t?{"Author-Authorization":`Bearer ${t.jwt}`}:{}}}const i=new m,T=()=>window.location.host.includes(".abstra.io"),R={"cloud-api":"/api/cloud-api",onboarding:"https://onboarding.abstra.app"},O={"cloud-api":"https://cloud-api.abstra.cloud",onboarding:"https://onboarding.abstra.app"},l=o=>{const t="VITE_"+h.toUpper(h.snakeCase(o)),e={VITE_SENTRY_RELEASE:"542aaba50a42d9e1385bcc5e5db9c42b54d0be06",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return e||(T()?R[o]:O[o])},c={cloudApi:l("cloud-api"),onboarding:l("onboarding")};class u extends Error{constructor(t,e){super(t),this.status=e}static async fromResponse(t){const e=await t.text();return new u(e,t.status)}}class f{static async get(t,e){const n=Object.fromEntries(Object.entries(e!=null?e:{}).filter(([,p])=>p!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",a=await fetch(`${c.cloudApi}/console/${t}${s}`,{headers:{...i.headers}});if(a.status===403){g("You are not authorized to access this resource","Click here to go back to the home page.",()=>{window.location.href="/"});return}const r=await a.text();return r?JSON.parse(r):null}static async getBlob(t){return await(await fetch(`${c.cloudApi}/console/${t}`,{headers:{...i.headers}})).blob()}static async post(t,e,n){const s=!!(n!=null&&n["Content-Type"])&&n["Content-Type"]!=="application/json",a=await fetch(`${c.cloudApi}/console/${t}`,{method:"POST",headers:{"Content-Type":"application/json",...i.headers,...n},body:s?e:JSON.stringify(e)});if(!a.ok)throw await u.fromResponse(a);const r=await a.text();return r?JSON.parse(r):null}static async patch(t,e){const n=await fetch(`${c.cloudApi}/console/${t}`,{method:"PATCH",headers:{"Content-Type":"application/json",...i.headers},body:JSON.stringify(e)});if(!n.ok)throw await u.fromResponse(n);const s=await n.text();return s?JSON.parse(s):null}static async delete(t){const e=await fetch(`${c.cloudApi}/console/${t}`,{method:"DELETE",headers:{"Content-Type":"application/json",...i.headers}});if(!e.ok)throw await u.fromResponse(e)}}export{f as C,c as E,i as a}; +//# sourceMappingURL=gateway.edd4374b.js.map diff --git a/abstra_statics/dist/assets/handlebars.9182b7ac.js b/abstra_statics/dist/assets/handlebars.bd7796ff.js similarity index 95% rename from abstra_statics/dist/assets/handlebars.9182b7ac.js rename to abstra_statics/dist/assets/handlebars.bd7796ff.js index 6c509d3806..67b97251a0 100644 --- a/abstra_statics/dist/assets/handlebars.9182b7ac.js +++ b/abstra_statics/dist/assets/handlebars.bd7796ff.js @@ -1,7 +1,7 @@ -import{m as l}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="12be520a-388b-48ee-b814-cc0fb98e5162",t._sentryDebugIdIdentifier="sentry-dbid-12be520a-388b-48ee-b814-cc0fb98e5162")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as l}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6abe4d15-df7e-4d4e-b956-5a881723906f",t._sentryDebugIdIdentifier="sentry-dbid-6abe4d15-df7e-4d4e-b956-5a881723906f")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var d=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!p.call(t,r)&&r!==n&&d(t,r,{get:()=>e[r],enumerable:!(o=s(e,r))||o.enumerable});return t},h=(t,e,n)=>(i(t,e,"default"),n&&i(n,e,"default")),a={};h(a,l);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.languages.IndentAction.Indent}}]},k={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{y as conf,k as language}; -//# sourceMappingURL=handlebars.9182b7ac.js.map +//# sourceMappingURL=handlebars.bd7796ff.js.map diff --git a/abstra_statics/dist/assets/html.b5ed3ae5.js b/abstra_statics/dist/assets/html.848af5c8.js similarity index 90% rename from abstra_statics/dist/assets/html.b5ed3ae5.js rename to abstra_statics/dist/assets/html.848af5c8.js index 7a6361c635..73557cb173 100644 --- a/abstra_statics/dist/assets/html.b5ed3ae5.js +++ b/abstra_statics/dist/assets/html.848af5c8.js @@ -1,7 +1,7 @@ -import{m as s}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4473b747-bcd7-4aab-a178-85c36d9f8c90",t._sentryDebugIdIdentifier="sentry-dbid-4473b747-bcd7-4aab-a178-85c36d9f8c90")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as s}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="925355cc-6d13-4a94-9b23-855c50d9fc3c",t._sentryDebugIdIdentifier="sentry-dbid-925355cc-6d13-4a94-9b23-855c50d9fc3c")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var p=Object.defineProperty,l=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,a=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of m(e))!c.call(t,n)&&n!==r&&p(t,n,{get:()=>e[n],enumerable:!(o=l(e,n))||o.enumerable});return t},u=(t,e,r)=>(a(t,e,"default"),r&&a(r,e,"default")),i={};u(i,s);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],x={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},g={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{x as conf,g as language}; -//# sourceMappingURL=html.b5ed3ae5.js.map + *-----------------------------------------------------------------------------*/var p=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!m.call(t,n)&&n!==r&&p(t,n,{get:()=>e[n],enumerable:!(o=c(e,n))||o.enumerable});return t},u=(t,e,r)=>(a(t,e,"default"),r&&a(r,e,"default")),i={};u(i,s);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],x={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},g={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{x as conf,g as language}; +//# sourceMappingURL=html.848af5c8.js.map diff --git a/abstra_statics/dist/assets/htmlMode.37dd7b54.js b/abstra_statics/dist/assets/htmlMode.ef55035c.js similarity index 99% rename from abstra_statics/dist/assets/htmlMode.37dd7b54.js rename to abstra_statics/dist/assets/htmlMode.ef55035c.js index 9d22f5c8d9..fd2b9b7c79 100644 --- a/abstra_statics/dist/assets/htmlMode.37dd7b54.js +++ b/abstra_statics/dist/assets/htmlMode.ef55035c.js @@ -1,4 +1,4 @@ -var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="90ad2b43-3e32-4f89-b44e-049f5866cbdf",e._sentryDebugIdIdentifier="sentry-dbid-90ad2b43-3e32-4f89-b44e-049f5866cbdf")}catch{}})();/*!----------------------------------------------------------------------------- +var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3bbf95a6-f19e-4595-af79-4afd73b0781e",e._sentryDebugIdIdentifier="sentry-dbid-3bbf95a6-f19e-4595-af79-4afd73b0781e")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license @@ -7,4 +7,4 @@ var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,config `,a==="\r"&&t+10&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return k.create(0,n);for(;rn?t=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1"u"}e.undefined=r;function t(f){return f===!0||f===!1}e.boolean=t;function a(f){return n.call(f)==="[object String]"}e.string=a;function o(f){return n.call(f)==="[object Number]"}e.number=o;function u(f,I,N){return n.call(f)==="[object Number]"&&I<=f&&f<=N}e.numberRange=u;function g(f){return n.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=g;function d(f){return n.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=d;function v(f){return n.call(f)==="[object Function]"}e.func=v;function w(f){return f!==null&&typeof f=="object"}e.objectLiteral=w;function b(f,I){return Array.isArray(f)&&f.every(I)}e.typedArray=b})(s||(s={}));var mt=class{constructor(e,n,i){E(this,"_disposables",[]);E(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>nt(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function rt(e){switch(e){case A.Error:return c.MarkerSeverity.Error;case A.Warning:return c.MarkerSeverity.Warning;case A.Information:return c.MarkerSeverity.Info;case A.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function nt(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:rt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var it=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),C(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:st(d.command),range:u,kind:ot(d.kind)};return d.textEdit&&(at(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function C(e){if(!!e)return{character:e.column-1,line:e.lineNumber-1}}function Se(e){if(!!e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function _(e){if(!!e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function at(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function ot(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function j(e){if(!!e)return{range:_(e.range),text:e.newText}}function st(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Te=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),C(n))).then(t=>{if(!!t)return{range:_(t.range),contents:ct(t.contents)}})}};function ut(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function Re(e){return typeof e=="string"?{value:e}:ut(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+` `+e.value+"\n```\n"}}function ct(e){if(!!e)return Array.isArray(e)?e.map(Re):[Re(e)]}var Fe=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),C(n))).then(t=>{if(!!t)return t.map(a=>({range:_(a.range),kind:dt(a.kind)}))})}};function dt(e){switch(e){case D.Read:return c.languages.DocumentHighlightKind.Read;case D.Write:return c.languages.DocumentHighlightKind.Write;case D.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var _t=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),C(n))).then(t=>{if(!!t)return[Le(t)]})}};function Le(e){return{uri:c.Uri.parse(e.uri),range:_(e.range)}}var wt=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),C(n))).then(a=>{if(!!a)return a.map(Le)})}},je=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),C(n),i)).then(a=>ft(a))}};function ft(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(t.range),text:t.newText}})}return{edits:n}}var Ne=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(!!r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:gt(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]}))})}};function gt(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var We=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(!!r)return{links:r.map(t=>({range:_(t.range),url:t.target}))}})}},He=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Oe(n)).then(a=>{if(!(!a||a.length===0))return a.map(j)}))}},Ue=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Se(n),Oe(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Oe(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var kt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(!!r)return r.map(t=>({color:t.color,range:_(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Se(n.range))).then(t=>{if(!!t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},Ve=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(!!t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=lt(a.kind)),o})})}};function lt(e){switch(e){case R.Comment:return c.languages.FoldingRangeKind.Comment;case R.Imports:return c.languages.FoldingRangeKind.Imports;case R.Region:return c.languages.FoldingRangeKind.Region}}var ze=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(C))).then(t=>{if(!!t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}},Xe=class extends it{constructor(e){super(e,[".",":","<",'"',"=","/"])}};function bt(e){const n=new Me(e),i=(...t)=>n.getLanguageServiceWorker(...t);let r=e.languageId;c.languages.registerCompletionItemProvider(r,new Xe(i)),c.languages.registerHoverProvider(r,new Te(i)),c.languages.registerDocumentHighlightProvider(r,new Fe(i)),c.languages.registerLinkProvider(r,new We(i)),c.languages.registerFoldingRangeProvider(r,new Ve(i)),c.languages.registerDocumentSymbolProvider(r,new Ne(i)),c.languages.registerSelectionRangeProvider(r,new ze(i)),c.languages.registerRenameProvider(r,new je(i)),r==="html"&&(c.languages.registerDocumentFormattingEditProvider(r,new He(i)),c.languages.registerDocumentRangeFormattingEditProvider(r,new Ue(i)))}function Et(e){const n=[],i=[],r=new Me(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Be(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Xe(t))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Te(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new Fe(t))),u.links&&i.push(c.languages.registerLinkProvider(o,new We(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new Ne(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new je(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new Ve(t))),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new ze(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new He(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new Ue(t)))}return a(),n.push(De(i)),De(n)}function De(e){return{dispose:()=>Be(e)}}function Be(e){for(;e.length;)e.pop().dispose()}export{it as CompletionAdapter,_t as DefinitionAdapter,mt as DiagnosticsAdapter,kt as DocumentColorAdapter,He as DocumentFormattingEditProvider,Fe as DocumentHighlightAdapter,We as DocumentLinkAdapter,Ue as DocumentRangeFormattingEditProvider,Ne as DocumentSymbolAdapter,Ve as FoldingRangeAdapter,Te as HoverAdapter,wt as ReferenceAdapter,je as RenameAdapter,ze as SelectionRangeAdapter,Me as WorkerManager,C as fromPosition,Se as fromRange,Et as setupMode,bt as setupMode1,_ as toRange,j as toTextEdit}; -//# sourceMappingURL=htmlMode.37dd7b54.js.map +//# sourceMappingURL=htmlMode.ef55035c.js.map diff --git a/abstra_statics/dist/assets/index.f014adef.js b/abstra_statics/dist/assets/index.0887bacc.js similarity index 78% rename from abstra_statics/dist/assets/index.f014adef.js rename to abstra_statics/dist/assets/index.0887bacc.js index 5551ff9545..21fa3aec6a 100644 --- a/abstra_statics/dist/assets/index.f014adef.js +++ b/abstra_statics/dist/assets/index.0887bacc.js @@ -1,4 +1,4 @@ -import{ac as Y,ad as Z,S as _,ao as J,ae as K,bv as U,d as ee,ah as oe,Q as w,f as ne,ai as te,b as s,a$ as le,az as ie,aE as ae,aX as se,aZ as re,a_ as ce,ak as R,aY as de,dj as ue,dk as ge,dl as pe,dm as fe,dn as me,dp as ve,dq as $e,dr as ye,au as v}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d5aa881a-a500-4904-9d50-4c3e11b157d2",e._sentryDebugIdIdentifier="sentry-dbid-d5aa881a-a500-4904-9d50-4c3e11b157d2")}catch{}})();const B=(e,o,n,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${o}`,[`${a}-icon`]:{color:n}}),he=e=>{const{componentCls:o,motionDurationSlow:n,marginXS:i,marginSM:a,fontSize:u,fontSizeLG:r,lineHeight:g,borderRadiusLG:$,motionEaseInOutCirc:c,alertIconSizeLG:d,colorText:f,paddingContentVerticalSM:m,alertPaddingHorizontal:y,paddingMD:b,paddingContentHorizontalLG:C}=e;return{[o]:_(_({},J(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${m}px ${y}px`,wordWrap:"break-word",borderRadius:$,[`&${o}-rtl`]:{direction:"rtl"},[`${o}-content`]:{flex:1,minWidth:0},[`${o}-icon`]:{marginInlineEnd:i,lineHeight:0},["&-description"]:{display:"none",fontSize:u,lineHeight:g},"&-message":{color:f},[`&${o}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c}, +import{ac as Y,ad as Z,S as _,ao as J,ae as K,bv as U,d as ee,ah as oe,Q as w,f as ne,ai as te,b as s,a$ as le,az as ie,aE as ae,aX as se,aZ as re,a_ as ce,ak as R,aY as de,dj as ue,dk as ge,dl as fe,dm as pe,dn as me,dp as ve,dq as $e,dr as ye,au as v}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="75a90d8a-5972-470f-a91f-ff8e3cbbfc39",e._sentryDebugIdIdentifier="sentry-dbid-75a90d8a-5972-470f-a91f-ff8e3cbbfc39")}catch{}})();const B=(e,o,n,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${o}`,[`${a}-icon`]:{color:n}}),he=e=>{const{componentCls:o,motionDurationSlow:n,marginXS:i,marginSM:a,fontSize:u,fontSizeLG:r,lineHeight:g,borderRadiusLG:$,motionEaseInOutCirc:c,alertIconSizeLG:d,colorText:p,paddingContentVerticalSM:m,alertPaddingHorizontal:y,paddingMD:b,paddingContentHorizontalLG:C}=e;return{[o]:_(_({},J(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${m}px ${y}px`,wordWrap:"break-word",borderRadius:$,[`&${o}-rtl`]:{direction:"rtl"},[`${o}-content`]:{flex:1,minWidth:0},[`${o}-icon`]:{marginInlineEnd:i,lineHeight:0},["&-description"]:{display:"none",fontSize:u,lineHeight:g},"&-message":{color:p},[`&${o}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c}, padding-top ${n} ${c}, padding-bottom ${n} ${c}, - margin-bottom ${n} ${c}`},[`&${o}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${o}-with-description`]:{alignItems:"flex-start",paddingInline:C,paddingBlock:b,[`${o}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${o}-message`]:{display:"block",marginBottom:i,color:f,fontSize:r},[`${o}-description`]:{display:"block"}},[`${o}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},be=e=>{const{componentCls:o,colorSuccess:n,colorSuccessBorder:i,colorSuccessBg:a,colorWarning:u,colorWarningBorder:r,colorWarningBg:g,colorError:$,colorErrorBorder:c,colorErrorBg:d,colorInfo:f,colorInfoBorder:m,colorInfoBg:y}=e;return{[o]:{"&-success":B(a,i,n,e,o),"&-info":B(y,m,f,e,o),"&-warning":B(g,r,u,e,o),"&-error":_(_({},B(d,c,$,e,o)),{[`${o}-description > pre`]:{margin:0,padding:0}})}}},Ce=e=>{const{componentCls:o,iconCls:n,motionDurationMid:i,marginXS:a,fontSizeIcon:u,colorIcon:r,colorIconHover:g}=e;return{[o]:{["&-action"]:{marginInlineStart:a},[`${o}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:u,lineHeight:`${u}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:r,transition:`color ${i}`,"&:hover":{color:g}}},"&-close-text":{color:r,transition:`color ${i}`,"&:hover":{color:g}}}}},Ie=e=>[he(e),be(e),Ce(e)],Se=Y("Alert",e=>{const{fontSizeHeading3:o}=e,n=Z(e,{alertIconSizeLG:o,alertPaddingHorizontal:12});return[Ie(n)]}),xe={success:ue,info:ge,error:pe,warning:fe},we={success:me,info:ve,error:$e,warning:ye},Be=U("success","info","warning","error"),_e=()=>({type:v.oneOf(Be),closable:{type:Boolean,default:void 0},closeText:v.any,message:v.any,description:v.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:v.any,closeIcon:v.any,onClose:Function}),He=ee({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:_e(),setup(e,o){let{slots:n,emit:i,attrs:a,expose:u}=o;const{prefixCls:r,direction:g}=oe("alert",e),[$,c]=Se(r),d=w(!1),f=w(!1),m=w(),y=l=>{l.preventDefault();const p=m.value;p.style.height=`${p.offsetHeight}px`,p.style.height=`${p.offsetHeight}px`,d.value=!0,i("close",l)},b=()=>{var l;d.value=!1,f.value=!0,(l=e.afterClose)===null||l===void 0||l.call(e)},C=ne(()=>{const{type:l}=e;return l!==void 0?l:e.banner?"warning":"info"});u({animationEnd:b});const j=w({});return()=>{var l,p,H,T,E,z,A,D,O,L;const{banner:k,closeIcon:P=(l=n.closeIcon)===null||l===void 0?void 0:l.call(n)}=e;let{closable:F,showIcon:h}=e;const M=(p=e.closeText)!==null&&p!==void 0?p:(H=n.closeText)===null||H===void 0?void 0:H.call(n),I=(T=e.description)!==null&&T!==void 0?T:(E=n.description)===null||E===void 0?void 0:E.call(n),W=(z=e.message)!==null&&z!==void 0?z:(A=n.message)===null||A===void 0?void 0:A.call(n),S=(D=e.icon)!==null&&D!==void 0?D:(O=n.icon)===null||O===void 0?void 0:O.call(n),G=(L=n.action)===null||L===void 0?void 0:L.call(n);h=k&&h===void 0?!0:h;const N=(I?we:xe)[C.value]||null;M&&(F=!0);const t=r.value,V=te(t,{[`${t}-${C.value}`]:!0,[`${t}-closing`]:d.value,[`${t}-with-description`]:!!I,[`${t}-no-icon`]:!h,[`${t}-banner`]:!!k,[`${t}-closable`]:F,[`${t}-rtl`]:g.value==="rtl",[c.value]:!0}),X=F?s("button",{type:"button",onClick:y,class:`${t}-close-icon`,tabindex:0},[M?s("span",{class:`${t}-close-text`},[M]):P===void 0?s(le,null,null):P]):null,q=S&&(ie(S)?ae(S,{class:`${t}-icon`}):s("span",{class:`${t}-icon`},[S]))||s(N,{class:`${t}-icon`},null),Q=se(`${t}-motion`,{appear:!1,css:!0,onAfterLeave:b,onBeforeLeave:x=>{x.style.maxHeight=`${x.offsetHeight}px`},onLeave:x=>{x.style.maxHeight="0px"}});return $(f.value?null:s(de,Q,{default:()=>[re(s("div",R(R({role:"alert"},a),{},{style:[a.style,j.value],class:[a.class,V],"data-show":!d.value,ref:m}),[h?q:null,s("div",{class:`${t}-content`},[W?s("div",{class:`${t}-message`},[W]):null,I?s("div",{class:`${t}-description`},[I]):null]),G?s("div",{class:`${t}-action`},[G]):null,X]),[[ce,!d.value]])]}))}}}),Ee=K(He);export{Ee as A}; -//# sourceMappingURL=index.f014adef.js.map + margin-bottom ${n} ${c}`},[`&${o}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${o}-with-description`]:{alignItems:"flex-start",paddingInline:C,paddingBlock:b,[`${o}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${o}-message`]:{display:"block",marginBottom:i,color:p,fontSize:r},[`${o}-description`]:{display:"block"}},[`${o}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},be=e=>{const{componentCls:o,colorSuccess:n,colorSuccessBorder:i,colorSuccessBg:a,colorWarning:u,colorWarningBorder:r,colorWarningBg:g,colorError:$,colorErrorBorder:c,colorErrorBg:d,colorInfo:p,colorInfoBorder:m,colorInfoBg:y}=e;return{[o]:{"&-success":B(a,i,n,e,o),"&-info":B(y,m,p,e,o),"&-warning":B(g,r,u,e,o),"&-error":_(_({},B(d,c,$,e,o)),{[`${o}-description > pre`]:{margin:0,padding:0}})}}},Ce=e=>{const{componentCls:o,iconCls:n,motionDurationMid:i,marginXS:a,fontSizeIcon:u,colorIcon:r,colorIconHover:g}=e;return{[o]:{["&-action"]:{marginInlineStart:a},[`${o}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:u,lineHeight:`${u}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:r,transition:`color ${i}`,"&:hover":{color:g}}},"&-close-text":{color:r,transition:`color ${i}`,"&:hover":{color:g}}}}},Ie=e=>[he(e),be(e),Ce(e)],Se=Y("Alert",e=>{const{fontSizeHeading3:o}=e,n=Z(e,{alertIconSizeLG:o,alertPaddingHorizontal:12});return[Ie(n)]}),xe={success:ue,info:ge,error:fe,warning:pe},we={success:me,info:ve,error:$e,warning:ye},Be=U("success","info","warning","error"),_e=()=>({type:v.oneOf(Be),closable:{type:Boolean,default:void 0},closeText:v.any,message:v.any,description:v.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:v.any,closeIcon:v.any,onClose:Function}),He=ee({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:_e(),setup(e,o){let{slots:n,emit:i,attrs:a,expose:u}=o;const{prefixCls:r,direction:g}=oe("alert",e),[$,c]=Se(r),d=w(!1),p=w(!1),m=w(),y=l=>{l.preventDefault();const f=m.value;f.style.height=`${f.offsetHeight}px`,f.style.height=`${f.offsetHeight}px`,d.value=!0,i("close",l)},b=()=>{var l;d.value=!1,p.value=!0,(l=e.afterClose)===null||l===void 0||l.call(e)},C=ne(()=>{const{type:l}=e;return l!==void 0?l:e.banner?"warning":"info"});u({animationEnd:b});const j=w({});return()=>{var l,f,H,T,E,z,A,D,O,L;const{banner:k,closeIcon:P=(l=n.closeIcon)===null||l===void 0?void 0:l.call(n)}=e;let{closable:F,showIcon:h}=e;const M=(f=e.closeText)!==null&&f!==void 0?f:(H=n.closeText)===null||H===void 0?void 0:H.call(n),I=(T=e.description)!==null&&T!==void 0?T:(E=n.description)===null||E===void 0?void 0:E.call(n),W=(z=e.message)!==null&&z!==void 0?z:(A=n.message)===null||A===void 0?void 0:A.call(n),S=(D=e.icon)!==null&&D!==void 0?D:(O=n.icon)===null||O===void 0?void 0:O.call(n),G=(L=n.action)===null||L===void 0?void 0:L.call(n);h=k&&h===void 0?!0:h;const N=(I?we:xe)[C.value]||null;M&&(F=!0);const t=r.value,V=te(t,{[`${t}-${C.value}`]:!0,[`${t}-closing`]:d.value,[`${t}-with-description`]:!!I,[`${t}-no-icon`]:!h,[`${t}-banner`]:!!k,[`${t}-closable`]:F,[`${t}-rtl`]:g.value==="rtl",[c.value]:!0}),X=F?s("button",{type:"button",onClick:y,class:`${t}-close-icon`,tabindex:0},[M?s("span",{class:`${t}-close-text`},[M]):P===void 0?s(le,null,null):P]):null,q=S&&(ie(S)?ae(S,{class:`${t}-icon`}):s("span",{class:`${t}-icon`},[S]))||s(N,{class:`${t}-icon`},null),Q=se(`${t}-motion`,{appear:!1,css:!0,onAfterLeave:b,onBeforeLeave:x=>{x.style.maxHeight=`${x.offsetHeight}px`},onLeave:x=>{x.style.maxHeight="0px"}});return $(p.value?null:s(de,Q,{default:()=>[re(s("div",R(R({role:"alert"},a),{},{style:[a.style,j.value],class:[a.class,V],"data-show":!d.value,ref:m}),[h?q:null,s("div",{class:`${t}-content`},[W?s("div",{class:`${t}-message`},[W]):null,I?s("div",{class:`${t}-description`},[I]):null]),G?s("div",{class:`${t}-action`},[G]):null,X]),[[ce,!d.value]])]}))}}}),Ee=K(He);export{Ee as A}; +//# sourceMappingURL=index.0887bacc.js.map diff --git a/abstra_statics/dist/assets/index.b3a210ed.js b/abstra_statics/dist/assets/index.0b1755c2.js similarity index 98% rename from abstra_statics/dist/assets/index.b3a210ed.js rename to abstra_statics/dist/assets/index.0b1755c2.js index 1154304826..223b1d7c9e 100644 --- a/abstra_statics/dist/assets/index.b3a210ed.js +++ b/abstra_statics/dist/assets/index.0b1755c2.js @@ -1,2 +1,2 @@ -import{d as A,ai as L,b as g,ak as z,aj as F,aL as P,au as p,dQ as U,aN as T,aM as K,aQ as q,S as s,aE as J,an as Z,ac as k,ad as ii,ao as ti,ap as ei,ah as ni,a8 as oi,aO as ri,f as M,at as li,b6 as si,cL as ai,dR as ci,a$ as di,aV as pi}from"./vue-router.33f35a18.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="8b7151a8-1cf9-4b63-be95-ba42925c5d37",i._sentryDebugIdIdentifier="sentry-dbid-8b7151a8-1cf9-4b63-be95-ba42925c5d37")}catch{}})();function G(i){return typeof i=="string"}function mi(){}const V=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:P(),iconPrefix:String,icon:p.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:p.any,title:p.any,subTitle:p.any,progressDot:U(p.oneOfType([p.looseBool,p.func])),tailContent:p.any,icons:p.shape({finish:p.any,error:p.any}).loose,onClick:T(),onStepClick:T(),stepIcon:T(),itemRender:T(),__legacy:K()}),Q=A({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:V(),setup(i,t){let{slots:e,emit:n,attrs:o}=t;const r=m=>{n("click",m),n("stepClick",i.stepIndex)},b=m=>{let{icon:l,title:c,description:I}=m;const{prefixCls:a,stepNumber:x,status:S,iconPrefix:C,icons:d,progressDot:y=e.progressDot,stepIcon:w=e.stepIcon}=i;let $;const f=L(`${a}-icon`,`${C}icon`,{[`${C}icon-${l}`]:l&&G(l),[`${C}icon-check`]:!l&&S==="finish"&&(d&&!d.finish||!d),[`${C}icon-cross`]:!l&&S==="error"&&(d&&!d.error||!d)}),h=g("span",{class:`${a}-icon-dot`},null);return y?typeof y=="function"?$=g("span",{class:`${a}-icon`},[y({iconDot:h,index:x-1,status:S,title:c,description:I,prefixCls:a})]):$=g("span",{class:`${a}-icon`},[h]):l&&!G(l)?$=g("span",{class:`${a}-icon`},[l]):d&&d.finish&&S==="finish"?$=g("span",{class:`${a}-icon`},[d.finish]):d&&d.error&&S==="error"?$=g("span",{class:`${a}-icon`},[d.error]):l||S==="finish"||S==="error"?$=g("span",{class:f},null):$=g("span",{class:`${a}-icon`},[x]),w&&($=w({index:x-1,status:S,title:c,description:I,node:$})),$};return()=>{var m,l,c,I;const{prefixCls:a,itemWidth:x,active:S,status:C="wait",tailContent:d,adjustMarginRight:y,disabled:w,title:$=(m=e.title)===null||m===void 0?void 0:m.call(e),description:f=(l=e.description)===null||l===void 0?void 0:l.call(e),subTitle:h=(c=e.subTitle)===null||c===void 0?void 0:c.call(e),icon:u=(I=e.icon)===null||I===void 0?void 0:I.call(e),onClick:v,onStepClick:D}=i,W=C||"wait",E=L(`${a}-item`,`${a}-item-${W}`,{[`${a}-item-custom`]:u,[`${a}-item-active`]:S,[`${a}-item-disabled`]:w===!0}),X={};x&&(X.width=x),y&&(X.marginRight=y);const H={onClick:v||mi};D&&!w&&(H.role="button",H.tabindex=0,H.onClick=r);const N=g("div",z(z({},F(o,["__legacy"])),{},{class:[E,o.class],style:[o.style,X]}),[g("div",z(z({},H),{},{class:`${a}-item-container`}),[g("div",{class:`${a}-item-tail`},[d]),g("div",{class:`${a}-item-icon`},[b({icon:u,title:$,description:f})]),g("div",{class:`${a}-item-content`},[g("div",{class:`${a}-item-title`},[$,h&&g("div",{title:typeof h=="string"?h:void 0,class:`${a}-item-subtitle`},[h])]),f&&g("div",{class:`${a}-item-description`},[f])])])]);return i.itemRender?i.itemRender(N):N}}});var gi=globalThis&&globalThis.__rest||function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(i);o[]),icons:p.shape({finish:p.any,error:p.any}).loose,stepIcon:T(),isInline:p.looseBool,itemRender:T()},emits:["change"],setup(i,t){let{slots:e,emit:n}=t;const o=m=>{const{current:l}=i;l!==m&&n("change",m)},r=(m,l,c)=>{const{prefixCls:I,iconPrefix:a,status:x,current:S,initial:C,icons:d,stepIcon:y=e.stepIcon,isInline:w,itemRender:$,progressDot:f=e.progressDot}=i,h=w||f,u=s(s({},m),{class:""}),v=C+l,D={active:v===S,stepNumber:v+1,stepIndex:v,key:v,prefixCls:I,iconPrefix:a,progressDot:h,stepIcon:y,icons:d,onStepClick:o};return x==="error"&&l===S-1&&(u.class=`${I}-next-error`),u.status||(v===S?u.status=x:v$(u,W)),g(Q,z(z(z({},u),D),{},{__legacy:!1}),null))},b=(m,l)=>r(s({},m.props),l,c=>J(m,c));return()=>{var m;const{prefixCls:l,direction:c,type:I,labelPlacement:a,iconPrefix:x,status:S,size:C,current:d,progressDot:y=e.progressDot,initial:w,icons:$,items:f,isInline:h,itemRender:u}=i,v=gi(i,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),D=I==="navigation",W=h||y,E=h?"horizontal":c,X=h?void 0:C,H=W?"vertical":a,N=L(l,`${l}-${c}`,{[`${l}-${X}`]:X,[`${l}-label-${H}`]:E==="horizontal",[`${l}-dot`]:!!W,[`${l}-navigation`]:D,[`${l}-inline`]:h});return g("div",z({class:N},v),[f.filter(_=>_).map((_,Y)=>r(_,Y)),q((m=e.default)===null||m===void 0?void 0:m.call(e)).map(b)])}}}),hi=i=>{const{componentCls:t,stepsIconCustomTop:e,stepsIconCustomSize:n,stepsIconCustomFontSize:o}=i;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:e,width:n,height:n,fontSize:o,lineHeight:`${n}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},Si=hi,fi=i=>{const{componentCls:t,stepsIconSize:e,lineHeight:n,stepsSmallIconSize:o}=i;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e/2+i.controlHeightLG,padding:`${i.paddingXXS}px ${i.paddingLG}px`},"&-content":{display:"block",width:(e/2+i.controlHeightLG)*2,marginTop:i.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:i.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:i.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:i.controlHeightLG+(e-o)/2}}}}}},ui=fi,bi=i=>{const{componentCls:t,stepsNavContentMaxWidth:e,stepsNavArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:r}=i;return{[`&${t}-navigation`]:{paddingTop:i.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-i.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-i.margin,paddingBottom:i.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${t}-item-content`]:{maxWidth:e},[`${t}-item-title`]:s(s({maxWidth:"100%",paddingInlineEnd:0},Z),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${i.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:i.fontSizeIcon,height:i.fontSizeIcon,borderTop:`${i.lineWidth}px ${i.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${i.lineWidth}px ${i.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:i.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:i.lineWidth*3,height:`calc(100% - ${i.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:i.controlHeight*.25,height:i.controlHeight*.25,marginBottom:i.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},Ii=bi,yi=i=>{const{antCls:t,componentCls:e}=i;return{[`&${e}-with-progress`]:{[`${e}-item`]:{paddingTop:i.paddingXXS,[`&-process ${e}-item-container ${e}-item-icon ${e}-icon`]:{color:i.processIconColor}},[`&${e}-vertical > ${e}-item `]:{paddingInlineStart:i.paddingXXS,[`> ${e}-item-container > ${e}-item-tail`]:{top:i.marginXXS,insetInlineStart:i.stepsIconSize/2-i.lineWidth+i.paddingXXS}},[`&, &${e}-small`]:{[`&${e}-horizontal ${e}-item:first-child`]:{paddingBottom:i.paddingXXS,paddingInlineStart:i.paddingXXS}},[`&${e}-small${e}-vertical > ${e}-item > ${e}-item-container > ${e}-item-tail`]:{insetInlineStart:i.stepsSmallIconSize/2-i.lineWidth+i.paddingXXS},[`&${e}-label-vertical`]:{[`${e}-item ${e}-item-tail`]:{top:i.margin-2*i.lineWidth}},[`${e}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(i.stepsIconSize-i.stepsProgressSize-i.lineWidth*2)/2,insetInlineStart:(i.stepsIconSize-i.stepsProgressSize-i.lineWidth*2)/2}}}}},Ci=yi,vi=i=>{const{componentCls:t,descriptionWidth:e,lineHeight:n,stepsCurrentDotSize:o,stepsDotSize:r,motionDurationSlow:b}=i;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:Math.floor((i.stepsDotSize-i.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${e/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${i.marginSM*2}px)`,height:i.lineWidth*3,marginInlineStart:i.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:(i.descriptionWidth-r)/2,paddingInlineEnd:0,lineHeight:`${r}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${b}`,"&::after":{position:"absolute",top:-i.marginSM,insetInlineStart:(r-i.controlHeightLG*1.5)/2,width:i.controlHeightLG*1.5,height:i.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:e},[`&-process ${t}-item-icon`]:{position:"relative",top:(r-o)/2,width:o,height:o,lineHeight:`${o}px`,background:"none",marginInlineStart:(i.descriptionWidth-o)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(i.controlHeight-r)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(i.controlHeight-o)/2,top:0,insetInlineStart:(r-o)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(i.controlHeight-r)/2,insetInlineStart:0,margin:0,padding:`${r+i.paddingXS}px 0 ${i.paddingXS}px`,"&::after":{marginInlineStart:(r-i.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(i.controlHeightSM-r)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(i.controlHeightSM-o)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(i.controlHeightSM-r)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},xi=vi,wi=i=>{const{componentCls:t}=i;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},zi=wi,Ti=i=>{const{componentCls:t,stepsSmallIconSize:e,fontSizeSM:n,fontSize:o,colorTextDescription:r}=i;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:i.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:e,height:e,marginTop:0,marginBottom:0,marginInline:`0 ${i.marginXS}px`,fontSize:n,lineHeight:`${e}px`,textAlign:"center",borderRadius:e},[`${t}-item-title`]:{paddingInlineEnd:i.paddingSM,fontSize:o,lineHeight:`${e}px`,"&::after":{top:e/2}},[`${t}-item-description`]:{color:r,fontSize:o},[`${t}-item-tail`]:{top:e/2-i.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:e,lineHeight:`${e}px`,transform:"none"}}}}},Di=Ti,Pi=i=>{const{componentCls:t,stepsSmallIconSize:e,stepsIconSize:n}=i;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:i.margin},[`${t}-item-content`]:{display:"block",minHeight:i.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${n}px`},[`${t}-item-description`]:{paddingBottom:i.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.stepsIconSize/2-i.lineWidth,width:i.lineWidth,height:"100%",padding:`${n+i.marginXXS*1.5}px 0 ${i.marginXXS*1.5}px`,"&::after":{width:i.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.stepsSmallIconSize/2-i.lineWidth,padding:`${e+i.marginXXS*1.5}px 0 ${i.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${e}px`}}}}},Wi=Pi,Xi=i=>{const{componentCls:t,inlineDotSize:e,inlineTitleColor:n,inlineTailColor:o}=i,r=i.paddingXS+i.lineWidth,b={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${r}px ${i.paddingXXS}px 0`,margin:`0 ${i.marginXXS/2}px`,borderRadius:i.borderRadiusSM,cursor:"pointer",transition:`background-color ${i.motionDurationMid}`,"&:hover":{background:i.controlItemBgHover},["&[role='button']:hover"]:{opacity:1}},"&-icon":{width:e,height:e,marginInlineStart:`calc(50% - ${e/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:i.fontSizeSM/4}},"&-content":{width:"auto",marginTop:i.marginXS-i.lineWidth},"&-title":{color:n,fontSize:i.fontSizeSM,lineHeight:i.lineHeightSM,fontWeight:"normal",marginBottom:i.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:r+e/2,transform:"translateY(-50%)","&:after":{width:"100%",height:i.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":s({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i.colorBorderBg,border:`${i.lineWidth}px ${i.lineType} ${o}`}},b),"&-finish":s({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${i.lineWidth}px ${i.lineType} ${o}`}},b),"&-error":b,"&-active, &-process":s({[`${t}-item-icon`]:{width:e,height:e,marginInlineStart:`calc(50% - ${e/2}px)`,top:0}},b),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},Hi=Xi;var B;(function(i){i.wait="wait",i.process="process",i.finish="finish",i.error="error"})(B||(B={}));const R=(i,t)=>{const e=`${t.componentCls}-item`,n=`${i}IconColor`,o=`${i}TitleColor`,r=`${i}DescriptionColor`,b=`${i}TailColor`,m=`${i}IconBgColor`,l=`${i}IconBorderColor`,c=`${i}DotColor`;return{[`${e}-${i} ${e}-icon`]:{backgroundColor:t[m],borderColor:t[l],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[c]}}},[`${e}-${i}${e}-custom ${e}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[c]}},[`${e}-${i} > ${e}-container > ${e}-content > ${e}-title`]:{color:t[o],"&::after":{backgroundColor:t[b]}},[`${e}-${i} > ${e}-container > ${e}-content > ${e}-description`]:{color:t[r]},[`${e}-${i} > ${e}-container > ${e}-tail::after`]:{backgroundColor:t[b]}}},Bi=i=>{const{componentCls:t,motionDurationSlow:e}=i,n=`${t}-item`;return s(s(s(s(s(s({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none"},[`${n}-icon, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[`${n}-icon`]:{width:i.stepsIconSize,height:i.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:i.marginXS,fontSize:i.stepsIconFontSize,fontFamily:i.fontFamily,lineHeight:`${i.stepsIconSize}px`,textAlign:"center",borderRadius:i.stepsIconSize,border:`${i.lineWidth}px ${i.lineType} transparent`,transition:`background-color ${e}, border-color ${e}`,[`${t}-icon`]:{position:"relative",top:i.stepsIconTop,color:i.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:i.stepsIconSize/2-i.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:i.lineWidth,background:i.colorSplit,borderRadius:i.lineWidth,transition:`background ${e}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:i.padding,color:i.colorText,fontSize:i.fontSizeLG,lineHeight:`${i.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:i.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:i.lineWidth,background:i.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:i.marginXS,color:i.colorTextDescription,fontWeight:"normal",fontSize:i.fontSize},[`${n}-description`]:{color:i.colorTextDescription,fontSize:i.fontSize}},R(B.wait,i)),R(B.process,i)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:i.fontWeightStrong}}),R(B.finish,i)),R(B.error,i)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:i.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Mi=i=>{const{componentCls:t,motionDurationSlow:e}=i;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${e}`}},"&:hover":{[`${t}-item`]:{["&-title, &-subtitle, &-description"]:{color:i.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:i.colorPrimary,[`${t}-icon`]:{color:i.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:i.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:i.descriptionWidth,whiteSpace:"normal"}}}}},Ni=i=>{const{componentCls:t}=i;return{[t]:s(s(s(s(s(s(s(s(s(s(s(s(s({},ti(i)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Bi(i)),Mi(i)),Si(i)),Di(i)),Wi(i)),ui(i)),xi(i)),Ii(i)),zi(i)),Ci(i)),Hi(i))}},Ri=k("Steps",i=>{const{wireframe:t,colorTextDisabled:e,fontSizeHeading3:n,fontSize:o,controlHeight:r,controlHeightLG:b,colorTextLightSolid:m,colorText:l,colorPrimary:c,colorTextLabel:I,colorTextDescription:a,colorTextQuaternary:x,colorFillContent:S,controlItemBgActive:C,colorError:d,colorBgContainer:y,colorBorderSecondary:w}=i,$=i.controlHeight,f=i.colorSplit,h=ii(i,{processTailColor:f,stepsNavArrowColor:e,stepsIconSize:$,stepsIconCustomSize:$,stepsIconCustomTop:0,stepsIconCustomFontSize:b/2,stepsIconTop:-.5,stepsIconFontSize:o,stepsTitleLineHeight:r,stepsSmallIconSize:n,stepsDotSize:r/4,stepsCurrentDotSize:b/4,stepsNavContentMaxWidth:"auto",processIconColor:m,processTitleColor:l,processDescriptionColor:l,processIconBgColor:c,processIconBorderColor:c,processDotColor:c,waitIconColor:t?e:I,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:f,waitIconBgColor:t?y:S,waitIconBorderColor:t?e:"transparent",waitDotColor:e,finishIconColor:c,finishTitleColor:l,finishDescriptionColor:a,finishTailColor:c,finishIconBgColor:t?y:C,finishIconBorderColor:t?c:C,finishDotColor:c,errorIconColor:m,errorTitleColor:d,errorDescriptionColor:d,errorTailColor:f,errorIconBgColor:d,errorIconBorderColor:d,errorDotColor:d,stepsNavActiveColor:c,stepsProgressSize:b,inlineDotSize:6,inlineTitleColor:x,inlineTailColor:w});return[Ni(h)]},{descriptionWidth:140}),Li=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:K(),items:li(),labelPlacement:P(),status:P(),size:P(),direction:P(),progressDot:si([Boolean,Function]),type:P(),onChange:T(),"onUpdate:current":T()}),O=A({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:ei(Li(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup(i,t){let{attrs:e,slots:n,emit:o}=t;const{prefixCls:r,direction:b,configProvider:m}=ni("steps",i),[l,c]=Ri(r),[,I]=oi(),a=ri(),x=M(()=>i.responsive&&a.value.xs?"vertical":i.direction),S=M(()=>m.getPrefixCls("",i.iconPrefix)),C=f=>{o("update:current",f),o("change",f)},d=M(()=>i.type==="inline"),y=M(()=>d.value?void 0:i.percent),w=f=>{let{node:h,status:u}=f;if(u==="process"&&i.percent!==void 0){const v=i.size==="small"?I.value.controlHeight:I.value.controlHeightLG;return g("div",{class:`${r.value}-progress-icon`},[g(ai,{type:"circle",percent:y.value,size:v,strokeWidth:4,format:()=>null},null),h])}return h},$=M(()=>({finish:g(ci,{class:`${r.value}-finish-icon`},null),error:g(di,{class:`${r.value}-error-icon`},null)}));return()=>{const f=L({[`${r.value}-rtl`]:b.value==="rtl",[`${r.value}-with-progress`]:y.value!==void 0},e.class,c.value),h=(u,v)=>u.description?g(pi,{title:u.description},{default:()=>[v]}):v;return l(g($i,z(z(z({icons:$.value},e),F(i,["percent","responsive"])),{},{items:i.items,direction:x.value,prefixCls:r.value,iconPrefix:S.value,class:f,onChange:C,isInline:d.value,itemRender:d.value?h:void 0}),s({stepIcon:w},n)))}}}),j=A(s(s({compatConfig:{MODE:3}},Q),{name:"AStep",props:V()})),Ei=s(O,{Step:j,install:i=>(i.component(O.name,O),i.component(j.name,j),i)});export{Ei as A,j as S}; -//# sourceMappingURL=index.b3a210ed.js.map +import{d as A,ai as L,b as g,ak as z,aj as F,aL as P,au as p,dQ as U,aN as T,aM as K,aQ as q,S as s,aE as J,an as Z,ac as k,ad as ii,ao as ti,ap as ei,ah as ni,a8 as oi,aO as ri,f as M,at as li,b6 as si,cL as ai,dR as ci,a$ as di,aV as pi}from"./vue-router.324eaed2.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="6320e829-73e0-4b5d-8057-36bc3a31fe5a",i._sentryDebugIdIdentifier="sentry-dbid-6320e829-73e0-4b5d-8057-36bc3a31fe5a")}catch{}})();function G(i){return typeof i=="string"}function mi(){}const V=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:P(),iconPrefix:String,icon:p.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:p.any,title:p.any,subTitle:p.any,progressDot:U(p.oneOfType([p.looseBool,p.func])),tailContent:p.any,icons:p.shape({finish:p.any,error:p.any}).loose,onClick:T(),onStepClick:T(),stepIcon:T(),itemRender:T(),__legacy:K()}),Q=A({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:V(),setup(i,t){let{slots:e,emit:n,attrs:o}=t;const r=m=>{n("click",m),n("stepClick",i.stepIndex)},b=m=>{let{icon:l,title:c,description:I}=m;const{prefixCls:a,stepNumber:x,status:S,iconPrefix:C,icons:d,progressDot:y=e.progressDot,stepIcon:w=e.stepIcon}=i;let $;const f=L(`${a}-icon`,`${C}icon`,{[`${C}icon-${l}`]:l&&G(l),[`${C}icon-check`]:!l&&S==="finish"&&(d&&!d.finish||!d),[`${C}icon-cross`]:!l&&S==="error"&&(d&&!d.error||!d)}),h=g("span",{class:`${a}-icon-dot`},null);return y?typeof y=="function"?$=g("span",{class:`${a}-icon`},[y({iconDot:h,index:x-1,status:S,title:c,description:I,prefixCls:a})]):$=g("span",{class:`${a}-icon`},[h]):l&&!G(l)?$=g("span",{class:`${a}-icon`},[l]):d&&d.finish&&S==="finish"?$=g("span",{class:`${a}-icon`},[d.finish]):d&&d.error&&S==="error"?$=g("span",{class:`${a}-icon`},[d.error]):l||S==="finish"||S==="error"?$=g("span",{class:f},null):$=g("span",{class:`${a}-icon`},[x]),w&&($=w({index:x-1,status:S,title:c,description:I,node:$})),$};return()=>{var m,l,c,I;const{prefixCls:a,itemWidth:x,active:S,status:C="wait",tailContent:d,adjustMarginRight:y,disabled:w,title:$=(m=e.title)===null||m===void 0?void 0:m.call(e),description:f=(l=e.description)===null||l===void 0?void 0:l.call(e),subTitle:h=(c=e.subTitle)===null||c===void 0?void 0:c.call(e),icon:u=(I=e.icon)===null||I===void 0?void 0:I.call(e),onClick:v,onStepClick:D}=i,W=C||"wait",E=L(`${a}-item`,`${a}-item-${W}`,{[`${a}-item-custom`]:u,[`${a}-item-active`]:S,[`${a}-item-disabled`]:w===!0}),X={};x&&(X.width=x),y&&(X.marginRight=y);const H={onClick:v||mi};D&&!w&&(H.role="button",H.tabindex=0,H.onClick=r);const N=g("div",z(z({},F(o,["__legacy"])),{},{class:[E,o.class],style:[o.style,X]}),[g("div",z(z({},H),{},{class:`${a}-item-container`}),[g("div",{class:`${a}-item-tail`},[d]),g("div",{class:`${a}-item-icon`},[b({icon:u,title:$,description:f})]),g("div",{class:`${a}-item-content`},[g("div",{class:`${a}-item-title`},[$,h&&g("div",{title:typeof h=="string"?h:void 0,class:`${a}-item-subtitle`},[h])]),f&&g("div",{class:`${a}-item-description`},[f])])])]);return i.itemRender?i.itemRender(N):N}}});var gi=globalThis&&globalThis.__rest||function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(i);o[]),icons:p.shape({finish:p.any,error:p.any}).loose,stepIcon:T(),isInline:p.looseBool,itemRender:T()},emits:["change"],setup(i,t){let{slots:e,emit:n}=t;const o=m=>{const{current:l}=i;l!==m&&n("change",m)},r=(m,l,c)=>{const{prefixCls:I,iconPrefix:a,status:x,current:S,initial:C,icons:d,stepIcon:y=e.stepIcon,isInline:w,itemRender:$,progressDot:f=e.progressDot}=i,h=w||f,u=s(s({},m),{class:""}),v=C+l,D={active:v===S,stepNumber:v+1,stepIndex:v,key:v,prefixCls:I,iconPrefix:a,progressDot:h,stepIcon:y,icons:d,onStepClick:o};return x==="error"&&l===S-1&&(u.class=`${I}-next-error`),u.status||(v===S?u.status=x:v$(u,W)),g(Q,z(z(z({},u),D),{},{__legacy:!1}),null))},b=(m,l)=>r(s({},m.props),l,c=>J(m,c));return()=>{var m;const{prefixCls:l,direction:c,type:I,labelPlacement:a,iconPrefix:x,status:S,size:C,current:d,progressDot:y=e.progressDot,initial:w,icons:$,items:f,isInline:h,itemRender:u}=i,v=gi(i,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),D=I==="navigation",W=h||y,E=h?"horizontal":c,X=h?void 0:C,H=W?"vertical":a,N=L(l,`${l}-${c}`,{[`${l}-${X}`]:X,[`${l}-label-${H}`]:E==="horizontal",[`${l}-dot`]:!!W,[`${l}-navigation`]:D,[`${l}-inline`]:h});return g("div",z({class:N},v),[f.filter(_=>_).map((_,Y)=>r(_,Y)),q((m=e.default)===null||m===void 0?void 0:m.call(e)).map(b)])}}}),hi=i=>{const{componentCls:t,stepsIconCustomTop:e,stepsIconCustomSize:n,stepsIconCustomFontSize:o}=i;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:e,width:n,height:n,fontSize:o,lineHeight:`${n}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},Si=hi,fi=i=>{const{componentCls:t,stepsIconSize:e,lineHeight:n,stepsSmallIconSize:o}=i;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e/2+i.controlHeightLG,padding:`${i.paddingXXS}px ${i.paddingLG}px`},"&-content":{display:"block",width:(e/2+i.controlHeightLG)*2,marginTop:i.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:i.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:i.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:i.controlHeightLG+(e-o)/2}}}}}},ui=fi,bi=i=>{const{componentCls:t,stepsNavContentMaxWidth:e,stepsNavArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:r}=i;return{[`&${t}-navigation`]:{paddingTop:i.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-i.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-i.margin,paddingBottom:i.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${t}-item-content`]:{maxWidth:e},[`${t}-item-title`]:s(s({maxWidth:"100%",paddingInlineEnd:0},Z),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${i.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:i.fontSizeIcon,height:i.fontSizeIcon,borderTop:`${i.lineWidth}px ${i.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${i.lineWidth}px ${i.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:i.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:i.lineWidth*3,height:`calc(100% - ${i.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:i.controlHeight*.25,height:i.controlHeight*.25,marginBottom:i.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},Ii=bi,yi=i=>{const{antCls:t,componentCls:e}=i;return{[`&${e}-with-progress`]:{[`${e}-item`]:{paddingTop:i.paddingXXS,[`&-process ${e}-item-container ${e}-item-icon ${e}-icon`]:{color:i.processIconColor}},[`&${e}-vertical > ${e}-item `]:{paddingInlineStart:i.paddingXXS,[`> ${e}-item-container > ${e}-item-tail`]:{top:i.marginXXS,insetInlineStart:i.stepsIconSize/2-i.lineWidth+i.paddingXXS}},[`&, &${e}-small`]:{[`&${e}-horizontal ${e}-item:first-child`]:{paddingBottom:i.paddingXXS,paddingInlineStart:i.paddingXXS}},[`&${e}-small${e}-vertical > ${e}-item > ${e}-item-container > ${e}-item-tail`]:{insetInlineStart:i.stepsSmallIconSize/2-i.lineWidth+i.paddingXXS},[`&${e}-label-vertical`]:{[`${e}-item ${e}-item-tail`]:{top:i.margin-2*i.lineWidth}},[`${e}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(i.stepsIconSize-i.stepsProgressSize-i.lineWidth*2)/2,insetInlineStart:(i.stepsIconSize-i.stepsProgressSize-i.lineWidth*2)/2}}}}},Ci=yi,vi=i=>{const{componentCls:t,descriptionWidth:e,lineHeight:n,stepsCurrentDotSize:o,stepsDotSize:r,motionDurationSlow:b}=i;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:Math.floor((i.stepsDotSize-i.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${e/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${i.marginSM*2}px)`,height:i.lineWidth*3,marginInlineStart:i.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:(i.descriptionWidth-r)/2,paddingInlineEnd:0,lineHeight:`${r}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${b}`,"&::after":{position:"absolute",top:-i.marginSM,insetInlineStart:(r-i.controlHeightLG*1.5)/2,width:i.controlHeightLG*1.5,height:i.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:e},[`&-process ${t}-item-icon`]:{position:"relative",top:(r-o)/2,width:o,height:o,lineHeight:`${o}px`,background:"none",marginInlineStart:(i.descriptionWidth-o)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(i.controlHeight-r)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(i.controlHeight-o)/2,top:0,insetInlineStart:(r-o)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(i.controlHeight-r)/2,insetInlineStart:0,margin:0,padding:`${r+i.paddingXS}px 0 ${i.paddingXS}px`,"&::after":{marginInlineStart:(r-i.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(i.controlHeightSM-r)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(i.controlHeightSM-o)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(i.controlHeightSM-r)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},xi=vi,wi=i=>{const{componentCls:t}=i;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},zi=wi,Ti=i=>{const{componentCls:t,stepsSmallIconSize:e,fontSizeSM:n,fontSize:o,colorTextDescription:r}=i;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:i.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:e,height:e,marginTop:0,marginBottom:0,marginInline:`0 ${i.marginXS}px`,fontSize:n,lineHeight:`${e}px`,textAlign:"center",borderRadius:e},[`${t}-item-title`]:{paddingInlineEnd:i.paddingSM,fontSize:o,lineHeight:`${e}px`,"&::after":{top:e/2}},[`${t}-item-description`]:{color:r,fontSize:o},[`${t}-item-tail`]:{top:e/2-i.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:e,lineHeight:`${e}px`,transform:"none"}}}}},Di=Ti,Pi=i=>{const{componentCls:t,stepsSmallIconSize:e,stepsIconSize:n}=i;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:i.margin},[`${t}-item-content`]:{display:"block",minHeight:i.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${n}px`},[`${t}-item-description`]:{paddingBottom:i.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.stepsIconSize/2-i.lineWidth,width:i.lineWidth,height:"100%",padding:`${n+i.marginXXS*1.5}px 0 ${i.marginXXS*1.5}px`,"&::after":{width:i.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.stepsSmallIconSize/2-i.lineWidth,padding:`${e+i.marginXXS*1.5}px 0 ${i.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${e}px`}}}}},Wi=Pi,Xi=i=>{const{componentCls:t,inlineDotSize:e,inlineTitleColor:n,inlineTailColor:o}=i,r=i.paddingXS+i.lineWidth,b={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${r}px ${i.paddingXXS}px 0`,margin:`0 ${i.marginXXS/2}px`,borderRadius:i.borderRadiusSM,cursor:"pointer",transition:`background-color ${i.motionDurationMid}`,"&:hover":{background:i.controlItemBgHover},["&[role='button']:hover"]:{opacity:1}},"&-icon":{width:e,height:e,marginInlineStart:`calc(50% - ${e/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:i.fontSizeSM/4}},"&-content":{width:"auto",marginTop:i.marginXS-i.lineWidth},"&-title":{color:n,fontSize:i.fontSizeSM,lineHeight:i.lineHeightSM,fontWeight:"normal",marginBottom:i.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:r+e/2,transform:"translateY(-50%)","&:after":{width:"100%",height:i.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":s({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i.colorBorderBg,border:`${i.lineWidth}px ${i.lineType} ${o}`}},b),"&-finish":s({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${i.lineWidth}px ${i.lineType} ${o}`}},b),"&-error":b,"&-active, &-process":s({[`${t}-item-icon`]:{width:e,height:e,marginInlineStart:`calc(50% - ${e/2}px)`,top:0}},b),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},Hi=Xi;var B;(function(i){i.wait="wait",i.process="process",i.finish="finish",i.error="error"})(B||(B={}));const R=(i,t)=>{const e=`${t.componentCls}-item`,n=`${i}IconColor`,o=`${i}TitleColor`,r=`${i}DescriptionColor`,b=`${i}TailColor`,m=`${i}IconBgColor`,l=`${i}IconBorderColor`,c=`${i}DotColor`;return{[`${e}-${i} ${e}-icon`]:{backgroundColor:t[m],borderColor:t[l],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[c]}}},[`${e}-${i}${e}-custom ${e}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[c]}},[`${e}-${i} > ${e}-container > ${e}-content > ${e}-title`]:{color:t[o],"&::after":{backgroundColor:t[b]}},[`${e}-${i} > ${e}-container > ${e}-content > ${e}-description`]:{color:t[r]},[`${e}-${i} > ${e}-container > ${e}-tail::after`]:{backgroundColor:t[b]}}},Bi=i=>{const{componentCls:t,motionDurationSlow:e}=i,n=`${t}-item`;return s(s(s(s(s(s({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none"},[`${n}-icon, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[`${n}-icon`]:{width:i.stepsIconSize,height:i.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:i.marginXS,fontSize:i.stepsIconFontSize,fontFamily:i.fontFamily,lineHeight:`${i.stepsIconSize}px`,textAlign:"center",borderRadius:i.stepsIconSize,border:`${i.lineWidth}px ${i.lineType} transparent`,transition:`background-color ${e}, border-color ${e}`,[`${t}-icon`]:{position:"relative",top:i.stepsIconTop,color:i.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:i.stepsIconSize/2-i.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:i.lineWidth,background:i.colorSplit,borderRadius:i.lineWidth,transition:`background ${e}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:i.padding,color:i.colorText,fontSize:i.fontSizeLG,lineHeight:`${i.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:i.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:i.lineWidth,background:i.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:i.marginXS,color:i.colorTextDescription,fontWeight:"normal",fontSize:i.fontSize},[`${n}-description`]:{color:i.colorTextDescription,fontSize:i.fontSize}},R(B.wait,i)),R(B.process,i)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:i.fontWeightStrong}}),R(B.finish,i)),R(B.error,i)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:i.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Mi=i=>{const{componentCls:t,motionDurationSlow:e}=i;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${e}`}},"&:hover":{[`${t}-item`]:{["&-title, &-subtitle, &-description"]:{color:i.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:i.colorPrimary,[`${t}-icon`]:{color:i.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:i.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:i.descriptionWidth,whiteSpace:"normal"}}}}},Ni=i=>{const{componentCls:t}=i;return{[t]:s(s(s(s(s(s(s(s(s(s(s(s(s({},ti(i)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Bi(i)),Mi(i)),Si(i)),Di(i)),Wi(i)),ui(i)),xi(i)),Ii(i)),zi(i)),Ci(i)),Hi(i))}},Ri=k("Steps",i=>{const{wireframe:t,colorTextDisabled:e,fontSizeHeading3:n,fontSize:o,controlHeight:r,controlHeightLG:b,colorTextLightSolid:m,colorText:l,colorPrimary:c,colorTextLabel:I,colorTextDescription:a,colorTextQuaternary:x,colorFillContent:S,controlItemBgActive:C,colorError:d,colorBgContainer:y,colorBorderSecondary:w}=i,$=i.controlHeight,f=i.colorSplit,h=ii(i,{processTailColor:f,stepsNavArrowColor:e,stepsIconSize:$,stepsIconCustomSize:$,stepsIconCustomTop:0,stepsIconCustomFontSize:b/2,stepsIconTop:-.5,stepsIconFontSize:o,stepsTitleLineHeight:r,stepsSmallIconSize:n,stepsDotSize:r/4,stepsCurrentDotSize:b/4,stepsNavContentMaxWidth:"auto",processIconColor:m,processTitleColor:l,processDescriptionColor:l,processIconBgColor:c,processIconBorderColor:c,processDotColor:c,waitIconColor:t?e:I,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:f,waitIconBgColor:t?y:S,waitIconBorderColor:t?e:"transparent",waitDotColor:e,finishIconColor:c,finishTitleColor:l,finishDescriptionColor:a,finishTailColor:c,finishIconBgColor:t?y:C,finishIconBorderColor:t?c:C,finishDotColor:c,errorIconColor:m,errorTitleColor:d,errorDescriptionColor:d,errorTailColor:f,errorIconBgColor:d,errorIconBorderColor:d,errorDotColor:d,stepsNavActiveColor:c,stepsProgressSize:b,inlineDotSize:6,inlineTitleColor:x,inlineTailColor:w});return[Ni(h)]},{descriptionWidth:140}),Li=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:K(),items:li(),labelPlacement:P(),status:P(),size:P(),direction:P(),progressDot:si([Boolean,Function]),type:P(),onChange:T(),"onUpdate:current":T()}),O=A({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:ei(Li(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup(i,t){let{attrs:e,slots:n,emit:o}=t;const{prefixCls:r,direction:b,configProvider:m}=ni("steps",i),[l,c]=Ri(r),[,I]=oi(),a=ri(),x=M(()=>i.responsive&&a.value.xs?"vertical":i.direction),S=M(()=>m.getPrefixCls("",i.iconPrefix)),C=f=>{o("update:current",f),o("change",f)},d=M(()=>i.type==="inline"),y=M(()=>d.value?void 0:i.percent),w=f=>{let{node:h,status:u}=f;if(u==="process"&&i.percent!==void 0){const v=i.size==="small"?I.value.controlHeight:I.value.controlHeightLG;return g("div",{class:`${r.value}-progress-icon`},[g(ai,{type:"circle",percent:y.value,size:v,strokeWidth:4,format:()=>null},null),h])}return h},$=M(()=>({finish:g(ci,{class:`${r.value}-finish-icon`},null),error:g(di,{class:`${r.value}-error-icon`},null)}));return()=>{const f=L({[`${r.value}-rtl`]:b.value==="rtl",[`${r.value}-with-progress`]:y.value!==void 0},e.class,c.value),h=(u,v)=>u.description?g(pi,{title:u.description},{default:()=>[v]}):v;return l(g($i,z(z(z({icons:$.value},e),F(i,["percent","responsive"])),{},{items:i.items,direction:x.value,prefixCls:r.value,iconPrefix:S.value,class:f,onChange:C,isInline:d.value,itemRender:d.value?h:void 0}),s({stepIcon:w},n)))}}}),j=A(s(s({compatConfig:{MODE:3}},Q),{name:"AStep",props:V()})),Ei=s(O,{Step:j,install:i=>(i.component(O.name,O),i.component(j.name,j),i)});export{Ei as A,j as S}; +//# sourceMappingURL=index.0b1755c2.js.map diff --git a/abstra_statics/dist/assets/index.1fcaf67f.js b/abstra_statics/dist/assets/index.1fcaf67f.js deleted file mode 100644 index 903bf864c8..0000000000 --- a/abstra_statics/dist/assets/index.1fcaf67f.js +++ /dev/null @@ -1,2 +0,0 @@ -import{B as n,R as d}from"./Badge.71fee936.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},b=new Error().stack;b&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[b]="efb332a9-d5f5-43bf-9f29-06bdbb7b0000",e._sentryDebugIdIdentifier="sentry-dbid-efb332a9-d5f5-43bf-9f29-06bdbb7b0000")}catch{}})();n.install=function(e){return e.component(n.name,n),e.component(d.name,d),e}; -//# sourceMappingURL=index.1fcaf67f.js.map diff --git a/abstra_statics/dist/assets/index.2fc2bb22.js b/abstra_statics/dist/assets/index.341662d4.js similarity index 92% rename from abstra_statics/dist/assets/index.2fc2bb22.js rename to abstra_statics/dist/assets/index.341662d4.js index f2341f2fbf..6c598794ec 100644 --- a/abstra_statics/dist/assets/index.2fc2bb22.js +++ b/abstra_statics/dist/assets/index.341662d4.js @@ -1,2 +1,2 @@ -import{ac as S,ad as w,S as s,ao as y,ae as z,d as C,ah as M,f as d,aC as I,b as f,ak as u}from"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="649cf3d6-f830-4889-84c0-3949dc685ab8",t._sentryDebugIdIdentifier="sentry-dbid-649cf3d6-f830-4889-84c0-3949dc685ab8")}catch{}})();const D=t=>{const{componentCls:e,sizePaddingEdgeHorizontal:o,colorSplit:r,lineWidth:i}=t;return{[e]:s(s({},y(t)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${t.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${t.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${e}-with-text`]:{display:"flex",alignItems:"center",margin:`${t.dividerHorizontalWithTextGutterMargin}px 0`,color:t.colorTextHeading,fontWeight:500,fontSize:t.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${e}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${e}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${e}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${e}-with-text${e}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${e}-dashed`]:{borderInlineStart:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${e}-with-text`]:{color:t.colorText,fontWeight:"normal",fontSize:t.fontSize},[`&-horizontal${e}-with-text-left${e}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${e}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${e}-with-text-right${e}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${e}-inner-text`]:{paddingInlineEnd:o}}})}},B=S("Divider",t=>{const e=w(t,{dividerVerticalGutterMargin:t.marginXS,dividerHorizontalWithTextGutterMargin:t.margin,dividerHorizontalGutterMargin:t.marginLG});return[D(e)]},{sizePaddingEdgeHorizontal:0}),E=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),G=C({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:E(),setup(t,e){let{slots:o,attrs:r}=e;const{prefixCls:i,direction:b}=M("divider",t),[v,c]=B(i),g=d(()=>t.orientation==="left"&&t.orientationMargin!=null),h=d(()=>t.orientation==="right"&&t.orientationMargin!=null),$=d(()=>{const{type:n,dashed:l,plain:x}=t,a=i.value;return{[a]:!0,[c.value]:!!c.value,[`${a}-${n}`]:!0,[`${a}-dashed`]:!!l,[`${a}-plain`]:!!x,[`${a}-rtl`]:b.value==="rtl",[`${a}-no-default-orientation-margin-left`]:g.value,[`${a}-no-default-orientation-margin-right`]:h.value}}),m=d(()=>{const n=typeof t.orientationMargin=="number"?`${t.orientationMargin}px`:t.orientationMargin;return s(s({},g.value&&{marginLeft:n}),h.value&&{marginRight:n})}),p=d(()=>t.orientation.length>0?"-"+t.orientation:t.orientation);return()=>{var n;const l=I((n=o.default)===null||n===void 0?void 0:n.call(o));return v(f("div",u(u({},r),{},{class:[$.value,l.length?`${i.value}-with-text ${i.value}-with-text${p.value}`:"",r.class],role:"separator"}),[l.length?f("span",{class:`${i.value}-inner-text`,style:m.value},[l]):null]))}}}),W=z(G);export{W as A}; -//# sourceMappingURL=index.2fc2bb22.js.map +import{ac as S,ad as w,S as s,ao as y,ae as z,d as C,ah as M,f as d,aC as I,b as f,ak as u}from"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="11c3ce7d-129b-4838-a47a-dc9fd530cb27",t._sentryDebugIdIdentifier="sentry-dbid-11c3ce7d-129b-4838-a47a-dc9fd530cb27")}catch{}})();const D=t=>{const{componentCls:e,sizePaddingEdgeHorizontal:o,colorSplit:r,lineWidth:i}=t;return{[e]:s(s({},y(t)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${t.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${t.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${e}-with-text`]:{display:"flex",alignItems:"center",margin:`${t.dividerHorizontalWithTextGutterMargin}px 0`,color:t.colorTextHeading,fontWeight:500,fontSize:t.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${e}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${e}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${e}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${e}-with-text${e}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${e}-dashed`]:{borderInlineStart:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${e}-with-text`]:{color:t.colorText,fontWeight:"normal",fontSize:t.fontSize},[`&-horizontal${e}-with-text-left${e}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${e}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${e}-with-text-right${e}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${e}-inner-text`]:{paddingInlineEnd:o}}})}},B=S("Divider",t=>{const e=w(t,{dividerVerticalGutterMargin:t.marginXS,dividerHorizontalWithTextGutterMargin:t.margin,dividerHorizontalGutterMargin:t.marginLG});return[D(e)]},{sizePaddingEdgeHorizontal:0}),E=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),G=C({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:E(),setup(t,e){let{slots:o,attrs:r}=e;const{prefixCls:i,direction:b}=M("divider",t),[v,c]=B(i),g=d(()=>t.orientation==="left"&&t.orientationMargin!=null),h=d(()=>t.orientation==="right"&&t.orientationMargin!=null),$=d(()=>{const{type:n,dashed:l,plain:x}=t,a=i.value;return{[a]:!0,[c.value]:!!c.value,[`${a}-${n}`]:!0,[`${a}-dashed`]:!!l,[`${a}-plain`]:!!x,[`${a}-rtl`]:b.value==="rtl",[`${a}-no-default-orientation-margin-left`]:g.value,[`${a}-no-default-orientation-margin-right`]:h.value}}),m=d(()=>{const n=typeof t.orientationMargin=="number"?`${t.orientationMargin}px`:t.orientationMargin;return s(s({},g.value&&{marginLeft:n}),h.value&&{marginRight:n})}),p=d(()=>t.orientation.length>0?"-"+t.orientation:t.orientation);return()=>{var n;const l=I((n=o.default)===null||n===void 0?void 0:n.call(o));return v(f("div",u(u({},r),{},{class:[$.value,l.length?`${i.value}-with-text ${i.value}-with-text${p.value}`:"",r.class],role:"separator"}),[l.length?f("span",{class:`${i.value}-inner-text`,style:m.value},[l]):null]))}}}),W=z(G);export{W as A}; +//# sourceMappingURL=index.341662d4.js.map diff --git a/abstra_statics/dist/assets/index.dec2a631.js b/abstra_statics/dist/assets/index.40f13cf1.js similarity index 84% rename from abstra_statics/dist/assets/index.dec2a631.js rename to abstra_statics/dist/assets/index.40f13cf1.js index a0ccccedcf..21b5f17d05 100644 --- a/abstra_statics/dist/assets/index.dec2a631.js +++ b/abstra_statics/dist/assets/index.40f13cf1.js @@ -1,2 +1,2 @@ -import{a0 as f,a1 as S,a2 as b,S as n,a3 as i,a4 as y,a5 as h,a6 as z,a7 as g,a8 as C}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="b4dd8d42-09ff-4abb-8fb7-1b2cd0fc69a3",o._sentryDebugIdIdentifier="sentry-dbid-b4dd8d42-09ff-4abb-8fb7-1b2cd0fc69a3")}catch{}})();const a=(o,e)=>new f(o).setAlpha(e).toRgbString(),l=(o,e)=>new f(o).lighten(e).toHexString(),B=o=>{const e=S(o,{theme:"dark"});return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[6],6:e[5],7:e[4],8:e[6],9:e[5],10:e[4]}},M=(o,e)=>{const r=o||"#000",t=e||"#fff";return{colorBgBase:r,colorTextBase:t,colorText:a(t,.85),colorTextSecondary:a(t,.65),colorTextTertiary:a(t,.45),colorTextQuaternary:a(t,.25),colorFill:a(t,.18),colorFillSecondary:a(t,.12),colorFillTertiary:a(t,.08),colorFillQuaternary:a(t,.04),colorBgElevated:l(r,12),colorBgContainer:l(r,8),colorBgLayout:l(r,0),colorBgSpotlight:l(r,26),colorBorder:l(r,26),colorBorderSecondary:l(r,19)}},p=(o,e)=>{const r=Object.keys(b).map(s=>{const c=S(o[s],{theme:"dark"});return new Array(10).fill(1).reduce((d,A,u)=>(d[`${s}-${u+1}`]=c[u],d),{})}).reduce((s,c)=>(s=n(n({},s),c),s),{}),t=e!=null?e:i(o);return n(n(n({},t),r),y(o,{generateColorPalettes:B,generateNeutralColorPalettes:M}))},v=p;function w(o){const{sizeUnit:e,sizeStep:r}=o,t=r-2;return{sizeXXL:e*(t+10),sizeXL:e*(t+6),sizeLG:e*(t+2),sizeMD:e*(t+2),sizeMS:e*(t+1),size:e*t,sizeSM:e*t,sizeXS:e*(t-1),sizeXXS:e*(t-1)}}const x=(o,e)=>{const r=e!=null?e:i(o),t=r.fontSizeSM,s=r.controlHeight-4;return n(n(n(n(n({},r),w(e!=null?e:o)),z(t)),{controlHeight:s}),h(n(n({},r),{controlHeight:s})))},T=x;function m(){const[o,e,r]=C();return{theme:o,token:e,hashId:r}}const X={defaultConfig:g,defaultSeed:g.token,useToken:m,defaultAlgorithm:i,darkAlgorithm:v,compactAlgorithm:T};export{X as t}; -//# sourceMappingURL=index.dec2a631.js.map +import{a0 as f,a1 as S,a2 as b,S as n,a3 as i,a4 as y,a5 as h,a6 as z,a7 as g,a8 as C}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="ab5ce444-77bb-427e-a035-178b78d2cbc7",o._sentryDebugIdIdentifier="sentry-dbid-ab5ce444-77bb-427e-a035-178b78d2cbc7")}catch{}})();const a=(o,e)=>new f(o).setAlpha(e).toRgbString(),l=(o,e)=>new f(o).lighten(e).toHexString(),B=o=>{const e=S(o,{theme:"dark"});return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[6],6:e[5],7:e[4],8:e[6],9:e[5],10:e[4]}},M=(o,e)=>{const r=o||"#000",t=e||"#fff";return{colorBgBase:r,colorTextBase:t,colorText:a(t,.85),colorTextSecondary:a(t,.65),colorTextTertiary:a(t,.45),colorTextQuaternary:a(t,.25),colorFill:a(t,.18),colorFillSecondary:a(t,.12),colorFillTertiary:a(t,.08),colorFillQuaternary:a(t,.04),colorBgElevated:l(r,12),colorBgContainer:l(r,8),colorBgLayout:l(r,0),colorBgSpotlight:l(r,26),colorBorder:l(r,26),colorBorderSecondary:l(r,19)}},p=(o,e)=>{const r=Object.keys(b).map(s=>{const c=S(o[s],{theme:"dark"});return new Array(10).fill(1).reduce((d,A,u)=>(d[`${s}-${u+1}`]=c[u],d),{})}).reduce((s,c)=>(s=n(n({},s),c),s),{}),t=e!=null?e:i(o);return n(n(n({},t),r),y(o,{generateColorPalettes:B,generateNeutralColorPalettes:M}))},v=p;function w(o){const{sizeUnit:e,sizeStep:r}=o,t=r-2;return{sizeXXL:e*(t+10),sizeXL:e*(t+6),sizeLG:e*(t+2),sizeMD:e*(t+2),sizeMS:e*(t+1),size:e*t,sizeSM:e*t,sizeXS:e*(t-1),sizeXXS:e*(t-1)}}const x=(o,e)=>{const r=e!=null?e:i(o),t=r.fontSizeSM,s=r.controlHeight-4;return n(n(n(n(n({},r),w(e!=null?e:o)),z(t)),{controlHeight:s}),h(n(n({},r),{controlHeight:s})))},T=x;function m(){const[o,e,r]=C();return{theme:o,token:e,hashId:r}}const X={defaultConfig:g,defaultSeed:g.token,useToken:m,defaultAlgorithm:i,darkAlgorithm:v,compactAlgorithm:T};export{X as t}; +//# sourceMappingURL=index.40f13cf1.js.map diff --git a/abstra_statics/dist/assets/index.46373660.js b/abstra_statics/dist/assets/index.46373660.js deleted file mode 100644 index 53c1192d29..0000000000 --- a/abstra_statics/dist/assets/index.46373660.js +++ /dev/null @@ -1,2 +0,0 @@ -import{eM as t,eN as a}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b87fa201-ad94-4eb9-a0a0-b81f79865fc7",e._sentryDebugIdIdentifier="sentry-dbid-b87fa201-ad94-4eb9-a0a0-b81f79865fc7")}catch{}})();function d(e,n){return t(1,arguments),a(e,Date.now(),n)}export{d as f}; -//# sourceMappingURL=index.46373660.js.map diff --git a/abstra_statics/dist/assets/index.9a7eb52d.js b/abstra_statics/dist/assets/index.49b2eaf0.js similarity index 62% rename from abstra_statics/dist/assets/index.9a7eb52d.js rename to abstra_statics/dist/assets/index.49b2eaf0.js index c4fcaaa8a2..1ddb38b152 100644 --- a/abstra_statics/dist/assets/index.9a7eb52d.js +++ b/abstra_statics/dist/assets/index.49b2eaf0.js @@ -1,2 +1,2 @@ -import{b as i,B as K,e as T,aR as Q,aJ as Y,dC as Z,dD as k,S as c,ac as ee,ad as te,an as ne,ao as le,au as B,d as V,ah as oe,dE as ie,dF as se,aq as ae,V as re,bA as G,f as de,ak as F,aC as ce,dG as X,aE as pe,ay as ue}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="901ff46d-880d-4127-859e-cce1cb0fe204",e._sentryDebugIdIdentifier="sentry-dbid-901ff46d-880d-4127-859e-cce1cb0fe204")}catch{}})();function I(e){return e!=null}const fe=e=>{const{itemPrefixCls:t,component:n,span:o,labelStyle:l,contentStyle:s,bordered:d,label:r,content:a,colon:u}=e,p=n;return d?i(p,{class:[{[`${t}-item-label`]:I(r),[`${t}-item-content`]:I(a)}],colSpan:o},{default:()=>[I(r)&&i("span",{style:l},[r]),I(a)&&i("span",{style:s},[a])]}):i(p,{class:[`${t}-item`],colSpan:o},{default:()=>[i("div",{class:`${t}-item-container`},[(r||r===0)&&i("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!u}],style:l},[r]),(a||a===0)&&i("span",{class:`${t}-item-content`,style:s},[a])])]})},R=fe,be=e=>{const t=(u,p,L)=>{let{colon:f,prefixCls:h,bordered:m}=p,{component:y,type:w,showLabel:D,showContent:P,labelStyle:g,contentStyle:S}=L;return u.map((b,C)=>{var $,v;const M=b.props||{},{prefixCls:_=h,span:j=1,labelStyle:O=M["label-style"],contentStyle:H=M["content-style"],label:N=(v=($=b.children)===null||$===void 0?void 0:$.label)===null||v===void 0?void 0:v.call($)}=M,W=Y(b),E=Z(b),z=k(b),{key:A}=b;return typeof y=="string"?i(R,{key:`${w}-${String(A)||C}`,class:E,style:z,labelStyle:c(c({},g),O),contentStyle:c(c({},S),H),span:j,colon:f,component:y,itemPrefixCls:_,bordered:m,label:D?N:null,content:P?W:null},null):[i(R,{key:`label-${String(A)||C}`,class:E,style:c(c(c({},g),z),O),span:1,colon:f,component:y[0],itemPrefixCls:_,bordered:m,label:N},null),i(R,{key:`content-${String(A)||C}`,class:E,style:c(c(c({},S),z),H),span:j*2-1,component:y[1],itemPrefixCls:_,bordered:m,content:W},null)]})},{prefixCls:n,vertical:o,row:l,index:s,bordered:d}=e,{labelStyle:r,contentStyle:a}=K(J,{labelStyle:T({}),contentStyle:T({})});return o?i(Q,null,[i("tr",{key:`label-${s}`,class:`${n}-row`},[t(l,e,{component:"th",type:"label",showLabel:!0,labelStyle:r.value,contentStyle:a.value})]),i("tr",{key:`content-${s}`,class:`${n}-row`},[t(l,e,{component:"td",type:"content",showContent:!0,labelStyle:r.value,contentStyle:a.value})])]):i("tr",{key:s,class:`${n}-row`},[t(l,e,{component:d?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:r.value,contentStyle:a.value})])},me=be,ye=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:o,descriptionsMiddlePadding:l,descriptionsBg:s}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:o,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:s,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:l}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},ge=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:o,descriptionsItemLabelColonMarginRight:l,descriptionsItemLabelColonMarginLeft:s,descriptionsTitleMarginBottom:d}=e;return{[t]:c(c(c({},le(e)),ye(e)),{["&-rtl"]:{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:d},[`${t}-title`]:c(c({},ne),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:o},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${s}px ${l}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},Se=ee("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,o=e.colorText,l=`${e.paddingXS}px ${e.padding}px`,s=`${e.padding}px ${e.paddingLG}px`,d=`${e.paddingSM}px ${e.paddingLG}px`,r=e.padding,a=e.marginXS,u=e.marginXXS/2,p=te(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:o,descriptionItemPaddingBottom:r,descriptionsSmallPadding:l,descriptionsDefaultPadding:s,descriptionsMiddlePadding:d,descriptionsItemLabelColonMarginRight:a,descriptionsItemLabelColonMarginLeft:u});return[ge(p)]});B.any;const $e=()=>({prefixCls:String,label:B.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),ve=V({compatConfig:{MODE:3},name:"ADescriptionsItem",props:$e(),setup(e,t){let{slots:n}=t;return()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),q={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function xe(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;nt)&&(o=pe(e,{span:t}),ue()),o}function he(e,t){const n=ce(e),o=[];let l=[],s=t;return n.forEach((d,r)=>{var a;const u=(a=d.props)===null||a===void 0?void 0:a.span,p=u||1;if(r===n.length-1){l.push(U(d,s,u)),o.push(l);return}p({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:B.any,extra:B.any,column:{type:[Number,Object],default:()=>q},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),J=Symbol("descriptionsContext"),x=V({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:Ce(),slots:Object,Item:ve,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:l,direction:s}=oe("descriptions",e);let d;const r=T({}),[a,u]=Se(l),p=ie();se(()=>{d=p.value.subscribe(f=>{typeof e.column=="object"&&(r.value=f)})}),ae(()=>{p.value.unsubscribe(d)}),re(J,{labelStyle:G(e,"labelStyle"),contentStyle:G(e,"contentStyle")});const L=de(()=>xe(e.column,r.value));return()=>{var f,h,m;const{size:y,bordered:w=!1,layout:D="horizontal",colon:P=!0,title:g=(f=n.title)===null||f===void 0?void 0:f.call(n),extra:S=(h=n.extra)===null||h===void 0?void 0:h.call(n)}=e,b=(m=n.default)===null||m===void 0?void 0:m.call(n),C=he(b,L.value);return a(i("div",F(F({},o),{},{class:[l.value,{[`${l.value}-${y}`]:y!=="default",[`${l.value}-bordered`]:!!w,[`${l.value}-rtl`]:s.value==="rtl"},o.class,u.value]}),[(g||S)&&i("div",{class:`${l.value}-header`},[g&&i("div",{class:`${l.value}-title`},[g]),S&&i("div",{class:`${l.value}-extra`},[S])]),i("div",{class:`${l.value}-view`},[i("table",null,[i("tbody",null,[C.map(($,v)=>i(me,{key:v,index:v,colon:P,prefixCls:l.value,vertical:D==="vertical",bordered:w,row:$},null))])])])]))}}});x.install=function(e){return e.component(x.name,x),e.component(x.Item.name,x.Item),e};const Ie=x;export{Ie as A,ve as D}; -//# sourceMappingURL=index.9a7eb52d.js.map +import{b as i,B as K,e as T,aR as Q,aJ as Y,dC as Z,dD as k,S as c,ac as ee,ad as te,an as ne,ao as le,au as B,d as V,ah as oe,dE as ie,dF as ae,aq as se,V as re,bA as G,f as de,ak as F,aC as ce,dG as X,aE as pe,ay as ue}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0663d66d-2d99-4828-b668-7a1b68286bd4",e._sentryDebugIdIdentifier="sentry-dbid-0663d66d-2d99-4828-b668-7a1b68286bd4")}catch{}})();function I(e){return e!=null}const be=e=>{const{itemPrefixCls:t,component:n,span:o,labelStyle:l,contentStyle:a,bordered:d,label:r,content:s,colon:u}=e,p=n;return d?i(p,{class:[{[`${t}-item-label`]:I(r),[`${t}-item-content`]:I(s)}],colSpan:o},{default:()=>[I(r)&&i("span",{style:l},[r]),I(s)&&i("span",{style:a},[s])]}):i(p,{class:[`${t}-item`],colSpan:o},{default:()=>[i("div",{class:`${t}-item-container`},[(r||r===0)&&i("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!u}],style:l},[r]),(s||s===0)&&i("span",{class:`${t}-item-content`,style:a},[s])])]})},R=be,fe=e=>{const t=(u,p,L)=>{let{colon:b,prefixCls:h,bordered:m}=p,{component:y,type:w,showLabel:D,showContent:P,labelStyle:g,contentStyle:S}=L;return u.map((f,C)=>{var $,v;const M=f.props||{},{prefixCls:_=h,span:j=1,labelStyle:O=M["label-style"],contentStyle:H=M["content-style"],label:N=(v=($=f.children)===null||$===void 0?void 0:$.label)===null||v===void 0?void 0:v.call($)}=M,W=Y(f),E=Z(f),z=k(f),{key:A}=f;return typeof y=="string"?i(R,{key:`${w}-${String(A)||C}`,class:E,style:z,labelStyle:c(c({},g),O),contentStyle:c(c({},S),H),span:j,colon:b,component:y,itemPrefixCls:_,bordered:m,label:D?N:null,content:P?W:null},null):[i(R,{key:`label-${String(A)||C}`,class:E,style:c(c(c({},g),z),O),span:1,colon:b,component:y[0],itemPrefixCls:_,bordered:m,label:N},null),i(R,{key:`content-${String(A)||C}`,class:E,style:c(c(c({},S),z),H),span:j*2-1,component:y[1],itemPrefixCls:_,bordered:m,content:W},null)]})},{prefixCls:n,vertical:o,row:l,index:a,bordered:d}=e,{labelStyle:r,contentStyle:s}=K(J,{labelStyle:T({}),contentStyle:T({})});return o?i(Q,null,[i("tr",{key:`label-${a}`,class:`${n}-row`},[t(l,e,{component:"th",type:"label",showLabel:!0,labelStyle:r.value,contentStyle:s.value})]),i("tr",{key:`content-${a}`,class:`${n}-row`},[t(l,e,{component:"td",type:"content",showContent:!0,labelStyle:r.value,contentStyle:s.value})])]):i("tr",{key:a,class:`${n}-row`},[t(l,e,{component:d?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:r.value,contentStyle:s.value})])},me=fe,ye=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:o,descriptionsMiddlePadding:l,descriptionsBg:a}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:o,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:a,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:l}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},ge=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:o,descriptionsItemLabelColonMarginRight:l,descriptionsItemLabelColonMarginLeft:a,descriptionsTitleMarginBottom:d}=e;return{[t]:c(c(c({},le(e)),ye(e)),{["&-rtl"]:{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:d},[`${t}-title`]:c(c({},ne),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:o},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${a}px ${l}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},Se=ee("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,o=e.colorText,l=`${e.paddingXS}px ${e.padding}px`,a=`${e.padding}px ${e.paddingLG}px`,d=`${e.paddingSM}px ${e.paddingLG}px`,r=e.padding,s=e.marginXS,u=e.marginXXS/2,p=te(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:o,descriptionItemPaddingBottom:r,descriptionsSmallPadding:l,descriptionsDefaultPadding:a,descriptionsMiddlePadding:d,descriptionsItemLabelColonMarginRight:s,descriptionsItemLabelColonMarginLeft:u});return[ge(p)]});B.any;const $e=()=>({prefixCls:String,label:B.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),ve=V({compatConfig:{MODE:3},name:"ADescriptionsItem",props:$e(),setup(e,t){let{slots:n}=t;return()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),q={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function xe(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;nt)&&(o=pe(e,{span:t}),ue()),o}function he(e,t){const n=ce(e),o=[];let l=[],a=t;return n.forEach((d,r)=>{var s;const u=(s=d.props)===null||s===void 0?void 0:s.span,p=u||1;if(r===n.length-1){l.push(U(d,a,u)),o.push(l);return}p({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:B.any,extra:B.any,column:{type:[Number,Object],default:()=>q},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),J=Symbol("descriptionsContext"),x=V({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:Ce(),slots:Object,Item:ve,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:l,direction:a}=oe("descriptions",e);let d;const r=T({}),[s,u]=Se(l),p=ie();ae(()=>{d=p.value.subscribe(b=>{typeof e.column=="object"&&(r.value=b)})}),se(()=>{p.value.unsubscribe(d)}),re(J,{labelStyle:G(e,"labelStyle"),contentStyle:G(e,"contentStyle")});const L=de(()=>xe(e.column,r.value));return()=>{var b,h,m;const{size:y,bordered:w=!1,layout:D="horizontal",colon:P=!0,title:g=(b=n.title)===null||b===void 0?void 0:b.call(n),extra:S=(h=n.extra)===null||h===void 0?void 0:h.call(n)}=e,f=(m=n.default)===null||m===void 0?void 0:m.call(n),C=he(f,L.value);return s(i("div",F(F({},o),{},{class:[l.value,{[`${l.value}-${y}`]:y!=="default",[`${l.value}-bordered`]:!!w,[`${l.value}-rtl`]:a.value==="rtl"},o.class,u.value]}),[(g||S)&&i("div",{class:`${l.value}-header`},[g&&i("div",{class:`${l.value}-title`},[g]),S&&i("div",{class:`${l.value}-extra`},[S])]),i("div",{class:`${l.value}-view`},[i("table",null,[i("tbody",null,[C.map(($,v)=>i(me,{key:v,index:v,colon:P,prefixCls:l.value,vertical:D==="vertical",bordered:w,row:$},null))])])])]))}}});x.install=function(e){return e.component(x.name,x),e.component(x.Item.name,x.Item),e};const Ie=x;export{Ie as A,ve as D}; +//# sourceMappingURL=index.49b2eaf0.js.map diff --git a/abstra_statics/dist/assets/index.6db53852.js b/abstra_statics/dist/assets/index.51467614.js similarity index 96% rename from abstra_statics/dist/assets/index.6db53852.js rename to abstra_statics/dist/assets/index.51467614.js index afae91b4ba..d976ef1800 100644 --- a/abstra_statics/dist/assets/index.6db53852.js +++ b/abstra_statics/dist/assets/index.51467614.js @@ -1,5 +1,5 @@ -import{d as z,ah as D,bQ as j,b as o,ak as v,au as L,as as re,ds as ie,bn as se,bN as ce,ac as ae,ad as te,S as C,dt as de,ao as ne,aC as Q,ay as ue,du as ge,by as be,aP as le,dv as me,an as Z,ae as pe,Q as fe,dw as ve,f as he,ai as ye,al as Se,bE as A,aQ as Oe,dx as $e,bI as Ce,bL as _e}from"./vue-router.33f35a18.js";import"./index.8f5819bb.js";import{A as we}from"./index.241ee38a.js";import{A as xe}from"./Avatar.dcb46dd7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="846a15a1-2726-4fed-a647-13f5050b7e8d",e._sentryDebugIdIdentifier="sentry-dbid-846a15a1-2726-4fed-a647-13f5050b7e8d")}catch{}})();var He=globalThis&&globalThis.__rest||function(e,a){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&a.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n({prefixCls:String,href:String,separator:L.any,dropdownProps:re(),overlay:L.any,onClick:ie()}),M=z({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:Pe(),slots:Object,setup(e,a){let{slots:t,attrs:r,emit:n}=a;const{prefixCls:s}=D("breadcrumb",e),h=(b,f)=>{const p=j(t,e,"overlay");return p?o(ce,v(v({},e.dropdownProps),{},{overlay:p,placement:"bottom"}),{default:()=>[o("span",{class:`${f}-overlay-link`},[b,o(se,null,null)])]}):b},y=b=>{n("click",b)};return()=>{var b;const f=(b=j(t,e,"separator"))!==null&&b!==void 0?b:"/",p=j(t,e),{class:u,style:g}=r,d=He(r,["class","style"]);let m;return e.href!==void 0?m=o("a",v({class:`${s.value}-link`,onClick:y},d),[p]):m=o("span",v({class:`${s.value}-link`,onClick:y},d),[p]),m=h(m,s.value),p!=null?o("li",{class:u,style:g},[m,f&&o("span",{class:`${s.value}-separator`},[f])]):null}}}),Ae=e=>{const{componentCls:a,iconCls:t}=e;return{[a]:C(C({},ne(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[t]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:C({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},de(e)),["li:last-child"]:{color:e.breadcrumbLastItemColor,[`& > ${a}-separator`]:{display:"none"}},[`${a}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${a}-link`]:{[` +import{d as z,ah as D,bQ as j,b as o,ak as v,au as L,as as re,ds as ie,bn as se,bN as ce,ac as ae,ad as te,S as C,dt as de,ao as ne,aC as Q,ay as ue,du as ge,by as be,aP as le,dv as me,an as Z,ae as pe,Q as fe,dw as ve,f as he,ai as ye,al as Se,bE as A,aQ as Oe,dx as $e,bI as Ce,bL as _e}from"./vue-router.324eaed2.js";import"./index.ea51f4a9.js";import{A as we}from"./index.7d758831.js";import{A as xe}from"./Avatar.4c029798.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1edd7b21-68bb-4bb1-9612-a63752e53870",e._sentryDebugIdIdentifier="sentry-dbid-1edd7b21-68bb-4bb1-9612-a63752e53870")}catch{}})();var He=globalThis&&globalThis.__rest||function(e,a){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&a.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n({prefixCls:String,href:String,separator:L.any,dropdownProps:re(),overlay:L.any,onClick:ie()}),M=z({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:Pe(),slots:Object,setup(e,a){let{slots:t,attrs:r,emit:n}=a;const{prefixCls:s}=D("breadcrumb",e),h=(b,f)=>{const p=j(t,e,"overlay");return p?o(ce,v(v({},e.dropdownProps),{},{overlay:p,placement:"bottom"}),{default:()=>[o("span",{class:`${f}-overlay-link`},[b,o(se,null,null)])]}):b},y=b=>{n("click",b)};return()=>{var b;const f=(b=j(t,e,"separator"))!==null&&b!==void 0?b:"/",p=j(t,e),{class:u,style:g}=r,d=He(r,["class","style"]);let m;return e.href!==void 0?m=o("a",v({class:`${s.value}-link`,onClick:y},d),[p]):m=o("span",v({class:`${s.value}-link`,onClick:y},d),[p]),m=h(m,s.value),p!=null?o("li",{class:u,style:g},[m,f&&o("span",{class:`${s.value}-separator`},[f])]):null}}}),Ae=e=>{const{componentCls:a,iconCls:t}=e;return{[a]:C(C({},ne(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[t]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:C({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},de(e)),["li:last-child"]:{color:e.breadcrumbLastItemColor,[`& > ${a}-separator`]:{display:"none"}},[`${a}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${a}-link`]:{[` > ${t} + span, > ${t} + a `]:{marginInlineStart:e.marginXXS}},[`${a}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${t}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Te=ae("Breadcrumb",e=>{const a=te(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[Ae(a)]}),Be=()=>({prefixCls:String,routes:{type:Array},params:L.any,separator:L.any,itemRender:{type:Function}});function Re(e,a){if(!e.breadcrumbName)return null;const t=Object.keys(a).join("|");return e.breadcrumbName.replace(new RegExp(`:(${t})`,"g"),(n,s)=>a[s]||n)}function K(e){const{route:a,params:t,routes:r,paths:n}=e,s=r.indexOf(a)===r.length-1,h=Re(a,t);return s?o("span",null,[h]):o("a",{href:`#/${n.join("/")}`},[h])}const T=z({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:Be(),slots:Object,setup(e,a){let{slots:t,attrs:r}=a;const{prefixCls:n,direction:s}=D("breadcrumb",e),[h,y]=Te(n),b=(u,g)=>(u=(u||"").replace(/^\//,""),Object.keys(g).forEach(d=>{u=u.replace(`:${d}`,g[d])}),u),f=(u,g,d)=>{const m=[...u],S=b(g||"",d);return S&&m.push(S),m},p=u=>{let{routes:g=[],params:d={},separator:m,itemRender:S=K}=u;const _=[];return g.map(O=>{const w=b(O.path,d);w&&_.push(w);const $=[..._];let l=null;O.children&&O.children.length&&(l=o(be,{items:O.children.map(c=>({key:c.path||c.breadcrumbName,label:S({route:c,params:d,routes:g,paths:f($,c.path,d)})}))},null));const i={separator:m};return l&&(i.overlay=l),o(M,v(v({},i),{},{key:w||O.breadcrumbName}),{default:()=>[S({route:O,params:d,routes:g,paths:$})]})})};return()=>{var u;let g;const{routes:d,params:m={}}=e,S=Q(j(t,e)),_=(u=j(t,e,"separator"))!==null&&u!==void 0?u:"/",O=e.itemRender||t.itemRender||K;d&&d.length>0?g=p({routes:d,params:m,separator:_,itemRender:O}):S.length&&(g=S.map(($,l)=>(ue(typeof $.type=="object"&&($.type.__ANT_BREADCRUMB_ITEM||$.type.__ANT_BREADCRUMB_SEPARATOR)),ge($,{separator:_,key:l}))));const w={[n.value]:!0,[`${n.value}-rtl`]:s.value==="rtl",[`${r.class}`]:!!r.class,[y.value]:!0};return h(o("nav",v(v({},r),{},{class:w}),[o("ol",null,[g])]))}}});var Ie=globalThis&&globalThis.__rest||function(e,a){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&a.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n({prefixCls:String}),U=z({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:je(),setup(e,a){let{slots:t,attrs:r}=a;const{prefixCls:n}=D("breadcrumb",e);return()=>{var s;const{separator:h,class:y}=r,b=Ie(r,["separator","class"]),f=Q((s=t.default)===null||s===void 0?void 0:s.call(t));return o("span",v({class:[`${n.value}-separator`,y]},b),[f.length>0?f:"/"])}}});T.Item=M;T.Separator=U;T.install=function(e){return e.component(T.name,T),e.component(M.name,M),e.component(U.name,U),e};var Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const Me=Le;function k(e){for(var a=1;a{const{componentCls:a,antCls:t}=e;return{[a]:C(C({},ne(e)),{position:"relative",padding:`${e.pageHeaderPaddingVertical}px ${e.pageHeaderPadding}px`,backgroundColor:e.colorBgContainer,[`&${a}-ghost`]:{backgroundColor:e.pageHeaderGhostBg},["&.has-footer"]:{paddingBottom:0},[`${a}-back`]:{marginRight:e.marginMD,fontSize:e.fontSizeLG,lineHeight:1,["&-button"]:C(C({},me(e)),{color:e.pageHeaderBackColor,cursor:"pointer"})},[`${t}-divider-vertical`]:{height:"14px",margin:`0 ${e.marginSM}`,verticalAlign:"middle"},[`${t}-breadcrumb + &-heading`]:{marginTop:e.marginXS},[`${a}-heading`]:{display:"flex",justifyContent:"space-between",["&-left"]:{display:"flex",alignItems:"center",margin:`${e.marginXS/2}px 0`,overflow:"hidden"},["&-title"]:C({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},Z),[`${t}-avatar`]:{marginRight:e.marginSM},["&-sub-title"]:C({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},Z),["&-extra"]:{margin:`${e.marginXS/2}px 0`,whiteSpace:"nowrap",["> *"]:{marginLeft:e.marginSM,whiteSpace:"unset"},["> *:first-child"]:{marginLeft:0}}},[`${a}-content`]:{paddingTop:e.pageHeaderContentPaddingVertical},[`${a}-footer`]:{marginTop:e.marginMD,[`${t}-tabs`]:{[`> ${t}-tabs-nav`]:{margin:0,["&::before"]:{border:"none"}},[`${t}-tabs-tab`]:{paddingTop:e.paddingXS,paddingBottom:e.paddingXS,fontSize:e.pageHeaderTabFontSize}}},[`${a}-compact ${a}-heading`]:{flexWrap:"wrap"},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Ge=ae("PageHeader",e=>{const a=te(e,{pageHeaderPadding:e.paddingLG,pageHeaderPaddingVertical:e.paddingMD,pageHeaderPaddingBreadcrumb:e.paddingSM,pageHeaderContentPaddingVertical:e.paddingSM,pageHeaderBackColor:e.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:e.fontSizeHeading4,pageHeaderHeadingSubTitle:e.fontSize,pageHeaderTabFontSize:e.fontSizeLG});return[Ve(a)]}),Ue=()=>({backIcon:A(),prefixCls:String,title:A(),subTitle:A(),breadcrumb:L.object,tags:A(),footer:A(),extra:A(),avatar:re(),ghost:{type:Boolean,default:void 0},onBack:Function}),Qe=z({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:Ue(),slots:Object,setup(e,a){let{emit:t,slots:r,attrs:n}=a;const{prefixCls:s,direction:h,pageHeader:y}=D("page-header",e),[b,f]=Ge(s),p=fe(!1),u=ve(),g=l=>{let{width:i}=l;u.value||(p.value=i<768)},d=he(()=>{var l,i,c;return(c=(l=e.ghost)!==null&&l!==void 0?l:(i=y==null?void 0:y.value)===null||i===void 0?void 0:i.ghost)!==null&&c!==void 0?c:!0}),m=()=>{var l,i,c;return(c=(l=e.backIcon)!==null&&l!==void 0?l:(i=r.backIcon)===null||i===void 0?void 0:i.call(r))!==null&&c!==void 0?c:h.value==="rtl"?o(Fe,null,null):o(De,null,null)},S=l=>!l||!e.onBack?null:o(_e,{componentName:"PageHeader",children:i=>{let{back:c}=i;return o("div",{class:`${s.value}-back`},[o(Ce,{onClick:x=>{t("back",x)},class:`${s.value}-back-button`,"aria-label":c},{default:()=>[l]})])}},null),_=()=>{var l;return e.breadcrumb?o(T,e.breadcrumb,null):(l=r.breadcrumb)===null||l===void 0?void 0:l.call(r)},O=()=>{var l,i,c,x,H,B,E,N,X;const{avatar:F}=e,R=(l=e.title)!==null&&l!==void 0?l:(i=r.title)===null||i===void 0?void 0:i.call(r),I=(c=e.subTitle)!==null&&c!==void 0?c:(x=r.subTitle)===null||x===void 0?void 0:x.call(r),V=(H=e.tags)!==null&&H!==void 0?H:(B=r.tags)===null||B===void 0?void 0:B.call(r),G=(E=e.extra)!==null&&E!==void 0?E:(N=r.extra)===null||N===void 0?void 0:N.call(r),P=`${s.value}-heading`,J=R||I||V||G;if(!J)return null;const oe=m(),Y=S(oe);return o("div",{class:P},[(Y||F||J)&&o("div",{class:`${P}-left`},[Y,F?o(xe,F,null):(X=r.avatar)===null||X===void 0?void 0:X.call(r),R&&o("span",{class:`${P}-title`,title:typeof R=="string"?R:void 0},[R]),I&&o("span",{class:`${P}-sub-title`,title:typeof I=="string"?I:void 0},[I]),V&&o("span",{class:`${P}-tags`},[V])]),G&&o("span",{class:`${P}-extra`},[o(we,null,{default:()=>[G]})])])},w=()=>{var l,i;const c=(l=e.footer)!==null&&l!==void 0?l:Oe((i=r.footer)===null||i===void 0?void 0:i.call(r));return $e(c)?null:o("div",{class:`${s.value}-footer`},[c])},$=l=>o("div",{class:`${s.value}-content`},[l]);return()=>{var l,i;const c=((l=e.breadcrumb)===null||l===void 0?void 0:l.routes)||r.breadcrumb,x=e.footer||r.footer,H=Q((i=r.default)===null||i===void 0?void 0:i.call(r)),B=ye(s.value,{"has-breadcrumb":c,"has-footer":x,[`${s.value}-ghost`]:d.value,[`${s.value}-rtl`]:h.value==="rtl",[`${s.value}-compact`]:p.value},n.class,f.value);return b(o(Se,{onResize:g},{default:()=>[o("div",v(v({},n),{},{class:B}),[_(),O(),H.length?$(H):null,w()])]}))}}}),Ke=pe(Qe);export{M as A,T as B,U as a,Ke as b}; -//# sourceMappingURL=index.6db53852.js.map +//# sourceMappingURL=index.51467614.js.map diff --git a/abstra_statics/dist/assets/index.520f8c66.js b/abstra_statics/dist/assets/index.520f8c66.js new file mode 100644 index 0000000000..295e4d1e3a --- /dev/null +++ b/abstra_statics/dist/assets/index.520f8c66.js @@ -0,0 +1,2 @@ +import{eM as t,eN as r}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b597c5e3-db94-4e7e-82a8-a0a64323fc21",e._sentryDebugIdIdentifier="sentry-dbid-b597c5e3-db94-4e7e-82a8-a0a64323fc21")}catch{}})();function o(e,n){return t(1,arguments),r(e,Date.now(),n)}export{o as f}; +//# sourceMappingURL=index.520f8c66.js.map diff --git a/abstra_statics/dist/assets/index.f435188c.js b/abstra_statics/dist/assets/index.582a893b.js similarity index 89% rename from abstra_statics/dist/assets/index.f435188c.js rename to abstra_statics/dist/assets/index.582a893b.js index 783ed5b9f1..5641795909 100644 --- a/abstra_statics/dist/assets/index.f435188c.js +++ b/abstra_statics/dist/assets/index.582a893b.js @@ -1,4 +1,4 @@ -import{C as S,A as x}from"./CollapsePanel.56bdec23.js";import{d as A,ap as D,ah as E,f as L,b as d,au as c,aM as M,bv as O,ac as G,ad as Q,S as P,ao as q,aQ as F,dy as J,du as K,ai as W,ak as _}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0d644102-8fd8-4ba3-8e56-b5ad6710cb2b",e._sentryDebugIdIdentifier="sentry-dbid-0d644102-8fd8-4ba3-8e56-b5ad6710cb2b")}catch{}})();S.Panel=x;S.install=function(e){return e.component(S.name,S),e.component(x.name,x),e};const U=()=>({prefixCls:String,color:String,dot:c.any,pending:M(),position:c.oneOf(O("left","right","")).def(""),label:c.any}),f=A({compatConfig:{MODE:3},name:"ATimelineItem",props:D(U(),{color:"blue",pending:!1}),slots:Object,setup(e,i){let{slots:l}=i;const{prefixCls:n}=E("timeline",e),t=L(()=>({[`${n.value}-item`]:!0,[`${n.value}-item-pending`]:e.pending})),u=L(()=>/blue|red|green|gray/.test(e.color||"")?void 0:e.color||"blue"),v=L(()=>({[`${n.value}-item-head`]:!0,[`${n.value}-item-head-${e.color||"blue"}`]:!u.value}));return()=>{var g,p,r;const{label:o=(g=l.label)===null||g===void 0?void 0:g.call(l),dot:a=(p=l.dot)===null||p===void 0?void 0:p.call(l)}=e;return d("li",{class:t.value},[o&&d("div",{class:`${n.value}-item-label`},[o]),d("div",{class:`${n.value}-item-tail`},null),d("div",{class:[v.value,!!a&&`${n.value}-item-head-custom`],style:{borderColor:u.value,color:u.value}},[a]),d("div",{class:`${n.value}-item-content`},[(r=l.default)===null||r===void 0?void 0:r.call(l)])])}}}),Y=e=>{const{componentCls:i}=e;return{[i]:P(P({},q(e)),{margin:0,padding:0,listStyle:"none",[`${i}-item`]:{position:"relative",margin:0,paddingBottom:e.timeLineItemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize,insetInlineStart:(e.timeLineItemHeadSize-e.timeLineItemTailWidth)/2,height:`calc(100% - ${e.timeLineItemHeadSize}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px ${e.lineType} ${e.colorSplit}`},"&-pending":{[`${i}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${i}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.timeLineItemHeadSize,height:e.timeLineItemHeadSize,backgroundColor:e.colorBgContainer,border:`${e.timeLineHeadBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize/2,insetInlineStart:e.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${i}-item-tail`]:{display:"none"},[`> ${i}-item-content`]:{minHeight:e.controlHeightLG*1.2}}},[`&${i}-alternate, +import{C as f,A as x}from"./CollapsePanel.ce95f921.js";import{d as A,ap as D,ah as E,f as L,b as d,au as c,aM as M,bv as O,ac as G,ad as Q,S as P,ao as q,aQ as F,dy as J,du as K,ai as W,ak as _}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2d72e357-b92b-443f-9666-1cf414763d5b",e._sentryDebugIdIdentifier="sentry-dbid-2d72e357-b92b-443f-9666-1cf414763d5b")}catch{}})();f.Panel=x;f.install=function(e){return e.component(f.name,f),e.component(x.name,x),e};const U=()=>({prefixCls:String,color:String,dot:c.any,pending:M(),position:c.oneOf(O("left","right","")).def(""),label:c.any}),b=A({compatConfig:{MODE:3},name:"ATimelineItem",props:D(U(),{color:"blue",pending:!1}),slots:Object,setup(e,i){let{slots:l}=i;const{prefixCls:n}=E("timeline",e),t=L(()=>({[`${n.value}-item`]:!0,[`${n.value}-item-pending`]:e.pending})),u=L(()=>/blue|red|green|gray/.test(e.color||"")?void 0:e.color||"blue"),v=L(()=>({[`${n.value}-item-head`]:!0,[`${n.value}-item-head-${e.color||"blue"}`]:!u.value}));return()=>{var g,p,r;const{label:o=(g=l.label)===null||g===void 0?void 0:g.call(l),dot:a=(p=l.dot)===null||p===void 0?void 0:p.call(l)}=e;return d("li",{class:t.value},[o&&d("div",{class:`${n.value}-item-label`},[o]),d("div",{class:`${n.value}-item-tail`},null),d("div",{class:[v.value,!!a&&`${n.value}-item-head-custom`],style:{borderColor:u.value,color:u.value}},[a]),d("div",{class:`${n.value}-item-content`},[(r=l.default)===null||r===void 0?void 0:r.call(l)])])}}}),Y=e=>{const{componentCls:i}=e;return{[i]:P(P({},q(e)),{margin:0,padding:0,listStyle:"none",[`${i}-item`]:{position:"relative",margin:0,paddingBottom:e.timeLineItemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize,insetInlineStart:(e.timeLineItemHeadSize-e.timeLineItemTailWidth)/2,height:`calc(100% - ${e.timeLineItemHeadSize}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px ${e.lineType} ${e.colorSplit}`},"&-pending":{[`${i}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${i}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.timeLineItemHeadSize,height:e.timeLineItemHeadSize,backgroundColor:e.colorBgContainer,border:`${e.timeLineHeadBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize/2,insetInlineStart:e.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${i}-item-tail`]:{display:"none"},[`> ${i}-item-content`]:{minHeight:e.controlHeightLG*1.2}}},[`&${i}-alternate, &${i}-right, &${i}-label`]:{[`${i}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${e.marginXXS}px`,"&-custom":{marginInlineStart:e.timeLineItemTailWidth/2}},"&-left":{[`${i}-item-content`]:{insetInlineStart:`calc(50% - ${e.marginXXS}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}},"&-right":{[`${i}-item-content`]:{width:`calc(50% - ${e.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${i}-right`]:{[`${i}-item-right`]:{[`${i}-item-tail, ${i}-item-head, @@ -6,5 +6,5 @@ import{C as S,A as x}from"./CollapsePanel.56bdec23.js";import{d as A,ap as D,ah ${i}-item-last ${i}-item-tail`]:{display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`&${i}-reverse ${i}-item-last - ${i}-item-tail`]:{display:"none"},[`&${i}-reverse ${i}-item-pending`]:{[`${i}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`${i}-item-content`]:{minHeight:e.controlHeightLG*1.2}},[`&${i}-label`]:{[`${i}-item-label`]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.timeLineItemTailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[`${i}-item-right`]:{[`${i}-item-label`]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${i}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},Z=G("Timeline",e=>{const i=Q(e,{timeLineItemPaddingBottom:e.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:e.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:e.lineWidthBold,timeLineHeadBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3});return[Y(i)]}),k=()=>({prefixCls:String,pending:c.any,pendingDot:c.any,reverse:M(),mode:c.oneOf(O("left","alternate","right",""))}),b=A({compatConfig:{MODE:3},name:"ATimeline",inheritAttrs:!1,props:D(k(),{reverse:!1,mode:""}),slots:Object,setup(e,i){let{slots:l,attrs:n}=i;const{prefixCls:t,direction:u}=E("timeline",e),[v,g]=Z(t),p=(r,o)=>{const a=r.props||{};return e.mode==="alternate"?a.position==="right"?`${t.value}-item-right`:a.position==="left"?`${t.value}-item-left`:o%2===0?`${t.value}-item-left`:`${t.value}-item-right`:e.mode==="left"?`${t.value}-item-left`:e.mode==="right"?`${t.value}-item-right`:a.position==="right"?`${t.value}-item-right`:""};return()=>{var r,o,a;const{pending:m=(r=l.pending)===null||r===void 0?void 0:r.call(l),pendingDot:X=(o=l.pendingDot)===null||o===void 0?void 0:o.call(l),reverse:I,mode:H}=e,N=typeof m=="boolean"?null:m,y=F((a=l.default)===null||a===void 0?void 0:a.call(l)),T=m?d(f,{pending:!!m,dot:X||d(J,null,null)},{default:()=>[N]}):null;T&&y.push(T);const C=I?y.reverse():y,z=C.length,B=`${t.value}-item-last`,j=C.map(($,s)=>{const h=s===z-2?B:"",R=s===z-1?B:"";return K($,{class:W([!I&&!!m?h:R,p($,s)])})}),w=C.some($=>{var s,h;return!!(((s=$.props)===null||s===void 0?void 0:s.label)||((h=$.children)===null||h===void 0?void 0:h.label))}),V=W(t.value,{[`${t.value}-pending`]:!!m,[`${t.value}-reverse`]:!!I,[`${t.value}-${H}`]:!!H&&!w,[`${t.value}-label`]:w,[`${t.value}-rtl`]:u.value==="rtl"},n.class,g.value);return v(d("ul",_(_({},n),{},{class:V}),[j]))}}});b.Item=f;b.install=function(e){return e.component(b.name,b),e.component(f.name,f),e};export{f as A,b as T}; -//# sourceMappingURL=index.f435188c.js.map + ${i}-item-tail`]:{display:"none"},[`&${i}-reverse ${i}-item-pending`]:{[`${i}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`${i}-item-content`]:{minHeight:e.controlHeightLG*1.2}},[`&${i}-label`]:{[`${i}-item-label`]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.timeLineItemTailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[`${i}-item-right`]:{[`${i}-item-label`]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${i}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},Z=G("Timeline",e=>{const i=Q(e,{timeLineItemPaddingBottom:e.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:e.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:e.lineWidthBold,timeLineHeadBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3});return[Y(i)]}),k=()=>({prefixCls:String,pending:c.any,pendingDot:c.any,reverse:M(),mode:c.oneOf(O("left","alternate","right",""))}),S=A({compatConfig:{MODE:3},name:"ATimeline",inheritAttrs:!1,props:D(k(),{reverse:!1,mode:""}),slots:Object,setup(e,i){let{slots:l,attrs:n}=i;const{prefixCls:t,direction:u}=E("timeline",e),[v,g]=Z(t),p=(r,o)=>{const a=r.props||{};return e.mode==="alternate"?a.position==="right"?`${t.value}-item-right`:a.position==="left"?`${t.value}-item-left`:o%2===0?`${t.value}-item-left`:`${t.value}-item-right`:e.mode==="left"?`${t.value}-item-left`:e.mode==="right"?`${t.value}-item-right`:a.position==="right"?`${t.value}-item-right`:""};return()=>{var r,o,a;const{pending:m=(r=l.pending)===null||r===void 0?void 0:r.call(l),pendingDot:X=(o=l.pendingDot)===null||o===void 0?void 0:o.call(l),reverse:I,mode:H}=e,N=typeof m=="boolean"?null:m,y=F((a=l.default)===null||a===void 0?void 0:a.call(l)),T=m?d(b,{pending:!!m,dot:X||d(J,null,null)},{default:()=>[N]}):null;T&&y.push(T);const C=I?y.reverse():y,z=C.length,B=`${t.value}-item-last`,j=C.map(($,s)=>{const h=s===z-2?B:"",R=s===z-1?B:"";return K($,{class:W([!I&&!!m?h:R,p($,s)])})}),w=C.some($=>{var s,h;return!!(((s=$.props)===null||s===void 0?void 0:s.label)||((h=$.children)===null||h===void 0?void 0:h.label))}),V=W(t.value,{[`${t.value}-pending`]:!!m,[`${t.value}-reverse`]:!!I,[`${t.value}-${H}`]:!!H&&!w,[`${t.value}-label`]:w,[`${t.value}-rtl`]:u.value==="rtl"},n.class,g.value);return v(d("ul",_(_({},n),{},{class:V}),[j]))}}});S.Item=b;S.install=function(e){return e.component(S.name,S),e.component(b.name,b),e};export{b as A,S as T}; +//# sourceMappingURL=index.582a893b.js.map diff --git a/abstra_statics/dist/assets/index.f9edb8af.js b/abstra_statics/dist/assets/index.5cae8761.js similarity index 87% rename from abstra_statics/dist/assets/index.f9edb8af.js rename to abstra_statics/dist/assets/index.5cae8761.js index 5307c3306b..452c349ae5 100644 --- a/abstra_statics/dist/assets/index.f9edb8af.js +++ b/abstra_statics/dist/assets/index.5cae8761.js @@ -1,2 +1,2 @@ -import{d as Y,ah as q,b as r,au as A,B as ve,e as W,aC as le,aE as $e,ak as P,ai as oe,dg as fe,dH as pe,dI as he,ac as ye,ad as Se,S as M,ao as be,ap as xe,V as Ie,bA as te,f as C,g as Ce,aO as _e,dJ as Le,bM as ze,dh as Me,bx as we,aM as ie,at as Ee,bE as G,as as ne,b6 as J,aN as Pe,dG as ae}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9fc6603f-6e66-4f6b-b1a4-d8fd8fcddc31",e._sentryDebugIdIdentifier="sentry-dbid-9fc6603f-6e66-4f6b-b1a4-d8fd8fcddc31")}catch{}})();const Te=()=>({avatar:A.any,description:A.any,prefixCls:String,title:A.any}),Ae=Y({compatConfig:{MODE:3},name:"AListItemMeta",props:Te(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:i}=t;const{prefixCls:l}=q("list",e);return()=>{var o,c,v,a,y,d;const u=`${l.value}-item-meta`,g=(o=e.title)!==null&&o!==void 0?o:(c=i.title)===null||c===void 0?void 0:c.call(i),s=(v=e.description)!==null&&v!==void 0?v:(a=i.description)===null||a===void 0?void 0:a.call(i),p=(y=e.avatar)!==null&&y!==void 0?y:(d=i.avatar)===null||d===void 0?void 0:d.call(i),$=r("div",{class:`${l.value}-item-meta-content`},[g&&r("h4",{class:`${l.value}-item-meta-title`},[g]),s&&r("div",{class:`${l.value}-item-meta-description`},[s])]);return r("div",{class:u},[p&&r("div",{class:`${l.value}-item-meta-avatar`},[p]),(g||s)&&$])}}}),re=Symbol("ListContextKey");var Be=globalThis&&globalThis.__rest||function(e,t){var i={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(i[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o({prefixCls:String,extra:A.any,actions:A.array,grid:Object,colStyle:{type:Object,default:void 0}}),He=Y({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:Ae,props:Oe(),slots:Object,setup(e,t){let{slots:i,attrs:l}=t;const{itemLayout:o,grid:c}=ve(re,{grid:W(),itemLayout:W()}),{prefixCls:v}=q("list",e),a=()=>{var d;const u=((d=i.default)===null||d===void 0?void 0:d.call(i))||[];let g;return u.forEach(s=>{pe(s)&&!he(s)&&(g=!0)}),g&&u.length>1},y=()=>{var d,u;const g=(d=e.extra)!==null&&d!==void 0?d:(u=i.extra)===null||u===void 0?void 0:u.call(i);return o.value==="vertical"?!!g:!a()};return()=>{var d,u,g,s,p;const{class:$}=l,x=Be(l,["class"]),h=v.value,L=(d=e.extra)!==null&&d!==void 0?d:(u=i.extra)===null||u===void 0?void 0:u.call(i),B=(g=i.default)===null||g===void 0?void 0:g.call(i);let f=(s=e.actions)!==null&&s!==void 0?s:le((p=i.actions)===null||p===void 0?void 0:p.call(i));f=f&&!Array.isArray(f)?[f]:f;const w=f&&f.length>0&&r("ul",{class:`${h}-item-action`,key:"actions"},[f.map((I,T)=>r("li",{key:`${h}-item-action-${T}`},[I,T!==f.length-1&&r("em",{class:`${h}-item-action-split`},null)]))]),O=c.value?"div":"li",H=r(O,P(P({},x),{},{class:oe(`${h}-item`,{[`${h}-item-no-flex`]:!y()},$)}),{default:()=>[o.value==="vertical"&&L?[r("div",{class:`${h}-item-main`,key:"content"},[B,w]),r("div",{class:`${h}-item-extra`,key:"extra"},[L])]:[B,w,$e(L,{key:"extra"})]]});return c.value?r(fe,{flex:1,style:e.colStyle},{default:()=>[H]}):H}}}),je=e=>{const{listBorderedCls:t,componentCls:i,paddingLG:l,margin:o,padding:c,listItemPaddingSM:v,marginLG:a,borderRadiusLG:y}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:y,[`${i}-header,${i}-footer,${i}-item`]:{paddingInline:l},[`${i}-pagination`]:{margin:`${o}px ${a}px`}},[`${t}${i}-sm`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:v}},[`${t}${i}-lg`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:`${c}px ${l}px`}}}},Ge=e=>{const{componentCls:t,screenSM:i,screenMD:l,marginLG:o,marginSM:c,margin:v}=e;return{[`@media screen and (max-width:${l})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${i})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:c}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${v}px`}}}}}},We=e=>{const{componentCls:t,antCls:i,controlHeight:l,minHeight:o,paddingSM:c,marginLG:v,padding:a,listItemPadding:y,colorPrimary:d,listItemPaddingSM:u,listItemPaddingLG:g,paddingXS:s,margin:p,colorText:$,colorTextDescription:x,motionDurationSlow:h,lineWidth:L}=e;return{[`${t}`]:M(M({},be(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:c},[`${t}-pagination`]:{marginBlockStart:v,textAlign:"end",[`${i}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:y,color:$,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:a},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:$},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:$,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:$,transition:`all ${h}`,["&:hover"]:{color:d}}},[`${t}-item-meta-description`]:{color:x,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${s}px`,color:x,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:L,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${a}px 0`,color:x,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:a,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${i}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:v},[`${t}-item-meta`]:{marginBlockEnd:a,[`${t}-item-meta-title`]:{marginBlockEnd:c,color:$,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:a,marginInlineStart:"auto","> li":{padding:`0 ${a}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:l},[`${t}-split${t}-something-after-last-item ${i}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:g},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},De=ye("List",e=>{const t=Se(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[We(t),je(t),Ge(t)]},{contentWidth:220}),Ne=()=>({bordered:ie(),dataSource:Ee(),extra:G(),grid:ne(),itemLayout:String,loading:J([Boolean,Object]),loadMore:G(),pagination:J([Boolean,Object]),prefixCls:String,rowKey:J([String,Number,Function]),renderItem:Pe(),size:String,split:ie(),header:G(),footer:G(),locale:ne()}),_=Y({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:He,props:xe(Ne(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:i,attrs:l}=t;var o,c;Ie(re,{grid:te(e,"grid"),itemLayout:te(e,"itemLayout")});const v={current:1,total:0},{prefixCls:a,direction:y,renderEmpty:d}=q("list",e),[u,g]=De(a),s=C(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),p=W((o=s.value.defaultCurrent)!==null&&o!==void 0?o:1),$=W((c=s.value.defaultPageSize)!==null&&c!==void 0?c:10);Ce(s,()=>{"current"in s.value&&(p.value=s.value.current),"pageSize"in s.value&&($.value=s.value.pageSize)});const x=[],h=n=>(m,S)=>{p.value=m,$.value=S,s.value[n]&&s.value[n](m,S)},L=h("onChange"),B=h("onShowSizeChange"),f=C(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),w=C(()=>f.value&&f.value.spinning),O=C(()=>{let n="";switch(e.size){case"large":n="lg";break;case"small":n="sm";break}return n}),H=C(()=>({[`${a.value}`]:!0,[`${a.value}-vertical`]:e.itemLayout==="vertical",[`${a.value}-${O.value}`]:O.value,[`${a.value}-split`]:e.split,[`${a.value}-bordered`]:e.bordered,[`${a.value}-loading`]:w.value,[`${a.value}-grid`]:!!e.grid,[`${a.value}-rtl`]:y.value==="rtl"})),I=C(()=>{const n=M(M(M({},v),{total:e.dataSource.length,current:p.value,pageSize:$.value}),e.pagination||{}),m=Math.ceil(n.total/n.pageSize);return n.current>m&&(n.current=m),n}),T=C(()=>{let n=[...e.dataSource];return e.pagination&&e.dataSource.length>(I.value.current-1)*I.value.pageSize&&(n=[...e.dataSource].splice((I.value.current-1)*I.value.pageSize,I.value.pageSize)),n}),se=_e(),D=Le(()=>{for(let n=0;n{if(!e.grid)return;const n=D.value&&e.grid[D.value]?e.grid[D.value]:e.grid.column;if(n)return{width:`${100/n}%`,maxWidth:`${100/n}%`}}),ce=(n,m)=>{var S;const E=(S=e.renderItem)!==null&&S!==void 0?S:i.renderItem;if(!E)return null;let b;const z=typeof e.rowKey;return z==="function"?b=e.rowKey(n):z==="string"||z==="number"?b=n[e.rowKey]:b=n.key,b||(b=`list-item-${m}`),x[m]=b,E({item:n,index:m})};return()=>{var n,m,S,E,b,z,N,K;const Q=(n=e.loadMore)!==null&&n!==void 0?n:(m=i.loadMore)===null||m===void 0?void 0:m.call(i),X=(S=e.footer)!==null&&S!==void 0?S:(E=i.footer)===null||E===void 0?void 0:E.call(i),U=(b=e.header)!==null&&b!==void 0?b:(z=i.header)===null||z===void 0?void 0:z.call(i),Z=le((N=i.default)===null||N===void 0?void 0:N.call(i)),ue=!!(Q||e.pagination||X),ge=oe(M(M({},H.value),{[`${a.value}-something-after-last-item`]:ue}),l.class,g.value),k=e.pagination?r("div",{class:`${a.value}-pagination`},[r(ze,P(P({},I.value),{},{onChange:L,onShowSizeChange:B}),null)]):null;let R=w.value&&r("div",{style:{minHeight:"53px"}},null);if(T.value.length>0){x.length=0;const ee=T.value.map((V,F)=>ce(V,F)),me=ee.map((V,F)=>r("div",{key:x[F],style:de.value},[V]));R=e.grid?r(Me,{gutter:e.grid.gutter},{default:()=>[me]}):r("ul",{class:`${a.value}-items`},[ee])}else!Z.length&&!w.value&&(R=r("div",{class:`${a.value}-empty-text`},[((K=e.locale)===null||K===void 0?void 0:K.emptyText)||d("List")]));const j=I.value.position||"bottom";return u(r("div",P(P({},l),{},{class:ge}),[(j==="top"||j==="both")&&k,U&&r("div",{class:`${a.value}-header`},[U]),r(we,f.value,{default:()=>[R,Z]}),X&&r("div",{class:`${a.value}-footer`},[X]),Q||(j==="bottom"||j==="both")&&k]))}}});_.install=function(e){return e.component(_.name,_),e.component(_.Item.name,_.Item),e.component(_.Item.Meta.name,_.Item.Meta),e};const Xe=_;export{Xe as A,Ae as I,He as a}; -//# sourceMappingURL=index.f9edb8af.js.map +import{d as Y,ah as q,b as r,au as A,B as ve,e as W,aC as le,aE as $e,ak as P,ai as oe,dg as fe,dH as pe,dI as he,ac as ye,ad as Se,S as M,ao as xe,ap as be,V as Ie,bA as te,f as C,g as Ce,aO as _e,dJ as Le,bM as ze,dh as Me,bx as we,aM as ie,at as Ee,bE as G,as as ne,b6 as J,aN as Pe,dG as ae}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4ae8df43-0172-45f9-8545-0b7a787035a9",e._sentryDebugIdIdentifier="sentry-dbid-4ae8df43-0172-45f9-8545-0b7a787035a9")}catch{}})();const Te=()=>({avatar:A.any,description:A.any,prefixCls:String,title:A.any}),Ae=Y({compatConfig:{MODE:3},name:"AListItemMeta",props:Te(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:i}=t;const{prefixCls:l}=q("list",e);return()=>{var o,c,v,a,y,d;const u=`${l.value}-item-meta`,g=(o=e.title)!==null&&o!==void 0?o:(c=i.title)===null||c===void 0?void 0:c.call(i),s=(v=e.description)!==null&&v!==void 0?v:(a=i.description)===null||a===void 0?void 0:a.call(i),p=(y=e.avatar)!==null&&y!==void 0?y:(d=i.avatar)===null||d===void 0?void 0:d.call(i),$=r("div",{class:`${l.value}-item-meta-content`},[g&&r("h4",{class:`${l.value}-item-meta-title`},[g]),s&&r("div",{class:`${l.value}-item-meta-description`},[s])]);return r("div",{class:u},[p&&r("div",{class:`${l.value}-item-meta-avatar`},[p]),(g||s)&&$])}}}),re=Symbol("ListContextKey");var Be=globalThis&&globalThis.__rest||function(e,t){var i={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(i[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o({prefixCls:String,extra:A.any,actions:A.array,grid:Object,colStyle:{type:Object,default:void 0}}),He=Y({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:Ae,props:Oe(),slots:Object,setup(e,t){let{slots:i,attrs:l}=t;const{itemLayout:o,grid:c}=ve(re,{grid:W(),itemLayout:W()}),{prefixCls:v}=q("list",e),a=()=>{var d;const u=((d=i.default)===null||d===void 0?void 0:d.call(i))||[];let g;return u.forEach(s=>{pe(s)&&!he(s)&&(g=!0)}),g&&u.length>1},y=()=>{var d,u;const g=(d=e.extra)!==null&&d!==void 0?d:(u=i.extra)===null||u===void 0?void 0:u.call(i);return o.value==="vertical"?!!g:!a()};return()=>{var d,u,g,s,p;const{class:$}=l,b=Be(l,["class"]),h=v.value,L=(d=e.extra)!==null&&d!==void 0?d:(u=i.extra)===null||u===void 0?void 0:u.call(i),B=(g=i.default)===null||g===void 0?void 0:g.call(i);let f=(s=e.actions)!==null&&s!==void 0?s:le((p=i.actions)===null||p===void 0?void 0:p.call(i));f=f&&!Array.isArray(f)?[f]:f;const w=f&&f.length>0&&r("ul",{class:`${h}-item-action`,key:"actions"},[f.map((I,T)=>r("li",{key:`${h}-item-action-${T}`},[I,T!==f.length-1&&r("em",{class:`${h}-item-action-split`},null)]))]),O=c.value?"div":"li",H=r(O,P(P({},b),{},{class:oe(`${h}-item`,{[`${h}-item-no-flex`]:!y()},$)}),{default:()=>[o.value==="vertical"&&L?[r("div",{class:`${h}-item-main`,key:"content"},[B,w]),r("div",{class:`${h}-item-extra`,key:"extra"},[L])]:[B,w,$e(L,{key:"extra"})]]});return c.value?r(fe,{flex:1,style:e.colStyle},{default:()=>[H]}):H}}}),je=e=>{const{listBorderedCls:t,componentCls:i,paddingLG:l,margin:o,padding:c,listItemPaddingSM:v,marginLG:a,borderRadiusLG:y}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:y,[`${i}-header,${i}-footer,${i}-item`]:{paddingInline:l},[`${i}-pagination`]:{margin:`${o}px ${a}px`}},[`${t}${i}-sm`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:v}},[`${t}${i}-lg`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:`${c}px ${l}px`}}}},Ge=e=>{const{componentCls:t,screenSM:i,screenMD:l,marginLG:o,marginSM:c,margin:v}=e;return{[`@media screen and (max-width:${l})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${i})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:c}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${v}px`}}}}}},We=e=>{const{componentCls:t,antCls:i,controlHeight:l,minHeight:o,paddingSM:c,marginLG:v,padding:a,listItemPadding:y,colorPrimary:d,listItemPaddingSM:u,listItemPaddingLG:g,paddingXS:s,margin:p,colorText:$,colorTextDescription:b,motionDurationSlow:h,lineWidth:L}=e;return{[`${t}`]:M(M({},xe(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:c},[`${t}-pagination`]:{marginBlockStart:v,textAlign:"end",[`${i}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:y,color:$,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:a},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:$},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:$,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:$,transition:`all ${h}`,["&:hover"]:{color:d}}},[`${t}-item-meta-description`]:{color:b,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${s}px`,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:L,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${a}px 0`,color:b,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:a,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${i}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:v},[`${t}-item-meta`]:{marginBlockEnd:a,[`${t}-item-meta-title`]:{marginBlockEnd:c,color:$,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:a,marginInlineStart:"auto","> li":{padding:`0 ${a}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:l},[`${t}-split${t}-something-after-last-item ${i}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:g},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},De=ye("List",e=>{const t=Se(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[We(t),je(t),Ge(t)]},{contentWidth:220}),Ne=()=>({bordered:ie(),dataSource:Ee(),extra:G(),grid:ne(),itemLayout:String,loading:J([Boolean,Object]),loadMore:G(),pagination:J([Boolean,Object]),prefixCls:String,rowKey:J([String,Number,Function]),renderItem:Pe(),size:String,split:ie(),header:G(),footer:G(),locale:ne()}),_=Y({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:He,props:be(Ne(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:i,attrs:l}=t;var o,c;Ie(re,{grid:te(e,"grid"),itemLayout:te(e,"itemLayout")});const v={current:1,total:0},{prefixCls:a,direction:y,renderEmpty:d}=q("list",e),[u,g]=De(a),s=C(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),p=W((o=s.value.defaultCurrent)!==null&&o!==void 0?o:1),$=W((c=s.value.defaultPageSize)!==null&&c!==void 0?c:10);Ce(s,()=>{"current"in s.value&&(p.value=s.value.current),"pageSize"in s.value&&($.value=s.value.pageSize)});const b=[],h=n=>(m,S)=>{p.value=m,$.value=S,s.value[n]&&s.value[n](m,S)},L=h("onChange"),B=h("onShowSizeChange"),f=C(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),w=C(()=>f.value&&f.value.spinning),O=C(()=>{let n="";switch(e.size){case"large":n="lg";break;case"small":n="sm";break}return n}),H=C(()=>({[`${a.value}`]:!0,[`${a.value}-vertical`]:e.itemLayout==="vertical",[`${a.value}-${O.value}`]:O.value,[`${a.value}-split`]:e.split,[`${a.value}-bordered`]:e.bordered,[`${a.value}-loading`]:w.value,[`${a.value}-grid`]:!!e.grid,[`${a.value}-rtl`]:y.value==="rtl"})),I=C(()=>{const n=M(M(M({},v),{total:e.dataSource.length,current:p.value,pageSize:$.value}),e.pagination||{}),m=Math.ceil(n.total/n.pageSize);return n.current>m&&(n.current=m),n}),T=C(()=>{let n=[...e.dataSource];return e.pagination&&e.dataSource.length>(I.value.current-1)*I.value.pageSize&&(n=[...e.dataSource].splice((I.value.current-1)*I.value.pageSize,I.value.pageSize)),n}),se=_e(),D=Le(()=>{for(let n=0;n{if(!e.grid)return;const n=D.value&&e.grid[D.value]?e.grid[D.value]:e.grid.column;if(n)return{width:`${100/n}%`,maxWidth:`${100/n}%`}}),ce=(n,m)=>{var S;const E=(S=e.renderItem)!==null&&S!==void 0?S:i.renderItem;if(!E)return null;let x;const z=typeof e.rowKey;return z==="function"?x=e.rowKey(n):z==="string"||z==="number"?x=n[e.rowKey]:x=n.key,x||(x=`list-item-${m}`),b[m]=x,E({item:n,index:m})};return()=>{var n,m,S,E,x,z,N,K;const Q=(n=e.loadMore)!==null&&n!==void 0?n:(m=i.loadMore)===null||m===void 0?void 0:m.call(i),X=(S=e.footer)!==null&&S!==void 0?S:(E=i.footer)===null||E===void 0?void 0:E.call(i),U=(x=e.header)!==null&&x!==void 0?x:(z=i.header)===null||z===void 0?void 0:z.call(i),Z=le((N=i.default)===null||N===void 0?void 0:N.call(i)),ue=!!(Q||e.pagination||X),ge=oe(M(M({},H.value),{[`${a.value}-something-after-last-item`]:ue}),l.class,g.value),k=e.pagination?r("div",{class:`${a.value}-pagination`},[r(ze,P(P({},I.value),{},{onChange:L,onShowSizeChange:B}),null)]):null;let R=w.value&&r("div",{style:{minHeight:"53px"}},null);if(T.value.length>0){b.length=0;const ee=T.value.map((V,F)=>ce(V,F)),me=ee.map((V,F)=>r("div",{key:b[F],style:de.value},[V]));R=e.grid?r(Me,{gutter:e.grid.gutter},{default:()=>[me]}):r("ul",{class:`${a.value}-items`},[ee])}else!Z.length&&!w.value&&(R=r("div",{class:`${a.value}-empty-text`},[((K=e.locale)===null||K===void 0?void 0:K.emptyText)||d("List")]));const j=I.value.position||"bottom";return u(r("div",P(P({},l),{},{class:ge}),[(j==="top"||j==="both")&&k,U&&r("div",{class:`${a.value}-header`},[U]),r(we,f.value,{default:()=>[R,Z]}),X&&r("div",{class:`${a.value}-footer`},[X]),Q||(j==="bottom"||j==="both")&&k]))}}});_.install=function(e){return e.component(_.name,_),e.component(_.Item.name,_.Item),e.component(_.Item.Meta.name,_.Item.Meta),e};const Xe=_;export{Xe as A,Ae as I,He as a}; +//# sourceMappingURL=index.5cae8761.js.map diff --git a/abstra_statics/dist/assets/index.db3c211c.js b/abstra_statics/dist/assets/index.71c22de0.js similarity index 99% rename from abstra_statics/dist/assets/index.db3c211c.js rename to abstra_statics/dist/assets/index.71c22de0.js index 9c597cf17e..dc62dd253d 100644 --- a/abstra_statics/dist/assets/index.db3c211c.js +++ b/abstra_statics/dist/assets/index.71c22de0.js @@ -1,2 +1,2 @@ -import{b as l,aP as $,ac as S,ad as b,d as I,ah as y,f as x,ak as w,au as p,ai as H,dj as _,dl as T,dm as O}from"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="8957c587-5d13-4f54-9c29-26125014c303",t._sentryDebugIdIdentifier="sentry-dbid-8957c587-5d13-4f54-9c29-26125014c303")}catch{}})();var V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const P=V;function A(t){for(var n=1;nl("svg",{width:"252",height:"294"},[l("defs",null,[l("path",{d:"M0 .387h251.772v251.772H0z"},null)]),l("g",{fill:"none","fill-rule":"evenodd"},[l("g",{transform:"translate(0 .012)"},[l("mask",{fill:"#fff"},null),l("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),l("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),l("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),l("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),l("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),l("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),l("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),l("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),l("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),l("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),l("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),l("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),l("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),l("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),l("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),l("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),l("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),l("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),l("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),l("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),l("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),l("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),l("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),l("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),l("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),l("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),l("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),l("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),l("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),l("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),l("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),l("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),l("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),l("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),l("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),l("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),l("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),l("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),l("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),l("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),G=R,L=()=>l("svg",{width:"254",height:"294"},[l("defs",null,[l("path",{d:"M0 .335h253.49v253.49H0z"},null),l("path",{d:"M0 293.665h253.49V.401H0z"},null)]),l("g",{fill:"none","fill-rule":"evenodd"},[l("g",{transform:"translate(0 .067)"},[l("mask",{fill:"#fff"},null),l("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),l("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),l("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),l("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),l("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),l("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),l("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),l("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),l("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),l("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),l("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),l("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),l("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),l("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),l("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),l("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),l("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),l("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),l("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),l("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),l("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),l("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),l("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),l("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),l("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),l("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),l("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),l("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),l("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),l("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),l("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),l("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),l("mask",{fill:"#fff"},null),l("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),l("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),l("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),l("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),l("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),l("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),l("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),l("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),l("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),l("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),l("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),X=L,U=()=>l("svg",{width:"251",height:"294"},[l("g",{fill:"none","fill-rule":"evenodd"},[l("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),l("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),l("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),l("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),l("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),l("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),l("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),l("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),l("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),l("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),l("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),l("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),l("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),l("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),l("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),l("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),l("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),l("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),l("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),l("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),l("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),l("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),l("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),l("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),l("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),l("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),l("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),l("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),l("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),l("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),l("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),l("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),l("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),l("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),l("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),l("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),l("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),q=U,J=t=>{const{componentCls:n,lineHeightHeading3:s,iconCls:o,padding:e,paddingXL:r,paddingXS:i,paddingLG:a,marginXS:u,lineHeight:d}=t;return{[n]:{padding:`${a*2}px ${r}px`,"&-rtl":{direction:"rtl"}},[`${n} ${n}-image`]:{width:t.imageWidth,height:t.imageHeight,margin:"auto"},[`${n} ${n}-icon`]:{marginBottom:a,textAlign:"center",[`& > ${o}`]:{fontSize:t.resultIconFontSize}},[`${n} ${n}-title`]:{color:t.colorTextHeading,fontSize:t.resultTitleFontSize,lineHeight:s,marginBlock:u,textAlign:"center"},[`${n} ${n}-subtitle`]:{color:t.colorTextDescription,fontSize:t.resultSubtitleFontSize,lineHeight:d,textAlign:"center"},[`${n} ${n}-content`]:{marginTop:a,padding:`${a}px ${e*2.5}px`,backgroundColor:t.colorFillAlter},[`${n} ${n}-extra`]:{margin:t.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:i,"&:last-child":{marginInlineEnd:0}}}}},Q=t=>{const{componentCls:n,iconCls:s}=t;return{[`${n}-success ${n}-icon > ${s}`]:{color:t.resultSuccessIconColor},[`${n}-error ${n}-icon > ${s}`]:{color:t.resultErrorIconColor},[`${n}-info ${n}-icon > ${s}`]:{color:t.resultInfoIconColor},[`${n}-warning ${n}-icon > ${s}`]:{color:t.resultWarningIconColor}}},Y=t=>[J(t),Q(t)],Z=t=>Y(t),K=S("Result",t=>{const{paddingLG:n,fontSizeHeading3:s}=t,o=t.fontSize,e=`${n}px 0 0 0`,r=t.colorInfo,i=t.colorError,a=t.colorSuccess,u=t.colorWarning,d=b(t,{resultTitleFontSize:s,resultSubtitleFontSize:o,resultIconFontSize:s*3,resultExtraMargin:e,resultInfoIconColor:r,resultErrorIconColor:i,resultSuccessIconColor:a,resultWarningIconColor:u});return[Z(d)]},{imageWidth:250,imageHeight:295}),l1={success:_,error:T,info:O,warning:N},M={404:G,500:X,403:q},t1=Object.keys(M),n1=()=>({prefixCls:String,icon:p.any,status:{type:[Number,String],default:"info"},title:p.any,subTitle:p.any,extra:p.any}),s1=(t,n)=>{let{status:s,icon:o}=n;if(t1.includes(`${s}`)){const i=M[s];return l("div",{class:`${t}-icon ${t}-image`},[l(i,null,null)])}const e=l1[s],r=o||l(e,null,null);return l("div",{class:`${t}-icon`},[r])},e1=(t,n)=>n&&l("div",{class:`${t}-extra`},[n]),c=I({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:n1(),slots:Object,setup(t,n){let{slots:s,attrs:o}=n;const{prefixCls:e,direction:r}=y("result",t),[i,a]=K(e),u=x(()=>H(e.value,a.value,`${e.value}-${t.status}`,{[`${e.value}-rtl`]:r.value==="rtl"}));return()=>{var d,k,F,f,v,B,g,E;const m=(d=t.title)!==null&&d!==void 0?d:(k=s.title)===null||k===void 0?void 0:k.call(s),D=(F=t.subTitle)!==null&&F!==void 0?F:(f=s.subTitle)===null||f===void 0?void 0:f.call(s),j=(v=t.icon)!==null&&v!==void 0?v:(B=s.icon)===null||B===void 0?void 0:B.call(s),z=(g=t.extra)!==null&&g!==void 0?g:(E=s.extra)===null||E===void 0?void 0:E.call(s),h=e.value;return i(l("div",w(w({},o),{},{class:[u.value,o.class]}),[s1(h,{status:t.status,icon:j}),l("div",{class:`${h}-title`},[m]),D&&l("div",{class:`${h}-subtitle`},[D]),e1(h,z),s.default&&l("div",{class:`${h}-content`},[s.default()])]))}}});c.PRESENTED_IMAGE_403=M[403];c.PRESENTED_IMAGE_404=M[404];c.PRESENTED_IMAGE_500=M[500];c.install=function(t){return t.component(c.name,c),t};const a1=c;export{a1 as A}; -//# sourceMappingURL=index.db3c211c.js.map +import{b as l,aP as $,ac as S,ad as b,d as I,ah as y,f as x,ak as w,au as p,ai as H,dj as _,dl as T,dm as O}from"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="94720099-c6d9-4793-a339-4f3d67e2f4d9",t._sentryDebugIdIdentifier="sentry-dbid-94720099-c6d9-4793-a339-4f3d67e2f4d9")}catch{}})();var V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const P=V;function A(t){for(var n=1;nl("svg",{width:"252",height:"294"},[l("defs",null,[l("path",{d:"M0 .387h251.772v251.772H0z"},null)]),l("g",{fill:"none","fill-rule":"evenodd"},[l("g",{transform:"translate(0 .012)"},[l("mask",{fill:"#fff"},null),l("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),l("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),l("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),l("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),l("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),l("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),l("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),l("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),l("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),l("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),l("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),l("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),l("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),l("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),l("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),l("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),l("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),l("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),l("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),l("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),l("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),l("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),l("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),l("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),l("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),l("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),l("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),l("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),l("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),l("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),l("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),l("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),l("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),l("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),l("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),l("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),l("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),l("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),l("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),l("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),G=R,L=()=>l("svg",{width:"254",height:"294"},[l("defs",null,[l("path",{d:"M0 .335h253.49v253.49H0z"},null),l("path",{d:"M0 293.665h253.49V.401H0z"},null)]),l("g",{fill:"none","fill-rule":"evenodd"},[l("g",{transform:"translate(0 .067)"},[l("mask",{fill:"#fff"},null),l("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),l("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),l("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),l("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),l("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),l("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),l("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),l("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),l("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),l("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),l("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),l("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),l("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),l("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),l("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),l("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),l("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),l("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),l("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),l("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),l("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),l("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),l("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),l("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),l("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),l("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),l("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),l("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),l("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),l("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),l("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),l("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),l("mask",{fill:"#fff"},null),l("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),l("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),l("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),l("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),l("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),l("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),l("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),l("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),l("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),l("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),l("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),X=L,U=()=>l("svg",{width:"251",height:"294"},[l("g",{fill:"none","fill-rule":"evenodd"},[l("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),l("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),l("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),l("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),l("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),l("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),l("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),l("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),l("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),l("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),l("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),l("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),l("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),l("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),l("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),l("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),l("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),l("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),l("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),l("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),l("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),l("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),l("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),l("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),l("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),l("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),l("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),l("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),l("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),l("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),l("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),l("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),l("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),l("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),l("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),l("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),l("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),l("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),l("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),q=U,J=t=>{const{componentCls:n,lineHeightHeading3:s,iconCls:o,padding:e,paddingXL:r,paddingXS:i,paddingLG:a,marginXS:u,lineHeight:d}=t;return{[n]:{padding:`${a*2}px ${r}px`,"&-rtl":{direction:"rtl"}},[`${n} ${n}-image`]:{width:t.imageWidth,height:t.imageHeight,margin:"auto"},[`${n} ${n}-icon`]:{marginBottom:a,textAlign:"center",[`& > ${o}`]:{fontSize:t.resultIconFontSize}},[`${n} ${n}-title`]:{color:t.colorTextHeading,fontSize:t.resultTitleFontSize,lineHeight:s,marginBlock:u,textAlign:"center"},[`${n} ${n}-subtitle`]:{color:t.colorTextDescription,fontSize:t.resultSubtitleFontSize,lineHeight:d,textAlign:"center"},[`${n} ${n}-content`]:{marginTop:a,padding:`${a}px ${e*2.5}px`,backgroundColor:t.colorFillAlter},[`${n} ${n}-extra`]:{margin:t.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:i,"&:last-child":{marginInlineEnd:0}}}}},Q=t=>{const{componentCls:n,iconCls:s}=t;return{[`${n}-success ${n}-icon > ${s}`]:{color:t.resultSuccessIconColor},[`${n}-error ${n}-icon > ${s}`]:{color:t.resultErrorIconColor},[`${n}-info ${n}-icon > ${s}`]:{color:t.resultInfoIconColor},[`${n}-warning ${n}-icon > ${s}`]:{color:t.resultWarningIconColor}}},Y=t=>[J(t),Q(t)],Z=t=>Y(t),K=S("Result",t=>{const{paddingLG:n,fontSizeHeading3:s}=t,o=t.fontSize,e=`${n}px 0 0 0`,r=t.colorInfo,i=t.colorError,a=t.colorSuccess,u=t.colorWarning,d=b(t,{resultTitleFontSize:s,resultSubtitleFontSize:o,resultIconFontSize:s*3,resultExtraMargin:e,resultInfoIconColor:r,resultErrorIconColor:i,resultSuccessIconColor:a,resultWarningIconColor:u});return[Z(d)]},{imageWidth:250,imageHeight:295}),l1={success:_,error:T,info:O,warning:N},M={404:G,500:X,403:q},t1=Object.keys(M),n1=()=>({prefixCls:String,icon:p.any,status:{type:[Number,String],default:"info"},title:p.any,subTitle:p.any,extra:p.any}),s1=(t,n)=>{let{status:s,icon:o}=n;if(t1.includes(`${s}`)){const i=M[s];return l("div",{class:`${t}-icon ${t}-image`},[l(i,null,null)])}const e=l1[s],r=o||l(e,null,null);return l("div",{class:`${t}-icon`},[r])},e1=(t,n)=>n&&l("div",{class:`${t}-extra`},[n]),c=I({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:n1(),slots:Object,setup(t,n){let{slots:s,attrs:o}=n;const{prefixCls:e,direction:r}=y("result",t),[i,a]=K(e),u=x(()=>H(e.value,a.value,`${e.value}-${t.status}`,{[`${e.value}-rtl`]:r.value==="rtl"}));return()=>{var d,k,F,f,v,B,g,E;const m=(d=t.title)!==null&&d!==void 0?d:(k=s.title)===null||k===void 0?void 0:k.call(s),D=(F=t.subTitle)!==null&&F!==void 0?F:(f=s.subTitle)===null||f===void 0?void 0:f.call(s),j=(v=t.icon)!==null&&v!==void 0?v:(B=s.icon)===null||B===void 0?void 0:B.call(s),z=(g=t.extra)!==null&&g!==void 0?g:(E=s.extra)===null||E===void 0?void 0:E.call(s),h=e.value;return i(l("div",w(w({},o),{},{class:[u.value,o.class]}),[s1(h,{status:t.status,icon:j}),l("div",{class:`${h}-title`},[m]),D&&l("div",{class:`${h}-subtitle`},[D]),e1(h,z),s.default&&l("div",{class:`${h}-content`},[s.default()])]))}}});c.PRESENTED_IMAGE_403=M[403];c.PRESENTED_IMAGE_404=M[404];c.PRESENTED_IMAGE_500=M[500];c.install=function(t){return t.component(c.name,c),t};const a1=c;export{a1 as A}; +//# sourceMappingURL=index.71c22de0.js.map diff --git a/abstra_statics/dist/assets/index.241ee38a.js b/abstra_statics/dist/assets/index.7d758831.js similarity index 87% rename from abstra_statics/dist/assets/index.241ee38a.js rename to abstra_statics/dist/assets/index.7d758831.js index c4915275bd..50ea4aacfa 100644 --- a/abstra_statics/dist/assets/index.241ee38a.js +++ b/abstra_statics/dist/assets/index.7d758831.js @@ -1,2 +1,2 @@ -import{d as T,ah as V,dO as L,dP as Q,f as o,e as N,g as W,aQ as q,b as f,S as m,aR as H,ak as G,cS as h,au as j,bv as k,aM as J,ai as K}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="ed6fa9e6-e0a6-4b10-a56b-1c28e5c764d7",e._sentryDebugIdIdentifier="sentry-dbid-ed6fa9e6-e0a6-4b10-a56b-1c28e5c764d7")}catch{}})();const U={small:8,middle:16,large:24},X=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:j.oneOf(k("horizontal","vertical")).def("horizontal"),align:j.oneOf(k("start","end","center","baseline")),wrap:J()});function Y(e){return typeof e=="string"?U[e]:e||0}const r=T({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:X(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:x}=V("space",e),[B,E]=L(n),z=Q(),s=o(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=y==null?void 0:y.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),b=N(),u=N();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>Y(a))},{immediate:!0});const w=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),F=o(()=>K(n.value,E.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:x.value==="rtl",[`${n.value}-align-${w.value}`]:w.value})),P=o(()=>x.value==="rtl"?"marginLeft":"marginRight"),R=o(()=>{const a={};return z.value&&(a.columnGap=`${b.value}px`,a.rowGap=`${u.value}px`),m(m({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var a,t;const{wrap:i,direction:M="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=q(_),I=C.length;if(I===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return f("div",G(G({},g),{},{class:[F.value,g.class],style:[R.value,g.style]}),[C.map((O,v)=>{let $=_.indexOf(O);$===-1&&($=`$$space-${v}`);let p={};return z.value||(M==="vertical"?v({prefixCls:String,size:{type:[String,Number,Array]},direction:j.oneOf(k("horizontal","vertical")).def("horizontal"),align:j.oneOf(k("start","end","center","baseline")),wrap:J()});function Y(e){return typeof e=="string"?U[e]:e||0}const r=T({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:X(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:x}=V("space",e),[B,E]=L(n),z=Q(),s=o(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=y==null?void 0:y.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),b=N(),u=N();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>Y(a))},{immediate:!0});const w=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),F=o(()=>K(n.value,E.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:x.value==="rtl",[`${n.value}-align-${w.value}`]:w.value})),P=o(()=>x.value==="rtl"?"marginLeft":"marginRight"),R=o(()=>{const a={};return z.value&&(a.columnGap=`${b.value}px`,a.rowGap=`${u.value}px`),m(m({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var a,t;const{wrap:i,direction:M="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=q(_),I=C.length;if(I===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return f("div",G(G({},g),{},{class:[F.value,g.class],style:[R.value,g.style]}),[C.map((O,v)=>{let $=_.indexOf(O);$===-1&&($=`$$space-${v}`);let p={};return z.value||(M==="vertical"?v({prefixCls:String,title:i(),description:i(),avatar:i()}),d=b({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=c(a,e,"avatar"),v=c(a,e,"title"),f=c(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=v?r("div",{class:`${t.value}-meta-title`},[v]):null,p=f?r("div",{class:`${t.value}-meta-description`},[f]):null,D=m||p?r("div",{class:`${t.value}-meta-detail`},[m,p]):null;return r("div",{class:l},[C,D])}}}),M=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),u=b({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e),l=y(()=>({[`${t.value}-grid`]:!0,[`${t.value}-grid-hoverable`]:e.hoverable}));return()=>{var s;return r("div",{class:l.value},[(s=a.default)===null||s===void 0?void 0:s.call(a)])}}});o.Meta=d;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(d.name,d),e.component(u.name,u),e};export{u as G,d as M}; -//# sourceMappingURL=index.656584ac.js.map +import{C as o}from"./Card.1902bdb7.js";import{d as b,ah as g,bQ as i,b as r,bE as c,f as y}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2a45cb42-1560-4a42-a095-71209a5f79e4",e._sentryDebugIdIdentifier="sentry-dbid-2a45cb42-1560-4a42-a095-71209a5f79e4")}catch{}})();const _=()=>({prefixCls:String,title:c(),description:c(),avatar:c()}),d=b({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=i(a,e,"avatar"),v=i(a,e,"title"),f=i(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=v?r("div",{class:`${t.value}-meta-title`},[v]):null,p=f?r("div",{class:`${t.value}-meta-description`},[f]):null,D=m||p?r("div",{class:`${t.value}-meta-detail`},[m,p]):null;return r("div",{class:l},[C,D])}}}),M=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),u=b({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e),l=y(()=>({[`${t.value}-grid`]:!0,[`${t.value}-grid-hoverable`]:e.hoverable}));return()=>{var s;return r("div",{class:l.value},[(s=a.default)===null||s===void 0?void 0:s.call(a)])}}});o.Meta=d;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(d.name,d),e.component(u.name,u),e};export{u as G,d as M}; +//# sourceMappingURL=index.7e70395a.js.map diff --git a/abstra_statics/dist/assets/index.00d46a24.js b/abstra_statics/dist/assets/index.b0999c8c.js similarity index 98% rename from abstra_statics/dist/assets/index.00d46a24.js rename to abstra_statics/dist/assets/index.b0999c8c.js index d658c0a004..4c7d9d6dd7 100644 --- a/abstra_statics/dist/assets/index.00d46a24.js +++ b/abstra_statics/dist/assets/index.b0999c8c.js @@ -1,5 +1,5 @@ -import{f as b,bW as Ne,S as k,Q as ke,e as q,aK as ve,az as Me,aE as Fe,V as We,B as je,bR as be,cg as He,g as _e,b7 as Y,b as E,d as Se,W as Be,ak as J,ap as Ae,bY as ze,bA as de,aW as Ie,bZ as Xe,K as Ue,c0 as qe,bX as me,aj as ye,as as Ge,au as Ce,c1 as Ye,ac as Qe,c3 as Ze,an as Je,b9 as et,ae as tt,bi as nt,bj as lt,ah as at,bk as ot,bl as st,c5 as it,bu as ct,bt as rt,dy as ut,c6 as dt,bm as vt,dz as Oe,c8 as pt,bq as ht,ai as ft}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0359a6ca-5727-4379-a332-603116e5d615",e._sentryDebugIdIdentifier="sentry-dbid-0359a6ca-5727-4379-a332-603116e5d615")}catch{}})();const we="__RC_CASCADER_SPLIT__",De="SHOW_PARENT",$e="SHOW_CHILD";function ee(e){return e.join(we)}function oe(e){return e.map(ee)}function gt(e){return e.split(we)}function mt(e){const{label:n,value:t,children:a}=e||{},l=t||"value";return{label:n||"label",value:l,key:l,children:a||"children"}}function ie(e,n){var t,a;return(t=e.isLeaf)!==null&&t!==void 0?t:!(!((a=e[n.children])===null||a===void 0)&&a.length)}function Ct(e){const n=e.parentElement;if(!n)return;const t=e.offsetTop-n.offsetTop;t-n.scrollTop<0?n.scrollTo({top:t}):t+e.offsetHeight-n.scrollTop>n.offsetHeight&&n.scrollTo({top:t+e.offsetHeight-n.offsetHeight})}const bt=(e,n)=>b(()=>Ne(e.value,{fieldNames:n.value,initWrapper:a=>k(k({},a),{pathKeyEntities:{}}),processEntity:(a,l)=>{const i=a.nodes.map(r=>r[n.value.value]).join(we);l.pathKeyEntities[i]=a,a.key=i}}).pathKeyEntities);function St(e){const n=ke(!1),t=q({});return ve(()=>{if(!e.value){n.value=!1,t.value={};return}let a={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(a=k(k({},a),e.value)),a.limit<=0&&delete a.limit,n.value=!0,t.value=a}),{showSearch:n,searchConfig:t}}const ce="__rc_cascader_search_mark__",yt=(e,n,t)=>{let{label:a}=t;return n.some(l=>String(l[a]).toLowerCase().includes(e.toLowerCase()))},wt=e=>{let{path:n,fieldNames:t}=e;return n.map(a=>a[t.label]).join(" / ")},xt=(e,n,t,a,l,i)=>b(()=>{const{filter:r=yt,render:d=wt,limit:v=50,sort:c}=l.value,o=[];if(!e.value)return[];function C(O,y){O.forEach($=>{if(!c&&v>0&&o.length>=v)return;const g=[...y,$],w=$[t.value.children];(!w||w.length===0||i.value)&&r(e.value,g,{label:t.value.label})&&o.push(k(k({},$),{[t.value.label]:d({inputValue:e.value,path:g,prefixCls:a.value,fieldNames:t.value}),[ce]:g})),w&&C($[t.value.children],g)})}return C(n.value,[]),c&&o.sort((O,y)=>c(O[ce],y[ce],e.value,t.value)),v>0?o.slice(0,v):o});function Pe(e,n,t){const a=new Set(e);return e.filter(l=>{const i=n[l],r=i?i.parent:null,d=i?i.children:null;return t===$e?!(d&&d.some(v=>v.key&&a.has(v.key))):!(r&&!r.node.disabled&&a.has(r.key))})}function re(e,n,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var l;let i=n;const r=[];for(let d=0;d{const O=C[t.value];return a?String(O)===String(v):O===v}),o=c!==-1?i==null?void 0:i[c]:null;r.push({value:(l=o==null?void 0:o[t.value])!==null&&l!==void 0?l:v,index:c,option:o}),i=o==null?void 0:o[t.children]}return r}const It=(e,n,t)=>b(()=>{const a=[],l=[];return t.value.forEach(i=>{re(i,e.value,n.value).every(d=>d.option)?l.push(i):a.push(i)}),[l,a]}),Ot=(e,n,t,a,l)=>b(()=>{const i=l.value||(r=>{let{labels:d}=r;const v=a.value?d.slice(-1):d,c=" / ";return v.every(o=>["string","number"].includes(typeof o))?v.join(c):v.reduce((o,C,O)=>{const y=Me(C)?Fe(C,{key:O}):C;return O===0?[y]:[...o,c,y]},[])});return e.value.map(r=>{const d=re(r,n.value,t.value),v=i({labels:d.map(o=>{let{option:C,value:O}=o;var y;return(y=C==null?void 0:C[t.value.label])!==null&&y!==void 0?y:O}),selectedOptions:d.map(o=>{let{option:C}=o;return C})}),c=ee(r);return{label:v,value:c,key:c,valueCells:r}})}),Ee=Symbol("CascaderContextKey"),Pt=e=>{We(Ee,e)},pe=()=>je(Ee),Vt=()=>{const e=be(),{values:n}=pe(),[t,a]=He([]);return _e(()=>e.open,()=>{if(e.open&&!e.multiple){const l=n.value[0];a(l||[])}},{immediate:!0}),[t,a]},kt=(e,n,t,a,l,i)=>{const r=be(),d=b(()=>r.direction==="rtl"),[v,c,o]=[q([]),q(),q([])];ve(()=>{let g=-1,w=n.value;const p=[],x=[],D=a.value.length;for(let _=0;_T[t.value.value]===a.value[_]);if(R===-1)break;g=R,p.push(g),x.push(a.value[_]),w=w[g][t.value.children]}let P=n.value;for(let _=0;_{l(g)},O=g=>{const w=o.value.length;let p=c.value;p===-1&&g<0&&(p=w);for(let x=0;x{if(v.value.length>1){const g=v.value.slice(0,-1);C(g)}else r.toggleOpen(!1)},$=()=>{var g;const p=(((g=o.value[c.value])===null||g===void 0?void 0:g[t.value.children])||[]).find(x=>!x.disabled);if(p){const x=[...v.value,p[t.value.value]];C(x)}};e.expose({onKeydown:g=>{const{which:w}=g;switch(w){case Y.UP:case Y.DOWN:{let p=0;w===Y.UP?p=-1:w===Y.DOWN&&(p=1),p!==0&&O(p);break}case Y.LEFT:{d.value?$():y();break}case Y.RIGHT:{d.value?y():$();break}case Y.BACKSPACE:{r.searchValue||y();break}case Y.ENTER:{if(v.value.length){const p=o.value[c.value],x=(p==null?void 0:p[ce])||[];x.length?i(x.map(D=>D[t.value.value]),x[x.length-1]):i(v.value,p)}break}case Y.ESC:r.toggleOpen(!1),open&&g.stopPropagation()}},onKeyup:()=>{}})};function he(e){let{prefixCls:n,checked:t,halfChecked:a,disabled:l,onClick:i}=e;const{customSlots:r,checkable:d}=pe(),v=d.value!==!1?r.value.checkable:d.value,c=typeof v=="function"?v():typeof v=="boolean"?null:v;return E("span",{class:{[n]:!0,[`${n}-checked`]:t,[`${n}-indeterminate`]:!t&&a,[`${n}-disabled`]:l},onClick:i},[c])}he.props=["prefixCls","checked","halfChecked","disabled","onClick"];he.displayName="Checkbox";he.inheritAttrs=!1;const Te="__cascader_fix_label__";function fe(e){let{prefixCls:n,multiple:t,options:a,activeValue:l,prevValuePath:i,onToggleOpen:r,onSelect:d,onActive:v,checkedSet:c,halfCheckedSet:o,loadingKeys:C,isSelectable:O}=e;var y,$,g,w,p,x;const D=`${n}-menu`,P=`${n}-menu-item`,{fieldNames:_,changeOnSelect:R,expandTrigger:T,expandIcon:X,loadingIcon:Q,dropdownMenuColumnStyle:U,customSlots:M}=pe(),F=(y=X.value)!==null&&y!==void 0?y:(g=($=M.value).expandIcon)===null||g===void 0?void 0:g.call($),W=(w=Q.value)!==null&&w!==void 0?w:(x=(p=M.value).loadingIcon)===null||x===void 0?void 0:x.call(p),te=T.value==="hover";return E("ul",{class:D,role:"menu"},[a.map(L=>{var h;const{disabled:I}=L,s=L[ce],S=(h=L[Te])!==null&&h!==void 0?h:L[_.value.label],m=L[_.value.value],V=ie(L,_.value),N=s?s.map(u=>u[_.value.value]):[...i,m],j=ee(N),H=C.includes(j),Z=c.has(j),ne=o.has(j),le=()=>{!I&&(!te||!V)&&v(N)},B=()=>{O(L)&&d(N,V)};let G;return typeof L.title=="string"?G=L.title:typeof S=="string"&&(G=S),E("li",{key:j,class:[P,{[`${P}-expand`]:!V,[`${P}-active`]:l===m,[`${P}-disabled`]:I,[`${P}-loading`]:H}],style:U.value,role:"menuitemcheckbox",title:G,"aria-checked":Z,"data-path-key":j,onClick:()=>{le(),(!t||V)&&B()},onDblclick:()=>{R.value&&r(!1)},onMouseenter:()=>{te&&le()},onMousedown:u=>{u.preventDefault()}},[t&&E(he,{prefixCls:`${n}-checkbox`,checked:Z,halfChecked:ne,disabled:I,onClick:u=>{u.stopPropagation(),B()}},null),E("div",{class:`${P}-content`},[S]),!H&&F&&!V&&E("div",{class:`${P}-expand-icon`},[F]),H&&W&&E("div",{class:`${P}-loading-icon`},[W])])})])}fe.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];fe.displayName="Column";fe.inheritAttrs=!1;const _t=Se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,n){const{attrs:t,slots:a}=n,l=be(),i=q(),r=b(()=>l.direction==="rtl"),{options:d,values:v,halfValues:c,fieldNames:o,changeOnSelect:C,onSelect:O,searchOptions:y,dropdownPrefixCls:$,loadData:g,expandTrigger:w,customSlots:p}=pe(),x=b(()=>$.value||l.prefixCls),D=ke([]),P=h=>{if(!g.value||l.searchValue)return;const s=re(h,d.value,o.value).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];if(S&&!ie(S,o.value)){const m=ee(h);D.value=[...D.value,m],g.value(s)}};ve(()=>{D.value.length&&D.value.forEach(h=>{const I=gt(h),s=re(I,d.value,o.value,!0).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];(!S||S[o.value.children]||ie(S,o.value))&&(D.value=D.value.filter(m=>m!==h))})});const _=b(()=>new Set(oe(v.value))),R=b(()=>new Set(oe(c.value))),[T,X]=Vt(),Q=h=>{X(h),P(h)},U=h=>{const{disabled:I}=h,s=ie(h,o.value);return!I&&(s||C.value||l.multiple)},M=function(h,I){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;O(h),!l.multiple&&(I||C.value&&(w.value==="hover"||s))&&l.toggleOpen(!1)},F=b(()=>l.searchValue?y.value:d.value),W=b(()=>{const h=[{options:F.value}];let I=F.value;for(let s=0;sN[o.value.value]===S),V=m==null?void 0:m[o.value.children];if(!(V!=null&&V.length))break;I=V,h.push({options:V})}return h});kt(n,F,o,T,Q,(h,I)=>{U(I)&&M(h,ie(I,o.value),!0)});const L=h=>{h.preventDefault()};return Be(()=>{_e(T,h=>{var I;for(let s=0;s{var h,I,s,S,m;const{notFoundContent:V=((h=a.notFoundContent)===null||h===void 0?void 0:h.call(a))||((s=(I=p.value).notFoundContent)===null||s===void 0?void 0:s.call(I)),multiple:N,toggleOpen:j}=l,H=!(!((m=(S=W.value[0])===null||S===void 0?void 0:S.options)===null||m===void 0)&&m.length),Z=[{[o.value.value]:"__EMPTY__",[Te]:V,disabled:!0}],ne=k(k({},t),{multiple:!H&&N,onSelect:M,onActive:Q,onToggleOpen:j,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:Z}]:W.value).map((G,u)=>{const f=T.value.slice(0,u),A=T.value[u];return E(fe,J(J({key:u},ne),{},{prefixCls:x.value,options:G.options,prevValuePath:f,activeValue:A}),null)});return E("div",{class:[`${x.value}-menus`,{[`${x.value}-menu-empty`]:H,[`${x.value}-rtl`]:r.value}],onMousedown:L,ref:i},[B])}}});function At(){return k(k({},ye(Ye(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Ge(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:De},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:Ce.any,loadingIcon:Ce.any})}function Re(){return k(k({},At()),{onChange:Function,customSlots:Object})}function Dt(e){return Array.isArray(e)&&Array.isArray(e[0])}function Ve(e){return e?Dt(e)?e:(e.length===0?[]:[e]).map(n=>Array.isArray(n)?n:[n]):[]}const $t=Se({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:Ae(Re(),{}),setup(e,n){let{attrs:t,expose:a,slots:l}=n;const i=ze(de(e,"id")),r=b(()=>!!e.checkable),[d,v]=Ie(e.defaultValue,{value:b(()=>e.value),postState:Ve}),c=b(()=>mt(e.fieldNames)),o=b(()=>e.options||[]),C=bt(o,c),O=u=>{const f=C.value;return u.map(A=>{const{nodes:K}=f[A];return K.map(z=>z[c.value.value])})},[y,$]=Ie("",{value:b(()=>e.searchValue),postState:u=>u||""}),g=(u,f)=>{$(u),f.source!=="blur"&&e.onSearch&&e.onSearch(u)},{showSearch:w,searchConfig:p}=St(de(e,"showSearch")),x=xt(y,o,c,b(()=>e.dropdownPrefixCls||e.prefixCls),p,de(e,"changeOnSelect")),D=It(o,c,d),[P,_,R]=[q([]),q([]),q([])],{maxLevel:T,levelEntities:X}=Xe(C);ve(()=>{const[u,f]=D.value;if(!r.value||!d.value.length){[P.value,_.value,R.value]=[u,[],f];return}const A=oe(u),K=C.value,{checkedKeys:z,halfCheckedKeys:se}=me(A,!0,K,T.value,X.value);[P.value,_.value,R.value]=[O(z),O(se),f]});const Q=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Q,o,c,r,de(e,"displayRender")),M=u=>{if(v(u),e.onChange){const f=Ve(u),A=f.map(se=>re(se,o.value,c.value).map(ue=>ue.option)),K=r.value?f:f[0],z=r.value?A:A[0];e.onChange(K,z)}},F=u=>{if($(""),!r.value)M(u);else{const f=ee(u),A=oe(P.value),K=oe(_.value),z=A.includes(f),se=R.value.some(ae=>ee(ae)===f);let ue=P.value,xe=R.value;if(se&&!z)xe=R.value.filter(ae=>ee(ae)!==f);else{const ae=z?A.filter(Ke=>Ke!==f):[...A,f];let ge;z?{checkedKeys:ge}=me(ae,{checked:!1,halfCheckedKeys:K},C.value,T.value,X.value):{checkedKeys:ge}=me(ae,!0,C.value,T.value,X.value);const Le=Pe(ge,C.value,e.showCheckedStrategy);ue=O(Le)}M([...xe,...ue])}},W=(u,f)=>{if(f.type==="clear"){M([]);return}const{valueCells:A}=f.values[0];F(A)},te=b(()=>e.open!==void 0?e.open:e.popupVisible),L=b(()=>e.dropdownClassName||e.popupClassName),h=b(()=>e.dropdownStyle||e.popupStyle||{}),I=b(()=>e.placement||e.popupPlacement),s=u=>{var f,A;(f=e.onDropdownVisibleChange)===null||f===void 0||f.call(e,u),(A=e.onPopupVisibleChange)===null||A===void 0||A.call(e,u)},{changeOnSelect:S,checkable:m,dropdownPrefixCls:V,loadData:N,expandTrigger:j,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le}=Ue(e);Pt({options:o,fieldNames:c,values:P,halfValues:_,changeOnSelect:S,onSelect:F,checkable:m,searchOptions:x,dropdownPrefixCls:V,loadData:N,expandTrigger:j,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le});const B=q();a({focus(){var u;(u=B.value)===null||u===void 0||u.focus()},blur(){var u;(u=B.value)===null||u===void 0||u.blur()},scrollTo(u){var f;(f=B.value)===null||f===void 0||f.scrollTo(u)}});const G=b(()=>ye(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const u=!(y.value?x.value:o.value).length,{dropdownMatchSelectWidth:f=!1}=e,A=y.value&&p.value.matchInputWidth||u?{}:{minWidth:"auto"};return E(qe,J(J(J({},G.value),t),{},{ref:B,id:i,prefixCls:e.prefixCls,dropdownMatchSelectWidth:f,dropdownStyle:k(k({},h.value),A),displayValues:U.value,onDisplayValuesChange:W,mode:r.value?"multiple":void 0,searchValue:y.value,onSearch:g,showSearch:w.value,OptionList:_t,emptyOptions:u,open:te.value,dropdownClassName:L.value,placement:I.value,onDropdownVisibleChange:s,getRawInputElement:()=>{var K;return(K=l.default)===null||K===void 0?void 0:K.call(l)}}),l)}}}),Et=e=>{const{prefixCls:n,componentCls:t,antCls:a}=e,l=`${t}-menu-item`,i=` +import{f as b,bW as Ne,S as k,Q as ke,e as q,aK as ve,az as Me,aE as Fe,V as We,B as je,bR as be,cg as He,g as _e,b7 as Y,b as E,d as Se,W as Be,ak as J,ap as Ae,bY as ze,bA as de,aW as Ie,bZ as Xe,K as Ue,c0 as qe,bX as me,aj as ye,as as Ge,au as Ce,c1 as Ye,ac as Qe,c3 as Ze,an as Je,b9 as et,ae as tt,bi as nt,bj as lt,ah as at,bk as ot,bl as st,c5 as it,bu as ct,bt as rt,dy as ut,c6 as dt,bm as vt,dz as Oe,c8 as pt,bq as ht,ai as ft}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="39b01365-eeed-433e-a326-0278e4b249b4",e._sentryDebugIdIdentifier="sentry-dbid-39b01365-eeed-433e-a326-0278e4b249b4")}catch{}})();const we="__RC_CASCADER_SPLIT__",De="SHOW_PARENT",$e="SHOW_CHILD";function ee(e){return e.join(we)}function oe(e){return e.map(ee)}function gt(e){return e.split(we)}function mt(e){const{label:n,value:t,children:a}=e||{},l=t||"value";return{label:n||"label",value:l,key:l,children:a||"children"}}function ie(e,n){var t,a;return(t=e.isLeaf)!==null&&t!==void 0?t:!(!((a=e[n.children])===null||a===void 0)&&a.length)}function Ct(e){const n=e.parentElement;if(!n)return;const t=e.offsetTop-n.offsetTop;t-n.scrollTop<0?n.scrollTo({top:t}):t+e.offsetHeight-n.scrollTop>n.offsetHeight&&n.scrollTo({top:t+e.offsetHeight-n.offsetHeight})}const bt=(e,n)=>b(()=>Ne(e.value,{fieldNames:n.value,initWrapper:a=>k(k({},a),{pathKeyEntities:{}}),processEntity:(a,l)=>{const i=a.nodes.map(r=>r[n.value.value]).join(we);l.pathKeyEntities[i]=a,a.key=i}}).pathKeyEntities);function St(e){const n=ke(!1),t=q({});return ve(()=>{if(!e.value){n.value=!1,t.value={};return}let a={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(a=k(k({},a),e.value)),a.limit<=0&&delete a.limit,n.value=!0,t.value=a}),{showSearch:n,searchConfig:t}}const ce="__rc_cascader_search_mark__",yt=(e,n,t)=>{let{label:a}=t;return n.some(l=>String(l[a]).toLowerCase().includes(e.toLowerCase()))},wt=e=>{let{path:n,fieldNames:t}=e;return n.map(a=>a[t.label]).join(" / ")},xt=(e,n,t,a,l,i)=>b(()=>{const{filter:r=yt,render:d=wt,limit:v=50,sort:c}=l.value,o=[];if(!e.value)return[];function C(O,y){O.forEach($=>{if(!c&&v>0&&o.length>=v)return;const g=[...y,$],w=$[t.value.children];(!w||w.length===0||i.value)&&r(e.value,g,{label:t.value.label})&&o.push(k(k({},$),{[t.value.label]:d({inputValue:e.value,path:g,prefixCls:a.value,fieldNames:t.value}),[ce]:g})),w&&C($[t.value.children],g)})}return C(n.value,[]),c&&o.sort((O,y)=>c(O[ce],y[ce],e.value,t.value)),v>0?o.slice(0,v):o});function Pe(e,n,t){const a=new Set(e);return e.filter(l=>{const i=n[l],r=i?i.parent:null,d=i?i.children:null;return t===$e?!(d&&d.some(v=>v.key&&a.has(v.key))):!(r&&!r.node.disabled&&a.has(r.key))})}function re(e,n,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var l;let i=n;const r=[];for(let d=0;d{const O=C[t.value];return a?String(O)===String(v):O===v}),o=c!==-1?i==null?void 0:i[c]:null;r.push({value:(l=o==null?void 0:o[t.value])!==null&&l!==void 0?l:v,index:c,option:o}),i=o==null?void 0:o[t.children]}return r}const It=(e,n,t)=>b(()=>{const a=[],l=[];return t.value.forEach(i=>{re(i,e.value,n.value).every(d=>d.option)?l.push(i):a.push(i)}),[l,a]}),Ot=(e,n,t,a,l)=>b(()=>{const i=l.value||(r=>{let{labels:d}=r;const v=a.value?d.slice(-1):d,c=" / ";return v.every(o=>["string","number"].includes(typeof o))?v.join(c):v.reduce((o,C,O)=>{const y=Me(C)?Fe(C,{key:O}):C;return O===0?[y]:[...o,c,y]},[])});return e.value.map(r=>{const d=re(r,n.value,t.value),v=i({labels:d.map(o=>{let{option:C,value:O}=o;var y;return(y=C==null?void 0:C[t.value.label])!==null&&y!==void 0?y:O}),selectedOptions:d.map(o=>{let{option:C}=o;return C})}),c=ee(r);return{label:v,value:c,key:c,valueCells:r}})}),Ee=Symbol("CascaderContextKey"),Pt=e=>{We(Ee,e)},pe=()=>je(Ee),Vt=()=>{const e=be(),{values:n}=pe(),[t,a]=He([]);return _e(()=>e.open,()=>{if(e.open&&!e.multiple){const l=n.value[0];a(l||[])}},{immediate:!0}),[t,a]},kt=(e,n,t,a,l,i)=>{const r=be(),d=b(()=>r.direction==="rtl"),[v,c,o]=[q([]),q(),q([])];ve(()=>{let g=-1,w=n.value;const p=[],x=[],D=a.value.length;for(let _=0;_T[t.value.value]===a.value[_]);if(R===-1)break;g=R,p.push(g),x.push(a.value[_]),w=w[g][t.value.children]}let P=n.value;for(let _=0;_{l(g)},O=g=>{const w=o.value.length;let p=c.value;p===-1&&g<0&&(p=w);for(let x=0;x{if(v.value.length>1){const g=v.value.slice(0,-1);C(g)}else r.toggleOpen(!1)},$=()=>{var g;const p=(((g=o.value[c.value])===null||g===void 0?void 0:g[t.value.children])||[]).find(x=>!x.disabled);if(p){const x=[...v.value,p[t.value.value]];C(x)}};e.expose({onKeydown:g=>{const{which:w}=g;switch(w){case Y.UP:case Y.DOWN:{let p=0;w===Y.UP?p=-1:w===Y.DOWN&&(p=1),p!==0&&O(p);break}case Y.LEFT:{d.value?$():y();break}case Y.RIGHT:{d.value?y():$();break}case Y.BACKSPACE:{r.searchValue||y();break}case Y.ENTER:{if(v.value.length){const p=o.value[c.value],x=(p==null?void 0:p[ce])||[];x.length?i(x.map(D=>D[t.value.value]),x[x.length-1]):i(v.value,p)}break}case Y.ESC:r.toggleOpen(!1),open&&g.stopPropagation()}},onKeyup:()=>{}})};function he(e){let{prefixCls:n,checked:t,halfChecked:a,disabled:l,onClick:i}=e;const{customSlots:r,checkable:d}=pe(),v=d.value!==!1?r.value.checkable:d.value,c=typeof v=="function"?v():typeof v=="boolean"?null:v;return E("span",{class:{[n]:!0,[`${n}-checked`]:t,[`${n}-indeterminate`]:!t&&a,[`${n}-disabled`]:l},onClick:i},[c])}he.props=["prefixCls","checked","halfChecked","disabled","onClick"];he.displayName="Checkbox";he.inheritAttrs=!1;const Te="__cascader_fix_label__";function fe(e){let{prefixCls:n,multiple:t,options:a,activeValue:l,prevValuePath:i,onToggleOpen:r,onSelect:d,onActive:v,checkedSet:c,halfCheckedSet:o,loadingKeys:C,isSelectable:O}=e;var y,$,g,w,p,x;const D=`${n}-menu`,P=`${n}-menu-item`,{fieldNames:_,changeOnSelect:R,expandTrigger:T,expandIcon:X,loadingIcon:Q,dropdownMenuColumnStyle:U,customSlots:M}=pe(),F=(y=X.value)!==null&&y!==void 0?y:(g=($=M.value).expandIcon)===null||g===void 0?void 0:g.call($),W=(w=Q.value)!==null&&w!==void 0?w:(x=(p=M.value).loadingIcon)===null||x===void 0?void 0:x.call(p),te=T.value==="hover";return E("ul",{class:D,role:"menu"},[a.map(L=>{var h;const{disabled:I}=L,s=L[ce],S=(h=L[Te])!==null&&h!==void 0?h:L[_.value.label],m=L[_.value.value],V=ie(L,_.value),N=s?s.map(u=>u[_.value.value]):[...i,m],j=ee(N),H=C.includes(j),Z=c.has(j),ne=o.has(j),le=()=>{!I&&(!te||!V)&&v(N)},B=()=>{O(L)&&d(N,V)};let G;return typeof L.title=="string"?G=L.title:typeof S=="string"&&(G=S),E("li",{key:j,class:[P,{[`${P}-expand`]:!V,[`${P}-active`]:l===m,[`${P}-disabled`]:I,[`${P}-loading`]:H}],style:U.value,role:"menuitemcheckbox",title:G,"aria-checked":Z,"data-path-key":j,onClick:()=>{le(),(!t||V)&&B()},onDblclick:()=>{R.value&&r(!1)},onMouseenter:()=>{te&&le()},onMousedown:u=>{u.preventDefault()}},[t&&E(he,{prefixCls:`${n}-checkbox`,checked:Z,halfChecked:ne,disabled:I,onClick:u=>{u.stopPropagation(),B()}},null),E("div",{class:`${P}-content`},[S]),!H&&F&&!V&&E("div",{class:`${P}-expand-icon`},[F]),H&&W&&E("div",{class:`${P}-loading-icon`},[W])])})])}fe.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];fe.displayName="Column";fe.inheritAttrs=!1;const _t=Se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,n){const{attrs:t,slots:a}=n,l=be(),i=q(),r=b(()=>l.direction==="rtl"),{options:d,values:v,halfValues:c,fieldNames:o,changeOnSelect:C,onSelect:O,searchOptions:y,dropdownPrefixCls:$,loadData:g,expandTrigger:w,customSlots:p}=pe(),x=b(()=>$.value||l.prefixCls),D=ke([]),P=h=>{if(!g.value||l.searchValue)return;const s=re(h,d.value,o.value).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];if(S&&!ie(S,o.value)){const m=ee(h);D.value=[...D.value,m],g.value(s)}};ve(()=>{D.value.length&&D.value.forEach(h=>{const I=gt(h),s=re(I,d.value,o.value,!0).map(m=>{let{option:V}=m;return V}),S=s[s.length-1];(!S||S[o.value.children]||ie(S,o.value))&&(D.value=D.value.filter(m=>m!==h))})});const _=b(()=>new Set(oe(v.value))),R=b(()=>new Set(oe(c.value))),[T,X]=Vt(),Q=h=>{X(h),P(h)},U=h=>{const{disabled:I}=h,s=ie(h,o.value);return!I&&(s||C.value||l.multiple)},M=function(h,I){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;O(h),!l.multiple&&(I||C.value&&(w.value==="hover"||s))&&l.toggleOpen(!1)},F=b(()=>l.searchValue?y.value:d.value),W=b(()=>{const h=[{options:F.value}];let I=F.value;for(let s=0;sN[o.value.value]===S),V=m==null?void 0:m[o.value.children];if(!(V!=null&&V.length))break;I=V,h.push({options:V})}return h});kt(n,F,o,T,Q,(h,I)=>{U(I)&&M(h,ie(I,o.value),!0)});const L=h=>{h.preventDefault()};return Be(()=>{_e(T,h=>{var I;for(let s=0;s{var h,I,s,S,m;const{notFoundContent:V=((h=a.notFoundContent)===null||h===void 0?void 0:h.call(a))||((s=(I=p.value).notFoundContent)===null||s===void 0?void 0:s.call(I)),multiple:N,toggleOpen:j}=l,H=!(!((m=(S=W.value[0])===null||S===void 0?void 0:S.options)===null||m===void 0)&&m.length),Z=[{[o.value.value]:"__EMPTY__",[Te]:V,disabled:!0}],ne=k(k({},t),{multiple:!H&&N,onSelect:M,onActive:Q,onToggleOpen:j,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:Z}]:W.value).map((G,u)=>{const f=T.value.slice(0,u),A=T.value[u];return E(fe,J(J({key:u},ne),{},{prefixCls:x.value,options:G.options,prevValuePath:f,activeValue:A}),null)});return E("div",{class:[`${x.value}-menus`,{[`${x.value}-menu-empty`]:H,[`${x.value}-rtl`]:r.value}],onMousedown:L,ref:i},[B])}}});function At(){return k(k({},ye(Ye(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Ge(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:De},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:Ce.any,loadingIcon:Ce.any})}function Re(){return k(k({},At()),{onChange:Function,customSlots:Object})}function Dt(e){return Array.isArray(e)&&Array.isArray(e[0])}function Ve(e){return e?Dt(e)?e:(e.length===0?[]:[e]).map(n=>Array.isArray(n)?n:[n]):[]}const $t=Se({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:Ae(Re(),{}),setup(e,n){let{attrs:t,expose:a,slots:l}=n;const i=ze(de(e,"id")),r=b(()=>!!e.checkable),[d,v]=Ie(e.defaultValue,{value:b(()=>e.value),postState:Ve}),c=b(()=>mt(e.fieldNames)),o=b(()=>e.options||[]),C=bt(o,c),O=u=>{const f=C.value;return u.map(A=>{const{nodes:K}=f[A];return K.map(z=>z[c.value.value])})},[y,$]=Ie("",{value:b(()=>e.searchValue),postState:u=>u||""}),g=(u,f)=>{$(u),f.source!=="blur"&&e.onSearch&&e.onSearch(u)},{showSearch:w,searchConfig:p}=St(de(e,"showSearch")),x=xt(y,o,c,b(()=>e.dropdownPrefixCls||e.prefixCls),p,de(e,"changeOnSelect")),D=It(o,c,d),[P,_,R]=[q([]),q([]),q([])],{maxLevel:T,levelEntities:X}=Xe(C);ve(()=>{const[u,f]=D.value;if(!r.value||!d.value.length){[P.value,_.value,R.value]=[u,[],f];return}const A=oe(u),K=C.value,{checkedKeys:z,halfCheckedKeys:se}=me(A,!0,K,T.value,X.value);[P.value,_.value,R.value]=[O(z),O(se),f]});const Q=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Q,o,c,r,de(e,"displayRender")),M=u=>{if(v(u),e.onChange){const f=Ve(u),A=f.map(se=>re(se,o.value,c.value).map(ue=>ue.option)),K=r.value?f:f[0],z=r.value?A:A[0];e.onChange(K,z)}},F=u=>{if($(""),!r.value)M(u);else{const f=ee(u),A=oe(P.value),K=oe(_.value),z=A.includes(f),se=R.value.some(ae=>ee(ae)===f);let ue=P.value,xe=R.value;if(se&&!z)xe=R.value.filter(ae=>ee(ae)!==f);else{const ae=z?A.filter(Ke=>Ke!==f):[...A,f];let ge;z?{checkedKeys:ge}=me(ae,{checked:!1,halfCheckedKeys:K},C.value,T.value,X.value):{checkedKeys:ge}=me(ae,!0,C.value,T.value,X.value);const Le=Pe(ge,C.value,e.showCheckedStrategy);ue=O(Le)}M([...xe,...ue])}},W=(u,f)=>{if(f.type==="clear"){M([]);return}const{valueCells:A}=f.values[0];F(A)},te=b(()=>e.open!==void 0?e.open:e.popupVisible),L=b(()=>e.dropdownClassName||e.popupClassName),h=b(()=>e.dropdownStyle||e.popupStyle||{}),I=b(()=>e.placement||e.popupPlacement),s=u=>{var f,A;(f=e.onDropdownVisibleChange)===null||f===void 0||f.call(e,u),(A=e.onPopupVisibleChange)===null||A===void 0||A.call(e,u)},{changeOnSelect:S,checkable:m,dropdownPrefixCls:V,loadData:N,expandTrigger:j,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le}=Ue(e);Pt({options:o,fieldNames:c,values:P,halfValues:_,changeOnSelect:S,onSelect:F,checkable:m,searchOptions:x,dropdownPrefixCls:V,loadData:N,expandTrigger:j,expandIcon:H,loadingIcon:Z,dropdownMenuColumnStyle:ne,customSlots:le});const B=q();a({focus(){var u;(u=B.value)===null||u===void 0||u.focus()},blur(){var u;(u=B.value)===null||u===void 0||u.blur()},scrollTo(u){var f;(f=B.value)===null||f===void 0||f.scrollTo(u)}});const G=b(()=>ye(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const u=!(y.value?x.value:o.value).length,{dropdownMatchSelectWidth:f=!1}=e,A=y.value&&p.value.matchInputWidth||u?{}:{minWidth:"auto"};return E(qe,J(J(J({},G.value),t),{},{ref:B,id:i,prefixCls:e.prefixCls,dropdownMatchSelectWidth:f,dropdownStyle:k(k({},h.value),A),displayValues:U.value,onDisplayValuesChange:W,mode:r.value?"multiple":void 0,searchValue:y.value,onSearch:g,showSearch:w.value,OptionList:_t,emptyOptions:u,open:te.value,dropdownClassName:L.value,placement:I.value,onDropdownVisibleChange:s,getRawInputElement:()=>{var K;return(K=l.default)===null||K===void 0?void 0:K.call(l)}}),l)}}}),Et=e=>{const{prefixCls:n,componentCls:t,antCls:a}=e,l=`${t}-menu-item`,i=` &${l}-expand ${l}-expand-icon, ${l}-loading-icon `,r=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[Ze(`${n}-checkbox`,e),{[`&${a}-select-dropdown`]:{padding:0}},{[t]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${t}-menu-empty`]:{[`${t}-menu`]:{width:"100%",height:"auto",[l]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":k(k({},Je),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${r}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[i]:{color:e.colorTextDisabled}},[`&-active:not(${l}-disabled)`]:{["&, &:hover"]:{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[i]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},et(e)]},Tt=Qe("Cascader",e=>[Et(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var Rt=globalThis&&globalThis.__rest||function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(e);lv===0?[d]:[...r,n,d],[]),l=[];let i=0;return a.forEach((r,d)=>{const v=i+r.length;let c=e.slice(i,v);i=v,d%2===1&&(c=E("span",{class:`${t}-menu-item-keyword`,key:"seperator"},[c])),l.push(c)}),l}const Kt=e=>{let{inputValue:n,path:t,prefixCls:a,fieldNames:l}=e;const i=[],r=n.toLowerCase();return t.forEach((d,v)=>{v!==0&&i.push(" / ");let c=d[l.label];const o=typeof c;(o==="string"||o==="number")&&(c=Lt(String(c),r,a)),i.push(c)}),i};function Nt(){return k(k({},ye(Re(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:Ce.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const Mt=Se({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:Ae(Nt(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,n){let{attrs:t,expose:a,slots:l,emit:i}=n;const r=nt(),d=lt.useInject(),v=b(()=>ht(d.status,e.status)),{prefixCls:c,rootPrefixCls:o,getPrefixCls:C,direction:O,getPopupContainer:y,renderEmpty:$,size:g,disabled:w}=at("cascader",e),p=b(()=>C("select",e.prefixCls)),{compactSize:x,compactItemClassnames:D}=ot(p,O),P=b(()=>x.value||g.value),_=st(),R=b(()=>{var s;return(s=w.value)!==null&&s!==void 0?s:_.value}),[T,X]=it(p),[Q]=Tt(c),U=b(()=>O.value==="rtl"),M=b(()=>{if(!e.showSearch)return e.showSearch;let s={render:Kt};return typeof e.showSearch=="object"&&(s=k(k({},s),e.showSearch)),s}),F=b(()=>ft(e.popupClassName||e.dropdownClassName,`${c.value}-dropdown`,{[`${c.value}-dropdown-rtl`]:U.value},X.value)),W=q();a({focus(){var s;(s=W.value)===null||s===void 0||s.focus()},blur(){var s;(s=W.value)===null||s===void 0||s.blur()}});const te=function(){for(var s=arguments.length,S=new Array(s),m=0;me.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),I=b(()=>e.placement!==void 0?e.placement:O.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var s,S;const{notFoundContent:m=(s=l.notFoundContent)===null||s===void 0?void 0:s.call(l),expandIcon:V=(S=l.expandIcon)===null||S===void 0?void 0:S.call(l),multiple:N,bordered:j,allowClear:H,choiceTransitionName:Z,transitionName:ne,id:le=r.id.value}=e,B=Rt(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),G=m||$("Cascader");let u=V;V||(u=U.value?E(ct,null,null):E(rt,null,null));const f=E("span",{class:`${p.value}-menu-item-loading-icon`},[E(ut,{spin:!0},null)]),{suffixIcon:A,removeIcon:K,clearIcon:z}=dt(k(k({},e),{hasFeedback:d.hasFeedback,feedbackIcon:d.feedbackIcon,multiple:N,prefixCls:p.value,showArrow:h.value}),l);return Q(T(E($t,J(J(J({},B),t),{},{id:le,prefixCls:p.value,class:[c.value,{[`${p.value}-lg`]:P.value==="large",[`${p.value}-sm`]:P.value==="small",[`${p.value}-rtl`]:U.value,[`${p.value}-borderless`]:!j,[`${p.value}-in-form-item`]:d.isFormItemInput},vt(p.value,v.value,d.hasFeedback),D.value,t.class,X.value],disabled:R.value,direction:O.value,placement:I.value,notFoundContent:G,allowClear:H,showSearch:M.value,expandIcon:u,inputIcon:A,removeIcon:K,clearIcon:z,loadingIcon:f,checkable:!!N,dropdownClassName:F.value,dropdownPrefixCls:c.value,choiceTransitionName:Oe(o.value,"",Z),transitionName:Oe(o.value,pt(I.value),ne),getPopupContainer:y==null?void 0:y.value,customSlots:k(k({},l),{checkable:()=>E("span",{class:`${c.value}-checkbox-inner`},null)}),tagRender:e.tagRender||l.tagRender,displayRender:e.displayRender||l.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||l.maxTagPlaceholder,showArrow:d.hasFeedback||e.showArrow,onChange:te,onBlur:L,ref:W}),l)))}}}),Wt=tt(k(Mt,{SHOW_CHILD:$e,SHOW_PARENT:De}));export{Wt as A}; -//# sourceMappingURL=index.00d46a24.js.map +//# sourceMappingURL=index.b0999c8c.js.map diff --git a/abstra_statics/dist/assets/index.e3c8c96c.js b/abstra_statics/dist/assets/index.e3c8c96c.js new file mode 100644 index 0000000000..5471496b52 --- /dev/null +++ b/abstra_statics/dist/assets/index.e3c8c96c.js @@ -0,0 +1,2 @@ +import{B as n,R as t}from"./Badge.9808092c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="14fda978-d07e-4833-8304-df3790d13d80",e._sentryDebugIdIdentifier="sentry-dbid-14fda978-d07e-4833-8304-df3790d13d80")}catch{}})();n.install=function(e){return e.component(n.name,n),e.component(t.name,t),e}; +//# sourceMappingURL=index.e3c8c96c.js.map diff --git a/abstra_statics/dist/assets/index.8f5819bb.js b/abstra_statics/dist/assets/index.ea51f4a9.js similarity index 79% rename from abstra_statics/dist/assets/index.8f5819bb.js rename to abstra_statics/dist/assets/index.ea51f4a9.js index e34b4fda25..29af586934 100644 --- a/abstra_statics/dist/assets/index.8f5819bb.js +++ b/abstra_statics/dist/assets/index.ea51f4a9.js @@ -1,2 +1,2 @@ -import{u as w,A as r,a as A}from"./Avatar.dcb46dd7.js";import{d as I,ah as $,f as k,aK as D,bQ as E,aC as G,aE as _,b as l,cK as j,ak as c}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3ff5e7a2-2114-4fcf-b06b-80ac61cfc2b9",e._sentryDebugIdIdentifier="sentry-dbid-3ff5e7a2-2114-4fcf-b06b-80ac61cfc2b9")}catch{}})();const N=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),O=I({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:N(),setup(e,n){let{slots:m,attrs:t}=n;const{prefixCls:y,direction:h}=$("avatar",e),i=k(()=>`${y.value}-group`),[v,b]=w(y);return D(()=>{const u={size:e.size,shape:e.shape};A(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:a,maxStyle:x,maxPopoverTrigger:C="hover",shape:S}=e,g={[i.value]:!0,[`${i.value}-rtl`]:h.value==="rtl",[`${t.class}`]:!!t.class,[b.value]:!0},P=E(m,e),s=G(P).map((o,d)=>_(o,{key:`avatar-key-${d}`})),f=s.length;if(a&&a[l(r,{style:x,shape:S},{default:()=>[`+${f-a}`]})]})),v(l("div",c(c({},t),{},{class:g,style:t.style}),[o]))}return v(l("div",c(c({},t),{},{class:g,style:t.style}),[s]))}}}),p=O;r.Group=p;r.install=function(e){return e.component(r.name,r),e.component(p.name,p),e};export{p as G}; -//# sourceMappingURL=index.8f5819bb.js.map +import{u as w,A as r,a as A}from"./Avatar.4c029798.js";import{d as I,ah as $,f as k,aK as D,bQ as E,aC as G,aE as _,b as l,cK as j,ak as c}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9b7b2ff0-efe6-4699-8177-f1a813f5f50a",e._sentryDebugIdIdentifier="sentry-dbid-9b7b2ff0-efe6-4699-8177-f1a813f5f50a")}catch{}})();const N=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),O=I({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:N(),setup(e,n){let{slots:m,attrs:t}=n;const{prefixCls:y,direction:h}=$("avatar",e),i=k(()=>`${y.value}-group`),[v,b]=w(y);return D(()=>{const u={size:e.size,shape:e.shape};A(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:a,maxStyle:x,maxPopoverTrigger:C="hover",shape:S}=e,g={[i.value]:!0,[`${i.value}-rtl`]:h.value==="rtl",[`${t.class}`]:!!t.class,[b.value]:!0},P=E(m,e),s=G(P).map((o,d)=>_(o,{key:`avatar-key-${d}`})),f=s.length;if(a&&a[l(r,{style:x,shape:S},{default:()=>[`+${f-a}`]})]})),v(l("div",c(c({},t),{},{class:g,style:t.style}),[o]))}return v(l("div",c(c({},t),{},{class:g,style:t.style}),[s]))}}}),p=O;r.Group=p;r.install=function(e){return e.component(r.name,r),e.component(p.name,p),e};export{p as G}; +//# sourceMappingURL=index.ea51f4a9.js.map diff --git a/abstra_statics/dist/assets/index.fa9b4e97.js b/abstra_statics/dist/assets/index.fe1d28be.js similarity index 86% rename from abstra_statics/dist/assets/index.fa9b4e97.js rename to abstra_statics/dist/assets/index.fe1d28be.js index 11e3f4b83b..f21d26f5ab 100644 --- a/abstra_statics/dist/assets/index.fa9b4e97.js +++ b/abstra_statics/dist/assets/index.fe1d28be.js @@ -1,2 +1,2 @@ -import{S as B,au as d,as as j,at as Se,aN as ke,d as Q,Q as O,W as ue,J as W,g as E,ag as fe,ai as G,b as u,aY as ne,aZ as oe,a_ as ae,ak as D,aj as pe,b7 as $e,ap as me,e as xe,ch as Oe,ac as De,ad as Pe,ae as _e,f as I,B as Ne,ah as Ie,c4 as Te,V as Me,bo as je,bQ as K,aX as le,dz as re,a$ as Be}from"./vue-router.33f35a18.js";import{i as ie}from"./Badge.71fee936.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="da15191f-6652-4d38-8b0e-4d8b87ee236d",e._sentryDebugIdIdentifier="sentry-dbid-da15191f-6652-4d38-8b0e-4d8b87ee236d")}catch{}})();const ye=()=>({prefixCls:String,width:d.oneOfType([d.string,d.number]),height:d.oneOfType([d.string,d.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:j(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:Se(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:ke(),maskMotion:j()}),Ee=()=>B(B({},ye()),{forceRender:{type:Boolean,default:void 0},getContainer:d.oneOfType([d.string,d.func,d.object,d.looseBool])}),Ae=()=>B(B({},ye()),{getContainer:Function,getOpenCount:Function,scrollLocker:d.any,inline:Boolean});function ze(e){return Array.isArray(e)?e:[e]}const ve={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},Fe=Object.keys(ve).filter(e=>{if(typeof document>"u")return!1;const o=document.getElementsByTagName("html")[0];return e in(o?o.style:{})})[0];ve[Fe];const Ve=!(typeof window<"u"&&window.document&&window.document.createElement);var We=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{W(()=>{var a;const{open:s,getContainer:f,showMask:k,autofocus:y}=e,p=f==null?void 0:f();_(e),s&&(p&&(p.parentNode,document.body),W(()=>{y&&h()}),k&&((a=e.scrollLocker)===null||a===void 0||a.lock()))})}),E(()=>e.level,()=>{_(e)},{flush:"post"}),E(()=>e.open,()=>{const{open:a,getContainer:s,scrollLocker:f,showMask:k,autofocus:y}=e,p=s==null?void 0:s();p&&(p.parentNode,document.body),a?(y&&h(),k&&(f==null||f.lock())):f==null||f.unLock()},{flush:"post"}),fe(()=>{var a;const{open:s}=e;s&&(document.body.style.touchAction=""),(a=e.scrollLocker)===null||a===void 0||a.unLock()}),E(()=>e.placement,a=>{a&&(w.value=null)});const h=()=>{var a,s;(s=(a=S.value)===null||a===void 0?void 0:a.focus)===null||s===void 0||s.call(a)},v=a=>{r("close",a)},g=a=>{a.keyCode===$e.ESC&&(a.stopPropagation(),v(a))},C=()=>{const{open:a,afterVisibleChange:s}=e;s&&s(!!a)},_=a=>{let{level:s,getContainer:f}=a;if(Ve)return;const k=f==null?void 0:f(),y=k?k.parentNode:null;m=[],s==="all"?(y?Array.prototype.slice.call(y.children):[]).forEach($=>{$.nodeName!=="SCRIPT"&&$.nodeName!=="STYLE"&&$.nodeName!=="LINK"&&$!==k&&m.push($)}):s&&ze(s).forEach(p=>{document.querySelectorAll(p).forEach($=>{m.push($)})})},T=a=>{r("handleClick",a)},N=O(!1);return E(S,()=>{W(()=>{N.value=!0})}),()=>{var a,s;const{width:f,height:k,open:y,prefixCls:p,placement:$,level:A,levelMove:z,ease:q,duration:J,getContainer:Z,onChange:ee,afterVisibleChange:te,showMask:F,maskClosable:L,maskStyle:H,keyboard:R,getOpenCount:n,scrollLocker:l,contentWrapperStyle:c,style:x,class:M,rootClassName:X,rootStyle:Y,maskMotion:he,motion:U,inline:ge}=e,be=We(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),V=y&&N.value,we=G(p,{[`${p}-${$}`]:!0,[`${p}-open`]:V,[`${p}-inline`]:ge,"no-mask":!F,[X]:!0}),Ce=typeof U=="function"?U($):U;return u("div",D(D({},pe(be,["autofocus"])),{},{tabindex:-1,class:we,style:Y,ref:S,onKeydown:V&&R?g:void 0}),[u(ne,he,{default:()=>[F&&oe(u("div",{class:`${p}-mask`,onClick:L?v:void 0,style:H,ref:P},null),[[ae,V]])]}),u(ne,D(D({},Ce),{},{onAfterEnter:C,onAfterLeave:C}),{default:()=>[oe(u("div",{class:`${p}-content-wrapper`,style:[c],ref:i},[u("div",{class:[`${p}-content`,M],style:x,ref:w},[(a=t.default)===null||a===void 0?void 0:a.call(t)]),t.handler?u("div",{onClick:T,ref:b},[(s=t.handler)===null||s===void 0?void 0:s.call(t)]):null]),[[ae,V]])]})])}}}),se=Le;var de=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,o){let{emit:r,slots:t}=o;const i=xe(null),S=b=>{r("handleClick",b)},P=b=>{r("close",b)};return()=>{const{getContainer:b,wrapperClassName:w,rootClassName:m,rootStyle:h,forceRender:v}=e,g=de(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let C=null;if(!b)return u(se,D(D({},g),{},{rootClassName:m,rootStyle:h,open:e.open,onClose:P,onHandleClick:S,inline:!0}),t);const _=!!t.handler||v;return(_||e.open||i.value)&&(C=u(Oe,{autoLock:!0,visible:e.open,forceRender:_,getContainer:b,wrapperClassName:w},{default:T=>{var{visible:N,afterClose:a}=T,s=de(T,["visible","afterClose"]);return u(se,D(D(D({ref:i},g),s),{},{rootClassName:m,rootStyle:h,open:N!==void 0?N:e.open,afterVisibleChange:a!==void 0?a:e.afterVisibleChange,onClose:P,onHandleClick:S}),t)}})),C}}}),Re=He,Xe=e=>{const{componentCls:o,motionDurationSlow:r}=e,t={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${r}`}}};return{[o]:{[`${o}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${r}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${o}-panel-motion`]:{"&-left":[t,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[t,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[t,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[t,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},Ye=Xe,Ue=e=>{const{componentCls:o,zIndexPopup:r,colorBgMask:t,colorBgElevated:i,motionDurationSlow:S,motionDurationMid:P,padding:b,paddingLG:w,fontSizeLG:m,lineHeightLG:h,lineWidth:v,lineType:g,colorSplit:C,marginSM:_,colorIcon:T,colorIconHover:N,colorText:a,fontWeightStrong:s,drawerFooterPaddingVertical:f,drawerFooterPaddingHorizontal:k}=e,y=`${o}-content-wrapper`;return{[o]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${o}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${o}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${o}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${o}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${o}-mask`]:{position:"absolute",inset:0,zIndex:r,background:t,pointerEvents:"auto"},[y]:{position:"absolute",zIndex:r,transition:`all ${S}`,"&-hidden":{display:"none"}},[`&-left > ${y}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${y}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${y}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${y}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${o}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${o}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${o}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${b}px ${w}px`,fontSize:m,lineHeight:h,borderBottom:`${v}px ${g} ${C}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${o}-extra`]:{flex:"none"},[`${o}-close`]:{display:"inline-block",marginInlineEnd:_,color:T,fontWeight:s,fontSize:m,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${P}`,textRendering:"auto","&:focus, &:hover":{color:N,textDecoration:"none"}},[`${o}-title`]:{flex:1,margin:0,color:a,fontWeight:e.fontWeightStrong,fontSize:m,lineHeight:h},[`${o}-body`]:{flex:1,minWidth:0,minHeight:0,padding:w,overflow:"auto"},[`${o}-footer`]:{flexShrink:0,padding:`${f}px ${k}px`,borderTop:`${v}px ${g} ${C}`},"&-rtl":{direction:"rtl"}}}},Ke=De("Drawer",e=>{const o=Pe(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[Ue(o),Ye(o)]},e=>({zIndexPopup:e.zIndexPopupBase}));var Ge=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:d.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:j(),rootClassName:String,rootStyle:j(),size:{type:String},drawerStyle:j(),headerStyle:j(),bodyStyle:j(),contentWrapperStyle:{type:Object,default:void 0},title:d.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:d.oneOfType([d.string,d.number]),height:d.oneOfType([d.string,d.number]),zIndex:Number,prefixCls:String,push:d.oneOfType([d.looseBool,{type:Object}]),placement:d.oneOf(Qe),keyboard:{type:Boolean,default:void 0},extra:d.any,footer:d.any,footerStyle:j(),level:d.any,levelMove:{type:[Number,Array,Function]},handle:d.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),Je=Q({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:me(qe(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ce}),slots:Object,setup(e,o){let{emit:r,slots:t,attrs:i}=o;const S=O(!1),P=O(!1),b=O(null),w=O(!1),m=O(!1),h=I(()=>{var n;return(n=e.open)!==null&&n!==void 0?n:e.visible});E(h,()=>{h.value?w.value=!0:m.value=!1},{immediate:!0}),E([h,w],()=>{h.value&&w.value&&(m.value=!0)},{immediate:!0});const v=Ne("parentDrawerOpts",null),{prefixCls:g,getPopupContainer:C,direction:_}=Ie("drawer",e),[T,N]=Ke(g),a=I(()=>e.getContainer===void 0&&(C==null?void 0:C.value)?()=>C.value(document.body):e.getContainer);Te(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),Me("parentDrawerOpts",{setPush:()=>{S.value=!0},setPull:()=>{S.value=!1,W(()=>{k()})}}),ue(()=>{h.value&&v&&v.setPush()}),fe(()=>{v&&v.setPull()}),E(m,()=>{v&&(m.value?v.setPush():v.setPull())},{flush:"post"});const k=()=>{var n,l;(l=(n=b.value)===null||n===void 0?void 0:n.domFocus)===null||l===void 0||l.call(n)},y=n=>{r("update:visible",!1),r("update:open",!1),r("close",n)},p=n=>{var l;n||(P.value===!1&&(P.value=!0),e.destroyOnClose&&(w.value=!1)),(l=e.afterVisibleChange)===null||l===void 0||l.call(e,n),r("afterVisibleChange",n),r("afterOpenChange",n)},$=I(()=>{const{push:n,placement:l}=e;let c;return typeof n=="boolean"?c=n?ce.distance:0:c=n.distance,c=parseFloat(String(c||0)),l==="left"||l==="right"?`translateX(${l==="left"?c:-c}px)`:l==="top"||l==="bottom"?`translateY(${l==="top"?c:-c}px)`:null}),A=I(()=>{var n;return(n=e.width)!==null&&n!==void 0?n:e.size==="large"?736:378}),z=I(()=>{var n;return(n=e.height)!==null&&n!==void 0?n:e.size==="large"?736:378}),q=I(()=>{const{mask:n,placement:l}=e;if(!m.value&&!n)return{};const c={};return l==="left"||l==="right"?c.width=ie(A.value)?`${A.value}px`:A.value:c.height=ie(z.value)?`${z.value}px`:z.value,c}),J=I(()=>{const{zIndex:n,contentWrapperStyle:l}=e,c=q.value;return[{zIndex:n,transform:S.value?$.value:void 0},B({},l),c]}),Z=n=>{const{closable:l,headerStyle:c}=e,x=K(t,e,"extra"),M=K(t,e,"title");return!M&&!l?null:u("div",{class:G(`${n}-header`,{[`${n}-header-close-only`]:l&&!M&&!x}),style:c},[u("div",{class:`${n}-header-title`},[ee(n),M&&u("div",{class:`${n}-title`},[M])]),x&&u("div",{class:`${n}-extra`},[x])])},ee=n=>{var l;const{closable:c}=e,x=t.closeIcon?(l=t.closeIcon)===null||l===void 0?void 0:l.call(t):e.closeIcon;return c&&u("button",{key:"closer",onClick:y,"aria-label":"Close",class:`${n}-close`},[x===void 0?u(Be,null,null):x])},te=n=>{var l;if(P.value&&!e.forceRender&&!w.value)return null;const{bodyStyle:c,drawerStyle:x}=e;return u("div",{class:`${n}-wrapper-body`,style:x},[Z(n),u("div",{key:"body",class:`${n}-body`,style:c},[(l=t.default)===null||l===void 0?void 0:l.call(t)]),F(n)])},F=n=>{const l=K(t,e,"footer");if(!l)return null;const c=`${n}-footer`;return u("div",{class:c,style:e.footerStyle},[l])},L=I(()=>G({"no-mask":!e.mask,[`${g.value}-rtl`]:_.value==="rtl"},e.rootClassName,N.value)),H=I(()=>le(re(g.value,"mask-motion"))),R=n=>le(re(g.value,`panel-motion-${n}`));return()=>{const{width:n,height:l,placement:c,mask:x,forceRender:M}=e,X=Ge(e,["width","height","placement","mask","forceRender"]),Y=B(B(B({},i),pe(X,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:M,onClose:y,afterVisibleChange:p,handler:!1,prefixCls:g.value,open:m.value,showMask:x,placement:c,ref:b});return T(u(je,null,{default:()=>[u(Re,D(D({},Y),{},{maskMotion:H.value,motion:R,width:A.value,height:z.value,getContainer:a.value,rootClassName:L.value,rootStyle:e.rootStyle,contentWrapperStyle:J.value}),{handler:e.handle?()=>e.handle:t.handle,default:()=>te(g.value)})]}))}}}),tt=_e(Je);export{tt as A}; -//# sourceMappingURL=index.fa9b4e97.js.map +import{S as B,au as d,as as j,at as Se,aN as ke,d as Q,Q as O,W as ue,J as W,g as E,ag as fe,ai as G,b as u,aY as ne,aZ as oe,a_ as ae,ak as D,aj as pe,b7 as $e,ap as me,e as xe,ch as Oe,ac as De,ad as Pe,ae as _e,f as I,B as Ne,ah as Ie,c4 as Te,V as Me,bo as je,bQ as K,aX as le,dz as re,a$ as Be}from"./vue-router.324eaed2.js";import{i as ie}from"./Badge.9808092c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="8b707c6f-b1c3-43da-b22d-67bbce376c4a",e._sentryDebugIdIdentifier="sentry-dbid-8b707c6f-b1c3-43da-b22d-67bbce376c4a")}catch{}})();const ye=()=>({prefixCls:String,width:d.oneOfType([d.string,d.number]),height:d.oneOfType([d.string,d.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:j(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:Se(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:ke(),maskMotion:j()}),Ee=()=>B(B({},ye()),{forceRender:{type:Boolean,default:void 0},getContainer:d.oneOfType([d.string,d.func,d.object,d.looseBool])}),Ae=()=>B(B({},ye()),{getContainer:Function,getOpenCount:Function,scrollLocker:d.any,inline:Boolean});function ze(e){return Array.isArray(e)?e:[e]}const ve={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},Fe=Object.keys(ve).filter(e=>{if(typeof document>"u")return!1;const o=document.getElementsByTagName("html")[0];return e in(o?o.style:{})})[0];ve[Fe];const Ve=!(typeof window<"u"&&window.document&&window.document.createElement);var We=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{W(()=>{var a;const{open:s,getContainer:f,showMask:k,autofocus:y}=e,p=f==null?void 0:f();_(e),s&&(p&&(p.parentNode,document.body),W(()=>{y&&h()}),k&&((a=e.scrollLocker)===null||a===void 0||a.lock()))})}),E(()=>e.level,()=>{_(e)},{flush:"post"}),E(()=>e.open,()=>{const{open:a,getContainer:s,scrollLocker:f,showMask:k,autofocus:y}=e,p=s==null?void 0:s();p&&(p.parentNode,document.body),a?(y&&h(),k&&(f==null||f.lock())):f==null||f.unLock()},{flush:"post"}),fe(()=>{var a;const{open:s}=e;s&&(document.body.style.touchAction=""),(a=e.scrollLocker)===null||a===void 0||a.unLock()}),E(()=>e.placement,a=>{a&&(w.value=null)});const h=()=>{var a,s;(s=(a=S.value)===null||a===void 0?void 0:a.focus)===null||s===void 0||s.call(a)},v=a=>{r("close",a)},b=a=>{a.keyCode===$e.ESC&&(a.stopPropagation(),v(a))},C=()=>{const{open:a,afterVisibleChange:s}=e;s&&s(!!a)},_=a=>{let{level:s,getContainer:f}=a;if(Ve)return;const k=f==null?void 0:f(),y=k?k.parentNode:null;m=[],s==="all"?(y?Array.prototype.slice.call(y.children):[]).forEach($=>{$.nodeName!=="SCRIPT"&&$.nodeName!=="STYLE"&&$.nodeName!=="LINK"&&$!==k&&m.push($)}):s&&ze(s).forEach(p=>{document.querySelectorAll(p).forEach($=>{m.push($)})})},T=a=>{r("handleClick",a)},N=O(!1);return E(S,()=>{W(()=>{N.value=!0})}),()=>{var a,s;const{width:f,height:k,open:y,prefixCls:p,placement:$,level:A,levelMove:z,ease:q,duration:J,getContainer:Z,onChange:ee,afterVisibleChange:te,showMask:F,maskClosable:L,maskStyle:H,keyboard:R,getOpenCount:n,scrollLocker:l,contentWrapperStyle:c,style:x,class:M,rootClassName:X,rootStyle:Y,maskMotion:he,motion:U,inline:be}=e,ge=We(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),V=y&&N.value,we=G(p,{[`${p}-${$}`]:!0,[`${p}-open`]:V,[`${p}-inline`]:be,"no-mask":!F,[X]:!0}),Ce=typeof U=="function"?U($):U;return u("div",D(D({},pe(ge,["autofocus"])),{},{tabindex:-1,class:we,style:Y,ref:S,onKeydown:V&&R?b:void 0}),[u(ne,he,{default:()=>[F&&oe(u("div",{class:`${p}-mask`,onClick:L?v:void 0,style:H,ref:P},null),[[ae,V]])]}),u(ne,D(D({},Ce),{},{onAfterEnter:C,onAfterLeave:C}),{default:()=>[oe(u("div",{class:`${p}-content-wrapper`,style:[c],ref:i},[u("div",{class:[`${p}-content`,M],style:x,ref:w},[(a=t.default)===null||a===void 0?void 0:a.call(t)]),t.handler?u("div",{onClick:T,ref:g},[(s=t.handler)===null||s===void 0?void 0:s.call(t)]):null]),[[ae,V]])]})])}}}),se=Le;var de=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,o){let{emit:r,slots:t}=o;const i=xe(null),S=g=>{r("handleClick",g)},P=g=>{r("close",g)};return()=>{const{getContainer:g,wrapperClassName:w,rootClassName:m,rootStyle:h,forceRender:v}=e,b=de(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let C=null;if(!g)return u(se,D(D({},b),{},{rootClassName:m,rootStyle:h,open:e.open,onClose:P,onHandleClick:S,inline:!0}),t);const _=!!t.handler||v;return(_||e.open||i.value)&&(C=u(Oe,{autoLock:!0,visible:e.open,forceRender:_,getContainer:g,wrapperClassName:w},{default:T=>{var{visible:N,afterClose:a}=T,s=de(T,["visible","afterClose"]);return u(se,D(D(D({ref:i},b),s),{},{rootClassName:m,rootStyle:h,open:N!==void 0?N:e.open,afterVisibleChange:a!==void 0?a:e.afterVisibleChange,onClose:P,onHandleClick:S}),t)}})),C}}}),Re=He,Xe=e=>{const{componentCls:o,motionDurationSlow:r}=e,t={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${r}`}}};return{[o]:{[`${o}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${r}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${o}-panel-motion`]:{"&-left":[t,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[t,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[t,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[t,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},Ye=Xe,Ue=e=>{const{componentCls:o,zIndexPopup:r,colorBgMask:t,colorBgElevated:i,motionDurationSlow:S,motionDurationMid:P,padding:g,paddingLG:w,fontSizeLG:m,lineHeightLG:h,lineWidth:v,lineType:b,colorSplit:C,marginSM:_,colorIcon:T,colorIconHover:N,colorText:a,fontWeightStrong:s,drawerFooterPaddingVertical:f,drawerFooterPaddingHorizontal:k}=e,y=`${o}-content-wrapper`;return{[o]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${o}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${o}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${o}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${o}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${o}-mask`]:{position:"absolute",inset:0,zIndex:r,background:t,pointerEvents:"auto"},[y]:{position:"absolute",zIndex:r,transition:`all ${S}`,"&-hidden":{display:"none"}},[`&-left > ${y}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${y}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${y}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${y}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${o}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${o}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${o}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${g}px ${w}px`,fontSize:m,lineHeight:h,borderBottom:`${v}px ${b} ${C}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${o}-extra`]:{flex:"none"},[`${o}-close`]:{display:"inline-block",marginInlineEnd:_,color:T,fontWeight:s,fontSize:m,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${P}`,textRendering:"auto","&:focus, &:hover":{color:N,textDecoration:"none"}},[`${o}-title`]:{flex:1,margin:0,color:a,fontWeight:e.fontWeightStrong,fontSize:m,lineHeight:h},[`${o}-body`]:{flex:1,minWidth:0,minHeight:0,padding:w,overflow:"auto"},[`${o}-footer`]:{flexShrink:0,padding:`${f}px ${k}px`,borderTop:`${v}px ${b} ${C}`},"&-rtl":{direction:"rtl"}}}},Ke=De("Drawer",e=>{const o=Pe(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[Ue(o),Ye(o)]},e=>({zIndexPopup:e.zIndexPopupBase}));var Ge=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:d.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:j(),rootClassName:String,rootStyle:j(),size:{type:String},drawerStyle:j(),headerStyle:j(),bodyStyle:j(),contentWrapperStyle:{type:Object,default:void 0},title:d.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:d.oneOfType([d.string,d.number]),height:d.oneOfType([d.string,d.number]),zIndex:Number,prefixCls:String,push:d.oneOfType([d.looseBool,{type:Object}]),placement:d.oneOf(Qe),keyboard:{type:Boolean,default:void 0},extra:d.any,footer:d.any,footerStyle:j(),level:d.any,levelMove:{type:[Number,Array,Function]},handle:d.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),Je=Q({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:me(qe(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ce}),slots:Object,setup(e,o){let{emit:r,slots:t,attrs:i}=o;const S=O(!1),P=O(!1),g=O(null),w=O(!1),m=O(!1),h=I(()=>{var n;return(n=e.open)!==null&&n!==void 0?n:e.visible});E(h,()=>{h.value?w.value=!0:m.value=!1},{immediate:!0}),E([h,w],()=>{h.value&&w.value&&(m.value=!0)},{immediate:!0});const v=Ne("parentDrawerOpts",null),{prefixCls:b,getPopupContainer:C,direction:_}=Ie("drawer",e),[T,N]=Ke(b),a=I(()=>e.getContainer===void 0&&(C==null?void 0:C.value)?()=>C.value(document.body):e.getContainer);Te(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),Me("parentDrawerOpts",{setPush:()=>{S.value=!0},setPull:()=>{S.value=!1,W(()=>{k()})}}),ue(()=>{h.value&&v&&v.setPush()}),fe(()=>{v&&v.setPull()}),E(m,()=>{v&&(m.value?v.setPush():v.setPull())},{flush:"post"});const k=()=>{var n,l;(l=(n=g.value)===null||n===void 0?void 0:n.domFocus)===null||l===void 0||l.call(n)},y=n=>{r("update:visible",!1),r("update:open",!1),r("close",n)},p=n=>{var l;n||(P.value===!1&&(P.value=!0),e.destroyOnClose&&(w.value=!1)),(l=e.afterVisibleChange)===null||l===void 0||l.call(e,n),r("afterVisibleChange",n),r("afterOpenChange",n)},$=I(()=>{const{push:n,placement:l}=e;let c;return typeof n=="boolean"?c=n?ce.distance:0:c=n.distance,c=parseFloat(String(c||0)),l==="left"||l==="right"?`translateX(${l==="left"?c:-c}px)`:l==="top"||l==="bottom"?`translateY(${l==="top"?c:-c}px)`:null}),A=I(()=>{var n;return(n=e.width)!==null&&n!==void 0?n:e.size==="large"?736:378}),z=I(()=>{var n;return(n=e.height)!==null&&n!==void 0?n:e.size==="large"?736:378}),q=I(()=>{const{mask:n,placement:l}=e;if(!m.value&&!n)return{};const c={};return l==="left"||l==="right"?c.width=ie(A.value)?`${A.value}px`:A.value:c.height=ie(z.value)?`${z.value}px`:z.value,c}),J=I(()=>{const{zIndex:n,contentWrapperStyle:l}=e,c=q.value;return[{zIndex:n,transform:S.value?$.value:void 0},B({},l),c]}),Z=n=>{const{closable:l,headerStyle:c}=e,x=K(t,e,"extra"),M=K(t,e,"title");return!M&&!l?null:u("div",{class:G(`${n}-header`,{[`${n}-header-close-only`]:l&&!M&&!x}),style:c},[u("div",{class:`${n}-header-title`},[ee(n),M&&u("div",{class:`${n}-title`},[M])]),x&&u("div",{class:`${n}-extra`},[x])])},ee=n=>{var l;const{closable:c}=e,x=t.closeIcon?(l=t.closeIcon)===null||l===void 0?void 0:l.call(t):e.closeIcon;return c&&u("button",{key:"closer",onClick:y,"aria-label":"Close",class:`${n}-close`},[x===void 0?u(Be,null,null):x])},te=n=>{var l;if(P.value&&!e.forceRender&&!w.value)return null;const{bodyStyle:c,drawerStyle:x}=e;return u("div",{class:`${n}-wrapper-body`,style:x},[Z(n),u("div",{key:"body",class:`${n}-body`,style:c},[(l=t.default)===null||l===void 0?void 0:l.call(t)]),F(n)])},F=n=>{const l=K(t,e,"footer");if(!l)return null;const c=`${n}-footer`;return u("div",{class:c,style:e.footerStyle},[l])},L=I(()=>G({"no-mask":!e.mask,[`${b.value}-rtl`]:_.value==="rtl"},e.rootClassName,N.value)),H=I(()=>le(re(b.value,"mask-motion"))),R=n=>le(re(b.value,`panel-motion-${n}`));return()=>{const{width:n,height:l,placement:c,mask:x,forceRender:M}=e,X=Ge(e,["width","height","placement","mask","forceRender"]),Y=B(B(B({},i),pe(X,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:M,onClose:y,afterVisibleChange:p,handler:!1,prefixCls:b.value,open:m.value,showMask:x,placement:c,ref:g});return T(u(je,null,{default:()=>[u(Re,D(D({},Y),{},{maskMotion:H.value,motion:R,width:A.value,height:z.value,getContainer:a.value,rootClassName:L.value,rootStyle:e.rootStyle,contentWrapperStyle:J.value}),{handler:e.handle?()=>e.handle:t.handle,default:()=>te(b.value)})]}))}}}),tt=_e(Je);export{tt as A}; +//# sourceMappingURL=index.fe1d28be.js.map diff --git a/abstra_statics/dist/assets/javascript.d17642d6.js b/abstra_statics/dist/assets/javascript.3f052047.js similarity index 64% rename from abstra_statics/dist/assets/javascript.d17642d6.js rename to abstra_statics/dist/assets/javascript.3f052047.js index 11b21a7878..cd574f039c 100644 --- a/abstra_statics/dist/assets/javascript.d17642d6.js +++ b/abstra_statics/dist/assets/javascript.3f052047.js @@ -1,7 +1,7 @@ -import{conf as i,language as e}from"./typescript.a997000e.js";import"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="b5885054-43e6-4ac4-8b7c-88f44da8e9be",t._sentryDebugIdIdentifier="sentry-dbid-b5885054-43e6-4ac4-8b7c-88f44da8e9be")}catch{}})();/*!----------------------------------------------------------------------------- +import{conf as i,language as e}from"./typescript.538140e2.js";import"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="a3162550-4e2b-49e5-9e76-0ad87539c367",t._sentryDebugIdIdentifier="sentry-dbid-a3162550-4e2b-49e5-9e76-0ad87539c367")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var d=i,c={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{d as conf,c as language}; -//# sourceMappingURL=javascript.d17642d6.js.map + *-----------------------------------------------------------------------------*/var d=i,l={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{d as conf,l as language}; +//# sourceMappingURL=javascript.3f052047.js.map diff --git a/abstra_statics/dist/assets/jsonMode.8bd5d843.js b/abstra_statics/dist/assets/jsonMode.36397bc1.js similarity index 99% rename from abstra_statics/dist/assets/jsonMode.8bd5d843.js rename to abstra_statics/dist/assets/jsonMode.36397bc1.js index b3f6dffa83..f0b95dc316 100644 --- a/abstra_statics/dist/assets/jsonMode.8bd5d843.js +++ b/abstra_statics/dist/assets/jsonMode.36397bc1.js @@ -1,4 +1,4 @@ -var Ge=Object.defineProperty;var Qe=(e,n,i)=>n in e?Ge(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var A=(e,n,i)=>(Qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ze}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a0a68176-1306-4bfc-be8d-fc96409815ed",e._sentryDebugIdIdentifier="sentry-dbid-a0a68176-1306-4bfc-be8d-fc96409815ed")}catch{}})();/*!----------------------------------------------------------------------------- +var Ge=Object.defineProperty;var Qe=(e,n,i)=>n in e?Ge(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var A=(e,n,i)=>(Qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ze}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="22dfc7c2-c764-47d6-b2fe-293f67fb4052",e._sentryDebugIdIdentifier="sentry-dbid-22dfc7c2-c764-47d6-b2fe-293f67fb4052")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license @@ -9,4 +9,4 @@ var Ge=Object.defineProperty;var Qe=(e,n,i)=>n in e?Ge(e,n,{enumerable:!0,config `+e.value+"\n```\n"}}function pt(e){if(!!e)return Array.isArray(e)?e.map(We):[We(e)]}var qt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),L(n))).then(t=>{if(!!t)return t.map(a=>({range:y(a.range),kind:_t(a.kind)}))})}};function _t(e){switch(e){case U.Read:return l.languages.DocumentHighlightKind.Read;case U.Write:return l.languages.DocumentHighlightKind.Write;case U.Text:return l.languages.DocumentHighlightKind.Text}return l.languages.DocumentHighlightKind.Text}var Xt=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),L(n))).then(t=>{if(!!t)return[qe(t)]})}};function qe(e){return{uri:l.Uri.parse(e.uri),range:y(e.range)}}var Jt=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),L(n))).then(a=>{if(!!a)return a.map(qe)})}},Yt=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),L(n),i)).then(a=>mt(a))}};function mt(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=l.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:y(t.range),text:t.newText}})}return{edits:n}}var kt=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(!!r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:wt(t.kind),range:y(t.location.range),selectionRange:y(t.location.range),tags:[]}))})}};function wt(e){let n=l.languages.SymbolKind;switch(e){case _.File:return n.Array;case _.Module:return n.Module;case _.Namespace:return n.Namespace;case _.Package:return n.Package;case _.Class:return n.Class;case _.Method:return n.Method;case _.Property:return n.Property;case _.Field:return n.Field;case _.Constructor:return n.Constructor;case _.Enum:return n.Enum;case _.Interface:return n.Interface;case _.Function:return n.Function;case _.Variable:return n.Variable;case _.Constant:return n.Constant;case _.String:return n.String;case _.Number:return n.Number;case _.Boolean:return n.Boolean;case _.Array:return n.Array}return n.Function}var $t=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(!!r)return{links:r.map(t=>({range:y(t.range),url:t.target}))}})}},bt=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Xe(n)).then(a=>{if(!(!a||a.length===0))return a.map(X)}))}},Ct=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Be(n),Xe(i)).then(s=>{if(!(!s||s.length===0))return s.map(X)}))}};function Xe(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var Et=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(!!r)return r.map(t=>({color:t.color,range:y(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Be(n.range))).then(t=>{if(!!t)return t.map(a=>{let s={label:a.label};return a.textEdit&&(s.textEdit=X(a.textEdit)),a.additionalTextEdits&&(s.additionalTextEdits=a.additionalTextEdits.map(X)),s})})}},At=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(!!t)return t.map(a=>{const s={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(s.kind=yt(a.kind)),s})})}};function yt(e){switch(e){case W.Comment:return l.languages.FoldingRangeKind.Comment;case W.Imports:return l.languages.FoldingRangeKind.Imports;case W.Region:return l.languages.FoldingRangeKind.Region}}var It=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(L))).then(t=>{if(!!t)return t.map(a=>{const s=[];for(;a;)s.push({range:y(a.range)}),a=a.parent;return s})})}};function St(e,n){n===void 0&&(n=!1);var i=e.length,r=0,t="",a=0,s=16,u=0,c=0,d=0,v=0,g=0;function b(f,C){for(var I=0,E=0;I=48&&k<=57)E=E*16+k-48;else if(k>=65&&k<=70)E=E*16+k-65+10;else if(k>=97&&k<=102)E=E*16+k-97+10;else break;r++,I++}return I=i){f+=e.substring(C,r),g=2;break}var I=e.charCodeAt(r);if(I===34){f+=e.substring(C,r),r++;break}if(I===92){if(f+=e.substring(C,r),r++,r>=i){g=2;break}var E=e.charCodeAt(r++);switch(E){case 34:f+='"';break;case 92:f+="\\";break;case 47:f+="/";break;case 98:f+="\b";break;case 102:f+="\f";break;case 110:f+=` `;break;case 114:f+="\r";break;case 116:f+=" ";break;case 117:var k=b(4,!0);k>=0?f+=String.fromCharCode(k):g=4;break;default:g=5}C=r;continue}if(I>=0&&I<=31)if(F(I)){f+=e.substring(C,r),g=2;break}else g=6;r++}return f}function j(){if(t="",g=0,a=r,c=u,v=d,r>=i)return a=i,s=17;var f=e.charCodeAt(r);if(ee(f)){do r++,t+=String.fromCharCode(f),f=e.charCodeAt(r);while(ee(f));return s=15}if(F(f))return r++,t+=String.fromCharCode(f),f===13&&e.charCodeAt(r)===10&&(r++,t+=` `),u++,d=r,s=14;switch(f){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,t=M(),s=10;case 47:var C=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r=12&&f<=15);return f}return{setPosition:h,getPosition:function(){return r},scan:n?$e:j,getToken:function(){return s},getTokenValue:function(){return t},getTokenOffset:function(){return a},getTokenLength:function(){return r-a},getTokenStartLine:function(){return c},getTokenStartCharacter:function(){return a-v},getTokenError:function(){return g}}}function ee(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function F(e){return e===10||e===13||e===8232||e===8233}function R(e){return e>=48&&e<=57}var Ue;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Ue||(Ue={}));var Tt=St;function Dt(e){return{getInitialState:()=>new K(null,null,!1,null),tokenize:(n,i)=>Wt(e,n,i)}}var Ve="delimiter.bracket.json",He="delimiter.array.json",Pt="delimiter.colon.json",Lt="delimiter.comma.json",Mt="keyword.json",Rt="keyword.json",Nt="string.value.json",Ot="number.json",xt="string.key.json",jt="comment.block.json",Ft="comment.line.json",O=class{constructor(e,n){this.parent=e,this.type=n}static pop(e){return e?e.parent:null}static push(e,n){return new O(e,n)}static equals(e,n){if(!e&&!n)return!0;if(!e||!n)return!1;for(;e&&n;){if(e===n)return!0;if(e.type!==n.type)return!1;e=e.parent,n=n.parent}return!0}},K=class{constructor(e,n,i,r){A(this,"_state");A(this,"scanError");A(this,"lastWasColon");A(this,"parents");this._state=e,this.scanError=n,this.lastWasColon=i,this.parents=r}clone(){return new K(this._state,this.scanError,this.lastWasColon,this.parents)}equals(e){return e===this?!0:!e||!(e instanceof K)?!1:this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&O.equals(this.parents,e.parents)}getStateData(){return this._state}setStateData(e){this._state=e}};function Wt(e,n,i,r=0){let t=0,a=!1;switch(i.scanError){case 2:n='"'+n,t=1;break;case 1:n="/*"+n,t=2;break}const s=Tt(n);let u=i.lastWasColon,c=i.parents;const d={tokens:[],endState:i.clone()};for(;;){let v=r+s.getPosition(),g="";const b=s.scan();if(b===17)break;if(v===r+s.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+n.substr(s.getPosition(),3));switch(a&&(v-=t),a=t>0,b){case 1:c=O.push(c,0),g=Ve,u=!1;break;case 2:c=O.pop(c),g=Ve,u=!1;break;case 3:c=O.push(c,1),g=He,u=!1;break;case 4:c=O.pop(c),g=He,u=!1;break;case 6:g=Pt,u=!0;break;case 5:g=Lt,u=!1;break;case 8:case 9:g=Mt,u=!1;break;case 7:g=Rt,u=!1;break;case 10:const S=(c?c.type:0)===1;g=u||S?Nt:xt,u=!1;break;case 11:g=Ot,u=!1;break}if(e)switch(b){case 12:g=Ft;break;case 13:g=jt;break}d.endState=new K(i.getStateData(),s.getTokenError(),u,c),d.tokens.push({startIndex:v,scopes:g})}return d}var Ut=class extends ot{constructor(e,n,i){super(e,n,i.onDidChange),this._disposables.push(l.editor.onWillDisposeModel(r=>{this._resetSchema(r.uri)})),this._disposables.push(l.editor.onDidChangeModelLanguage(r=>{this._resetSchema(r.model.uri)}))}_resetSchema(e){this._worker().then(n=>{n.resetSchema(e.toString())})}};function Gt(e){const n=[],i=[],r=new at(e);n.push(r);const t=(...u)=>r.getLanguageServiceWorker(...u);function a(){const{languageId:u,modeConfiguration:c}=e;Je(i),c.documentFormattingEdits&&i.push(l.languages.registerDocumentFormattingEditProvider(u,new bt(t))),c.documentRangeFormattingEdits&&i.push(l.languages.registerDocumentRangeFormattingEditProvider(u,new Ct(t))),c.completionItems&&i.push(l.languages.registerCompletionItemProvider(u,new dt(t,[" ",":",'"']))),c.hovers&&i.push(l.languages.registerHoverProvider(u,new ht(t))),c.documentSymbols&&i.push(l.languages.registerDocumentSymbolProvider(u,new kt(t))),c.tokens&&i.push(l.languages.setTokensProvider(u,Dt(!0))),c.colors&&i.push(l.languages.registerColorProvider(u,new Et(t))),c.foldingRanges&&i.push(l.languages.registerFoldingRangeProvider(u,new At(t))),c.diagnostics&&i.push(new Ut(u,t,e)),c.selectionRanges&&i.push(l.languages.registerSelectionRangeProvider(u,new It(t)))}a(),n.push(l.languages.setLanguageConfiguration(e.languageId,Vt));let s=e.modeConfiguration;return e.onDidChange(u=>{u.modeConfiguration!==s&&(s=u.modeConfiguration,a())}),n.push(ze(i)),ze(n)}function ze(e){return{dispose:()=>Je(e)}}function Je(e){for(;e.length;)e.pop().dispose()}var Vt={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]};export{dt as CompletionAdapter,Xt as DefinitionAdapter,ot as DiagnosticsAdapter,Et as DocumentColorAdapter,bt as DocumentFormattingEditProvider,qt as DocumentHighlightAdapter,$t as DocumentLinkAdapter,Ct as DocumentRangeFormattingEditProvider,kt as DocumentSymbolAdapter,At as FoldingRangeAdapter,ht as HoverAdapter,Jt as ReferenceAdapter,Yt as RenameAdapter,It as SelectionRangeAdapter,at as WorkerManager,L as fromPosition,Be as fromRange,Gt as setupMode,y as toRange,X as toTextEdit}; -//# sourceMappingURL=jsonMode.8bd5d843.js.map +//# sourceMappingURL=jsonMode.36397bc1.js.map diff --git a/abstra_statics/dist/assets/liquid.a86576be.js b/abstra_statics/dist/assets/liquid.638dacec.js similarity index 89% rename from abstra_statics/dist/assets/liquid.a86576be.js rename to abstra_statics/dist/assets/liquid.638dacec.js index e65b4f8bb3..055ed7c20a 100644 --- a/abstra_statics/dist/assets/liquid.a86576be.js +++ b/abstra_statics/dist/assets/liquid.638dacec.js @@ -1,7 +1,7 @@ -import{m as d}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="05a4fa1c-c6b1-41a9-8cc5-3683230d2da0",t._sentryDebugIdIdentifier="sentry-dbid-05a4fa1c-c6b1-41a9-8cc5-3683230d2da0")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as d}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="97853481-a13d-43a8-9d46-4be7cbb79cdc",t._sentryDebugIdIdentifier="sentry-dbid-97853481-a13d-43a8-9d46-4be7cbb79cdc")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of u(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=c(e,r))||o.enumerable});return t},p=(t,e,i)=>(a(t,e,"default"),i&&a(i,e,"default")),n={};p(n,d);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[[""],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},b={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[//,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{g as conf,b as language}; -//# sourceMappingURL=liquid.a86576be.js.map + *-----------------------------------------------------------------------------*/var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of u(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=c(e,r))||o.enumerable});return t},p=(t,e,i)=>(a(t,e,"default"),i&&a(i,e,"default")),n={};p(n,d);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],f={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[[""],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},g={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[//,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{f as conf,g as language}; +//# sourceMappingURL=liquid.638dacec.js.map diff --git a/abstra_statics/dist/assets/member.65b6f588.js b/abstra_statics/dist/assets/member.65b6f588.js deleted file mode 100644 index 4b3e3c16b7..0000000000 --- a/abstra_statics/dist/assets/member.65b6f588.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as a}from"./gateway.a5388860.js";import"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="6ae1f5eb-8e65-496b-bd32-20ef8f9a3667",r._sentryDebugIdIdentifier="sentry-dbid-6ae1f5eb-8e65-496b-bd32-20ef8f9a3667")}catch{}})();class i{async create(t){return a.post(`organizations/${t.organizationId}/members`,{email:t.email})}async delete(t){return a.delete(`organizations/${t.organizationId}/members/${t.authorId}`)}async list(t){return a.get(`organizations/${t}/members`)}async get(t,e){return a.get(`organizations/${t}/members/${e}`)}}const s=new i;class o{constructor(t){this.dto=t}static async list(t){return(await s.list(t)).map(n=>new o(n))}static async create(t,e){const n=await s.create({organizationId:t,email:e});return new o(n)}static async get(t,e){const n=await s.get(t,e);return new o(n)}static async delete(t,e){return s.delete({organizationId:t,authorId:e})}get email(){return this.dto.email}get name(){return this.dto.name}get role(){return this.dto.role}get id(){return this.dto.authorId}get authorId(){return this.dto.authorId}}export{o as M}; -//# sourceMappingURL=member.65b6f588.js.map diff --git a/abstra_statics/dist/assets/member.972d243d.js b/abstra_statics/dist/assets/member.972d243d.js new file mode 100644 index 0000000000..a269b38765 --- /dev/null +++ b/abstra_statics/dist/assets/member.972d243d.js @@ -0,0 +1,2 @@ +import{C as n}from"./gateway.edd4374b.js";import"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="df5387a7-4ba6-433f-8f01-276cc360a41c",r._sentryDebugIdIdentifier="sentry-dbid-df5387a7-4ba6-433f-8f01-276cc360a41c")}catch{}})();class i{async create(t){return n.post(`organizations/${t.organizationId}/members`,{email:t.email})}async delete(t){return n.delete(`organizations/${t.organizationId}/members/${t.authorId}`)}async list(t){return n.get(`organizations/${t}/members`)}async get(t,e){return n.get(`organizations/${t}/members/${e}`)}}const s=new i;class o{constructor(t){this.dto=t}static async list(t){return(await s.list(t)).map(a=>new o(a))}static async create(t,e){const a=await s.create({organizationId:t,email:e});return new o(a)}static async get(t,e){const a=await s.get(t,e);return new o(a)}static async delete(t,e){return s.delete({organizationId:t,authorId:e})}get email(){return this.dto.email}get name(){return this.dto.name}get role(){return this.dto.role}get id(){return this.dto.authorId}get authorId(){return this.dto.authorId}}export{o as M}; +//# sourceMappingURL=member.972d243d.js.map diff --git a/abstra_statics/dist/assets/metadata.bccf44f5.js b/abstra_statics/dist/assets/metadata.4c5c5434.js similarity index 97% rename from abstra_statics/dist/assets/metadata.bccf44f5.js rename to abstra_statics/dist/assets/metadata.4c5c5434.js index 56dd2224ec..8efcab2196 100644 --- a/abstra_statics/dist/assets/metadata.bccf44f5.js +++ b/abstra_statics/dist/assets/metadata.4c5c5434.js @@ -1,2 +1,2 @@ -import{G as V}from"./PhBug.vue.ea49dd1b.js";import{H as A}from"./PhCheckCircle.vue.9e5251d2.js";import{d as g,B as n,f as s,o as t,X as l,Z as c,R as Z,e8 as y,a as i}from"./vue-router.33f35a18.js";import{G as M}from"./PhKanban.vue.2acea65f.js";import{F as f,G as w,a as k,I as b}from"./PhWebhooksLogo.vue.4375a0bc.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="e050f2a3-34fa-45fc-93cc-e11bbede383a",r._sentryDebugIdIdentifier="sentry-dbid-e050f2a3-34fa-45fc-93cc-e11bbede383a")}catch{}})();const N=["width","height","fill","transform"],S={key:0},P=i("path",{d:"M228,160a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,160ZM40,108H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Z"},null,-1),z=[P],B={key:1},x=i("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),C=i("path",{d:"M224,160a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,160ZM40,104H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"},null,-1),I=[x,C],O={key:2},L=i("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,160H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Zm0-48H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"},null,-1),F=[L],G={key:3},E=i("path",{d:"M222,160a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,160ZM40,102H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Z"},null,-1),j=[E],_={key:4},D=i("path",{d:"M224,160a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,160ZM40,104H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"},null,-1),W=[D],q={key:5},J=i("path",{d:"M220,160a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,160ZM40,100H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Z"},null,-1),R=[J],X={name:"PhEquals"},K=g({...X,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",S,z)):o.value==="duotone"?(t(),l("g",B,I)):o.value==="fill"?(t(),l("g",O,F)):o.value==="light"?(t(),l("g",G,j)):o.value==="regular"?(t(),l("g",_,W)):o.value==="thin"?(t(),l("g",q,R)):Z("",!0)],16,N))}}),Q=["width","height","fill","transform"],T={key:0},U=i("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),Y=[U],a0={key:1},e0=i("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),t0=i("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),l0=[e0,t0],i0={key:2},o0=i("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),r0=[o0],n0={key:3},s0=i("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),h0=[s0],H0={key:4},d0=i("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),u0=[d0],v0={key:5},m0=i("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),p0=[m0],g0={name:"PhHouse"},c0=g({...g0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",T,Y)):o.value==="duotone"?(t(),l("g",a0,l0)):o.value==="fill"?(t(),l("g",i0,r0)):o.value==="light"?(t(),l("g",n0,h0)):o.value==="regular"?(t(),l("g",H0,u0)):o.value==="thin"?(t(),l("g",v0,p0)):Z("",!0)],16,Q))}}),Z0=["width","height","fill","transform"],y0={key:0},$0=i("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,76h64a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm80,40H40a12,12,0,0,0,0,24h80a12,12,0,0,0,0-24Zm120.49,20.49a12,12,0,0,1-17,0l-18.08-18.08a44,44,0,1,1,17-17l18.08,18.07A12,12,0,0,1,240.49,200.49ZM184,164a20,20,0,1,0-20-20A20,20,0,0,0,184,164Z"},null,-1),V0=[$0],A0={key:1},M0=i("path",{d:"M216,144a32,32,0,1,1-32-32A32,32,0,0,1,216,144Z",opacity:"0.2"},null,-1),f0=i("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72h72a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm88,48H40a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm109.66,13.66a8,8,0,0,1-11.32,0L206,177.36A40,40,0,1,1,217.36,166l20.3,20.3A8,8,0,0,1,237.66,197.66ZM184,168a24,24,0,1,0-24-24A24,24,0,0,0,184,168Z"},null,-1),w0=[M0,f0],k0={key:2},b0=i("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72h72a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm88,48H40a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm109.66,2.34L217.36,166A40,40,0,1,0,206,177.36l20.3,20.3a8,8,0,0,0,11.32-11.32Z"},null,-1),N0=[b0],S0={key:3},P0=i("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,70h72a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm88,52H40a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12Zm108.24,10.24a6,6,0,0,1-8.48,0l-21.49-21.48a38.06,38.06,0,1,1,8.49-8.49l21.48,21.49A6,6,0,0,1,236.24,196.24ZM184,170a26,26,0,1,0-26-26A26,26,0,0,0,184,170Z"},null,-1),z0=[P0],B0={key:4},x0=i("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72h72a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm88,48H40a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm109.66,13.66a8,8,0,0,1-11.32,0L206,177.36A40,40,0,1,1,217.36,166l20.3,20.3A8,8,0,0,1,237.66,197.66ZM184,168a24,24,0,1,0-24-24A24,24,0,0,0,184,168Z"},null,-1),C0=[x0],I0={key:5},O0=i("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,68h72a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm88,56H40a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8Zm106.83,6.83a4,4,0,0,1-5.66,0l-22.72-22.72a36.06,36.06,0,1,1,5.66-5.66l22.72,22.72A4,4,0,0,1,234.83,194.83ZM184,172a28,28,0,1,0-28-28A28,28,0,0,0,184,172Z"},null,-1),L0=[O0],F0={name:"PhListMagnifyingGlass"},G0=g({...F0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",y0,V0)):o.value==="duotone"?(t(),l("g",A0,w0)):o.value==="fill"?(t(),l("g",k0,N0)):o.value==="light"?(t(),l("g",S0,z0)):o.value==="regular"?(t(),l("g",B0,C0)):o.value==="thin"?(t(),l("g",I0,L0)):Z("",!0)],16,Z0))}}),E0=["width","height","fill","transform"],j0={key:0},_0=i("path",{d:"M228,128a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM116,76H216a12,12,0,0,0,0-24H116a12,12,0,0,0,0,24ZM216,180H116a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24ZM44,59.31V104a12,12,0,0,0,24,0V40A12,12,0,0,0,50.64,29.27l-16,8a12,12,0,0,0,9.36,22Zm39.73,96.86a27.7,27.7,0,0,0-11.2-18.63A28.89,28.89,0,0,0,32.9,143a27.71,27.71,0,0,0-4.17,7.54,12,12,0,0,0,22.55,8.21,4,4,0,0,1,.58-1,4.78,4.78,0,0,1,6.5-.82,3.82,3.82,0,0,1,1.61,2.6,3.63,3.63,0,0,1-.77,2.77l-.13.17L30.39,200.82A12,12,0,0,0,40,220H72a12,12,0,0,0,0-24H64l14.28-19.11A27.48,27.48,0,0,0,83.73,156.17Z"},null,-1),D0=[_0],W0={key:1},q0=i("path",{d:"M216,64V192H104V64Z",opacity:"0.2"},null,-1),J0=i("path",{d:"M224,128a8,8,0,0,1-8,8H104a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM104,72H216a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16ZM216,184H104a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM43.58,55.16,48,52.94V104a8,8,0,0,0,16,0V40a8,8,0,0,0-11.58-7.16l-16,8a8,8,0,0,0,7.16,14.32ZM79.77,156.72a23.73,23.73,0,0,0-9.6-15.95,24.86,24.86,0,0,0-34.11,4.7,23.63,23.63,0,0,0-3.57,6.46,8,8,0,1,0,15,5.47,7.84,7.84,0,0,1,1.18-2.13,8.76,8.76,0,0,1,12-1.59A7.91,7.91,0,0,1,63.93,159a7.64,7.64,0,0,1-1.57,5.78,1,1,0,0,0-.08.11L33.59,203.21A8,8,0,0,0,40,216H72a8,8,0,0,0,0-16H56l19.08-25.53A23.47,23.47,0,0,0,79.77,156.72Z"},null,-1),R0=[q0,J0],X0={key:2},K0=i("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM56.84,75.58a8,8,0,0,1,3.58-10.74l16-8A8,8,0,0,1,88,64v48a8,8,0,0,1-16,0V76.94l-4.42,2.22A8,8,0,0,1,56.84,75.58ZM92,180a8,8,0,0,1,0,16H68a8,8,0,0,1-6.4-12.8l21.67-28.89A3.92,3.92,0,0,0,84,152a4,4,0,0,0-7.77-1.33,8,8,0,0,1-15.09-5.34,20,20,0,1,1,35,18.53L84,180Zm100,4H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Zm0-48H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Zm0-48H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Z"},null,-1),Q0=[K0],T0={key:3},U0=i("path",{d:"M222,128a6,6,0,0,1-6,6H104a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM104,70H216a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12ZM216,186H104a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12ZM42.68,53.37,50,49.71V104a6,6,0,0,0,12,0V40a6,6,0,0,0-8.68-5.37l-16,8a6,6,0,0,0,5.36,10.74ZM72,202H52l21.48-28.74A21.5,21.5,0,0,0,77.79,157,21.75,21.75,0,0,0,69,142.38a22.86,22.86,0,0,0-31.35,4.31,22.18,22.18,0,0,0-3.28,5.92,6,6,0,0,0,11.28,4.11,9.87,9.87,0,0,1,1.48-2.67,10.78,10.78,0,0,1,14.78-2,9.89,9.89,0,0,1,4,6.61,9.64,9.64,0,0,1-2,7.28l-.06.09L35.2,204.41A6,6,0,0,0,40,214H72a6,6,0,0,0,0-12Z"},null,-1),Y0=[U0],a1={key:4},e1=i("path",{d:"M224,128a8,8,0,0,1-8,8H104a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM104,72H216a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16ZM216,184H104a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM43.58,55.16,48,52.94V104a8,8,0,0,0,16,0V40a8,8,0,0,0-11.58-7.16l-16,8a8,8,0,0,0,7.16,14.32ZM79.77,156.72a23.73,23.73,0,0,0-9.6-15.95,24.86,24.86,0,0,0-34.11,4.7,23.63,23.63,0,0,0-3.57,6.46,8,8,0,1,0,15,5.47,7.84,7.84,0,0,1,1.18-2.13,8.76,8.76,0,0,1,12-1.59A7.91,7.91,0,0,1,63.93,159a7.64,7.64,0,0,1-1.57,5.78,1,1,0,0,0-.08.11L33.59,203.21A8,8,0,0,0,40,216H72a8,8,0,0,0,0-16H56l19.08-25.53A23.47,23.47,0,0,0,79.77,156.72Z"},null,-1),t1=[e1],l1={key:5},i1=i("path",{d:"M220,128a4,4,0,0,1-4,4H104a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM104,68H216a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8ZM216,188H104a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8ZM41.79,51.58,52,46.47V104a4,4,0,0,0,8,0V40a4,4,0,0,0-5.79-3.58l-16,8a4,4,0,1,0,3.58,7.16ZM72,204H48l23.85-31.92a19.54,19.54,0,0,0,4-14.8,19.76,19.76,0,0,0-8-13.28,20.84,20.84,0,0,0-28.59,3.92,19.85,19.85,0,0,0-3,5.38A4,4,0,0,0,43.76,156a12.1,12.1,0,0,1,1.78-3.22,12.78,12.78,0,0,1,17.54-2.37,11.85,11.85,0,0,1,4.81,7.94,11.65,11.65,0,0,1-2.41,8.85L36.8,205.61A4,4,0,0,0,40,212H72a4,4,0,0,0,0-8Z"},null,-1),o1=[i1],r1={name:"PhListNumbers"},n1=g({...r1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",j0,D0)):o.value==="duotone"?(t(),l("g",W0,R0)):o.value==="fill"?(t(),l("g",X0,Q0)):o.value==="light"?(t(),l("g",T0,Y0)):o.value==="regular"?(t(),l("g",a1,t1)):o.value==="thin"?(t(),l("g",l1,o1)):Z("",!0)],16,E0))}}),s1=["width","height","fill","transform"],h1={key:0},H1=i("path",{d:"M160,116h48a20,20,0,0,0,20-20V48a20,20,0,0,0-20-20H160a20,20,0,0,0-20,20V60H128a28,28,0,0,0-28,28v28H76v-4A20,20,0,0,0,56,92H24A20,20,0,0,0,4,112v32a20,20,0,0,0,20,20H56a20,20,0,0,0,20-20v-4h24v28a28,28,0,0,0,28,28h12v12a20,20,0,0,0,20,20h48a20,20,0,0,0,20-20V160a20,20,0,0,0-20-20H160a20,20,0,0,0-20,20v12H128a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4h12V96A20,20,0,0,0,160,116ZM52,140H28V116H52Zm112,24h40v40H164Zm0-112h40V92H164Z"},null,-1),d1=[H1],u1={key:1},v1=i("path",{d:"M64,112v32a8,8,0,0,1-8,8H24a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H56A8,8,0,0,1,64,112ZM208,40H160a8,8,0,0,0-8,8V96a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V48A8,8,0,0,0,208,40Zm0,112H160a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V160A8,8,0,0,0,208,152Z",opacity:"0.2"},null,-1),m1=i("path",{d:"M160,112h48a16,16,0,0,0,16-16V48a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V64H128a24,24,0,0,0-24,24v32H72v-8A16,16,0,0,0,56,96H24A16,16,0,0,0,8,112v32a16,16,0,0,0,16,16H56a16,16,0,0,0,16-16v-8h32v32a24,24,0,0,0,24,24h16v16a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V160a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16v16H128a8,8,0,0,1-8-8V88a8,8,0,0,1,8-8h16V96A16,16,0,0,0,160,112ZM56,144H24V112H56v32Zm104,16h48v48H160Zm0-112h48V96H160Z"},null,-1),p1=[v1,m1],g1={key:2},c1=i("path",{d:"M144,96V80H128a8,8,0,0,0-8,8v80a8,8,0,0,0,8,8h16V160a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16v48a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V192H128a24,24,0,0,1-24-24V136H72v8a16,16,0,0,1-16,16H24A16,16,0,0,1,8,144V112A16,16,0,0,1,24,96H56a16,16,0,0,1,16,16v8h32V88a24,24,0,0,1,24-24h16V48a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16V96a16,16,0,0,1-16,16H160A16,16,0,0,1,144,96Z"},null,-1),Z1=[c1],y1={key:3},$1=i("path",{d:"M160,110h48a14,14,0,0,0,14-14V48a14,14,0,0,0-14-14H160a14,14,0,0,0-14,14V66H128a22,22,0,0,0-22,22v34H70V112A14,14,0,0,0,56,98H24a14,14,0,0,0-14,14v32a14,14,0,0,0,14,14H56a14,14,0,0,0,14-14V134h36v34a22,22,0,0,0,22,22h18v18a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V160a14,14,0,0,0-14-14H160a14,14,0,0,0-14,14v18H128a10,10,0,0,1-10-10V88a10,10,0,0,1,10-10h18V96A14,14,0,0,0,160,110ZM58,144a2,2,0,0,1-2,2H24a2,2,0,0,1-2-2V112a2,2,0,0,1,2-2H56a2,2,0,0,1,2,2Zm100,16a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2v48a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2Zm0-112a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2V96a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2Z"},null,-1),V1=[$1],A1={key:4},M1=i("path",{d:"M160,112h48a16,16,0,0,0,16-16V48a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V64H128a24,24,0,0,0-24,24v32H72v-8A16,16,0,0,0,56,96H24A16,16,0,0,0,8,112v32a16,16,0,0,0,16,16H56a16,16,0,0,0,16-16v-8h32v32a24,24,0,0,0,24,24h16v16a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V160a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16v16H128a8,8,0,0,1-8-8V88a8,8,0,0,1,8-8h16V96A16,16,0,0,0,160,112ZM56,144H24V112H56v32Zm104,16h48v48H160Zm0-112h48V96H160Z"},null,-1),f1=[M1],w1={key:5},k1=i("path",{d:"M160,108h48a12,12,0,0,0,12-12V48a12,12,0,0,0-12-12H160a12,12,0,0,0-12,12V68H128a20,20,0,0,0-20,20v36H68V112a12,12,0,0,0-12-12H24a12,12,0,0,0-12,12v32a12,12,0,0,0,12,12H56a12,12,0,0,0,12-12V132h40v36a20,20,0,0,0,20,20h20v20a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V160a12,12,0,0,0-12-12H160a12,12,0,0,0-12,12v20H128a12,12,0,0,1-12-12V88a12,12,0,0,1,12-12h20V96A12,12,0,0,0,160,108ZM60,144a4,4,0,0,1-4,4H24a4,4,0,0,1-4-4V112a4,4,0,0,1,4-4H56a4,4,0,0,1,4,4Zm96,16a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4v48a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4Zm0-112a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V96a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4Z"},null,-1),b1=[k1],N1={name:"PhTreeStructure"},S1=g({...N1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",h1,d1)):o.value==="duotone"?(t(),l("g",u1,p1)):o.value==="fill"?(t(),l("g",g1,Z1)):o.value==="light"?(t(),l("g",y1,V1)):o.value==="regular"?(t(),l("g",A1,f1)):o.value==="thin"?(t(),l("g",w1,b1)):Z("",!0)],16,s1))}}),P1={stages:[{icon:f,typeName:"forms",description:"Wait for a user input",key:"F",title:"Forms",startingOnly:!1,transitions:[{typeName:"forms:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"forms:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"hooks",title:"Hooks",startingOnly:!0,icon:w,description:"Wait for an external API call",key:"H",transitions:[{typeName:"hooks:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"hooks:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"jobs",title:"Jobs",startingOnly:!0,icon:k,description:"Scheduled tasks",key:"J",transitions:[{typeName:"jobs:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"jobs:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"scripts",title:"Scripts",startingOnly:!1,icon:b,description:"Run a script",key:"S",transitions:[{typeName:"scripts:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"scripts:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"conditions",title:"Conditions",startingOnly:!1,icon:S1,description:"Make a decision",key:"C",transitions:[{typeName:"conditions:patternMatched",icon:K,title:"Pattern Matched",additionalPayload:[]}]},{typeName:"iterators",title:"Iterators",startingOnly:!1,icon:n1,description:"Split thread for each element in a list",key:"I",transitions:[{typeName:"iterators:each",icon:G0,title:"Each",additionalPayload:[{key:"item",type:"typing.Any",title:"Item"}]}]}]};function z1(r){const e=P1.stages.find(H=>H.typeName===r||H.typeName===`${r}s`);if(!e)throw new Error(`No metadata found for stage ${r}`);return e.icon}const L1=r=>r==="kanban"?M:r==="home"?c0:z1(r);export{G0 as F,L1 as i,z1 as s,P1 as w}; -//# sourceMappingURL=metadata.bccf44f5.js.map +import{G as V}from"./PhBug.vue.ac4a72e0.js";import{H as A}from"./PhCheckCircle.vue.b905d38f.js";import{d as g,B as n,f as s,o as t,X as l,Z as c,R as Z,e8 as y,a as i}from"./vue-router.324eaed2.js";import{G as M}from"./PhKanban.vue.e9ec854d.js";import{F as f,G as w,a as k,I as b}from"./PhWebhooksLogo.vue.96003388.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="b32c94fe-2650-4e10-99bd-8c4fbdf8d972",r._sentryDebugIdIdentifier="sentry-dbid-b32c94fe-2650-4e10-99bd-8c4fbdf8d972")}catch{}})();const N=["width","height","fill","transform"],S={key:0},P=i("path",{d:"M228,160a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,160ZM40,108H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Z"},null,-1),z=[P],B={key:1},x=i("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),C=i("path",{d:"M224,160a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,160ZM40,104H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"},null,-1),I=[x,C],O={key:2},L=i("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,160H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Zm0-48H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"},null,-1),F=[L],G={key:3},E=i("path",{d:"M222,160a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,160ZM40,102H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Z"},null,-1),j=[E],_={key:4},D=i("path",{d:"M224,160a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,160ZM40,104H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"},null,-1),W=[D],q={key:5},J=i("path",{d:"M220,160a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,160ZM40,100H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Z"},null,-1),R=[J],X={name:"PhEquals"},K=g({...X,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",S,z)):o.value==="duotone"?(t(),l("g",B,I)):o.value==="fill"?(t(),l("g",O,F)):o.value==="light"?(t(),l("g",G,j)):o.value==="regular"?(t(),l("g",_,W)):o.value==="thin"?(t(),l("g",q,R)):Z("",!0)],16,N))}}),Q=["width","height","fill","transform"],T={key:0},U=i("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),Y=[U],a0={key:1},e0=i("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),t0=i("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),l0=[e0,t0],i0={key:2},o0=i("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),r0=[o0],n0={key:3},s0=i("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),h0=[s0],H0={key:4},d0=i("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),u0=[d0],v0={key:5},m0=i("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),p0=[m0],g0={name:"PhHouse"},c0=g({...g0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",T,Y)):o.value==="duotone"?(t(),l("g",a0,l0)):o.value==="fill"?(t(),l("g",i0,r0)):o.value==="light"?(t(),l("g",n0,h0)):o.value==="regular"?(t(),l("g",H0,u0)):o.value==="thin"?(t(),l("g",v0,p0)):Z("",!0)],16,Q))}}),Z0=["width","height","fill","transform"],y0={key:0},$0=i("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,76h64a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm80,40H40a12,12,0,0,0,0,24h80a12,12,0,0,0,0-24Zm120.49,20.49a12,12,0,0,1-17,0l-18.08-18.08a44,44,0,1,1,17-17l18.08,18.07A12,12,0,0,1,240.49,200.49ZM184,164a20,20,0,1,0-20-20A20,20,0,0,0,184,164Z"},null,-1),V0=[$0],A0={key:1},M0=i("path",{d:"M216,144a32,32,0,1,1-32-32A32,32,0,0,1,216,144Z",opacity:"0.2"},null,-1),f0=i("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72h72a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm88,48H40a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm109.66,13.66a8,8,0,0,1-11.32,0L206,177.36A40,40,0,1,1,217.36,166l20.3,20.3A8,8,0,0,1,237.66,197.66ZM184,168a24,24,0,1,0-24-24A24,24,0,0,0,184,168Z"},null,-1),w0=[M0,f0],k0={key:2},b0=i("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72h72a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm88,48H40a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm109.66,2.34L217.36,166A40,40,0,1,0,206,177.36l20.3,20.3a8,8,0,0,0,11.32-11.32Z"},null,-1),N0=[b0],S0={key:3},P0=i("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,70h72a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm88,52H40a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12Zm108.24,10.24a6,6,0,0,1-8.48,0l-21.49-21.48a38.06,38.06,0,1,1,8.49-8.49l21.48,21.49A6,6,0,0,1,236.24,196.24ZM184,170a26,26,0,1,0-26-26A26,26,0,0,0,184,170Z"},null,-1),z0=[P0],B0={key:4},x0=i("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72h72a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm88,48H40a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm109.66,13.66a8,8,0,0,1-11.32,0L206,177.36A40,40,0,1,1,217.36,166l20.3,20.3A8,8,0,0,1,237.66,197.66ZM184,168a24,24,0,1,0-24-24A24,24,0,0,0,184,168Z"},null,-1),C0=[x0],I0={key:5},O0=i("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,68h72a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm88,56H40a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8Zm106.83,6.83a4,4,0,0,1-5.66,0l-22.72-22.72a36.06,36.06,0,1,1,5.66-5.66l22.72,22.72A4,4,0,0,1,234.83,194.83ZM184,172a28,28,0,1,0-28-28A28,28,0,0,0,184,172Z"},null,-1),L0=[O0],F0={name:"PhListMagnifyingGlass"},G0=g({...F0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",y0,V0)):o.value==="duotone"?(t(),l("g",A0,w0)):o.value==="fill"?(t(),l("g",k0,N0)):o.value==="light"?(t(),l("g",S0,z0)):o.value==="regular"?(t(),l("g",B0,C0)):o.value==="thin"?(t(),l("g",I0,L0)):Z("",!0)],16,Z0))}}),E0=["width","height","fill","transform"],j0={key:0},_0=i("path",{d:"M228,128a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM116,76H216a12,12,0,0,0,0-24H116a12,12,0,0,0,0,24ZM216,180H116a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24ZM44,59.31V104a12,12,0,0,0,24,0V40A12,12,0,0,0,50.64,29.27l-16,8a12,12,0,0,0,9.36,22Zm39.73,96.86a27.7,27.7,0,0,0-11.2-18.63A28.89,28.89,0,0,0,32.9,143a27.71,27.71,0,0,0-4.17,7.54,12,12,0,0,0,22.55,8.21,4,4,0,0,1,.58-1,4.78,4.78,0,0,1,6.5-.82,3.82,3.82,0,0,1,1.61,2.6,3.63,3.63,0,0,1-.77,2.77l-.13.17L30.39,200.82A12,12,0,0,0,40,220H72a12,12,0,0,0,0-24H64l14.28-19.11A27.48,27.48,0,0,0,83.73,156.17Z"},null,-1),D0=[_0],W0={key:1},q0=i("path",{d:"M216,64V192H104V64Z",opacity:"0.2"},null,-1),J0=i("path",{d:"M224,128a8,8,0,0,1-8,8H104a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM104,72H216a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16ZM216,184H104a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM43.58,55.16,48,52.94V104a8,8,0,0,0,16,0V40a8,8,0,0,0-11.58-7.16l-16,8a8,8,0,0,0,7.16,14.32ZM79.77,156.72a23.73,23.73,0,0,0-9.6-15.95,24.86,24.86,0,0,0-34.11,4.7,23.63,23.63,0,0,0-3.57,6.46,8,8,0,1,0,15,5.47,7.84,7.84,0,0,1,1.18-2.13,8.76,8.76,0,0,1,12-1.59A7.91,7.91,0,0,1,63.93,159a7.64,7.64,0,0,1-1.57,5.78,1,1,0,0,0-.08.11L33.59,203.21A8,8,0,0,0,40,216H72a8,8,0,0,0,0-16H56l19.08-25.53A23.47,23.47,0,0,0,79.77,156.72Z"},null,-1),R0=[q0,J0],X0={key:2},K0=i("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM56.84,75.58a8,8,0,0,1,3.58-10.74l16-8A8,8,0,0,1,88,64v48a8,8,0,0,1-16,0V76.94l-4.42,2.22A8,8,0,0,1,56.84,75.58ZM92,180a8,8,0,0,1,0,16H68a8,8,0,0,1-6.4-12.8l21.67-28.89A3.92,3.92,0,0,0,84,152a4,4,0,0,0-7.77-1.33,8,8,0,0,1-15.09-5.34,20,20,0,1,1,35,18.53L84,180Zm100,4H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Zm0-48H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Zm0-48H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Z"},null,-1),Q0=[K0],T0={key:3},U0=i("path",{d:"M222,128a6,6,0,0,1-6,6H104a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM104,70H216a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12ZM216,186H104a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12ZM42.68,53.37,50,49.71V104a6,6,0,0,0,12,0V40a6,6,0,0,0-8.68-5.37l-16,8a6,6,0,0,0,5.36,10.74ZM72,202H52l21.48-28.74A21.5,21.5,0,0,0,77.79,157,21.75,21.75,0,0,0,69,142.38a22.86,22.86,0,0,0-31.35,4.31,22.18,22.18,0,0,0-3.28,5.92,6,6,0,0,0,11.28,4.11,9.87,9.87,0,0,1,1.48-2.67,10.78,10.78,0,0,1,14.78-2,9.89,9.89,0,0,1,4,6.61,9.64,9.64,0,0,1-2,7.28l-.06.09L35.2,204.41A6,6,0,0,0,40,214H72a6,6,0,0,0,0-12Z"},null,-1),Y0=[U0],a1={key:4},e1=i("path",{d:"M224,128a8,8,0,0,1-8,8H104a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM104,72H216a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16ZM216,184H104a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM43.58,55.16,48,52.94V104a8,8,0,0,0,16,0V40a8,8,0,0,0-11.58-7.16l-16,8a8,8,0,0,0,7.16,14.32ZM79.77,156.72a23.73,23.73,0,0,0-9.6-15.95,24.86,24.86,0,0,0-34.11,4.7,23.63,23.63,0,0,0-3.57,6.46,8,8,0,1,0,15,5.47,7.84,7.84,0,0,1,1.18-2.13,8.76,8.76,0,0,1,12-1.59A7.91,7.91,0,0,1,63.93,159a7.64,7.64,0,0,1-1.57,5.78,1,1,0,0,0-.08.11L33.59,203.21A8,8,0,0,0,40,216H72a8,8,0,0,0,0-16H56l19.08-25.53A23.47,23.47,0,0,0,79.77,156.72Z"},null,-1),t1=[e1],l1={key:5},i1=i("path",{d:"M220,128a4,4,0,0,1-4,4H104a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM104,68H216a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8ZM216,188H104a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8ZM41.79,51.58,52,46.47V104a4,4,0,0,0,8,0V40a4,4,0,0,0-5.79-3.58l-16,8a4,4,0,1,0,3.58,7.16ZM72,204H48l23.85-31.92a19.54,19.54,0,0,0,4-14.8,19.76,19.76,0,0,0-8-13.28,20.84,20.84,0,0,0-28.59,3.92,19.85,19.85,0,0,0-3,5.38A4,4,0,0,0,43.76,156a12.1,12.1,0,0,1,1.78-3.22,12.78,12.78,0,0,1,17.54-2.37,11.85,11.85,0,0,1,4.81,7.94,11.65,11.65,0,0,1-2.41,8.85L36.8,205.61A4,4,0,0,0,40,212H72a4,4,0,0,0,0-8Z"},null,-1),o1=[i1],r1={name:"PhListNumbers"},n1=g({...r1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",j0,D0)):o.value==="duotone"?(t(),l("g",W0,R0)):o.value==="fill"?(t(),l("g",X0,Q0)):o.value==="light"?(t(),l("g",T0,Y0)):o.value==="regular"?(t(),l("g",a1,t1)):o.value==="thin"?(t(),l("g",l1,o1)):Z("",!0)],16,E0))}}),s1=["width","height","fill","transform"],h1={key:0},H1=i("path",{d:"M160,116h48a20,20,0,0,0,20-20V48a20,20,0,0,0-20-20H160a20,20,0,0,0-20,20V60H128a28,28,0,0,0-28,28v28H76v-4A20,20,0,0,0,56,92H24A20,20,0,0,0,4,112v32a20,20,0,0,0,20,20H56a20,20,0,0,0,20-20v-4h24v28a28,28,0,0,0,28,28h12v12a20,20,0,0,0,20,20h48a20,20,0,0,0,20-20V160a20,20,0,0,0-20-20H160a20,20,0,0,0-20,20v12H128a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4h12V96A20,20,0,0,0,160,116ZM52,140H28V116H52Zm112,24h40v40H164Zm0-112h40V92H164Z"},null,-1),d1=[H1],u1={key:1},v1=i("path",{d:"M64,112v32a8,8,0,0,1-8,8H24a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H56A8,8,0,0,1,64,112ZM208,40H160a8,8,0,0,0-8,8V96a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V48A8,8,0,0,0,208,40Zm0,112H160a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V160A8,8,0,0,0,208,152Z",opacity:"0.2"},null,-1),m1=i("path",{d:"M160,112h48a16,16,0,0,0,16-16V48a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V64H128a24,24,0,0,0-24,24v32H72v-8A16,16,0,0,0,56,96H24A16,16,0,0,0,8,112v32a16,16,0,0,0,16,16H56a16,16,0,0,0,16-16v-8h32v32a24,24,0,0,0,24,24h16v16a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V160a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16v16H128a8,8,0,0,1-8-8V88a8,8,0,0,1,8-8h16V96A16,16,0,0,0,160,112ZM56,144H24V112H56v32Zm104,16h48v48H160Zm0-112h48V96H160Z"},null,-1),p1=[v1,m1],g1={key:2},c1=i("path",{d:"M144,96V80H128a8,8,0,0,0-8,8v80a8,8,0,0,0,8,8h16V160a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16v48a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V192H128a24,24,0,0,1-24-24V136H72v8a16,16,0,0,1-16,16H24A16,16,0,0,1,8,144V112A16,16,0,0,1,24,96H56a16,16,0,0,1,16,16v8h32V88a24,24,0,0,1,24-24h16V48a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16V96a16,16,0,0,1-16,16H160A16,16,0,0,1,144,96Z"},null,-1),Z1=[c1],y1={key:3},$1=i("path",{d:"M160,110h48a14,14,0,0,0,14-14V48a14,14,0,0,0-14-14H160a14,14,0,0,0-14,14V66H128a22,22,0,0,0-22,22v34H70V112A14,14,0,0,0,56,98H24a14,14,0,0,0-14,14v32a14,14,0,0,0,14,14H56a14,14,0,0,0,14-14V134h36v34a22,22,0,0,0,22,22h18v18a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V160a14,14,0,0,0-14-14H160a14,14,0,0,0-14,14v18H128a10,10,0,0,1-10-10V88a10,10,0,0,1,10-10h18V96A14,14,0,0,0,160,110ZM58,144a2,2,0,0,1-2,2H24a2,2,0,0,1-2-2V112a2,2,0,0,1,2-2H56a2,2,0,0,1,2,2Zm100,16a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2v48a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2Zm0-112a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2V96a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2Z"},null,-1),V1=[$1],A1={key:4},M1=i("path",{d:"M160,112h48a16,16,0,0,0,16-16V48a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V64H128a24,24,0,0,0-24,24v32H72v-8A16,16,0,0,0,56,96H24A16,16,0,0,0,8,112v32a16,16,0,0,0,16,16H56a16,16,0,0,0,16-16v-8h32v32a24,24,0,0,0,24,24h16v16a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V160a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16v16H128a8,8,0,0,1-8-8V88a8,8,0,0,1,8-8h16V96A16,16,0,0,0,160,112ZM56,144H24V112H56v32Zm104,16h48v48H160Zm0-112h48V96H160Z"},null,-1),f1=[M1],w1={key:5},k1=i("path",{d:"M160,108h48a12,12,0,0,0,12-12V48a12,12,0,0,0-12-12H160a12,12,0,0,0-12,12V68H128a20,20,0,0,0-20,20v36H68V112a12,12,0,0,0-12-12H24a12,12,0,0,0-12,12v32a12,12,0,0,0,12,12H56a12,12,0,0,0,12-12V132h40v36a20,20,0,0,0,20,20h20v20a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V160a12,12,0,0,0-12-12H160a12,12,0,0,0-12,12v20H128a12,12,0,0,1-12-12V88a12,12,0,0,1,12-12h20V96A12,12,0,0,0,160,108ZM60,144a4,4,0,0,1-4,4H24a4,4,0,0,1-4-4V112a4,4,0,0,1,4-4H56a4,4,0,0,1,4,4Zm96,16a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4v48a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4Zm0-112a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V96a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4Z"},null,-1),b1=[k1],N1={name:"PhTreeStructure"},S1=g({...N1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,H=n("weight","regular"),d=n("size","1em"),u=n("color","currentColor"),v=n("mirrored",!1),o=s(()=>{var a;return(a=e.weight)!=null?a:H}),h=s(()=>{var a;return(a=e.size)!=null?a:d}),m=s(()=>{var a;return(a=e.color)!=null?a:u}),p=s(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(a,$)=>(t(),l("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:m.value,transform:p.value},a.$attrs),[c(a.$slots,"default"),o.value==="bold"?(t(),l("g",h1,d1)):o.value==="duotone"?(t(),l("g",u1,p1)):o.value==="fill"?(t(),l("g",g1,Z1)):o.value==="light"?(t(),l("g",y1,V1)):o.value==="regular"?(t(),l("g",A1,f1)):o.value==="thin"?(t(),l("g",w1,b1)):Z("",!0)],16,s1))}}),P1={stages:[{icon:f,typeName:"forms",description:"Wait for a user input",key:"F",title:"Forms",startingOnly:!1,transitions:[{typeName:"forms:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"forms:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"hooks",title:"Hooks",startingOnly:!0,icon:w,description:"Wait for an external API call",key:"H",transitions:[{typeName:"hooks:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"hooks:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"jobs",title:"Jobs",startingOnly:!0,icon:k,description:"Scheduled tasks",key:"J",transitions:[{typeName:"jobs:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"jobs:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"scripts",title:"Scripts",startingOnly:!1,icon:b,description:"Run a script",key:"S",transitions:[{typeName:"scripts:finished",icon:A,title:"On Success",additionalPayload:[]},{typeName:"scripts:failed",icon:V,title:"On Failure",additionalPayload:[]}]},{typeName:"conditions",title:"Conditions",startingOnly:!1,icon:S1,description:"Make a decision",key:"C",transitions:[{typeName:"conditions:patternMatched",icon:K,title:"Pattern Matched",additionalPayload:[]}]},{typeName:"iterators",title:"Iterators",startingOnly:!1,icon:n1,description:"Split thread for each element in a list",key:"I",transitions:[{typeName:"iterators:each",icon:G0,title:"Each",additionalPayload:[{key:"item",type:"typing.Any",title:"Item"}]}]}]};function z1(r){const e=P1.stages.find(H=>H.typeName===r||H.typeName===`${r}s`);if(!e)throw new Error(`No metadata found for stage ${r}`);return e.icon}const L1=r=>r==="kanban"?M:r==="home"?c0:z1(r);export{G0 as F,L1 as i,z1 as s,P1 as w}; +//# sourceMappingURL=metadata.4c5c5434.js.map diff --git a/abstra_statics/dist/assets/organization.efcc2606.js b/abstra_statics/dist/assets/organization.0ae7dfed.js similarity index 69% rename from abstra_statics/dist/assets/organization.efcc2606.js rename to abstra_statics/dist/assets/organization.0ae7dfed.js index 906ec22ff3..bdb073457e 100644 --- a/abstra_statics/dist/assets/organization.efcc2606.js +++ b/abstra_statics/dist/assets/organization.0ae7dfed.js @@ -1,2 +1,2 @@ -var c=Object.defineProperty;var d=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(d(a,typeof t!="symbol"?t+"":t,e),e);import{C as s}from"./gateway.a5388860.js";import"./vue-router.33f35a18.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="fe167b4b-ca1b-448e-98ac-cad3433ebdae",a._sentryDebugIdIdentifier="sentry-dbid-fe167b4b-ca1b-448e-98ac-cad3433ebdae")}catch{}})();class o{constructor(){i(this,"urlPath","organizations")}async create(t){return s.post(`${this.urlPath}`,t)}async delete(t){await s.delete(`${this.urlPath}/${t}`)}async rename(t,e){await s.patch(`${this.urlPath}/${t}`,{name:e})}async list(){return s.get(`${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}}const n=new o;class r{constructor(t){this.dto=t}static async list(){return(await n.list()).map(e=>new r(e))}static async create(t){const e=await n.create({name:t});return new r(e)}static async get(t){const e=await n.get(t);return new r(e)}async delete(){await n.delete(this.id)}static async rename(t,e){return n.rename(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get featureFlags(){return this.dto.featureFlags}get billingMetadata(){return this.dto.billingMetadata}}export{r as O}; -//# sourceMappingURL=organization.efcc2606.js.map +var d=Object.defineProperty;var c=(a,t,e)=>t in a?d(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(c(a,typeof t!="symbol"?t+"":t,e),e);import{C as s}from"./gateway.edd4374b.js";import"./vue-router.324eaed2.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="8f6d906d-d92f-472b-9abf-95a9a7e5974c",a._sentryDebugIdIdentifier="sentry-dbid-8f6d906d-d92f-472b-9abf-95a9a7e5974c")}catch{}})();class o{constructor(){i(this,"urlPath","organizations")}async create(t){return s.post(`${this.urlPath}`,t)}async delete(t){await s.delete(`${this.urlPath}/${t}`)}async rename(t,e){await s.patch(`${this.urlPath}/${t}`,{name:e})}async list(){return s.get(`${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}}const n=new o;class r{constructor(t){this.dto=t}static async list(){return(await n.list()).map(e=>new r(e))}static async create(t){const e=await n.create({name:t});return new r(e)}static async get(t){const e=await n.get(t);return new r(e)}async delete(){await n.delete(this.id)}static async rename(t,e){return n.rename(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get featureFlags(){return this.dto.featureFlags}get billingMetadata(){return this.dto.billingMetadata}}export{r as O}; +//# sourceMappingURL=organization.0ae7dfed.js.map diff --git a/abstra_statics/dist/assets/player.31e2f5b6.js b/abstra_statics/dist/assets/player.31e2f5b6.js deleted file mode 100644 index 3296398e89..0000000000 --- a/abstra_statics/dist/assets/player.31e2f5b6.js +++ /dev/null @@ -1,2 +0,0 @@ -import{k as a,T as n,m as r,P as o,C as d,M as p,s as c,n as s,p as f,q as m,t as u,v as g}from"./vue-router.33f35a18.js";import{s as b,c as y,a as i}from"./workspaceStore.be837912.js";import{_ as l}from"./App.vue_vue_type_style_index_0_lang.ee165030.js";import"./url.b6644346.js";import"./colorHelpers.aaea81c6.js";import"./PlayerConfigProvider.90e436c2.js";import"./index.dec2a631.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="eb0499d0-061e-493f-a64a-26b99d998566",t._sentryDebugIdIdentifier="sentry-dbid-eb0499d0-061e-493f-a64a-26b99d998566")}catch{}})();class w{static init(){setInterval(()=>fetch("/_version"),20*1e3)}}(async()=>{await b();const t=y(),e=a({render:()=>f(l)});n.init(),r(e,i),w.init(),e.use(i),e.use(t),e.use(o),e.mount("#app"),e.component("VSelect",d),e.component("Markdown",p),e.component("Message",c),s(e,m),s(e,u),s(e,g)})(); -//# sourceMappingURL=player.31e2f5b6.js.map diff --git a/abstra_statics/dist/assets/player.77a7c967.js b/abstra_statics/dist/assets/player.77a7c967.js new file mode 100644 index 0000000000..c4219ca614 --- /dev/null +++ b/abstra_statics/dist/assets/player.77a7c967.js @@ -0,0 +1,2 @@ +import{k as n,T as a,m as r,P as o,C as c,M as p,s as d,n as s,p as f,q as m,t as u,v as g}from"./vue-router.324eaed2.js";import{s as y,c as l,a as i}from"./workspaceStore.5977d9e8.js";import{_ as b}from"./App.vue_vue_type_style_index_0_lang.d7c878e1.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./PlayerConfigProvider.8618ed20.js";import"./index.40f13cf1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c62cec82-1e31-4340-a5bf-8609f9c71c47",t._sentryDebugIdIdentifier="sentry-dbid-c62cec82-1e31-4340-a5bf-8609f9c71c47")}catch{}})();class w{static init(){setInterval(()=>fetch("/_version"),20*1e3)}}(async()=>{await y();const t=l(),e=n({render:()=>f(b)});a.init(),r(e,i),w.init(),e.use(i),e.use(t),e.use(o),e.mount("#app"),e.component("VSelect",c),e.component("Markdown",p),e.component("Message",d),s(e,m),s(e,u),s(e,g)})(); +//# sourceMappingURL=player.77a7c967.js.map diff --git a/abstra_statics/dist/assets/plotly.min.b6ac2143.js b/abstra_statics/dist/assets/plotly.min.c3dfa458.js similarity index 99% rename from abstra_statics/dist/assets/plotly.min.b6ac2143.js rename to abstra_statics/dist/assets/plotly.min.c3dfa458.js index 141f9200cf..73007054d3 100644 --- a/abstra_statics/dist/assets/plotly.min.b6ac2143.js +++ b/abstra_statics/dist/assets/plotly.min.c3dfa458.js @@ -1,4 +1,4 @@ -import{eH as Td}from"./vue-router.33f35a18.js";(function(){try{var Cs=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Il=new Error().stack;Il&&(Cs._sentryDebugIds=Cs._sentryDebugIds||{},Cs._sentryDebugIds[Il]="f89c567f-a339-40ca-8a60-97576723894f",Cs._sentryDebugIdIdentifier="sentry-dbid-f89c567f-a339-40ca-8a60-97576723894f")}catch{}})();function kd(Cs,Il){for(var bl=0;blPs[Ha]})}}}return Object.freeze(Object.defineProperty(Cs,Symbol.toStringTag,{value:"Module"}))}var of={exports:{}};(function(Cs,Il){/*! For license information please see plotly.min.js.LICENSE.txt */(function(bl,Ps){Cs.exports=Ps()})(self,function(){return function(){var bl={98847:function(ee,z,e){var M=e(71828),k={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var l in k){var T=l.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");M.addStyleRule(T,k[l])}},98222:function(ee,z,e){ee.exports=e(82887)},27206:function(ee,z,e){ee.exports=e(60822)},59893:function(ee,z,e){ee.exports=e(23381)},5224:function(ee,z,e){ee.exports=e(83832)},59509:function(ee,z,e){ee.exports=e(72201)},75557:function(ee,z,e){ee.exports=e(91815)},40338:function(ee,z,e){ee.exports=e(21462)},35080:function(ee,z,e){ee.exports=e(51319)},61396:function(ee,z,e){ee.exports=e(57516)},40549:function(ee,z,e){ee.exports=e(98128)},49866:function(ee,z,e){ee.exports=e(99442)},36089:function(ee,z,e){ee.exports=e(93740)},19548:function(ee,z,e){ee.exports=e(8729)},35831:function(ee,z,e){ee.exports=e(93814)},61039:function(ee,z,e){ee.exports=e(14382)},97040:function(ee,z,e){ee.exports=e(51759)},77986:function(ee,z,e){ee.exports=e(10421)},24296:function(ee,z,e){ee.exports=e(43102)},58872:function(ee,z,e){ee.exports=e(92165)},29626:function(ee,z,e){ee.exports=e(3325)},65591:function(ee,z,e){ee.exports=e(36071)},69738:function(ee,z,e){ee.exports=e(43905)},92650:function(ee,z,e){ee.exports=e(35902)},35630:function(ee,z,e){ee.exports=e(69816)},73434:function(ee,z,e){ee.exports=e(94507)},27909:function(ee,z,e){var M=e(19548);M.register([e(27206),e(5224),e(58872),e(65591),e(69738),e(92650),e(49866),e(25743),e(6197),e(97040),e(85461),e(73434),e(54201),e(81299),e(47645),e(35630),e(77986),e(83043),e(93005),e(96881),e(4534),e(50581),e(40549),e(77900),e(47582),e(35080),e(21641),e(17280),e(5861),e(29626),e(10021),e(65317),e(96268),e(61396),e(35831),e(16122),e(46163),e(40344),e(40338),e(48131),e(36089),e(55334),e(75557),e(19440),e(99488),e(59893),e(97393),e(98222),e(61039),e(24296),e(66398),e(59509)]),ee.exports=M},46163:function(ee,z,e){ee.exports=e(15154)},96881:function(ee,z,e){ee.exports=e(64943)},50581:function(ee,z,e){ee.exports=e(21164)},55334:function(ee,z,e){ee.exports=e(54186)},65317:function(ee,z,e){ee.exports=e(94873)},10021:function(ee,z,e){ee.exports=e(67618)},54201:function(ee,z,e){ee.exports=e(58810)},5861:function(ee,z,e){ee.exports=e(20593)},16122:function(ee,z,e){ee.exports=e(29396)},83043:function(ee,z,e){ee.exports=e(13551)},48131:function(ee,z,e){ee.exports=e(46858)},47582:function(ee,z,e){ee.exports=e(17988)},21641:function(ee,z,e){ee.exports=e(68868)},96268:function(ee,z,e){ee.exports=e(20467)},19440:function(ee,z,e){ee.exports=e(91271)},99488:function(ee,z,e){ee.exports=e(21461)},97393:function(ee,z,e){ee.exports=e(85956)},25743:function(ee,z,e){ee.exports=e(52979)},66398:function(ee,z,e){ee.exports=e(32275)},17280:function(ee,z,e){ee.exports=e(6419)},77900:function(ee,z,e){ee.exports=e(61510)},81299:function(ee,z,e){ee.exports=e(87619)},93005:function(ee,z,e){ee.exports=e(93601)},40344:function(ee,z,e){ee.exports=e(96595)},47645:function(ee,z,e){ee.exports=e(70954)},6197:function(ee,z,e){ee.exports=e(47462)},4534:function(ee,z,e){ee.exports=e(17659)},85461:function(ee,z,e){ee.exports=e(19990)},82884:function(ee){ee.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(ee,z,e){var M=e(82884),k=e(41940),l=e(85555),T=e(44467).templatedArray;e(24695),ee.exports=T("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:k({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:M.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:M.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",l.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",l.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",l.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",l.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:k({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(ee,z,e){var M=e(71828),k=e(89298),l=e(92605).draw;function T(d){var s=d._fullLayout;M.filterVisible(s.annotations).forEach(function(t){var i=k.getFromId(d,t.xref),r=k.getFromId(d,t.yref),n=k.getRefType(t.xref),o=k.getRefType(t.yref);t._extremes={},n==="range"&&b(t,i),o==="range"&&b(t,r)})}function b(d,s){var t,i=s._id,r=i.charAt(0),n=d[r],o=d["a"+r],a=d[r+"ref"],u=d["a"+r+"ref"],p=d["_"+r+"padplus"],c=d["_"+r+"padminus"],x={x:1,y:-1}[r]*d[r+"shift"],g=3*d.arrowsize*d.arrowwidth||0,h=g+x,m=g-x,v=3*d.startarrowsize*d.arrowwidth||0,y=v+x,_=v-x;if(u===a){var f=k.findExtremes(s,[s.r2c(n)],{ppadplus:h,ppadminus:m}),S=k.findExtremes(s,[s.r2c(o)],{ppadplus:Math.max(p,y),ppadminus:Math.max(c,_)});t={min:[f.min[0],S.min[0]],max:[f.max[0],S.max[0]]}}else y=o?y+o:y,_=o?_-o:_,t=k.findExtremes(s,[s.r2c(n)],{ppadplus:Math.max(p,h,y),ppadminus:Math.max(c,m,_)});d._extremes[i]=t}ee.exports=function(d){var s=d._fullLayout;if(M.filterVisible(s.annotations).length&&d._fullData.length)return M.syncOrAsync([l,T],d)}},44317:function(ee,z,e){var M=e(71828),k=e(73972),l=e(44467).arrayEditor;function T(d,s){var t,i,r,n,o,a,u,p=d._fullLayout.annotations,c=[],x=[],g=[],h=(s||[]).length;for(t=0;t0||t.explicitOff.length>0},onClick:function(d,s){var t,i,r=T(d,s),n=r.on,o=r.off.concat(r.explicitOff),a={},u=d._fullLayout.annotations;if(n.length||o.length){for(t=0;t.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[ct]}for(var Ne=!1,fe=["x","y"],Me=0;Me1)&&(at===Ke?((Mt=Qe.r2fraction(h["a"+Ge]))<0||Mt>1)&&(Ne=!0):Ne=!0),be=Qe._offset+Qe.r2p(h[Ge]),Re=.5}else{var Ye=Pt==="domain";Ge==="x"?(Fe=h[Ge],be=Ye?Qe._offset+Qe._length*Fe:be=E.l+E.w*Fe):(Fe=1-h[Ge],be=Ye?Qe._offset+Qe._length*Fe:be=E.t+E.h*Fe),Re=h.showarrow?.5:Fe}if(h.showarrow){wt.head=be;var Xe=h["a"+Ge];if(He=xt*ze(.5,h.xanchor)-st*ze(.5,h.yanchor),at===Ke){var Ve=d.getRefType(at);Ve==="domain"?(Ge==="y"&&(Xe=1-Xe),wt.tail=Qe._offset+Qe._length*Xe):Ve==="paper"?Ge==="y"?(Xe=1-Xe,wt.tail=E.t+E.h*Xe):wt.tail=E.l+E.w*Xe:wt.tail=Qe._offset+Qe.r2p(Xe),Ce=He}else wt.tail=be+Xe,Ce=He+Xe;wt.text=wt.tail+He;var We=w[Ge==="x"?"width":"height"];if(Ke==="paper"&&(wt.head=T.constrain(wt.head,1,We-1)),at==="pixel"){var nt=-Math.max(wt.tail-3,wt.text),rt=Math.min(wt.tail+3,wt.text)-We;nt>0?(wt.tail+=nt,wt.text+=nt):rt>0&&(wt.tail-=rt,wt.text-=rt)}wt.tail+=Tt,wt.head+=Tt}else Ce=He=ot*ze(Re,mt),wt.text=be+He;wt.text+=Tt,He+=Tt,Ce+=Tt,h["_"+Ge+"padplus"]=ot/2+Ce,h["_"+Ge+"padminus"]=ot/2-Ce,h["_"+Ge+"size"]=ot,h["_"+Ge+"shift"]=He}if(Ne)K.remove();else{var Ie=0,De=0;if(h.align!=="left"&&(Ie=(ne-le)*(h.align==="center"?.5:1)),h.valign!=="top"&&(De=(ve-se)*(h.valign==="middle"?.5:1)),ke)Oe.select("svg").attr({x:W+Ie-1,y:W+De}).call(t.setClipUrl,re?O:null,g);else{var et=W+De-Te.top,tt=W+Ie-Te.left;pe.call(r.positionText,tt,et).call(t.setClipUrl,re?O:null,g)}ie.select("rect").call(t.setRect,W,W,ne,ve),Q.call(t.setRect,J/2,J/2,Ee-J,_e-J),K.call(t.setTranslate,Math.round(V.x.text-Ee/2),Math.round(V.y.text-_e/2)),H.attr({transform:"rotate("+N+","+V.x.text+","+V.y.text+")"});var gt,ht=function(dt,ct){B.selectAll(".annotation-arrow-g").remove();var kt=V.x.head,ut=V.y.head,ft=V.x.tail+dt,bt=V.y.tail+ct,It=V.x.text+dt,Rt=V.y.text+ct,Dt=T.rotationXYMatrix(N,It,Rt),Kt=T.apply2DTransform(Dt),qt=T.apply2DTransform2(Dt),Wt=+Q.attr("width"),Ht=+Q.attr("height"),hn=It-.5*Wt,yn=hn+Wt,un=Rt-.5*Ht,jt=un+Ht,nn=[[hn,un,hn,jt],[hn,jt,yn,jt],[yn,jt,yn,un],[yn,un,hn,un]].map(qt);if(!nn.reduce(function($n,Gn){return $n^!!T.segmentsIntersect(kt,ut,kt+1e6,ut+1e6,Gn[0],Gn[1],Gn[2],Gn[3])},!1)){nn.forEach(function($n){var Gn=T.segmentsIntersect(ft,bt,kt,ut,$n[0],$n[1],$n[2],$n[3]);Gn&&(ft=Gn.x,bt=Gn.y)});var Jt=h.arrowwidth,rn=h.arrowcolor,fn=h.arrowside,vn=B.append("g").style({opacity:s.opacity(rn)}).classed("annotation-arrow-g",!0),Mn=vn.append("path").attr("d","M"+ft+","+bt+"L"+kt+","+ut).style("stroke-width",Jt+"px").call(s.stroke,s.rgb(rn));if(u(Mn,fn,h),L.annotationPosition&&Mn.node().parentNode&&!v){var En=kt,bn=ut;if(h.standoff){var Ln=Math.sqrt(Math.pow(kt-ft,2)+Math.pow(ut-bt,2));En+=h.standoff*(ft-kt)/Ln,bn+=h.standoff*(bt-ut)/Ln}var Wn,Qn,ir=vn.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(ft-En)+","+(bt-bn),transform:b(En,bn)}).style("stroke-width",Jt+6+"px").call(s.stroke,"rgba(0,0,0,0)").call(s.fill,"rgba(0,0,0,0)");o.init({element:ir.node(),gd:g,prepFn:function(){var $n=t.getTranslate(K);Wn=$n.x,Qn=$n.y,y&&y.autorange&&P(y._name+".autorange",!0),_&&_.autorange&&P(_._name+".autorange",!0)},moveFn:function($n,Gn){var dr=Kt(Wn,Qn),Bt=dr[0]+$n,tn=dr[1]+Gn;K.call(t.setTranslate,Bt,tn),R("x",c(y,$n,"x",E,h)),R("y",c(_,Gn,"y",E,h)),h.axref===h.xref&&R("ax",c(y,$n,"ax",E,h)),h.ayref===h.yref&&R("ay",c(_,Gn,"ay",E,h)),vn.attr("transform",b($n,Gn)),H.attr({transform:"rotate("+N+","+Bt+","+tn+")"})},doneFn:function(){k.call("_guiRelayout",g,G());var $n=document.querySelector(".js-notes-box-panel");$n&&$n.redraw($n.selectedObj)}})}}};h.showarrow&&ht(0,0),q&&o.init({element:K.node(),gd:g,prepFn:function(){gt=H.attr("transform")},moveFn:function(dt,ct){var kt="pointer";if(h.showarrow)h.axref===h.xref?R("ax",c(y,dt,"ax",E,h)):R("ax",h.ax+dt),h.ayref===h.yref?R("ay",c(_,ct,"ay",E.w,h)):R("ay",h.ay+ct),ht(dt,ct);else{if(v)return;var ut,ft;if(y)ut=c(y,dt,"x",E,h);else{var bt=h._xsize/E.w,It=h.x+(h._xshift-h.xshift)/E.w-bt/2;ut=o.align(It+dt/E.w,bt,0,1,h.xanchor)}if(_)ft=c(_,ct,"y",E,h);else{var Rt=h._ysize/E.h,Dt=h.y-(h._yshift+h.yshift)/E.h-Rt/2;ft=o.align(Dt-ct/E.h,Rt,0,1,h.yanchor)}R("x",ut),R("y",ft),y&&_||(kt=o.getCursor(y?.5:ut,_?.5:ft,h.xanchor,h.yanchor))}H.attr({transform:b(dt,ct)+gt}),n(K,kt)},clickFn:function(dt,ct){h.captureevents&&g.emit("plotly_clickannotation",ge(ct))},doneFn:function(){n(K),k.call("_guiRelayout",g,G());var dt=document.querySelector(".js-notes-box-panel");dt&&dt.redraw(dt.selectedObj)}})}}}ee.exports={draw:function(g){var h=g._fullLayout;h._infolayer.selectAll(".annotation").remove();for(var m=0;m=0,v=i.indexOf("end")>=0,y=c.backoff*g+r.standoff,_=x.backoff*h+r.startstandoff;if(p.nodeName==="line"){n={x:+t.attr("x1"),y:+t.attr("y1")},o={x:+t.attr("x2"),y:+t.attr("y2")};var f=n.x-o.x,S=n.y-o.y;if(u=(a=Math.atan2(S,f))+Math.PI,y&&_&&y+_>Math.sqrt(f*f+S*S))return void B();if(y){if(y*y>f*f+S*S)return void B();var w=y*Math.cos(a),E=y*Math.sin(a);o.x+=w,o.y+=E,t.attr({x2:o.x,y2:o.y})}if(_){if(_*_>f*f+S*S)return void B();var L=_*Math.cos(a),C=_*Math.sin(a);n.x-=L,n.y-=C,t.attr({x1:n.x,y1:n.y})}}else if(p.nodeName==="path"){var P=p.getTotalLength(),R="";if(P1){r=!0;break}}r?T.fullLayout._infolayer.select(".annotation-"+T.id+'[data-index="'+t+'"]').remove():(i._pdata=k(T.glplot.cameraParams,[b.xaxis.r2l(i.x)*d[0],b.yaxis.r2l(i.y)*d[1],b.zaxis.r2l(i.z)*d[2]]),M(T.graphDiv,i,t,T.id,i._xa,i._ya))}}},2468:function(ee,z,e){var M=e(73972),k=e(71828);ee.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:e(26997)}}},layoutAttributes:e(26997),handleDefaults:e(20226),includeBasePlot:function(l,T){var b=M.subplotsRegistry.gl3d;if(b)for(var d=b.attrRegex,s=Object.keys(l),t=0;t=0)))return i;if(u===3)o[u]>1&&(o[u]=1);else if(o[u]>=1)return i}var p=Math.round(255*o[0])+", "+Math.round(255*o[1])+", "+Math.round(255*o[2]);return a?"rgba("+p+", "+o[3]+")":"rgb("+p+")"}T.tinyRGB=function(i){var r=i.toRgb();return"rgb("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+")"},T.rgb=function(i){return T.tinyRGB(M(i))},T.opacity=function(i){return i?M(i).getAlpha():0},T.addOpacity=function(i,r){var n=M(i).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+r+")"},T.combine=function(i,r){var n=M(i).toRgb();if(n.a===1)return M(i).toRgbString();var o=M(r||s).toRgb(),a=o.a===1?o:{r:255*(1-o.a)+o.r*o.a,g:255*(1-o.a)+o.g*o.a,b:255*(1-o.a)+o.b*o.a},u={r:a.r*(1-n.a)+n.r*n.a,g:a.g*(1-n.a)+n.g*n.a,b:a.b*(1-n.a)+n.b*n.a};return M(u).toRgbString()},T.contrast=function(i,r,n){var o=M(i);return o.getAlpha()!==1&&(o=M(T.combine(i,s))),(o.isDark()?r?o.lighten(r):s:n?o.darken(n):d).toString()},T.stroke=function(i,r){var n=M(r);i.style({stroke:T.tinyRGB(n),"stroke-opacity":n.getAlpha()})},T.fill=function(i,r){var n=M(r);i.style({fill:T.tinyRGB(n),"fill-opacity":n.getAlpha()})},T.clean=function(i){if(i&&typeof i=="object"){var r,n,o,a,u=Object.keys(i);for(r=0;r0?rt>=gt:rt<=gt));Ie++)rt>dt&&rt0?rt>=gt:rt<=gt));Ie++)rt>nt[0]&&rt1){var st=Math.pow(10,Math.floor(Math.log(xt)/Math.LN10));Qe*=st*s.roundUp(xt/st,[2,5,10]),(Math.abs(le.start)/le.size+1e-6)%1<2e-6&&(Ke.tick0=0)}Ke.dtick=Qe}Ke.domain=G?[He+W/pe.h,He+Ne-W/pe.h]:[He+Y/pe.w,He+Ne-Y/pe.w],Ke.setScale(),C.attr("transform",t(Math.round(pe.l),Math.round(pe.t)));var ot,mt=C.select("."+_.cbtitleunshift).attr("transform",t(-Math.round(pe.l),-Math.round(pe.t))),Tt=Ke.ticklabelposition,wt=Ke.title.font.size,Pt=C.select("."+_.cbaxis),Mt=0,Ye=0;function Xe(Ve,We){var nt={propContainer:Ke,propName:P._propPrefix+"title",traceIndex:P._traceIndex,_meta:P._meta,placeholder:ce._dfltTitle.colorbar,containerGroup:C.select("."+_.cbtitle)},rt=Ve.charAt(0)==="h"?Ve.substr(1):"h"+Ve;C.selectAll("."+rt+",."+rt+"-math-group").remove(),a.draw(R,Ve,i(nt,We||{}))}return s.syncOrAsync([l.previousPromises,function(){var Ve,We;(G&&at||!G&&!at)&&(me==="top"&&(Ve=Y+pe.l+fe*Q,We=W+pe.t+Me*(1-He-Ne)+3+.75*wt),me==="bottom"&&(Ve=Y+pe.l+fe*Q,We=W+pe.t+Me*(1-He)-3-.25*wt),me==="right"&&(We=W+pe.t+Me*re+3+.75*wt,Ve=Y+pe.l+fe*He),Xe(Ke._id+"title",{attributes:{x:Ve,y:We,"text-anchor":G?"start":"middle"}}))},function(){if(!G&&!at||G&&at){var Ve,We=C.select("."+_.cbtitle),nt=We.select("text"),rt=[-H/2,H/2],Ie=We.select(".h"+Ke._id+"title-math-group").node(),De=15.6;if(nt.node()&&(De=parseInt(nt.node().style.fontSize,10)*m),Ie?(Ve=n.bBox(Ie),Ye=Ve.width,(Mt=Ve.height)>De&&(rt[1]-=(Mt-De)/2)):nt.node()&&!nt.classed(_.jsPlaceholder)&&(Ve=n.bBox(nt.node()),Ye=Ve.width,Mt=Ve.height),G){if(Mt){if(Mt+=5,me==="top")Ke.domain[1]-=Mt/pe.h,rt[1]*=-1;else{Ke.domain[0]+=Mt/pe.h;var et=u.lineCount(nt);rt[1]+=(1-et)*De}We.attr("transform",t(rt[0],rt[1])),Ke.setScale()}}else Ye&&(me==="right"&&(Ke.domain[0]+=(Ye+wt/2)/pe.w),We.attr("transform",t(rt[0],rt[1])),Ke.setScale())}C.selectAll("."+_.cbfills+",."+_.cblines).attr("transform",G?t(0,Math.round(pe.h*(1-Ke.domain[1]))):t(Math.round(pe.w*Ke.domain[0]),0)),Pt.attr("transform",G?t(0,Math.round(-pe.t)):t(Math.round(-pe.l),0));var tt=C.select("."+_.cbfills).selectAll("rect."+_.cbfill).attr("style","").data(ne);tt.enter().append("rect").classed(_.cbfill,!0).attr("style",""),tt.exit().remove();var gt=Oe.map(Ke.c2p).map(Math.round).sort(function(ut,ft){return ut-ft});tt.each(function(ut,ft){var bt=[ft===0?Oe[0]:(ne[ft]+ne[ft-1])/2,ft===ne.length-1?Oe[1]:(ne[ft]+ne[ft+1])/2].map(Ke.c2p).map(Math.round);G&&(bt[1]=s.constrain(bt[1]+(bt[1]>bt[0])?1:-1,gt[0],gt[1]));var It=M.select(this).attr(G?"x":"y",be).attr(G?"y":"x",M.min(bt)).attr(G?"width":"height",Math.max(Ee,2)).attr(G?"height":"width",Math.max(M.max(bt)-M.min(bt),2));if(P._fillgradient)n.gradient(It,R,P._id,G?"vertical":"horizontalreversed",P._fillgradient,"fill");else{var Rt=Te(ut).replace("e-","");It.attr("fill",k(Rt).toHexString())}});var ht=C.select("."+_.cblines).selectAll("path."+_.cbline).data(we.color&&we.width?ve:[]);ht.enter().append("path").classed(_.cbline,!0),ht.exit().remove(),ht.each(function(ut){var ft=be,bt=Math.round(Ke.c2p(ut))+we.width/2%1;M.select(this).attr("d","M"+(G?ft+","+bt:bt+","+ft)+(G?"h":"v")+Ee).call(n.lineGroupStyle,we.width,ke(ut),we.dash)}),Pt.selectAll("g."+Ke._id+"tick,path").remove();var dt=be+Ee+(H||0)/2-(P.ticks==="outside"?1:0),ct=b.calcTicks(Ke),kt=b.getTickSigns(Ke)[2];return b.drawTicks(R,Ke,{vals:Ke.ticks==="inside"?b.clipEnds(Ke,ct):ct,layer:Pt,path:b.makeTickPath(Ke,dt,kt),transFn:b.makeTransTickFn(Ke)}),b.drawLabels(R,Ke,{vals:ct,layer:Pt,transFn:b.makeTransTickLabelFn(Ke),labelFns:b.makeLabelFns(Ke,dt)})},function(){if(G&&!at||!G&&at){var Ve,We,nt=Ke.position||0,rt=Ke._offset+Ke._length/2;if(me==="right")We=rt,Ve=pe.l+fe*nt+10+wt*(Ke.showticklabels?1:.5);else if(Ve=rt,me==="bottom"&&(We=pe.t+Me*nt+10+(Tt.indexOf("inside")===-1?Ke.tickfont.size:0)+(Ke.ticks!=="intside"&&P.ticklen||0)),me==="top"){var Ie=ye.text.split("
").length;We=pe.t+Me*nt+10-Ee-m*wt*Ie}Xe((G?"h":"v")+Ke._id+"title",{avoid:{selection:M.select(R).selectAll("g."+Ke._id+"tick"),side:me,offsetTop:G?0:pe.t,offsetLeft:G?pe.l:0,maxShift:G?ce.width:ce.height},attributes:{x:Ve,y:We,"text-anchor":"middle"},transform:{rotate:G?-90:0,offset:0}})}},l.previousPromises,function(){var Ve,We=Ee+H/2;Tt.indexOf("inside")===-1&&(Ve=n.bBox(Pt.node()),We+=G?Ve.width:Ve.height),ot=mt.select("text");var nt=0,rt=G&&me==="top",Ie=!G&&me==="right",De=0;if(ot.node()&&!ot.classed(_.jsPlaceholder)){var et,tt=mt.select(".h"+Ke._id+"title-math-group").node();tt&&(G&&at||!G&&!at)?(nt=(Ve=n.bBox(tt)).width,et=Ve.height):(nt=(Ve=n.bBox(mt.node())).right-pe.l-(G?be:Ge),et=Ve.bottom-pe.t-(G?Ge:be),G||me!=="top"||(We+=Ve.height,De=Ve.height)),Ie&&(ot.attr("transform",t(nt/2+wt/2,0)),nt*=2),We=Math.max(We,G?nt:et)}var gt=2*(G?Y:W)+We+q+H/2,ht=0;!G&&ye.text&&J==="bottom"&&re<=0&&(gt+=ht=gt/2,De+=ht),ce._hColorbarMoveTitle=ht,ce._hColorbarMoveCBTitle=De;var dt=q+H,ct=(G?be:Ge)-dt/2-(G?Y:0),kt=(G?Ge:be)-(G?ze:W+De-ht);C.select("."+_.cbbg).attr("x",ct).attr("y",kt).attr(G?"width":"height",Math.max(gt-ht,2)).attr(G?"height":"width",Math.max(ze+dt,2)).call(o.fill,te).call(o.stroke,P.bordercolor).style("stroke-width",q);var ut=Ie?Math.max(nt-10,0):0;C.selectAll("."+_.cboutline).attr("x",(G?be:Ge+Y)+ut).attr("y",(G?Ge+W-ze:be)+(rt?Mt:0)).attr(G?"width":"height",Math.max(Ee,2)).attr(G?"height":"width",Math.max(ze-(G?2*W+Mt:2*Y+ut),2)).call(o.stroke,P.outlinecolor).style({fill:"none","stroke-width":H});var ft=G?Ce*gt:0,bt=G?0:(1-Fe)*gt-De;if(ft=oe?pe.l-ft:-ft,bt=ie?pe.t-bt:-bt,C.attr("transform",t(ft,bt)),!G&&(q||k(te).getAlpha()&&!k.equals(ce.paper_bgcolor,te))){var It=Pt.selectAll("text"),Rt=It[0].length,Dt=C.select("."+_.cbbg).node(),Kt=n.bBox(Dt),qt=n.getTranslate(C);It.each(function(fn,vn){var Mn=Rt-1;if(vn===0||vn===Mn){var En,bn=n.bBox(this),Ln=n.getTranslate(this);if(vn===Mn){var Wn=bn.right+Ln.x;(En=Kt.right+qt.x+Ge-q-2+Q-Wn)>0&&(En=0)}else if(vn===0){var Qn=bn.left+Ln.x;(En=Kt.left+qt.x+Ge+q+2-Qn)<0&&(En=0)}En&&(Rt<3?this.setAttribute("transform","translate("+En+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var Wt={},Ht=v[K],hn=y[K],yn=v[J],un=y[J],jt=gt-Ee;G?(V==="pixels"?(Wt.y=re,Wt.t=ze*yn,Wt.b=ze*un):(Wt.t=Wt.b=0,Wt.yt=re+O*yn,Wt.yb=re-O*un),B==="pixels"?(Wt.x=Q,Wt.l=gt*Ht,Wt.r=gt*hn):(Wt.l=jt*Ht,Wt.r=jt*hn,Wt.xl=Q-N*Ht,Wt.xr=Q+N*hn)):(V==="pixels"?(Wt.x=Q,Wt.l=ze*Ht,Wt.r=ze*hn):(Wt.l=Wt.r=0,Wt.xl=Q+O*Ht,Wt.xr=Q-O*hn),B==="pixels"?(Wt.y=1-re,Wt.t=gt*yn,Wt.b=gt*un):(Wt.t=jt*yn,Wt.b=jt*un,Wt.yt=re-N*yn,Wt.yb=re+N*un));var nn=P.y<.5?"b":"t",Jt=P.x<.5?"l":"r";R._fullLayout._reservedMargin[P._id]={};var rn={r:ce.width-ct-ft,l:ct+Wt.r,b:ce.height-kt-bt,t:kt+Wt.b};oe&&ie?l.autoMargin(R,P._id,Wt):oe?R._fullLayout._reservedMargin[P._id][nn]=rn[nn]:ie||G?R._fullLayout._reservedMargin[P._id][Jt]=rn[Jt]:R._fullLayout._reservedMargin[P._id][nn]=rn[nn]}],R)}(E,w,f);L&&L.then&&(f._promises||[]).push(L),f._context.edits.colorbarPosition&&function(C,P,R){var G,O,V,N=P.orientation==="v",B=R._fullLayout._size;d.init({element:C.node(),gd:R,prepFn:function(){G=C.attr("transform"),r(C)},moveFn:function(H,q){C.attr("transform",G+t(H,q)),O=d.align((N?P._uFrac:P._vFrac)+H/B.w,N?P._thickFrac:P._lenFrac,0,1,P.xanchor),V=d.align((N?P._vFrac:1-P._uFrac)-q/B.h,N?P._lenFrac:P._thickFrac,0,1,P.yanchor);var te=d.getCursor(O,V,P.xanchor,P.yanchor);r(C,te)},doneFn:function(){if(r(C),O!==void 0&&V!==void 0){var H={};H[P._propPrefix+"x"]=O,H[P._propPrefix+"y"]=V,P._traceIndex!==void 0?T.call("_guiRestyle",R,H,P._traceIndex):T.call("_guiRelayout",R,H)}}})}(E,w,f)}),S.exit().each(function(w){l.autoMargin(f,w._id)}).remove(),S.order()}}},76228:function(ee,z,e){var M=e(71828);ee.exports=function(k){return M.isPlainObject(k.colorbar)}},12311:function(ee,z,e){ee.exports={moduleType:"component",name:"colorbar",attributes:e(63583),supplyDefaults:e(62499),draw:e(98981).draw,hasColorbar:e(76228)}},50693:function(ee,z,e){var M=e(63583),k=e(30587).counter,l=e(78607),T=e(63282).scales;function b(d){return"`"+d+"`"}l(T),ee.exports=function(d,s){d=d||"";var t,i=(s=s||{}).cLetter||"c",r=("onlyIfNumerical"in s?s.onlyIfNumerical:Boolean(d),"noScale"in s?s.noScale:d==="marker.line"),n="showScaleDflt"in s?s.showScaleDflt:i==="z",o=typeof s.colorscaleDflt=="string"?T[s.colorscaleDflt]:null,a=s.editTypeOverride||"",u=d?d+".":"";"colorAttr"in s?(t=s.colorAttr,s.colorAttr):b(u+(t={z:"z",c:"color"}[i]));var p=i+"auto",c=i+"min",x=i+"max",g=i+"mid",h={};h[c]=h[x]=void 0;var m={};m[p]=!1;var v={};return t==="color"&&(v.color={valType:"color",arrayOk:!0,editType:a||"style"},s.anim&&(v.color.anim=!0)),v[p]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:h},v[c]={valType:"number",dflt:null,editType:a||"plot",impliedEdits:m},v[x]={valType:"number",dflt:null,editType:a||"plot",impliedEdits:m},v[g]={valType:"number",dflt:null,editType:"calc",impliedEdits:h},v.colorscale={valType:"colorscale",editType:"calc",dflt:o,impliedEdits:{autocolorscale:!1}},v.autocolorscale={valType:"boolean",dflt:s.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},v.reversescale={valType:"boolean",dflt:!1,editType:"plot"},r||(v.showscale={valType:"boolean",dflt:n,editType:"calc"},v.colorbar=M),s.noColorAxis||(v.coloraxis={valType:"subplotid",regex:k("coloraxis"),dflt:null,editType:"calc"}),v}},78803:function(ee,z,e){var M=e(92770),k=e(71828),l=e(52075).extractOpts;ee.exports=function(T,b,d){var s,t=T._fullLayout,i=d.vals,r=d.containerStr,n=r?k.nestedProperty(b,r).get():b,o=l(n),a=o.auto!==!1,u=o.min,p=o.max,c=o.mid,x=function(){return k.aggNums(Math.min,null,i)},g=function(){return k.aggNums(Math.max,null,i)};u===void 0?u=x():a&&(u=n._colorAx&&M(u)?Math.min(u,x()):x()),p===void 0?p=g():a&&(p=n._colorAx&&M(p)?Math.max(p,g()):g()),a&&c!==void 0&&(p-c>c-u?u=c-(p-c):p-c=0?t.colorscale.sequential:t.colorscale.sequentialminus,o._sync("colorscale",s))}},33046:function(ee,z,e){var M=e(71828),k=e(52075).hasColorscale,l=e(52075).extractOpts;ee.exports=function(T,b){function d(a,u){var p=a["_"+u];p!==void 0&&(a[u]=p)}function s(a,u){var p=u.container?M.nestedProperty(a,u.container).get():a;if(p)if(p.coloraxis)p._colorAx=b[p.coloraxis];else{var c=l(p),x=c.auto;(x||c.min===void 0)&&d(p,u.min),(x||c.max===void 0)&&d(p,u.max),c.autocolorscale&&d(p,"colorscale")}}for(var t=0;t=0;x--,g++){var h=u[x];c[g]=[1-h[0],h[1]]}return c}function o(u,p){p=p||{};for(var c=u.domain,x=u.range,g=x.length,h=new Array(g),m=0;m1.3333333333333333-d?b:d}},70461:function(ee,z,e){var M=e(71828),k=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];ee.exports=function(l,T,b,d){return l=b==="left"?0:b==="center"?1:b==="right"?2:M.constrain(Math.floor(3*l),0,2),T=d==="bottom"?0:d==="middle"?1:d==="top"?2:M.constrain(Math.floor(3*T),0,2),k[T][l]}},64505:function(ee,z){z.selectMode=function(e){return e==="lasso"||e==="select"},z.drawMode=function(e){return e==="drawclosedpath"||e==="drawopenpath"||e==="drawline"||e==="drawrect"||e==="drawcircle"},z.openMode=function(e){return e==="drawline"||e==="drawopenpath"},z.rectMode=function(e){return e==="select"||e==="drawline"||e==="drawrect"||e==="drawcircle"},z.freeMode=function(e){return e==="lasso"||e==="drawclosedpath"||e==="drawopenpath"},z.selectingOrDrawing=function(e){return z.freeMode(e)||z.rectMode(e)}},28569:function(ee,z,e){var M=e(48956),k=e(57035),l=e(38520),T=e(71828).removeElement,b=e(85555),d=ee.exports={};d.align=e(92807),d.getCursor=e(70461);var s=e(26041);function t(){var r=document.createElement("div");r.className="dragcover";var n=r.style;return n.position="fixed",n.left=0,n.right=0,n.top=0,n.bottom=0,n.zIndex=999999999,n.background="none",document.body.appendChild(r),r}function i(r){return M(r.changedTouches?r.changedTouches[0]:r,document.body)}d.unhover=s.wrapped,d.unhoverRaw=s.raw,d.init=function(r){var n,o,a,u,p,c,x,g,h=r.gd,m=1,v=h._context.doubleClickDelay,y=r.element;h._mouseDownTime||(h._mouseDownTime=0),y.style.pointerEvents="all",y.onmousedown=f,l?(y._ontouchstart&&y.removeEventListener("touchstart",y._ontouchstart),y._ontouchstart=f,y.addEventListener("touchstart",f,{passive:!1})):y.ontouchstart=f;var _=r.clampFn||function(E,L,C){return Math.abs(E)v&&(m=Math.max(m-1,1)),h._dragged)r.doneFn&&r.doneFn();else if(r.clickFn&&r.clickFn(m,c),!g){var L;try{L=new MouseEvent("click",E)}catch{var C=i(E);(L=document.createEvent("MouseEvents")).initMouseEvent("click",E.bubbles,E.cancelable,E.view,E.detail,E.screenX,E.screenY,C[0],C[1],E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,E.button,E.relatedTarget)}x.dispatchEvent(L)}h._dragging=!1,h._dragged=!1}else h._dragged=!1}},d.coverSlip=t},26041:function(ee,z,e){var M=e(11086),k=e(79990),l=e(24401).getGraphDiv,T=e(26675),b=ee.exports={};b.wrapped=function(d,s,t){(d=l(d))._fullLayout&&k.clear(d._fullLayout._uid+T.HOVERID),b.raw(d,s,t)},b.raw=function(d,s){var t=d._fullLayout,i=d._hoverdata;s||(s={}),s.target&&!d._dragged&&M.triggerHandler(d,"plotly_beforehover",s)===!1||(t._hoverlayer.selectAll("g").remove(),t._hoverlayer.selectAll("line").remove(),t._hoverlayer.selectAll("circle").remove(),d._hoverdata=void 0,s.target&&i&&d.emit("plotly_unhover",{event:s,points:i}))}},79952:function(ee,z){z.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},z.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(ee,z,e){var M=e(39898),k=e(71828),l=k.numberFormat,T=e(92770),b=e(84267),d=e(73972),s=e(7901),t=e(21081),i=k.strTranslate,r=e(63893),n=e(77922),o=e(18783).LINE_SPACING,a=e(37822).DESELECTDIM,u=e(34098),p=e(39984),c=e(23469).appendArrayPointValue,x=ee.exports={};function g(ke,Te,le){var se=Te.fillpattern,ne=se&&x.getPatternAttr(se.shape,0,"");if(ne){var ve=x.getPatternAttr(se.bgcolor,0,null),Ee=x.getPatternAttr(se.fgcolor,0,null),_e=se.fgopacity,ze=x.getPatternAttr(se.size,0,8),Ne=x.getPatternAttr(se.solidity,0,.3),fe=Te.uid;x.pattern(ke,"point",le,fe,ne,ze,Ne,void 0,se.fillmode,ve,Ee,_e)}else Te.fillcolor&&ke.call(s.fill,Te.fillcolor)}x.font=function(ke,Te,le,se){k.isPlainObject(Te)&&(se=Te.color,le=Te.size,Te=Te.family),Te&&ke.style("font-family",Te),le+1&&ke.style("font-size",le+"px"),se&&ke.call(s.fill,se)},x.setPosition=function(ke,Te,le){ke.attr("x",Te).attr("y",le)},x.setSize=function(ke,Te,le){ke.attr("width",Te).attr("height",le)},x.setRect=function(ke,Te,le,se,ne){ke.call(x.setPosition,Te,le).call(x.setSize,se,ne)},x.translatePoint=function(ke,Te,le,se){var ne=le.c2p(ke.x),ve=se.c2p(ke.y);return!!(T(ne)&&T(ve)&&Te.node())&&(Te.node().nodeName==="text"?Te.attr("x",ne).attr("y",ve):Te.attr("transform",i(ne,ve)),!0)},x.translatePoints=function(ke,Te,le){ke.each(function(se){var ne=M.select(this);x.translatePoint(se,ne,Te,le)})},x.hideOutsideRangePoint=function(ke,Te,le,se,ne,ve){Te.attr("display",le.isPtWithinRange(ke,ne)&&se.isPtWithinRange(ke,ve)?null:"none")},x.hideOutsideRangePoints=function(ke,Te){if(Te._hasClipOnAxisFalse){var le=Te.xaxis,se=Te.yaxis;ke.each(function(ne){var ve=ne[0].trace,Ee=ve.xcalendar,_e=ve.ycalendar,ze=d.traceIs(ve,"bar-like")?".bartext":".point,.textpoint";ke.selectAll(ze).each(function(Ne){x.hideOutsideRangePoint(Ne,M.select(this),le,se,Ee,_e)})})}},x.crispRound=function(ke,Te,le){return Te&&T(Te)?ke._context.staticPlot?Te:Te<1?1:Math.round(Te):le||0},x.singleLineStyle=function(ke,Te,le,se,ne){Te.style("fill","none");var ve=(((ke||[])[0]||{}).trace||{}).line||{},Ee=le||ve.width||0,_e=ne||ve.dash||"";s.stroke(Te,se||ve.color),x.dashLine(Te,_e,Ee)},x.lineGroupStyle=function(ke,Te,le,se){ke.style("fill","none").each(function(ne){var ve=(((ne||[])[0]||{}).trace||{}).line||{},Ee=Te||ve.width||0,_e=se||ve.dash||"";M.select(this).call(s.stroke,le||ve.color).call(x.dashLine,_e,Ee)})},x.dashLine=function(ke,Te,le){le=+le||0,Te=x.dashStyle(Te,le),ke.style({"stroke-dasharray":Te,"stroke-width":le+"px"})},x.dashStyle=function(ke,Te){Te=+Te||1;var le=Math.max(Te,3);return ke==="solid"?ke="":ke==="dot"?ke=le+"px,"+le+"px":ke==="dash"?ke=3*le+"px,"+3*le+"px":ke==="longdash"?ke=5*le+"px,"+5*le+"px":ke==="dashdot"?ke=3*le+"px,"+le+"px,"+le+"px,"+le+"px":ke==="longdashdot"&&(ke=5*le+"px,"+2*le+"px,"+le+"px,"+2*le+"px"),ke},x.singleFillStyle=function(ke,Te){var le=M.select(ke.node());g(ke,((le.data()[0]||[])[0]||{}).trace||{},Te)},x.fillGroupStyle=function(ke,Te){ke.style("stroke-width",0).each(function(le){var se=M.select(this);le[0].trace&&g(se,le[0].trace,Te)})};var h=e(90998);x.symbolNames=[],x.symbolFuncs=[],x.symbolBackOffs=[],x.symbolNeedLines={},x.symbolNoDot={},x.symbolNoFill={},x.symbolList=[],Object.keys(h).forEach(function(ke){var Te=h[ke],le=Te.n;x.symbolList.push(le,String(le),ke,le+100,String(le+100),ke+"-open"),x.symbolNames[le]=ke,x.symbolFuncs[le]=Te.f,x.symbolBackOffs[le]=Te.backoff||0,Te.needLine&&(x.symbolNeedLines[le]=!0),Te.noDot?x.symbolNoDot[le]=!0:x.symbolList.push(le+200,String(le+200),ke+"-dot",le+300,String(le+300),ke+"-open-dot"),Te.noFill&&(x.symbolNoFill[le]=!0)});var m=x.symbolNames.length;function v(ke,Te,le,se){var ne=ke%100;return x.symbolFuncs[ne](Te,le,se)+(ke>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}x.symbolNumber=function(ke){if(T(ke))ke=+ke;else if(typeof ke=="string"){var Te=0;ke.indexOf("-open")>0&&(Te=100,ke=ke.replace("-open","")),ke.indexOf("-dot")>0&&(Te+=200,ke=ke.replace("-dot","")),(ke=x.symbolNames.indexOf(ke))>=0&&(ke+=Te)}return ke%100>=m||ke>=400?0:Math.floor(Math.max(ke,0))};var y={x1:1,x2:0,y1:0,y2:0},_={x1:0,x2:0,y1:1,y2:0},f=l("~f"),S={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:y},horizontalreversed:{node:"linearGradient",attrs:y,reversed:!0},vertical:{node:"linearGradient",attrs:_},verticalreversed:{node:"linearGradient",attrs:_,reversed:!0}};x.gradient=function(ke,Te,le,se,ne,ve){for(var Ee=ne.length,_e=S[se],ze=new Array(Ee),Ne=0;Ne=0&&ke.i===void 0&&(ke.i=ve.i),Te.style("opacity",se.selectedOpacityFn?se.selectedOpacityFn(ke):ke.mo===void 0?Ee.opacity:ke.mo),se.ms2mrc){var ze;ze=ke.ms==="various"||Ee.size==="various"?3:se.ms2mrc(ke.ms),ke.mrc=ze,se.selectedSizeFn&&(ze=ke.mrc=se.selectedSizeFn(ke));var Ne=x.symbolNumber(ke.mx||Ee.symbol)||0;ke.om=Ne%200>=100;var fe=Oe(ke,le),Me=W(ke,le);Te.attr("d",v(Ne,ze,fe,Me))}var be,Ce,Fe,Re=!1;if(ke.so)Fe=_e.outlierwidth,Ce=_e.outliercolor,be=Ee.outliercolor;else{var He=(_e||{}).width;Fe=(ke.mlw+1||He+1||(ke.trace?(ke.trace.marker.line||{}).width:0)+1)-1||0,Ce="mlc"in ke?ke.mlcc=se.lineScale(ke.mlc):k.isArrayOrTypedArray(_e.color)?s.defaultLine:_e.color,k.isArrayOrTypedArray(Ee.color)&&(be=s.defaultLine,Re=!0),be="mc"in ke?ke.mcc=se.markerScale(ke.mc):Ee.color||Ee.colors||"rgba(0,0,0,0)",se.selectedColorFn&&(be=se.selectedColorFn(ke))}if(ke.om)Te.call(s.stroke,be).style({"stroke-width":(Fe||1)+"px",fill:"none"});else{Te.style("stroke-width",(ke.isBlank?0:Fe)+"px");var Ge=Ee.gradient,Ke=ke.mgt;Ke?Re=!0:Ke=Ge&&Ge.type,k.isArrayOrTypedArray(Ke)&&(Ke=Ke[0],S[Ke]||(Ke=0));var at=Ee.pattern,Qe=at&&x.getPatternAttr(at.shape,ke.i,"");if(Ke&&Ke!=="none"){var vt=ke.mgc;vt?Re=!0:vt=Ge.color;var xt=le.uid;Re&&(xt+="-"+ke.i),x.gradient(Te,ne,xt,Ke,[[0,vt],[1,be]],"fill")}else if(Qe){var st=!1,ot=at.fgcolor;!ot&&ve&&ve.color&&(ot=ve.color,st=!0);var mt=x.getPatternAttr(ot,ke.i,ve&&ve.color||null),Tt=x.getPatternAttr(at.bgcolor,ke.i,null),wt=at.fgopacity,Pt=x.getPatternAttr(at.size,ke.i,8),Mt=x.getPatternAttr(at.solidity,ke.i,.3);st=st||ke.mcc||k.isArrayOrTypedArray(at.shape)||k.isArrayOrTypedArray(at.bgcolor)||k.isArrayOrTypedArray(at.fgcolor)||k.isArrayOrTypedArray(at.size)||k.isArrayOrTypedArray(at.solidity);var Ye=le.uid;st&&(Ye+="-"+ke.i),x.pattern(Te,"point",ne,Ye,Qe,Pt,Mt,ke.mcc,at.fillmode,Tt,mt,wt)}else k.isArrayOrTypedArray(be)?s.fill(Te,be[ke.i]):s.fill(Te,be);Fe&&s.stroke(Te,Ce)}},x.makePointStyleFns=function(ke){var Te={},le=ke.marker;return Te.markerScale=x.tryColorscale(le,""),Te.lineScale=x.tryColorscale(le,"line"),d.traceIs(ke,"symbols")&&(Te.ms2mrc=u.isBubble(ke)?p(ke):function(){return(le.size||6)/2}),ke.selectedpoints&&k.extendFlat(Te,x.makeSelectedPointStyleFns(ke)),Te},x.makeSelectedPointStyleFns=function(ke){var Te={},le=ke.selected||{},se=ke.unselected||{},ne=ke.marker||{},ve=le.marker||{},Ee=se.marker||{},_e=ne.opacity,ze=ve.opacity,Ne=Ee.opacity,fe=ze!==void 0,Me=Ne!==void 0;(k.isArrayOrTypedArray(_e)||fe||Me)&&(Te.selectedOpacityFn=function(Qe){var vt=Qe.mo===void 0?ne.opacity:Qe.mo;return Qe.selected?fe?ze:vt:Me?Ne:a*vt});var be=ne.color,Ce=ve.color,Fe=Ee.color;(Ce||Fe)&&(Te.selectedColorFn=function(Qe){var vt=Qe.mcc||be;return Qe.selected?Ce||vt:Fe||vt});var Re=ne.size,He=ve.size,Ge=Ee.size,Ke=He!==void 0,at=Ge!==void 0;return d.traceIs(ke,"symbols")&&(Ke||at)&&(Te.selectedSizeFn=function(Qe){var vt=Qe.mrc||Re/2;return Qe.selected?Ke?He/2:vt:at?Ge/2:vt}),Te},x.makeSelectedTextStyleFns=function(ke){var Te={},le=ke.selected||{},se=ke.unselected||{},ne=ke.textfont||{},ve=le.textfont||{},Ee=se.textfont||{},_e=ne.color,ze=ve.color,Ne=Ee.color;return Te.selectedTextColorFn=function(fe){var Me=fe.tc||_e;return fe.selected?ze||Me:Ne||(ze?Me:s.addOpacity(Me,a))},Te},x.selectedPointStyle=function(ke,Te){if(ke.size()&&Te.selectedpoints){var le=x.makeSelectedPointStyleFns(Te),se=Te.marker||{},ne=[];le.selectedOpacityFn&&ne.push(function(ve,Ee){ve.style("opacity",le.selectedOpacityFn(Ee))}),le.selectedColorFn&&ne.push(function(ve,Ee){s.fill(ve,le.selectedColorFn(Ee))}),le.selectedSizeFn&&ne.push(function(ve,Ee){var _e=Ee.mx||se.symbol||0,ze=le.selectedSizeFn(Ee);ve.attr("d",v(x.symbolNumber(_e),ze,Oe(Ee,Te),W(Ee,Te))),Ee.mrc2=ze}),ne.length&&ke.each(function(ve){for(var Ee=M.select(this),_e=0;_e0?le:0}function R(ke,Te,le){return le&&(ke=H(ke)),Te?O(ke[1]):G(ke[0])}function G(ke){var Te=M.round(ke,2);return w=Te,Te}function O(ke){var Te=M.round(ke,2);return E=Te,Te}function V(ke,Te,le,se){var ne=ke[0]-Te[0],ve=ke[1]-Te[1],Ee=le[0]-Te[0],_e=le[1]-Te[1],ze=Math.pow(ne*ne+ve*ve,.25),Ne=Math.pow(Ee*Ee+_e*_e,.25),fe=(Ne*Ne*ne-ze*ze*Ee)*se,Me=(Ne*Ne*ve-ze*ze*_e)*se,be=3*Ne*(ze+Ne),Ce=3*ze*(ze+Ne);return[[G(Te[0]+(be&&fe/be)),O(Te[1]+(be&&Me/be))],[G(Te[0]-(Ce&&fe/Ce)),O(Te[1]-(Ce&&Me/Ce))]]}x.textPointStyle=function(ke,Te,le){if(ke.size()){var se;if(Te.selectedpoints){var ne=x.makeSelectedTextStyleFns(Te);se=ne.selectedTextColorFn}var ve=Te.texttemplate,Ee=le._fullLayout;ke.each(function(_e){var ze=M.select(this),Ne=ve?k.extractOption(_e,Te,"txt","texttemplate"):k.extractOption(_e,Te,"tx","text");if(Ne||Ne===0){if(ve){var fe=Te._module.formatLabels,Me=fe?fe(_e,Te,Ee):{},be={};c(be,Te,_e.i);var Ce=Te._meta||{};Ne=k.texttemplateString(Ne,Me,Ee._d3locale,be,_e,Ce)}var Fe=_e.tp||Te.textposition,Re=P(_e,Te),He=se?se(_e):_e.tc||Te.textfont.color;ze.call(x.font,_e.tf||Te.textfont.family,Re,He).text(Ne).call(r.convertToTspans,le).call(C,Fe,Re,_e.mrc)}else ze.remove()})}},x.selectedTextStyle=function(ke,Te){if(ke.size()&&Te.selectedpoints){var le=x.makeSelectedTextStyleFns(Te);ke.each(function(se){var ne=M.select(this),ve=le.selectedTextColorFn(se),Ee=se.tp||Te.textposition,_e=P(se,Te);s.fill(ne,ve);var ze=d.traceIs(Te,"bar-like");C(ne,Ee,_e,se.mrc2||se.mrc,ze)})}},x.smoothopen=function(ke,Te){if(ke.length<3)return"M"+ke.join("L");var le,se="M"+ke[0],ne=[];for(le=1;le=ze||Qe>=fe&&Qe<=ze)&&(vt<=Me&&vt>=Ne||vt>=Me&&vt<=Ne)&&(ke=[Qe,vt])}return ke}x.steps=function(ke){var Te=N[ke]||B;return function(le){for(var se="M"+G(le[0][0])+","+O(le[0][1]),ne=le.length,ve=1;ve=1e4&&(x.savedBBoxes={},q=0),le&&(x.savedBBoxes[le]=Ce),q++,k.extendFlat({},Ce)},x.setClipUrl=function(ke,Te,le){ke.attr("clip-path",K(Te,le))},x.getTranslate=function(ke){var Te=(ke[ke.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(le,se,ne){return[se,ne].join(" ")}).split(" ");return{x:+Te[0]||0,y:+Te[1]||0}},x.setTranslate=function(ke,Te,le){var se=ke.attr?"attr":"getAttribute",ne=ke.attr?"attr":"setAttribute",ve=ke[se]("transform")||"";return Te=Te||0,le=le||0,ve=ve.replace(/(\btranslate\(.*?\);?)/,"").trim(),ve=(ve+=i(Te,le)).trim(),ke[ne]("transform",ve),ve},x.getScale=function(ke){var Te=(ke[ke.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(le,se,ne){return[se,ne].join(" ")}).split(" ");return{x:+Te[0]||1,y:+Te[1]||1}},x.setScale=function(ke,Te,le){var se=ke.attr?"attr":"getAttribute",ne=ke.attr?"attr":"setAttribute",ve=ke[se]("transform")||"";return Te=Te||1,le=le||1,ve=ve.replace(/(\bscale\(.*?\);?)/,"").trim(),ve=(ve+="scale("+Te+","+le+")").trim(),ke[ne]("transform",ve),ve};var J=/\s*sc.*/;x.setPointGroupScale=function(ke,Te,le){if(Te=Te||1,le=le||1,ke){var se=Te===1&&le===1?"":"scale("+Te+","+le+")";ke.each(function(){var ne=(this.getAttribute("transform")||"").replace(J,"");ne=(ne+=se).trim(),this.setAttribute("transform",ne)})}};var Y=/translate\([^)]*\)\s*$/;function W(ke,Te){var le;return ke&&(le=ke.mf),le===void 0&&(le=Te.marker&&Te.marker.standoff||0),Te._geo||Te._xA?le:-le}x.setTextPointsScale=function(ke,Te,le){ke&&ke.each(function(){var se,ne=M.select(this),ve=ne.select("text");if(ve.node()){var Ee=parseFloat(ve.attr("x")||0),_e=parseFloat(ve.attr("y")||0),ze=(ne.attr("transform")||"").match(Y);se=Te===1&&le===1?[]:[i(Ee,_e),"scale("+Te+","+le+")",i(-Ee,-_e)],ze&&se.push(ze),ne.attr("transform",se.join(""))}})},x.getMarkerStandoff=W;var Q,re,ie,oe,ce,pe,ge=Math.atan2,we=Math.cos,ye=Math.sin;function me(ke,Te){var le=Te[0],se=Te[1];return[le*we(ke)-se*ye(ke),le*ye(ke)+se*we(ke)]}function Oe(ke,Te){var le,se,ne=ke.ma;ne===void 0&&(ne=Te.marker.angle||0);var ve=Te.marker.angleref;if(ve==="previous"||ve==="north"){if(Te._geo){var Ee=Te._geo.project(ke.lonlat);le=Ee[0],se=Ee[1]}else{var _e=Te._xA,ze=Te._yA;if(!_e||!ze)return 90;le=_e.c2p(ke.x),se=ze.c2p(ke.y)}if(Te._geo){var Ne,fe=ke.lonlat[0],Me=ke.lonlat[1],be=Te._geo.project([fe,Me+1e-5]),Ce=Te._geo.project([fe+1e-5,Me]),Fe=ge(Ce[1]-se,Ce[0]-le),Re=ge(be[1]-se,be[0]-le);if(ve==="north")Ne=ne/180*Math.PI;else if(ve==="previous"){var He=fe/180*Math.PI,Ge=Me/180*Math.PI,Ke=Q/180*Math.PI,at=re/180*Math.PI,Qe=Ke-He,vt=we(at)*ye(Qe),xt=ye(at)*we(Ge)-we(at)*ye(Ge)*we(Qe);Ne=-ge(vt,xt)-Math.PI,Q=fe,re=Me}var st=me(Fe,[we(Ne),0]),ot=me(Re,[ye(Ne),0]);ne=ge(st[1]+ot[1],st[0]+ot[0])/Math.PI*180,ve!=="previous"||pe===Te.uid&&ke.i===ce+1||(ne=null)}if(ve==="previous"&&!Te._geo)if(pe===Te.uid&&ke.i===ce+1&&T(le)&&T(se)){var mt=le-ie,Tt=se-oe,wt=Te.line&&Te.line.shape||"",Pt=wt.slice(wt.length-1);Pt==="h"&&(Tt=0),Pt==="v"&&(mt=0),ne+=ge(Tt,mt)/Math.PI*180+90}else ne=null}return ie=le,oe=se,ce=ke.i,pe=Te.uid,ne}x.getMarkerAngle=Oe},90998:function(ee,z,e){var M,k,l,T,b=e(95616),d=e(39898).round,s="M0,0Z",t=Math.sqrt(2),i=Math.sqrt(3),r=Math.PI,n=Math.cos,o=Math.sin;function a(p){return p===null}function u(p,c,x){if(!(p&&p%360!=0||c))return x;if(l===p&&T===c&&M===x)return k;function g(R,G){var O=n(R),V=o(R),N=G[0],B=G[1]+(c||0);return[N*O-B*V,N*V+B*O]}l=p,T=c,M=x;for(var h=p/180*r,m=0,v=0,y=b(x),_="",f=0;f0,o=b._context.staticPlot;d.each(function(a){var u,p=a[0].trace,c=p.error_x||{},x=p.error_y||{};p.ids&&(u=function(v){return v.id});var g=T.hasMarkers(p)&&p.marker.maxdisplayed>0;x.visible||c.visible||(a=[]);var h=M.select(this).selectAll("g.errorbar").data(a,u);if(h.exit().remove(),a.length){c.visible||h.selectAll("path.xerror").remove(),x.visible||h.selectAll("path.yerror").remove(),h.style("opacity",1);var m=h.enter().append("g").classed("errorbar",!0);n&&m.style("opacity",0).transition().duration(t.duration).style("opacity",1),l.setClipUrl(h,s.layerClipId,b),h.each(function(v){var y=M.select(this),_=function(C,P,R){var G={x:P.c2p(C.x),y:R.c2p(C.y)};return C.yh!==void 0&&(G.yh=R.c2p(C.yh),G.ys=R.c2p(C.ys),k(G.ys)||(G.noYS=!0,G.ys=R.c2p(C.ys,!0))),C.xh!==void 0&&(G.xh=P.c2p(C.xh),G.xs=P.c2p(C.xs),k(G.xs)||(G.noXS=!0,G.xs=P.c2p(C.xs,!0))),G}(v,i,r);if(!g||v.vis){var f,S=y.select("path.yerror");if(x.visible&&k(_.x)&&k(_.yh)&&k(_.ys)){var w=x.width;f="M"+(_.x-w)+","+_.yh+"h"+2*w+"m-"+w+",0V"+_.ys,_.noYS||(f+="m-"+w+",0h"+2*w),S.size()?n&&(S=S.transition().duration(t.duration).ease(t.easing)):S=y.append("path").style("vector-effect",o?"none":"non-scaling-stroke").classed("yerror",!0),S.attr("d",f)}else S.remove();var E=y.select("path.xerror");if(c.visible&&k(_.y)&&k(_.xh)&&k(_.xs)){var L=(c.copy_ystyle?x:c).width;f="M"+_.xh+","+(_.y-L)+"v"+2*L+"m0,-"+L+"H"+_.xs,_.noXS||(f+="m0,-"+L+"v"+2*L),E.size()?n&&(E=E.transition().duration(t.duration).ease(t.easing)):E=y.append("path").style("vector-effect",o?"none":"non-scaling-stroke").classed("xerror",!0),E.attr("d",f)}else E.remove()}})}})}},62662:function(ee,z,e){var M=e(39898),k=e(7901);ee.exports=function(l){l.each(function(T){var b=T[0].trace,d=b.error_y||{},s=b.error_x||{},t=M.select(this);t.selectAll("path.yerror").style("stroke-width",d.thickness+"px").call(k.stroke,d.color),s.copy_ystyle&&(s=d),t.selectAll("path.xerror").style("stroke-width",s.thickness+"px").call(k.stroke,s.color)})}},77914:function(ee,z,e){var M=e(41940),k=e(528).hoverlabel,l=e(1426).extendFlat;ee.exports={hoverlabel:{bgcolor:l({},k.bgcolor,{arrayOk:!0}),bordercolor:l({},k.bordercolor,{arrayOk:!0}),font:M({arrayOk:!0,editType:"none"}),align:l({},k.align,{arrayOk:!0}),namelength:l({},k.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(ee,z,e){var M=e(71828),k=e(73972);function l(T,b,d,s){s=s||M.identity,Array.isArray(T)&&(b[0][d]=s(T))}ee.exports=function(T){var b=T.calcdata,d=T._fullLayout;function s(o){return function(a){return M.coerceHoverinfo({hoverinfo:a},{_module:o._module},d)}}for(var t=0;t=0&&i.indexne[0]._length||Xe<0||Xe>ve[0]._length)return o.unhoverRaw(oe,ce)}else Ye="xpx"in ce?ce.xpx:ne[0]._length/2,Xe="ypx"in ce?ce.ypx:ve[0]._length/2;if(ce.pointerX=Ye+ne[0]._offset,ce.pointerY=Xe+ve[0]._offset,Ce="xval"in ce?p.flat(ye,ce.xval):p.p2c(ne,Ye),Fe="yval"in ce?p.flat(ye,ce.yval):p.p2c(ve,Xe),!k(Ce[0])||!k(Fe[0]))return T.warn("Fx.hover failed",ce,oe),o.unhoverRaw(oe,ce)}var nt=1/0;function rt(Bt,tn){for(He=0;Hemt&&(Tt.splice(0,mt),nt=Tt[0].distance),Te&&be!==0&&Tt.length===0){ot.distance=be,ot.index=!1;var In=Ke._module.hoverPoints(ot,xt,st,"closest",{hoverLayer:me._hoverlayer});if(In&&(In=In.filter(function(Gt){return Gt.spikeDistance<=be})),In&&In.length){var zn,Kn=In.filter(function(Gt){return Gt.xa.showspikes&&Gt.xa.spikesnap!=="hovered data"});if(Kn.length){var Ut=Kn[0];k(Ut.x0)&&k(Ut.y0)&&(zn=De(Ut),(!Pt.vLinePoint||Pt.vLinePoint.spikeDistance>zn.spikeDistance)&&(Pt.vLinePoint=zn))}var _n=In.filter(function(Gt){return Gt.ya.showspikes&&Gt.ya.spikesnap!=="hovered data"});if(_n.length){var At=_n[0];k(At.x0)&&k(At.y0)&&(zn=De(At),(!Pt.hLinePoint||Pt.hLinePoint.spikeDistance>zn.spikeDistance)&&(Pt.hLinePoint=zn))}}}}}function Ie(Bt,tn,cn){for(var dn,kn=null,Vn=1/0,In=0;In0&&Math.abs(Bt.distance)It-1;Rt--)Wt(Tt[Rt]);Tt=Dt,ht()}var Ht=oe._hoverdata,hn=[],yn=te(oe),un=K(oe);for(Re=0;Re1||Tt.length>1)||fe==="closest"&&Mt&&Tt.length>1,ir=n.combine(me.plot_bgcolor||n.background,me.paper_bgcolor),$n=P(Tt,{gd:oe,hovermode:fe,rotateLabels:Qn,bgColor:ir,container:me._hoverlayer,outerContainer:me._paper.node(),commonLabelOpts:me.hoverlabel,hoverdistance:me.hoverdistance}),Gn=$n.hoverLabels;if(p.isUnifiedHover(fe)||(function(Bt,tn,cn,dn){var kn,Vn,In,zn,Kn,Ut,_n,At=tn?"xa":"ya",Gt=tn?"ya":"xa",$t=0,mn=1,xn=Bt.size(),An=new Array(xn),sn=0,Yt=dn.minX,Xt=dn.maxX,on=dn.minY,ln=dn.maxY,Sn=function(ur){return ur*cn._invScaleX},Cn=function(ur){return ur*cn._invScaleY};function jn(ur){var br=ur[0],Zn=ur[ur.length-1];if(Vn=br.pmin-br.pos-br.dp+br.size,In=Zn.pos+Zn.dp+Zn.size-br.pmax,Vn>.01){for(Kn=ur.length-1;Kn>=0;Kn--)ur[Kn].dp+=Vn;kn=!1}if(!(In<.01)){if(Vn<-.01){for(Kn=ur.length-1;Kn>=0;Kn--)ur[Kn].dp-=In;kn=!1}if(kn){var pr=0;for(zn=0;znbr.pmax&&pr++;for(zn=ur.length-1;zn>=0&&!(pr<=0);zn--)(Ut=ur[zn]).pos>br.pmax-1&&(Ut.del=!0,pr--);for(zn=0;zn=0;Kn--)ur[Kn].dp-=In;for(zn=ur.length-1;zn>=0&&!(pr<=0);zn--)(Ut=ur[zn]).pos+Ut.dp+Ut.size>br.pmax&&(Ut.del=!0,pr--)}}}for(Bt.each(function(ur){var br=ur[At],Zn=ur[Gt],pr=br._id.charAt(0)==="x",Sr=br.range;sn===0&&Sr&&Sr[0]>Sr[1]!==pr&&(mn=-1);var Gr=0,ai=pr?cn.width:cn.height;if(cn.hovermode==="x"||cn.hovermode==="y"){var ni,ci,Kr=G(ur,tn),bi=ur.anchor,qa=bi==="end"?-1:1;if(bi==="middle")ci=(ni=ur.crossPos+(pr?Cn(Kr.y-ur.by/2):Sn(ur.bx/2+ur.tx2width/2)))+(pr?Cn(ur.by):Sn(ur.bx));else if(pr)ci=(ni=ur.crossPos+Cn(f+Kr.y)-Cn(ur.by/2-f))+Cn(ur.by);else{var ha=Sn(qa*f+Kr.x),to=ha+Sn(qa*ur.bx);ni=ur.crossPos+Math.min(ha,to),ci=ur.crossPos+Math.max(ha,to)}pr?on!==void 0&&ln!==void 0&&Math.min(ci,ln)-Math.max(ni,on)>1&&(Zn.side==="left"?(Gr=Zn._mainLinePosition,ai=cn.width):ai=Zn._mainLinePosition):Yt!==void 0&&Xt!==void 0&&Math.min(ci,Xt)-Math.max(ni,Yt)>1&&(Zn.side==="top"?(Gr=Zn._mainLinePosition,ai=cn.height):ai=Zn._mainLinePosition)}An[sn++]=[{datum:ur,traceIndex:ur.trace.index,dp:0,pos:ur.pos,posref:ur.posref,size:ur.by*(pr?v:1)/2,pmin:Gr,pmax:ai}]}),An.sort(function(ur,br){return ur[0].posref-br[0].posref||mn*(br[0].traceIndex-ur[0].traceIndex)});!kn&&$t<=xn;){for($t++,kn=!0,zn=0;zn.01&&Hn.pmin===nr.pmin&&Hn.pmax===nr.pmax){for(Kn=Xn.length-1;Kn>=0;Kn--)Xn[Kn].dp+=Vn;for(Fn.push.apply(Fn,Xn),An.splice(zn+1,1),_n=0,Kn=Fn.length-1;Kn>=0;Kn--)_n+=Fn[Kn].dp;for(In=_n/Fn.length,Kn=Fn.length-1;Kn>=0;Kn--)Fn[Kn].dp-=In;kn=!1}else zn++}An.forEach(jn)}for(zn=An.length-1;zn>=0;zn--){var er=An[zn];for(Kn=er.length-1;Kn>=0;Kn--){var tr=er[Kn],lr=tr.datum;lr.offset=tr.dp,lr.del=tr.del}}}(Gn,Qn,me,$n.commonLabelBoundingBox),O(Gn,Qn,me._invScaleX,me._invScaleY)),we&&we.tagName){var dr=u.getComponentMethod("annotations","hasClickToShow")(oe,hn);i(M.select(we),dr?"pointer":"")}we&&!ge&&function(Bt,tn,cn){if(!cn||cn.length!==Bt._hoverdata.length)return!0;for(var dn=cn.length-1;dn>=0;dn--){var kn=cn[dn],Vn=Bt._hoverdata[dn];if(kn.curveNumber!==Vn.curveNumber||String(kn.pointNumber)!==String(Vn.pointNumber)||String(kn.pointNumbers)!==String(Vn.pointNumbers))return!0}return!1}(oe,0,Ht)&&(Ht&&oe.emit("plotly_unhover",{event:ce,points:Ht}),oe.emit("plotly_hover",{event:ce,points:oe._hoverdata,xaxes:ne,yaxes:ve,xvals:Ce,yvals:Fe}))})(Y,W,Q,re,ie)})},z.loneHover=function(Y,W){var Q=!0;Array.isArray(Y)||(Q=!1,Y=[Y]);var re=W.gd,ie=te(re),oe=K(re),ce=P(Y.map(function(we){var ye=we._x0||we.x0||we.x||0,me=we._x1||we.x1||we.x||0,Oe=we._y0||we.y0||we.y||0,ke=we._y1||we.y1||we.y||0,Te=we.eventData;if(Te){var le=Math.min(ye,me),se=Math.max(ye,me),ne=Math.min(Oe,ke),ve=Math.max(Oe,ke),Ee=we.trace;if(u.traceIs(Ee,"gl3d")){var _e=re._fullLayout[Ee.scene]._scene.container,ze=_e.offsetLeft,Ne=_e.offsetTop;le+=ze,se+=ze,ne+=Ne,ve+=Ne}Te.bbox={x0:le+oe,x1:se+oe,y0:ne+ie,y1:ve+ie},W.inOut_bbox&&W.inOut_bbox.push(Te.bbox)}else Te=!1;return{color:we.color||n.defaultLine,x0:we.x0||we.x||0,x1:we.x1||we.x||0,y0:we.y0||we.y||0,y1:we.y1||we.y||0,xLabel:we.xLabel,yLabel:we.yLabel,zLabel:we.zLabel,text:we.text,name:we.name,idealAlign:we.idealAlign,borderColor:we.borderColor,fontFamily:we.fontFamily,fontSize:we.fontSize,fontColor:we.fontColor,nameLength:we.nameLength,textAlign:we.textAlign,trace:we.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:we.hovertemplate||!1,hovertemplateLabels:we.hovertemplateLabels||!1,eventData:Te}}),{gd:re,hovermode:"closest",rotateLabels:!1,bgColor:W.bgColor||n.background,container:M.select(W.container),outerContainer:W.outerContainer||W.container}).hoverLabels,pe=0,ge=0;return ce.sort(function(we,ye){return we.y0-ye.y0}).each(function(we,ye){var me=we.y0-we.by/2;we.offset=me-5([\s\S]*)<\/extra>/;function P(Y,W){var Q=W.gd,re=Q._fullLayout,ie=W.hovermode,oe=W.rotateLabels,ce=W.bgColor,pe=W.container,ge=W.outerContainer,we=W.commonLabelOpts||{};if(Y.length===0)return[[]];var ye=W.fontFamily||c.HOVERFONT,me=W.fontSize||c.HOVERFONTSIZE,Oe=Y[0],ke=Oe.xa,Te=Oe.ya,le=ie.charAt(0),se=le+"Label",ne=Oe[se];if(ne===void 0&&ke.type==="multicategory")for(var ve=0;vere.width-un?(Wt=re.width-un,bt.attr("d","M"+(un-f)+",0L"+un+","+yn+f+"v"+yn+(2*S+hn.height)+"H-"+un+"V"+yn+f+"H"+(un-2*f)+"Z")):bt.attr("d","M0,0L"+f+","+yn+f+"H"+un+"v"+yn+(2*S+hn.height)+"H-"+un+"V"+yn+f+"H-"+f+"Z"),He.minX=Wt-un,He.maxX=Wt+un,ke.side==="top"?(He.minY=Ht-(2*S+hn.height),He.maxY=Ht-S):(He.minY=Ht+S,He.maxY=Ht+(2*S+hn.height))}else{var jt,nn,Jt;Te.side==="right"?(jt="start",nn=1,Jt="",Wt=ke._offset+ke._length):(jt="end",nn=-1,Jt="-",Wt=ke._offset),Ht=Te._offset+(Oe.y0+Oe.y1)/2,It.attr("text-anchor",jt),bt.attr("d","M0,0L"+Jt+f+","+f+"V"+(S+hn.height/2)+"h"+Jt+(2*S+hn.width)+"V-"+(S+hn.height/2)+"H"+Jt+f+"V-"+f+"Z"),He.minY=Ht-(S+hn.height/2),He.maxY=Ht+(S+hn.height/2),Te.side==="right"?(He.minX=Wt+f,He.maxX=Wt+f+(2*S+hn.width)):(He.minX=Wt-f-(2*S+hn.width),He.maxX=Wt-f);var rn,fn=hn.height/2,vn=_e-hn.top-fn,Mn="clip"+re._uid+"commonlabel"+Te._id;if(Wt=0?Xe:Ve+rt=0?Ve:ct+rt=0?Mt:Ye+Ie=0?Ye:kt+Ie=0,ft.idealAlign!=="top"&&Wn||!Qn?Wn?(fn+=Mn/2,ft.anchor="start"):ft.anchor="middle":(fn-=Mn/2,ft.anchor="end"),ft.crossPos=fn;else{if(ft.pos=fn,Wn=rn+vn/2+ir<=ze,Qn=rn-vn/2-ir>=0,ft.idealAlign!=="left"&&Wn||!Qn)if(Wn)rn+=vn/2,ft.anchor="start";else{ft.anchor="middle";var $n=ir/2,Gn=rn+$n-ze,dr=rn-$n;Gn>0&&(rn-=Gn),dr<0&&(rn+=-dr)}else rn-=vn/2,ft.anchor="end";ft.crossPos=rn}yn.attr("text-anchor",ft.anchor),jt&&un.attr("text-anchor",ft.anchor),bt.attr("transform",b(rn,fn)+(oe?d(h):""))}),{hoverLabels:ut,commonLabelBoundingBox:He}}function R(Y,W,Q,re,ie,oe){var ce="",pe="";Y.nameOverride!==void 0&&(Y.name=Y.nameOverride),Y.name&&(Y.trace._meta&&(Y.name=T.templateString(Y.name,Y.trace._meta)),ce=H(Y.name,Y.nameLength));var ge=Q.charAt(0),we=ge==="x"?"y":"x";Y.zLabel!==void 0?(Y.xLabel!==void 0&&(pe+="x: "+Y.xLabel+"
"),Y.yLabel!==void 0&&(pe+="y: "+Y.yLabel+"
"),Y.trace.type!=="choropleth"&&Y.trace.type!=="choroplethmapbox"&&(pe+=(pe?"z: ":"")+Y.zLabel)):W&&Y[ge+"Label"]===ie?pe=Y[we+"Label"]||"":Y.xLabel===void 0?Y.yLabel!==void 0&&Y.trace.type!=="scattercarpet"&&(pe=Y.yLabel):pe=Y.yLabel===void 0?Y.xLabel:"("+Y.xLabel+", "+Y.yLabel+")",!Y.text&&Y.text!==0||Array.isArray(Y.text)||(pe+=(pe?"
":"")+Y.text),Y.extraText!==void 0&&(pe+=(pe?"
":"")+Y.extraText),oe&&pe===""&&!Y.hovertemplate&&(ce===""&&oe.remove(),pe=ce);var ye=Y.hovertemplate||!1;if(ye){var me=Y.hovertemplateLabels||Y;Y[ge+"Label"]!==ie&&(me[ge+"other"]=me[ge+"Val"],me[ge+"otherLabel"]=me[ge+"Label"]),pe=(pe=T.hovertemplateString(ye,me,re._d3locale,Y.eventData[0]||{},Y.trace._meta)).replace(C,function(Oe,ke){return ce=H(ke,Y.nameLength),""})}return[pe,ce]}function G(Y,W){var Q=0,re=Y.offset;return W&&(re*=-_,Q=Y.offset*y),{x:Q,y:re}}function O(Y,W,Q,re){var ie=function(ce){return ce*Q},oe=function(ce){return ce*re};Y.each(function(ce){var pe=M.select(this);if(ce.del)return pe.remove();var ge,we,ye,me,Oe=pe.select("text.nums"),ke=ce.anchor,Te=ke==="end"?-1:1,le=(me=(ye=(we={start:1,end:-1,middle:0}[(ge=ce).anchor])*(f+S))+we*(ge.txwidth+S),ge.anchor==="middle"&&(ye-=ge.tx2width/2,me+=ge.txwidth/2+S),{alignShift:we,textShiftX:ye,text2ShiftX:me}),se=G(ce,W),ne=se.x,ve=se.y,Ee=ke==="middle";pe.select("path").attr("d",Ee?"M-"+ie(ce.bx/2+ce.tx2width/2)+","+oe(ve-ce.by/2)+"h"+ie(ce.bx)+"v"+oe(ce.by)+"h-"+ie(ce.bx)+"Z":"M0,0L"+ie(Te*f+ne)+","+oe(f+ve)+"v"+oe(ce.by/2-f)+"h"+ie(Te*ce.bx)+"v-"+oe(ce.by)+"H"+ie(Te*f+ne)+"V"+oe(ve-f)+"Z");var _e=ne+le.textShiftX,ze=ve+ce.ty0-ce.by/2+S,Ne=ce.textAlign||"auto";Ne!=="auto"&&(Ne==="left"&&ke!=="start"?(Oe.attr("text-anchor","start"),_e=Ee?-ce.bx/2-ce.tx2width/2+S:-ce.bx-S):Ne==="right"&&ke!=="end"&&(Oe.attr("text-anchor","end"),_e=Ee?ce.bx/2-ce.tx2width/2-S:ce.bx+S)),Oe.call(t.positionText,ie(_e),oe(ze)),ce.tx2width&&(pe.select("text.name").call(t.positionText,ie(le.text2ShiftX+le.alignShift*S+ne),oe(ve+ce.ty0-ce.by/2+S)),pe.select("rect").call(r.setRect,ie(le.text2ShiftX+(le.alignShift-1)*ce.tx2width/2+ne),oe(ve-ce.by/2-1),ie(ce.tx2width),oe(ce.by+2)))})}function V(Y,W){var Q=Y.index,re=Y.trace||{},ie=Y.cd[0],oe=Y.cd[Q]||{};function ce(Oe){return Oe||k(Oe)&&Oe===0}var pe=Array.isArray(Q)?function(Oe,ke){var Te=T.castOption(ie,Q,Oe);return ce(Te)?Te:T.extractOption({},re,"",ke)}:function(Oe,ke){return T.extractOption(oe,re,Oe,ke)};function ge(Oe,ke,Te){var le=pe(ke,Te);ce(le)&&(Y[Oe]=le)}if(ge("hoverinfo","hi","hoverinfo"),ge("bgcolor","hbg","hoverlabel.bgcolor"),ge("borderColor","hbc","hoverlabel.bordercolor"),ge("fontFamily","htf","hoverlabel.font.family"),ge("fontSize","hts","hoverlabel.font.size"),ge("fontColor","htc","hoverlabel.font.color"),ge("nameLength","hnl","hoverlabel.namelength"),ge("textAlign","hta","hoverlabel.align"),Y.posref=W==="y"||W==="closest"&&re.orientation==="h"?Y.xa._offset+(Y.x0+Y.x1)/2:Y.ya._offset+(Y.y0+Y.y1)/2,Y.x0=T.constrain(Y.x0,0,Y.xa._length),Y.x1=T.constrain(Y.x1,0,Y.xa._length),Y.y0=T.constrain(Y.y0,0,Y.ya._length),Y.y1=T.constrain(Y.y1,0,Y.ya._length),Y.xLabelVal!==void 0&&(Y.xLabel="xLabel"in Y?Y.xLabel:a.hoverLabelText(Y.xa,Y.xLabelVal,re.xhoverformat),Y.xVal=Y.xa.c2d(Y.xLabelVal)),Y.yLabelVal!==void 0&&(Y.yLabel="yLabel"in Y?Y.yLabel:a.hoverLabelText(Y.ya,Y.yLabelVal,re.yhoverformat),Y.yVal=Y.ya.c2d(Y.yLabelVal)),Y.zLabelVal!==void 0&&Y.zLabel===void 0&&(Y.zLabel=String(Y.zLabelVal)),!(isNaN(Y.xerr)||Y.xa.type==="log"&&Y.xerr<=0)){var we=a.tickText(Y.xa,Y.xa.c2l(Y.xerr),"hover").text;Y.xerrneg!==void 0?Y.xLabel+=" +"+we+" / -"+a.tickText(Y.xa,Y.xa.c2l(Y.xerrneg),"hover").text:Y.xLabel+=" \xB1 "+we,W==="x"&&(Y.distance+=1)}if(!(isNaN(Y.yerr)||Y.ya.type==="log"&&Y.yerr<=0)){var ye=a.tickText(Y.ya,Y.ya.c2l(Y.yerr),"hover").text;Y.yerrneg!==void 0?Y.yLabel+=" +"+ye+" / -"+a.tickText(Y.ya,Y.ya.c2l(Y.yerrneg),"hover").text:Y.yLabel+=" \xB1 "+ye,W==="y"&&(Y.distance+=1)}var me=Y.hoverinfo||Y.trace.hoverinfo;return me&&me!=="all"&&((me=Array.isArray(me)?me:me.split("+")).indexOf("x")===-1&&(Y.xLabel=void 0),me.indexOf("y")===-1&&(Y.yLabel=void 0),me.indexOf("z")===-1&&(Y.zLabel=void 0),me.indexOf("text")===-1&&(Y.text=void 0),me.indexOf("name")===-1&&(Y.name=void 0)),Y}function N(Y,W,Q){var re,ie,oe=Q.container,ce=Q.fullLayout,pe=ce._size,ge=Q.event,we=!!W.hLinePoint,ye=!!W.vLinePoint;if(oe.selectAll(".spikeline").remove(),ye||we){var me=n.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(we){var Oe,ke,Te=W.hLinePoint;re=Te&&Te.xa,(ie=Te&&Te.ya).spikesnap==="cursor"?(Oe=ge.pointerX,ke=ge.pointerY):(Oe=re._offset+Te.x,ke=ie._offset+Te.y);var le,se,ne=l.readability(Te.color,me)<1.5?n.contrast(me):Te.color,ve=ie.spikemode,Ee=ie.spikethickness,_e=ie.spikecolor||ne,ze=a.getPxPosition(Y,ie);if(ve.indexOf("toaxis")!==-1||ve.indexOf("across")!==-1){if(ve.indexOf("toaxis")!==-1&&(le=ze,se=Oe),ve.indexOf("across")!==-1){var Ne=ie._counterDomainMin,fe=ie._counterDomainMax;ie.anchor==="free"&&(Ne=Math.min(Ne,ie.position),fe=Math.max(fe,ie.position)),le=pe.l+Ne*pe.w,se=pe.l+fe*pe.w}oe.insert("line",":first-child").attr({x1:le,x2:se,y1:ke,y2:ke,"stroke-width":Ee,stroke:_e,"stroke-dasharray":r.dashStyle(ie.spikedash,Ee)}).classed("spikeline",!0).classed("crisp",!0),oe.insert("line",":first-child").attr({x1:le,x2:se,y1:ke,y2:ke,"stroke-width":Ee+2,stroke:me}).classed("spikeline",!0).classed("crisp",!0)}ve.indexOf("marker")!==-1&&oe.insert("circle",":first-child").attr({cx:ze+(ie.side!=="right"?Ee:-Ee),cy:ke,r:Ee,fill:_e}).classed("spikeline",!0)}if(ye){var Me,be,Ce=W.vLinePoint;re=Ce&&Ce.xa,ie=Ce&&Ce.ya,re.spikesnap==="cursor"?(Me=ge.pointerX,be=ge.pointerY):(Me=re._offset+Ce.x,be=ie._offset+Ce.y);var Fe,Re,He=l.readability(Ce.color,me)<1.5?n.contrast(me):Ce.color,Ge=re.spikemode,Ke=re.spikethickness,at=re.spikecolor||He,Qe=a.getPxPosition(Y,re);if(Ge.indexOf("toaxis")!==-1||Ge.indexOf("across")!==-1){if(Ge.indexOf("toaxis")!==-1&&(Fe=Qe,Re=be),Ge.indexOf("across")!==-1){var vt=re._counterDomainMin,xt=re._counterDomainMax;re.anchor==="free"&&(vt=Math.min(vt,re.position),xt=Math.max(xt,re.position)),Fe=pe.t+(1-xt)*pe.h,Re=pe.t+(1-vt)*pe.h}oe.insert("line",":first-child").attr({x1:Me,x2:Me,y1:Fe,y2:Re,"stroke-width":Ke,stroke:at,"stroke-dasharray":r.dashStyle(re.spikedash,Ke)}).classed("spikeline",!0).classed("crisp",!0),oe.insert("line",":first-child").attr({x1:Me,x2:Me,y1:Fe,y2:Re,"stroke-width":Ke+2,stroke:me}).classed("spikeline",!0).classed("crisp",!0)}Ge.indexOf("marker")!==-1&&oe.insert("circle",":first-child").attr({cx:Me,cy:Qe-(re.side!=="top"?Ke:-Ke),r:Ke,fill:at}).classed("spikeline",!0)}}}function B(Y,W){return!W||W.vLinePoint!==Y._spikepoints.vLinePoint||W.hLinePoint!==Y._spikepoints.hLinePoint}function H(Y,W){return t.plainText(Y||"",{len:W,allowedTags:["br","sub","sup","b","i","em"]})}function q(Y,W,Q){var re=W[Y+"a"],ie=W[Y+"Val"],oe=W.cd[0];if(re.type==="category"||re.type==="multicategory")ie=re._categoriesMap[ie];else if(re.type==="date"){var ce=W.trace[Y+"periodalignment"];if(ce){var pe=W.cd[W.index],ge=pe[Y+"Start"];ge===void 0&&(ge=pe[Y]);var we=pe[Y+"End"];we===void 0&&(we=pe[Y]);var ye=we-ge;ce==="end"?ie+=ye:ce==="middle"&&(ie+=ye/2)}ie=re.d2c(ie)}return oe&&oe.t&&oe.t.posLetter===re._id&&(Q.boxmode!=="group"&&Q.violinmode!=="group"||(ie+=oe.t.dPos)),ie}function te(Y){return Y.offsetTop+Y.clientTop}function K(Y){return Y.offsetLeft+Y.clientLeft}function J(Y,W){var Q=Y._fullLayout,re=W.getBoundingClientRect(),ie=re.left,oe=re.top,ce=ie+re.width,pe=oe+re.height,ge=T.apply3DTransform(Q._invTransform)(ie,oe),we=T.apply3DTransform(Q._invTransform)(ce,pe),ye=ge[0],me=ge[1],Oe=we[0],ke=we[1];return{x:ye,y:me,width:Oe-ye,height:ke-me,top:Math.min(me,ke),left:Math.min(ye,Oe),right:Math.max(ye,Oe),bottom:Math.max(me,ke)}}},38048:function(ee,z,e){var M=e(71828),k=e(7901),l=e(23469).isUnifiedHover;ee.exports=function(T,b,d,s){s=s||{};var t=b.legend;function i(r){s.font[r]||(s.font[r]=t?b.legend.font[r]:b.font[r])}b&&l(b.hovermode)&&(s.font||(s.font={}),i("size"),i("family"),i("color"),t?(s.bgcolor||(s.bgcolor=k.combine(b.legend.bgcolor,b.paper_bgcolor)),s.bordercolor||(s.bordercolor=b.legend.bordercolor)):s.bgcolor||(s.bgcolor=b.paper_bgcolor)),d("hoverlabel.bgcolor",s.bgcolor),d("hoverlabel.bordercolor",s.bordercolor),d("hoverlabel.namelength",s.namelength),M.coerceFont(d,"hoverlabel.font",s.font),d("hoverlabel.align",s.align)}},98212:function(ee,z,e){var M=e(71828),k=e(528);ee.exports=function(l,T){function b(d,s){return T[d]!==void 0?T[d]:M.coerce(l,T,k,d,s)}return b("clickmode"),b("hovermode")}},30211:function(ee,z,e){var M=e(39898),k=e(71828),l=e(28569),T=e(23469),b=e(528),d=e(88335);ee.exports={moduleType:"component",name:"fx",constants:e(26675),schema:{layout:b},attributes:e(77914),layoutAttributes:b,supplyLayoutGlobalDefaults:e(22774),supplyDefaults:e(54268),supplyLayoutDefaults:e(34938),calc:e(30732),getDistanceFunction:T.getDistanceFunction,getClosest:T.getClosest,inbox:T.inbox,quadrature:T.quadrature,appendArrayPointValue:T.appendArrayPointValue,castHoverOption:function(s,t,i){return k.castOption(s,t,"hoverlabel."+i)},castHoverinfo:function(s,t,i){return k.castOption(s,i,"hoverinfo",function(r){return k.coerceHoverinfo({hoverinfo:r},{_module:s._module},t)})},hover:d.hover,unhover:l.unhover,loneHover:d.loneHover,loneUnhover:function(s){var t=k.isD3Selection(s)?s:M.select(s);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:e(75914)}},528:function(ee,z,e){var M=e(26675),k=e(41940),l=k({editType:"none"});l.family.dflt=M.HOVERFONT,l.size.dflt=M.HOVERFONTSIZE,ee.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:l,grouptitlefont:k({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(ee,z,e){var M=e(71828),k=e(528),l=e(98212),T=e(38048);ee.exports=function(b,d){function s(n,o){return M.coerce(b,d,k,n,o)}l(b,d)&&(s("hoverdistance"),s("spikedistance")),s("dragmode")==="select"&&s("selectdirection");var t=d._has("mapbox"),i=d._has("geo"),r=d._basePlotModules.length;d.dragmode==="zoom"&&((t||i)&&r===1||t&&i&&r===2)&&(d.dragmode="pan"),T(b,d,s),M.coerceFont(s,"hoverlabel.grouptitlefont",d.hoverlabel.font)}},22774:function(ee,z,e){var M=e(71828),k=e(38048),l=e(528);ee.exports=function(T,b){k(T,b,function(d,s){return M.coerce(T,b,l,d,s)})}},83312:function(ee,z,e){var M=e(71828),k=e(30587).counter,l=e(27670).Y,T=e(85555).idRegex,b=e(44467),d={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[k("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[T.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[T.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:l({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function s(r,n,o){var a=n[o+"axes"],u=Object.keys((r._splomAxes||{})[o]||{});return Array.isArray(a)?a:u.length?u:void 0}function t(r,n,o,a,u,p){var c=n(r+"gap",o),x=n("domain."+r);n(r+"side",a);for(var g=new Array(u),h=x[0],m=(x[1]-h)/(u-c),v=m*(1-c),y=0;y1){x||g||h||C("pattern")==="independent"&&(x=!0),v._hasSubplotGrid=x;var f,S,w=C("roworder")==="top to bottom",E=x?.2:.1,L=x?.3:.1;m&&n._splomGridDflt&&(f=n._splomGridDflt.xside,S=n._splomGridDflt.yside),v._domains={x:t("x",C,E,f,_),y:t("y",C,L,S,y,w)}}else delete n.grid}function C(P,R){return M.coerce(o,v,d,P,R)}},contentDefaults:function(r,n){var o=n.grid;if(o&&o._domains){var a,u,p,c,x,g,h,m=r.grid||{},v=n._subplots,y=o._hasSubplotGrid,_=o.rows,f=o.columns,S=o.pattern==="independent",w=o._axisMap={};if(y){var E=m.subplots||[];g=o.subplots=new Array(_);var L=1;for(a=0;a<_;a++){var C=g[a]=new Array(f),P=E[a]||[];for(u=0;u(i==="legend"?1:0));if(L===!1&&(n[i]=void 0),(L!==!1||a.uirevision)&&(p("uirevision",n.uirevision),L!==!1)){p("borderwidth");var C,P,R,G=p("orientation")==="h",O=p("yref")==="paper",V=p("xref")==="paper",N="left";if(G?(C=0,M.getComponentMethod("rangeslider","isVisible")(r.xaxis)?O?(P=1.1,R="bottom"):(P=1,R="top"):O?(P=-.1,R="top"):(P=0,R="bottom")):(P=1,R="auto",V?C=1.02:(C=1,N="right")),k.coerce(a,u,{x:{valType:"number",editType:"legend",min:V?-2:0,max:V?3:1,dflt:C}},"x"),k.coerce(a,u,{y:{valType:"number",editType:"legend",min:O?-2:0,max:O?3:1,dflt:P}},"y"),p("traceorder",_),s.isGrouped(n[i])&&p("tracegroupgap"),p("entrywidth"),p("entrywidthmode"),p("itemsizing"),p("itemwidth"),p("itemclick"),p("itemdoubleclick"),p("groupclick"),p("xanchor",N),p("yanchor",R),p("valign"),k.noneOrAll(a,u,["x","y"]),p("title.text")){p("title.side",G?"left":"top");var B=k.extendFlat({},c,{size:k.bigFont(c.size)});k.coerceFont(p,"title.font",B)}}}}ee.exports=function(i,r,n){var o,a=n.slice(),u=r.shapes;if(u)for(o=0;o1)}var re=B.hiddenlabels||[];if(!(q||B.showlegend&&te.length))return V.selectAll("."+H).remove(),B._topdefs.select("#"+O).remove(),l.autoMargin(R,H);var ie=k.ensureSingle(V,"g",H,function(ke){q||ke.attr("pointer-events","all")}),oe=k.ensureSingleById(B._topdefs,"clipPath",O,function(ke){ke.append("rect")}),ce=k.ensureSingle(ie,"rect","bg",function(ke){ke.attr("shape-rendering","crispEdges")});ce.call(t.stroke,N.bordercolor).call(t.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px");var pe=k.ensureSingle(ie,"g","scrollbox"),ge=N.title;if(N._titleWidth=0,N._titleHeight=0,ge.text){var we=k.ensureSingle(pe,"text",H+"titletext");we.attr("text-anchor","start").call(s.font,ge.font).text(ge.text),E(we,pe,R,N,h)}else pe.selectAll("."+H+"titletext").remove();var ye=k.ensureSingle(ie,"rect","scrollbar",function(ke){ke.attr(n.scrollBarEnterAttrs).call(t.fill,n.scrollBarColor)}),me=pe.selectAll("g.groups").data(te);me.enter().append("g").attr("class","groups"),me.exit().remove();var Oe=me.selectAll("g.traces").data(k.identity);Oe.enter().append("g").attr("class","traces"),Oe.exit().remove(),Oe.style("opacity",function(ke){var Te=ke[0].trace;return T.traceIs(Te,"pie-like")?re.indexOf(ke[0].label)!==-1?.5:1:Te.visible==="legendonly"?.5:1}).each(function(){M.select(this).call(f,R,N)}).call(x,R,N).each(function(){q||M.select(this).call(w,R,H)}),k.syncOrAsync([l.previousPromises,function(){return function(ke,Te,le,se){var ne=ke._fullLayout,ve=P(se);se||(se=ne[ve]);var Ee=ne._size,_e=g.isVertical(se),ze=g.isGrouped(se),Ne=se.entrywidthmode==="fraction",fe=se.borderwidth,Me=2*fe,be=n.itemGap,Ce=se.itemwidth+2*be,Fe=2*(fe+be),Re=C(se),He=se.y<0||se.y===0&&Re==="top",Ge=se.y>1||se.y===1&&Re==="bottom",Ke=se.tracegroupgap,at={};se._maxHeight=Math.max(He||Ge?ne.height/2:Ee.h,30);var Qe=0;se._width=0,se._height=0;var vt=function(ht){var dt=0,ct=0,kt=ht.title.side;return kt&&(kt.indexOf("left")!==-1&&(dt=ht._titleWidth),kt.indexOf("top")!==-1&&(ct=ht._titleHeight)),[dt,ct]}(se);if(_e)le.each(function(ht){var dt=ht[0].height;s.setTranslate(this,fe+vt[0],fe+vt[1]+se._height+dt/2+be),se._height+=dt,se._width=Math.max(se._width,ht[0].width)}),Qe=Ce+se._width,se._width+=be+Ce+Me,se._height+=Fe,ze&&(Te.each(function(ht,dt){s.setTranslate(this,0,dt*se.tracegroupgap)}),se._height+=(se._lgroupsLength-1)*se.tracegroupgap);else{var xt=L(se),st=se.x<0||se.x===0&&xt==="right",ot=se.x>1||se.x===1&&xt==="left",mt=Ge||He,Tt=ne.width/2;se._maxWidth=Math.max(st?mt&&xt==="left"?Ee.l+Ee.w:Tt:ot?mt&&xt==="right"?Ee.r+Ee.w:Tt:Ee.w,2*Ce);var wt=0,Pt=0;le.each(function(ht){var dt=y(ht,se,Ce);wt=Math.max(wt,dt),Pt+=dt}),Qe=null;var Mt=0;if(ze){var Ye=0,Xe=0,Ve=0;Te.each(function(){var ht=0,dt=0;M.select(this).selectAll("g.traces").each(function(kt){var ut=y(kt,se,Ce),ft=kt[0].height;s.setTranslate(this,vt[0],vt[1]+fe+be+ft/2+dt),dt+=ft,ht=Math.max(ht,ut),at[kt[0].trace.legendgroup]=ht});var ct=ht+be;Xe>0&&ct+fe+Xe>se._maxWidth?(Mt=Math.max(Mt,Xe),Xe=0,Ve+=Ye+Ke,Ye=dt):Ye=Math.max(Ye,dt),s.setTranslate(this,Xe,Ve),Xe+=ct}),se._width=Math.max(Mt,Xe)+fe,se._height=Ve+Ye+Fe}else{var We=le.size(),nt=Pt+Me+(We-1)*be=se._maxWidth&&(Mt=Math.max(Mt,et),Ie=0,De+=rt,se._height+=rt,rt=0),s.setTranslate(this,vt[0]+fe+Ie,vt[1]+fe+De+dt/2+be),et=Ie+ct+be,Ie+=kt,rt=Math.max(rt,dt)}),nt?(se._width=Ie+Me,se._height=rt+Fe):(se._width=Math.max(Mt,et)+Me,se._height+=rt+Fe)}}se._width=Math.ceil(Math.max(se._width+vt[0],se._titleWidth+2*(fe+n.titlePad))),se._height=Math.ceil(Math.max(se._height+vt[1],se._titleHeight+2*(fe+n.itemGap))),se._effHeight=Math.min(se._height,se._maxHeight);var tt=ke._context.edits,gt=tt.legendText||tt.legendPosition;le.each(function(ht){var dt=M.select(this).select("."+ve+"toggle"),ct=ht[0].height,kt=ht[0].trace.legendgroup,ut=y(ht,se,Ce);ze&&kt!==""&&(ut=at[kt]);var ft=gt?Ce:Qe||ut;_e||Ne||(ft+=be/2),s.setRect(dt,0,-ct/2,ft,ct)})}(R,me,Oe,N)},function(){var ke,Te,le,se,ne=B._size,ve=N.borderwidth,Ee=N.xref==="paper",_e=N.yref==="paper";if(!q){var ze,Ne;ze=Ee?ne.l+ne.w*N.x-u[L(N)]*N._width:B.width*N.x-u[L(N)]*N._width,Ne=_e?ne.t+ne.h*(1-N.y)-u[C(N)]*N._effHeight:B.height*(1-N.y)-u[C(N)]*N._effHeight;var fe=function(mt,Tt,wt,Pt){var Mt=mt._fullLayout,Ye=Mt[Tt],Xe=L(Ye),Ve=C(Ye),We=Ye.xref==="paper",nt=Ye.yref==="paper";mt._fullLayout._reservedMargin[Tt]={};var rt=Ye.y<.5?"b":"t",Ie=Ye.x<.5?"l":"r",De={r:Mt.width-wt,l:wt+Ye._width,b:Mt.height-Pt,t:Pt+Ye._effHeight};if(We&&nt)return l.autoMargin(mt,Tt,{x:Ye.x,y:Ye.y,l:Ye._width*u[Xe],r:Ye._width*p[Xe],b:Ye._effHeight*p[Ve],t:Ye._effHeight*u[Ve]});We?mt._fullLayout._reservedMargin[Tt][rt]=De[rt]:nt||Ye.orientation==="v"?mt._fullLayout._reservedMargin[Tt][Ie]=De[Ie]:mt._fullLayout._reservedMargin[Tt][rt]=De[rt]}(R,H,ze,Ne);if(fe)return;if(B.margin.autoexpand){var Me=ze,be=Ne;ze=Ee?k.constrain(ze,0,B.width-N._width):Me,Ne=_e?k.constrain(Ne,0,B.height-N._effHeight):be,ze!==Me&&k.log("Constrain "+H+".x to make legend fit inside graph"),Ne!==be&&k.log("Constrain "+H+".y to make legend fit inside graph")}s.setTranslate(ie,ze,Ne)}if(ye.on(".drag",null),ie.on("wheel",null),q||N._height<=N._maxHeight||R._context.staticPlot){var Ce=N._effHeight;q&&(Ce=N._height),ce.attr({width:N._width-ve,height:Ce-ve,x:ve/2,y:ve/2}),s.setTranslate(pe,0,0),oe.select("rect").attr({width:N._width-2*ve,height:Ce-2*ve,x:ve,y:ve}),s.setClipUrl(pe,O,R),s.setRect(ye,0,0,0,0),delete N._scrollY}else{var Fe,Re,He,Ge=Math.max(n.scrollBarMinHeight,N._effHeight*N._effHeight/N._height),Ke=N._effHeight-Ge-2*n.scrollBarMargin,at=N._height-N._effHeight,Qe=Ke/at,vt=Math.min(N._scrollY||0,at);ce.attr({width:N._width-2*ve+n.scrollBarWidth+n.scrollBarMargin,height:N._effHeight-ve,x:ve/2,y:ve/2}),oe.select("rect").attr({width:N._width-2*ve+n.scrollBarWidth+n.scrollBarMargin,height:N._effHeight-2*ve,x:ve,y:ve+vt}),s.setClipUrl(pe,O,R),ot(vt,Ge,Qe),ie.on("wheel",function(){ot(vt=k.constrain(N._scrollY+M.event.deltaY/Ke*at,0,at),Ge,Qe),vt!==0&&vt!==at&&M.event.preventDefault()});var xt=M.behavior.drag().on("dragstart",function(){var mt=M.event.sourceEvent;Fe=mt.type==="touchstart"?mt.changedTouches[0].clientY:mt.clientY,He=vt}).on("drag",function(){var mt=M.event.sourceEvent;mt.buttons===2||mt.ctrlKey||(Re=mt.type==="touchmove"?mt.changedTouches[0].clientY:mt.clientY,vt=function(Tt,wt,Pt){var Mt=(Pt-wt)/Qe+Tt;return k.constrain(Mt,0,at)}(He,Fe,Re),ot(vt,Ge,Qe))});ye.call(xt);var st=M.behavior.drag().on("dragstart",function(){var mt=M.event.sourceEvent;mt.type==="touchstart"&&(Fe=mt.changedTouches[0].clientY,He=vt)}).on("drag",function(){var mt=M.event.sourceEvent;mt.type==="touchmove"&&(Re=mt.changedTouches[0].clientY,vt=function(Tt,wt,Pt){var Mt=(wt-Pt)/Qe+Tt;return k.constrain(Mt,0,at)}(He,Fe,Re),ot(vt,Ge,Qe))});pe.call(st)}function ot(mt,Tt,wt){N._scrollY=R._fullLayout[H]._scrollY=mt,s.setTranslate(pe,0,-mt),s.setRect(ye,N._width,n.scrollBarMargin+mt*wt,n.scrollBarWidth,Tt),oe.select("rect").attr("y",ve+mt)}R._context.edits.legendPosition&&(ie.classed("cursor-move",!0),d.init({element:ie.node(),gd:R,prepFn:function(){var mt=s.getTranslate(ie);le=mt.x,se=mt.y},moveFn:function(mt,Tt){var wt=le+mt,Pt=se+Tt;s.setTranslate(ie,wt,Pt),ke=d.align(wt,N._width,ne.l,ne.l+ne.w,N.xanchor),Te=d.align(Pt+N._height,-N._height,ne.t+ne.h,ne.t,N.yanchor)},doneFn:function(){if(ke!==void 0&&Te!==void 0){var mt={};mt[H+".x"]=ke,mt[H+".y"]=Te,T.call("_guiRelayout",R,mt)}},clickFn:function(mt,Tt){var wt=V.selectAll("g.traces").filter(function(){var Pt=this.getBoundingClientRect();return Tt.clientX>=Pt.left&&Tt.clientX<=Pt.right&&Tt.clientY>=Pt.top&&Tt.clientY<=Pt.bottom});wt.size()>0&&_(R,ie,wt,mt,Tt)}}))}],R)}}function y(R,G,O){var V=R[0],N=V.width,B=G.entrywidthmode,H=V.trace.legendwidth||G.entrywidth;return B==="fraction"?G._maxWidth*H:O+(H||N)}function _(R,G,O,V,N){var B=O.data()[0][0].trace,H={event:N,node:O.node(),curveNumber:B.index,expandedIndex:B._expandedIndex,data:R.data,layout:R.layout,frames:R._transitionData._frames,config:R._context,fullData:R._fullData,fullLayout:R._fullLayout};B._group&&(H.group=B._group),T.traceIs(B,"pie-like")&&(H.label=O.datum()[0].label),b.triggerHandler(R,"plotly_legendclick",H)!==!1&&(V===1?G._clickTimeout=setTimeout(function(){R._fullLayout&&r(O,R,V)},R._context.doubleClickDelay):V===2&&(G._clickTimeout&&clearTimeout(G._clickTimeout),R._legendMouseDownTime=0,b.triggerHandler(R,"plotly_legenddoubleclick",H)!==!1&&r(O,R,V)))}function f(R,G,O){var V,N,B=P(O),H=R.data()[0][0],q=H.trace,te=T.traceIs(q,"pie-like"),K=!O._inHover&&G._context.edits.legendText&&!te,J=O._maxNameLength;H.groupTitle?(V=H.groupTitle.text,N=H.groupTitle.font):(N=O.font,O.entries?V=H.text:(V=te?H.label:q.name,q._meta&&(V=k.templateString(V,q._meta))));var Y=k.ensureSingle(R,"text",B+"text");Y.attr("text-anchor","start").call(s.font,N).text(K?S(V,J):V);var W=O.itemwidth+2*n.itemGap;i.positionText(Y,W,0),K?Y.call(i.makeEditable,{gd:G,text:V}).call(E,R,G,O).on("edit",function(Q){this.text(S(Q,J)).call(E,R,G,O);var re=H.trace._fullInput||{},ie={};if(T.hasTransform(re,"groupby")){var oe=T.getTransformIndices(re,"groupby"),ce=oe[oe.length-1],pe=k.keyedContainer(re,"transforms["+ce+"].styles","target","value.name");pe.set(H.trace._group,Q),ie=pe.constructUpdate()}else ie.name=Q;return re._isShape?T.call("_guiRelayout",G,"shapes["+q.index+"].name",ie.name):T.call("_guiRestyle",G,ie,q.index)}):E(Y,R,G,O)}function S(R,G){var O=Math.max(4,G);if(R&&R.trim().length>=O/2)return R;for(var V=O-(R=R||"").length;V>0;V--)R+=" ";return R}function w(R,G,O){var V,N=G._context.doubleClickDelay,B=1,H=k.ensureSingle(R,"rect",O+"toggle",function(q){G._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(t.fill,"rgba(0,0,0,0)")});G._context.staticPlot||(H.on("mousedown",function(){(V=new Date().getTime())-G._legendMouseDownTimeN&&(B=Math.max(B-1,1)),_(G,q,R,B,M.event)}}))}function E(R,G,O,V,N){V._inHover&&R.attr("data-notex",!0),i.convertToTspans(R,O,function(){(function(B,H,q,te){var K=B.data()[0][0];if(q._inHover||!K||K.trace.showlegend){var J=B.select("g[class*=math-group]"),Y=J.node(),W=P(q);q||(q=H._fullLayout[W]);var Q,re,ie=q.borderwidth,oe=(te===h?q.title.font:K.groupTitle?K.groupTitle.font:q.font).size*a;if(Y){var ce=s.bBox(Y);Q=ce.height,re=ce.width,te===h?s.setTranslate(J,ie,ie+.75*Q):s.setTranslate(J,0,.25*Q)}else{var pe="."+W+(te===h?"title":"")+"text",ge=B.select(pe),we=i.lineCount(ge),ye=ge.node();if(Q=oe*we,re=ye?s.bBox(ye).width:0,te===h){var me=0;q.title.side==="left"?re+=2*n.itemGap:q.title.side==="top center"?q._width&&(me=.5*(q._width-2*ie-2*n.titlePad-re)):q.title.side==="top right"&&q._width&&(me=q._width-2*ie-2*n.titlePad-re),i.positionText(ge,ie+n.titlePad+me,ie+oe)}else{var Oe=2*n.itemGap+q.itemwidth;K.groupTitle&&(Oe=n.itemGap,re-=q.itemwidth),i.positionText(ge,Oe,-oe*((we-1)/2-.3))}}te===h?(q._titleWidth=re,q._titleHeight=Q):(K.lineHeight=oe,K.height=Math.max(Q,16)+3,K.width=re)}else B.remove()})(G,O,V,N)})}function L(R){return k.isRightAnchor(R)?"right":k.isCenterAnchor(R)?"center":"left"}function C(R){return k.isBottomAnchor(R)?"bottom":k.isMiddleAnchor(R)?"middle":"top"}function P(R){return R._id||"legend"}ee.exports=function(R,G){if(G)v(R,G);else{var O=R._fullLayout,V=O._legends;O._infolayer.selectAll('[class^="legend"]').each(function(){var H=M.select(this),q=H.attr("class").split(" ")[0];q.match(m)&&V.indexOf(q)===-1&&H.remove()});for(var N=0;NL&&(E=L)}S[d][0]._groupMinRank=E,S[d][0]._preGroupSort=d}var C=function(V,N){return V.trace.legendrank-N.trace.legendrank||V._preSort-N._preSort};for(S.forEach(function(V,N){V[0]._preGroupSort=N}),S.sort(function(V,N){return V[0]._groupMinRank-N[0]._groupMinRank||V[0]._preGroupSort-N[0]._preGroupSort}),d=0;dx?x:p}ee.exports=function(p,c,x){var g=c._fullLayout;x||(x=g.legend);var h=x.itemsizing==="constant",m=x.itemwidth,v=(m+2*n.itemGap)/2,y=T(v,0),_=function(w,E,L,C){var P;if(w+1)P=w;else{if(!(E&&E.width>0))return 0;P=E.width}return h?C:Math.min(P,L)};function f(w,E,L){var C=w[0].trace,P=C.marker||{},R=P.line||{},G=L?C.visible&&C.type===L:k.traceIs(C,"bar"),O=M.select(E).select("g.legendpoints").selectAll("path.legend"+L).data(G?[w]:[]);O.enter().append("path").classed("legend"+L,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",y),O.exit().remove(),O.each(function(V){var N=M.select(this),B=V[0],H=_(B.mlw,P.line,5,2);N.style("stroke-width",H+"px");var q=B.mcc;if(!x._inHover&&"mc"in B){var te=s(P),K=te.mid;K===void 0&&(K=(te.max+te.min)/2),q=b.tryColorscale(P,"")(K)}var J=q||B.mc||P.color,Y=P.pattern,W=Y&&b.getPatternAttr(Y.shape,0,"");if(W){var Q=b.getPatternAttr(Y.bgcolor,0,null),re=b.getPatternAttr(Y.fgcolor,0,null),ie=Y.fgopacity,oe=u(Y.size,8,10),ce=u(Y.solidity,.5,1),pe="legend-"+C.uid;N.call(b.pattern,"legend",c,pe,W,oe,ce,q,Y.fillmode,Q,re,ie)}else N.call(d.fill,J);H&&d.stroke(N,B.mlc||R.color)})}function S(w,E,L){var C=w[0],P=C.trace,R=L?P.visible&&P.type===L:k.traceIs(P,L),G=M.select(E).select("g.legendpoints").selectAll("path.legend"+L).data(R?[w]:[]);if(G.enter().append("path").classed("legend"+L,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",y),G.exit().remove(),G.size()){var O=P.marker||{},V=_(r(O.line.width,C.pts),O.line,5,2),N="pieLike",B=l.minExtend(P,{marker:{line:{width:V}}},N),H=l.minExtend(C,{trace:B},N);i(G,H,B,c)}}p.each(function(w){var E=M.select(this),L=l.ensureSingle(E,"g","layers");L.style("opacity",w[0].trace.opacity);var C=x.valign,P=w[0].lineHeight,R=w[0].height;if(C!=="middle"&&P&&R){var G={top:1,bottom:-1}[C]*(.5*(P-R+3));L.attr("transform",T(0,G))}else L.attr("transform",null);L.selectAll("g.legendfill").data([w]).enter().append("g").classed("legendfill",!0),L.selectAll("g.legendlines").data([w]).enter().append("g").classed("legendlines",!0);var O=L.selectAll("g.legendsymbols").data([w]);O.enter().append("g").classed("legendsymbols",!0),O.selectAll("g.legendpoints").data([w]).enter().append("g").classed("legendpoints",!0)}).each(function(w){var E,L=w[0].trace,C=[];if(L.visible)switch(L.type){case"histogram2d":case"heatmap":C=[["M-15,-2V4H15V-2Z"]],E=!0;break;case"choropleth":case"choroplethmapbox":C=[["M-6,-6V6H6V-6Z"]],E=!0;break;case"densitymapbox":C=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],E="radial";break;case"cone":C=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],E=!1;break;case"streamtube":C=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],E=!1;break;case"surface":C=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],E=!0;break;case"mesh3d":C=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],E=!1;break;case"volume":C=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],E=!0;break;case"isosurface":C=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],E=!1}var P=M.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(C);P.enter().append("path").classed("legend3dandfriends",!0).attr("transform",y).style("stroke-miterlimit",1),P.exit().remove(),P.each(function(R,G){var O,V=M.select(this),N=s(L),B=N.colorscale,H=N.reversescale;if(B){if(!E){var q=B.length;O=G===0?B[H?q-1:0][1]:G===1?B[H?0:q-1][1]:B[Math.floor((q-1)/2)][1]}}else{var te=L.vertexcolor||L.facecolor||L.color;O=l.isArrayOrTypedArray(te)?te[G]||te[0]:te}V.attr("d",R[0]),O?V.call(d.fill,O):V.call(function(K){if(K.size()){var J="legendfill-"+L.uid;b.gradient(K,c,J,o(H,E==="radial"),B,"fill")}})})}).each(function(w){var E=w[0].trace,L=E.type==="waterfall";if(w[0]._distinct&&L){var C=w[0].trace[w[0].dir].marker;return w[0].mc=C.color,w[0].mlw=C.line.width,w[0].mlc=C.line.color,f(w,this,"waterfall")}var P=[];E.visible&&L&&(P=w[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var R=M.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(P);R.enter().append("path").classed("legendwaterfall",!0).attr("transform",y).style("stroke-miterlimit",1),R.exit().remove(),R.each(function(G){var O=M.select(this),V=E[G[0]].marker,N=_(void 0,V.line,5,2);O.attr("d",G[1]).style("stroke-width",N+"px").call(d.fill,V.color),N&&O.call(d.stroke,V.line.color)})}).each(function(w){f(w,this,"funnel")}).each(function(w){f(w,this)}).each(function(w){var E=w[0].trace,L=M.select(this).select("g.legendpoints").selectAll("path.legendbox").data(E.visible&&k.traceIs(E,"box-violin")?[w]:[]);L.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",y),L.exit().remove(),L.each(function(){var C=M.select(this);if(E.boxpoints!=="all"&&E.points!=="all"||d.opacity(E.fillcolor)!==0||d.opacity((E.line||{}).color)!==0){var P=_(void 0,E.line,5,2);C.style("stroke-width",P+"px").call(d.fill,E.fillcolor),P&&d.stroke(C,E.line.color)}else{var R=l.minExtend(E,{marker:{size:h?12:l.constrain(E.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});L.call(b.pointStyle,R,c)}})}).each(function(w){S(w,this,"funnelarea")}).each(function(w){S(w,this,"pie")}).each(function(w){var E,L,C=a(w),P=C.showFill,R=C.showLine,G=C.showGradientLine,O=C.showGradientFill,V=C.anyFill,N=C.anyLine,B=w[0],H=B.trace,q=s(H),te=q.colorscale,K=q.reversescale,J=t.hasMarkers(H)||!V?"M5,0":N?"M5,-2":"M5,-3",Y=M.select(this),W=Y.select(".legendfill").selectAll("path").data(P||O?[w]:[]);if(W.enter().append("path").classed("js-fill",!0),W.exit().remove(),W.attr("d",J+"h"+m+"v6h-"+m+"z").call(function(ie){if(ie.size())if(P)b.fillGroupStyle(ie,c);else{var oe="legendfill-"+H.uid;b.gradient(ie,c,oe,o(K),te,"fill")}}),R||G){var Q=_(void 0,H.line,10,5);L=l.minExtend(H,{line:{width:Q}}),E=[l.minExtend(B,{trace:L})]}var re=Y.select(".legendlines").selectAll("path").data(R||G?[E]:[]);re.enter().append("path").classed("js-line",!0),re.exit().remove(),re.attr("d",J+(G?"l"+m+",0.0001":"h"+m)).call(R?b.lineGroupStyle:function(ie){if(ie.size()){var oe="legendline-"+H.uid;b.lineGroupStyle(ie),b.gradient(ie,c,oe,o(K),te,"stroke")}})}).each(function(w){var E,L,C=a(w),P=C.anyFill,R=C.anyLine,G=C.showLine,O=C.showMarker,V=w[0],N=V.trace,B=!O&&!R&&!P&&t.hasText(N);function H(re,ie,oe,ce){var pe=l.nestedProperty(N,re).get(),ge=l.isArrayOrTypedArray(pe)&&ie?ie(pe):pe;if(h&&ge&&ce!==void 0&&(ge=ce),oe){if(geoe[1])return oe[1]}return ge}function q(re){return V._distinct&&V.index&&re[V.index]?re[V.index]:re[0]}if(O||B||G){var te={},K={};if(O){te.mc=H("marker.color",q),te.mx=H("marker.symbol",q),te.mo=H("marker.opacity",l.mean,[.2,1]),te.mlc=H("marker.line.color",q),te.mlw=H("marker.line.width",l.mean,[0,5],2),K.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var J=H("marker.size",l.mean,[2,16],12);te.ms=J,K.marker.size=J}G&&(K.line={width:H("line.width",q,[0,10],5)}),B&&(te.tx="Aa",te.tp=H("textposition",q),te.ts=10,te.tc=H("textfont.color",q),te.tf=H("textfont.family",q)),E=[l.minExtend(V,te)],(L=l.minExtend(N,K)).selectedpoints=null,L.texttemplate=null}var Y=M.select(this).select("g.legendpoints"),W=Y.selectAll("path.scatterpts").data(O?E:[]);W.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",y),W.exit().remove(),W.call(b.pointStyle,L,c),O&&(E[0].mrc=3);var Q=Y.selectAll("g.pointtext").data(B?E:[]);Q.enter().append("g").classed("pointtext",!0).append("text").attr("transform",y),Q.exit().remove(),Q.selectAll("text").call(b.textPointStyle,L,c)}).each(function(w){var E=w[0].trace,L=M.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(E.visible&&E.type==="candlestick"?[w,w]:[]);L.enter().append("path").classed("legendcandle",!0).attr("d",function(C,P){return P?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",y).style("stroke-miterlimit",1),L.exit().remove(),L.each(function(C,P){var R=M.select(this),G=E[P?"increasing":"decreasing"],O=_(void 0,G.line,5,2);R.style("stroke-width",O+"px").call(d.fill,G.fillcolor),O&&d.stroke(R,G.line.color)})}).each(function(w){var E=w[0].trace,L=M.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(E.visible&&E.type==="ohlc"?[w,w]:[]);L.enter().append("path").classed("legendohlc",!0).attr("d",function(C,P){return P?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",y).style("stroke-miterlimit",1),L.exit().remove(),L.each(function(C,P){var R=M.select(this),G=E[P?"increasing":"decreasing"],O=_(void 0,G.line,5,2);R.style("fill","none").call(b.dashLine,G.line.dash,O),O&&d.stroke(R,G.line.color)})})}},42068:function(ee,z,e){e(93348),ee.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(ee,z,e){var M=e(73972),k=e(74875),l=e(41675),T=e(24255),b=e(34031).eraseActiveShape,d=e(71828),s=d._,t=ee.exports={};function i(g,h){var m,v,y=h.currentTarget,_=y.getAttribute("data-attr"),f=y.getAttribute("data-val")||!0,S=g._fullLayout,w={},E=l.list(g,null,!0),L=S._cartesianSpikesEnabled;if(_==="zoom"){var C,P=f==="in"?.5:2,R=(1+P)/2,G=(1-P)/2;for(v=0;v1?(J=["toggleHover"],Y=["resetViews"]):w?(K=["zoomInGeo","zoomOutGeo"],J=["hoverClosestGeo"],Y=["resetGeo"]):S?(J=["hoverClosest3d"],Y=["resetCameraDefault3d","resetCameraLastSave3d"]):R?(K=["zoomInMapbox","zoomOutMapbox"],J=["toggleHover"],Y=["resetViewMapbox"]):C?J=["hoverClosestGl2d"]:E?J=["hoverClosestPie"]:V?(J=["hoverClosestCartesian","hoverCompareCartesian"],Y=["resetViewSankey"]):J=["toggleHover"],f&&(J=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(pe){for(var ge=0;ge0)){var c=function(g,h,m){for(var v=m.filter(function(S){return h[S].anchor===g._id}),y=0,_=0;_=ye.max)ge=ie[we+1];else if(pe=ye.pmax)ge=ie[we+1];else if(pewe._length||_e+Re<0)return;be=Ee+Re,Ce=_e+Re;break;case Oe:if(Fe="col-resize",Ee+Re>we._length)return;be=Ee+Re,Ce=_e;break;case ke:if(Fe="col-resize",_e+Re<0)return;be=Ee,Ce=_e+Re;break;default:Fe="ew-resize",be=ve,Ce=ve+Re}if(Ce=0;C--){var P=h.append("path").attr(v).style("opacity",C?.1:y).call(T.stroke,f).call(T.fill,_).call(b.dashLine,C?"solid":w,C?4+S:S);if(o(P,u,x),E){var R=d(u.layout,"selections",x);P.style({cursor:"move"});var G={element:P.node(),plotinfo:g,gd:u,editHelpers:R,isActiveSelection:!0},O=M(m,u);k(O,P,G)}else P.style("pointer-events",C?"all":"none");L[C]=P}var V=L[0];L[1].node().addEventListener("click",function(){return function(N,B){if(r(N)){var H=+B.node().getAttribute("data-index");if(H>=0){if(H===N._fullLayout._activeSelectionIndex)return void a(N);N._fullLayout._activeSelectionIndex=H,N._fullLayout._deactivateSelection=a,i(N)}}}(u,V)})}(u._fullLayout._selectionLayer)}function o(u,p,c){var x=c.xref+c.yref;b.setClipUrl(u,"clip"+p._fullLayout._uid+x,p)}function a(u){r(u)&&u._fullLayout._activeSelectionIndex>=0&&(l(u),delete u._fullLayout._activeSelectionIndex,i(u))}ee.exports={draw:i,drawOne:n,activateLastSelection:function(u){if(r(u)){var p=u._fullLayout.selections.length-1;u._fullLayout._activeSelectionIndex=p,u._fullLayout._deactivateSelection=a,i(u)}}}},53777:function(ee,z,e){var M=e(79952).P,k=e(1426).extendFlat;ee.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:k({},M,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(ee){ee.exports=function(z,e,M){M("newselection.mode"),M("newselection.line.width")&&(M("newselection.line.color"),M("newselection.line.dash")),M("activeselection.fillcolor"),M("activeselection.opacity")}},35855:function(ee,z,e){var M=e(64505).selectMode,k=e(51873).clearOutline,l=e(60165),T=l.readPaths,b=l.writePaths,d=l.fixDatesForPaths;ee.exports=function(s,t){if(s.length){var i=s[0][0];if(i){var r=i.getAttribute("d"),n=t.gd,o=n._fullLayout.newselection,a=t.plotinfo,u=a.xaxis,p=a.yaxis,c=t.isActiveSelection,x=t.dragmode,g=(n.layout||{}).selections||[];if(!M(x)&&c!==void 0){var h=n._fullLayout._activeSelectionIndex;if(h-1,Pt=[];if(function(We){return We&&Array.isArray(We)&&We[0].hoverOnBox!==!0}(Tt)){Q(fe,Me,Re);var Mt=function(We,nt){var rt,Ie,De=We[0],et=-1,tt=[];for(Ie=0;Ie0?function(We,nt){var rt,Ie,De,et=[];for(De=0;De0&&et.push(rt);if(et.length===1&&et[0]===nt.searchInfo&&(Ie=nt.searchInfo.cd[0].trace).selectedpoints.length===nt.pointNumbers.length){for(De=0;De1||(Ie+=nt.selectedpoints.length)>1))return!1;return Ie===1}(Ge)&&(xt=pe(Mt))){for(He&&He.remove(),mt=0;mt=0})(Fe)&&Fe._fullLayout._deactivateShape(Fe),function(vt){return vt._fullLayout._activeSelectionIndex>=0}(Fe)&&Fe._fullLayout._deactivateSelection(Fe);var Re=Fe._fullLayout._zoomlayer,He=n(be),Ge=a(be);if(He||Ge){var Ke,at,Qe=Re.selectAll(".select-outline-"+Ce.id);Qe&&Fe._fullLayout._outlining&&(He&&(Ke=v(Qe,fe)),Ke&&l.call("_guiRelayout",Fe,{shapes:Ke}),Ge&&!te(fe)&&(at=y(Qe,fe)),at&&(Fe._fullLayout._noEmitSelectedAtStart=!0,l.call("_guiRelayout",Fe,{selections:at}).then(function(){Me&&_(Fe)})),Fe._fullLayout._outlining=!1)}Ce.selection={},Ce.selection.selectionDefs=fe.selectionDefs=[],Ce.selection.mergedPolygons=fe.mergedPolygons=[]}function ie(fe){return fe._id}function oe(fe,Me,be,Ce){if(!fe.calcdata)return[];var Fe,Re,He,Ge=[],Ke=Me.map(ie),at=be.map(ie);for(He=0;He0?Ce[0]:be;return!!Me.selectedpoints&&Me.selectedpoints.indexOf(Fe)>-1}function ge(fe,Me,be){var Ce,Fe;for(Ce=0;Ce-1&&Me;if(!Re&&Me){var nn=se(fe,!0);if(nn.length){var Jt=nn[0].xref,rn=nn[0].yref;if(Jt&&rn){var fn=Ee(nn);_e([L(fe,Jt,"x"),L(fe,rn,"y")])(un,fn)}}fe._fullLayout._noEmitSelectedAtStart?fe._fullLayout._noEmitSelectedAtStart=!1:jt&&ze(fe,un),xt._reselect=!1}if(!Re&&xt._deselect){var vn=xt._deselect;(function(Mn,En,bn){for(var Ln=0;Ln=0)st._fullLayout._deactivateShape(st);else if(!at){var fn=ot.clickmode;E.done(yn).then(function(){if(E.clear(yn),Jt===2){for(Dt.remove(),De=0;De-1&&K(rn,st,Ce.xaxes,Ce.yaxes,Ce.subplot,Ce,Dt),fn==="event"&&ze(st,void 0);d.click(st,rn)}).catch(f.error)}},Ce.doneFn=function(){Ht.remove(),E.done(yn).then(function(){E.clear(yn),!mt&&Ie&&Ce.selectionDefs&&(Ie.subtract=Rt,Ce.selectionDefs.push(Ie),Ce.mergedPolygons.length=0,[].push.apply(Ce.mergedPolygons,rt)),(mt||at)&&re(Ce,mt),Ce.doneFnCompleted&&Ce.doneFnCompleted(un),Qe&&ze(st,tt)}).catch(f.error)}},clearOutline:x,clearSelectionsCache:re,selectOnClick:K}},89827:function(ee,z,e){var M=e(50215),k=e(41940),l=e(82196).line,T=e(79952).P,b=e(1426).extendFlat,d=e(44467).templatedArray,s=(e(24695),e(9012)),t=e(5386).R,i=e(37281);ee.exports=d("shape",{visible:b({},s.visible,{editType:"calc+arraydraw"}),showlegend:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},legend:b({},s.legend,{editType:"calc+arraydraw"}),legendgroup:b({},s.legendgroup,{editType:"calc+arraydraw"}),legendgrouptitle:{text:b({},s.legendgrouptitle.text,{editType:"calc+arraydraw"}),font:k({editType:"calc+arraydraw"}),editType:"calc+arraydraw"},legendrank:b({},s.legendrank,{editType:"calc+arraydraw"}),legendwidth:b({},s.legendwidth,{editType:"calc+arraydraw"}),type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:b({},M.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:b({},M.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:b({},l.color,{editType:"arraydraw"}),width:b({},l.width,{editType:"calc+arraydraw"}),dash:b({},T,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:t({},{keys:Object.keys(i)}),font:k({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(ee,z,e){var M=e(71828),k=e(89298),l=e(21459),T=e(30477);function b(i){return s(i.line.width,i.xsizemode,i.x0,i.x1,i.path,!1)}function d(i){return s(i.line.width,i.ysizemode,i.y0,i.y1,i.path,!0)}function s(i,r,n,o,a,u){var p=i/2,c=u;if(r==="pixel"){var x=a?T.extractPathCoords(a,u?l.paramIsY:l.paramIsX):[n,o],g=M.aggNums(Math.max,null,x),h=M.aggNums(Math.min,null,x),m=h<0?Math.abs(h)+p:p,v=g>0?g+p:p;return{ppad:p,ppadplus:c?m:v,ppadminus:c?v:m}}return{ppad:p}}function t(i,r,n,o,a){var u=i.type==="category"||i.type==="multicategory"?i.r2c:i.d2c;if(r!==void 0)return[u(r),u(n)];if(o){var p,c,x,g,h=1/0,m=-1/0,v=o.match(l.segmentRE);for(i.type==="date"&&(u=T.decodeDate(u)),p=0;pm&&(m=g)));return m>=h?[h,m]:void 0}}ee.exports=function(i){var r=i._fullLayout,n=M.filterVisible(r.shapes);if(n.length&&i._fullData.length)for(var o=0;o=ie?oe-pe:pe-oe,-180/Math.PI*Math.atan2(ge,we)}(m,y,v,_):0),w.call(function(ie){return ie.call(T.font,S).attr({}),l.convertToTspans(ie,r),ie});var Y=function(ie,oe,ce,pe,ge,we,ye){var me,Oe,ke,Te,le=ge.label.textposition,se=ge.label.textangle,ne=ge.label.padding,ve=ge.type,Ee=Math.PI/180*we,_e=Math.sin(Ee),ze=Math.cos(Ee),Ne=ge.label.xanchor,fe=ge.label.yanchor;if(ve==="line"){le==="start"?(me=ie,Oe=oe):le==="end"?(me=ce,Oe=pe):(me=(ie+ce)/2,Oe=(oe+pe)/2),Ne==="auto"&&(Ne=le==="start"?se==="auto"?ce>ie?"left":ceie?"right":ceie?"right":ceie?"left":ce1&&(me.length!==2||me[1][0]!=="Z")&&(V===0&&(me[0][0]="M"),f[O]=me,C(),P())}}()}}function ie(ge,we){(function(ye,me){if(f.length)for(var Oe=0;OeOe?(le=ye,Ee="y0",se=Oe,_e="y1"):(le=Oe,Ee="y1",se=ye,_e="y0"),Ye(rt),We(pe,oe),function(Ie,De,et){var tt=De.xref,gt=De.yref,ht=T.getFromId(et,tt),dt=T.getFromId(et,gt),ct="";tt==="paper"||ht.autorange||(ct+=tt),gt==="paper"||dt.autorange||(ct+=gt),r.setClipUrl(Ie,ct?"clip"+et._fullLayout._uid+ct:null,et)}(ie,oe,re),Mt.moveFn=Me==="move"?Xe:Ve,Mt.altKey=rt.altKey)},doneFn:function(){g(re)||(a(ie),nt(pe),v(ie,re,oe),k.call("_guiRelayout",re,ge.getUpdateObj()))},clickFn:function(){g(re)||nt(pe)}};function Ye(rt){if(g(re))Me=null;else if(He)Me=rt.target.tagName==="path"?"move":rt.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Ie=Mt.element.getBoundingClientRect(),De=Ie.right-Ie.left,et=Ie.bottom-Ie.top,tt=rt.clientX-Ie.left,gt=rt.clientY-Ie.top,ht=!Ge&&De>be&&et>Ce&&!rt.shiftKey?o.getCursor(tt/De,1-gt/et):"move";a(ie,ht),Me=ht.split("-")[0]}}function Xe(rt,Ie){if(oe.type==="path"){var De=function(gt){return gt},et=De,tt=De;Fe?Ke("xanchor",oe.xanchor=Tt(ke+rt)):(et=function(gt){return Tt(ot(gt)+rt)},Qe&&Qe.type==="date"&&(et=p.encodeDate(et))),Re?Ke("yanchor",oe.yanchor=wt(Te+Ie)):(tt=function(gt){return wt(mt(gt)+Ie)},xt&&xt.type==="date"&&(tt=p.encodeDate(tt))),Ke("path",oe.path=y(fe,et,tt))}else Fe?Ke("xanchor",oe.xanchor=Tt(ke+rt)):(Ke("x0",oe.x0=Tt(we+rt)),Ke("x1",oe.x1=Tt(me+rt))),Re?Ke("yanchor",oe.yanchor=wt(Te+Ie)):(Ke("y0",oe.y0=wt(ye+Ie)),Ke("y1",oe.y1=wt(Oe+Ie)));ie.attr("d",c(re,oe)),We(pe,oe),s(re,ce,oe,at)}function Ve(rt,Ie){if(Ge){var De=function(Wt){return Wt},et=De,tt=De;Fe?Ke("xanchor",oe.xanchor=Tt(ke+rt)):(et=function(Wt){return Tt(ot(Wt)+rt)},Qe&&Qe.type==="date"&&(et=p.encodeDate(et))),Re?Ke("yanchor",oe.yanchor=wt(Te+Ie)):(tt=function(Wt){return wt(mt(Wt)+Ie)},xt&&xt.type==="date"&&(tt=p.encodeDate(tt))),Ke("path",oe.path=y(fe,et,tt))}else if(He){if(Me==="resize-over-start-point"){var gt=we+rt,ht=Re?ye-Ie:ye+Ie;Ke("x0",oe.x0=Fe?gt:Tt(gt)),Ke("y0",oe.y0=Re?ht:wt(ht))}else if(Me==="resize-over-end-point"){var dt=me+rt,ct=Re?Oe-Ie:Oe+Ie;Ke("x1",oe.x1=Fe?dt:Tt(dt)),Ke("y1",oe.y1=Re?ct:wt(ct))}}else{var kt=function(Wt){return Me.indexOf(Wt)!==-1},ut=kt("n"),ft=kt("s"),bt=kt("w"),It=kt("e"),Rt=ut?le+Ie:le,Dt=ft?se+Ie:se,Kt=bt?ne+rt:ne,qt=It?ve+rt:ve;Re&&(ut&&(Rt=le-Ie),ft&&(Dt=se-Ie)),(!Re&&Dt-Rt>Ce||Re&&Rt-Dt>Ce)&&(Ke(Ee,oe[Ee]=Re?Rt:wt(Rt)),Ke(_e,oe[_e]=Re?Dt:wt(Dt))),qt-Kt>be&&(Ke(ze,oe[ze]=Fe?Kt:Tt(Kt)),Ke(Ne,oe[Ne]=Fe?qt:Tt(qt)))}ie.attr("d",c(re,oe)),We(pe,oe),s(re,ce,oe,at)}function We(rt,Ie){(Fe||Re)&&function(){var De=Ie.type!=="path",et=rt.selectAll(".visual-cue").data([0]);et.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var tt=ot(Fe?Ie.xanchor:l.midRange(De?[Ie.x0,Ie.x1]:p.extractPathCoords(Ie.path,u.paramIsX))),gt=mt(Re?Ie.yanchor:l.midRange(De?[Ie.y0,Ie.y1]:p.extractPathCoords(Ie.path,u.paramIsY)));if(tt=p.roundPositionForSharpStrokeRendering(tt,1),gt=p.roundPositionForSharpStrokeRendering(gt,1),Fe&&Re){var ht="M"+(tt-1-1)+","+(gt-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";et.attr("d",ht)}else if(Fe){var dt="M"+(tt-1-1)+","+(gt-9-1)+"v18 h2 v-18 Z";et.attr("d",dt)}else{var ct="M"+(tt-9-1)+","+(gt-1-1)+"h18 v2 h-18 Z";et.attr("d",ct)}}()}function nt(rt){rt.selectAll(".visual-cue").remove()}o.init(Mt),Pt.node().onmousemove=Ye}(f,Y,E,S,P,K):E.editable===!0&&Y.style("pointer-events",q||i.opacity(V)*O<=.5?"stroke":"all");Y.node().addEventListener("click",function(){return function(re,ie){if(h(re)){var oe=+ie.node().getAttribute("data-index");if(oe>=0){if(oe===re._fullLayout._activeShapeIndex)return void _(re);re._fullLayout._activeShapeIndex=oe,re._fullLayout._deactivateShape=_,x(re)}}}(f,Y)})}E._input&&E.visible===!0&&(E.layer!=="below"?C(f._fullLayout._shapeUpperLayer):E.xref==="paper"||E.yref==="paper"?C(f._fullLayout._shapeLowerLayer):L._hadPlotinfo?C((L.mainplotinfo||L).shapelayer):C(f._fullLayout._shapeLowerLayer))}function v(f,S,w){var E=(w.xref+w.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");r.setClipUrl(f,E?"clip"+S._fullLayout._uid+E:null,S)}function y(f,S,w){return f.replace(u.segmentRE,function(E){var L=0,C=E.charAt(0),P=u.paramIsX[C],R=u.paramIsY[C],G=u.numParams[C];return C+E.substr(1).replace(u.paramRE,function(O){return L>=G||(P[L]?O=S(O):R[L]&&(O=w(O)),L++),O})})}function _(f){h(f)&&f._fullLayout._activeShapeIndex>=0&&(t(f),delete f._fullLayout._activeShapeIndex,x(f))}ee.exports={draw:x,drawOne:m,eraseActiveShape:function(f){if(h(f)){t(f);var S=f._fullLayout._activeShapeIndex,w=(f.layout||{}).shapes||[];if(S0&&mJ&&(W="X"),W});return H>J&&(Y=Y.replace(/[\s,]*X.*/,""),k.log("Ignoring extra params in segment "+B)),q+Y})}(b,s,i);if(b.xsizemode==="pixel"){var m=s(b.xanchor);r=m+b.x0,n=m+b.x1}else r=s(b.x0),n=s(b.x1);if(b.ysizemode==="pixel"){var v=i(b.yanchor);o=v-b.y0,a=v-b.y1}else o=i(b.y0),a=i(b.y1);if(u==="line")return"M"+r+","+o+"L"+n+","+a;if(u==="rect")return"M"+r+","+o+"H"+n+"V"+a+"H"+r+"Z";var y=(r+n)/2,_=(o+a)/2,f=Math.abs(y-r),S=Math.abs(_-o),w="A"+f+","+S,E=y+f+","+_;return"M"+E+w+" 0 1,1 "+y+","+(_-S)+w+" 0 0,1 "+E+"Z"}},89853:function(ee,z,e){var M=e(34031);ee.exports={moduleType:"component",name:"shapes",layoutAttributes:e(89827),supplyLayoutDefaults:e(84726),supplyDrawNewShapeDefaults:e(45547),includeBasePlot:e(76325)("shapes"),calcAutorange:e(5627),draw:M.draw,drawOne:M.drawOne}},37281:function(ee){function z(l,T){return T?T.d2l(l):l}function e(l,T){return T?T.l2d(l):l}function M(l,T){return z(l.x1,T)-z(l.x0,T)}function k(l,T,b){return z(l.y1,b)-z(l.y0,b)}ee.exports={x0:function(l){return l.x0},x1:function(l){return l.x1},y0:function(l){return l.y0},y1:function(l){return l.y1},slope:function(l,T,b){return l.type!=="line"?void 0:k(l,0,b)/M(l,T)},dx:M,dy:k,width:function(l,T){return Math.abs(M(l,T))},height:function(l,T,b){return Math.abs(k(l,0,b))},length:function(l,T,b){return l.type!=="line"?void 0:Math.sqrt(Math.pow(M(l,T),2)+Math.pow(k(l,0,b),2))},xcenter:function(l,T){return e((z(l.x1,T)+z(l.x0,T))/2,T)},ycenter:function(l,T,b){return e((z(l.y1,b)+z(l.y0,b))/2,b)}}},75067:function(ee,z,e){var M=e(41940),k=e(35025),l=e(1426).extendDeepAll,T=e(30962).overrideAll,b=e(85594),d=e(44467).templatedArray,s=e(98292),t=d("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});ee.exports=T(d("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:t,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:l(k({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:b.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:M({})},font:M({}),activebgcolor:{valType:"color",dflt:s.gripBgActiveColor},bgcolor:{valType:"color",dflt:s.railBgColor},bordercolor:{valType:"color",dflt:s.railBorderColor},borderwidth:{valType:"number",min:0,dflt:s.railBorderWidth},ticklen:{valType:"number",min:0,dflt:s.tickLength},tickcolor:{valType:"color",dflt:s.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:s.minorTickLength}}),"arraydraw","from-root")},98292:function(ee){ee.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(ee,z,e){var M=e(71828),k=e(85501),l=e(75067),T=e(98292).name,b=l.steps;function d(t,i,r){function n(c,x){return M.coerce(t,i,l,c,x)}for(var o=k(t,i,{name:"steps",handleItemDefaults:s}),a=0,u=0;u0&&(H=H.transition().duration(R.transition.duration).ease(R.transition.easing)),H.attr("transform",d(B-.5*i.gripWidth,R._dims.currentValueTotalHeight))}}function w(P,R){var G=P._dims;return G.inputAreaStart+i.stepInset+(G.inputAreaLength-2*i.stepInset)*Math.min(1,Math.max(0,R))}function E(P,R){var G=P._dims;return Math.min(1,Math.max(0,(R-i.stepInset-G.inputAreaStart)/(G.inputAreaLength-2*i.stepInset-2*G.inputAreaStart)))}function L(P,R,G){var O=G._dims,V=b.ensureSingle(P,"rect",i.railTouchRectClass,function(N){N.call(_,R,P,G).style("pointer-events","all")});V.attr({width:O.inputAreaLength,height:Math.max(O.inputAreaWidth,i.tickOffset+G.ticklen+O.labelHeight)}).call(l.fill,G.bgcolor).attr("opacity",0),T.setTranslate(V,0,O.currentValueTotalHeight)}function C(P,R){var G=R._dims,O=G.inputAreaLength-2*i.railInset,V=b.ensureSingle(P,"rect",i.railRectClass);V.attr({width:O,height:i.railWidth,rx:i.railRadius,ry:i.railRadius,"shape-rendering":"crispEdges"}).call(l.stroke,R.bordercolor).call(l.fill,R.bgcolor).style("stroke-width",R.borderwidth+"px"),T.setTranslate(V,i.railInset,.5*(G.inputAreaWidth-i.railWidth)+G.currentValueTotalHeight)}ee.exports=function(P){var R=P._context.staticPlot,G=P._fullLayout,O=function(te,K){for(var J=te[i.name],Y=[],W=0;W0?[0]:[]);function N(te){te._commandObserver&&(te._commandObserver.remove(),delete te._commandObserver),k.autoMargin(P,u(te))}if(V.enter().append("g").classed(i.containerClassName,!0).style("cursor",R?null:"ew-resize"),V.exit().each(function(){M.select(this).selectAll("g."+i.groupClassName).each(N)}).remove(),O.length!==0){var B=V.selectAll("g."+i.groupClassName).data(O,p);B.enter().append("g").classed(i.groupClassName,!0),B.exit().each(N).remove();for(var H=0;H0||me<0){var le={left:[-Oe,0],right:[Oe,0],top:[0,-Oe],bottom:[0,Oe]}[v.side];Y.attr("transform",d(le[0],le[1]))}}}return H.call(q),V&&(C?H.on(".opacity",null):(w=0,E=!0,H.text(h).on("mouseover.opacity",function(){M.select(this).transition().duration(r.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){M.select(this).transition().duration(r.HIDE_PLACEHOLDER).style("opacity",0)})),H.call(i.makeEditable,{gd:a}).on("edit",function(J){m!==void 0?T.call("_guiRestyle",a,g,J,m):T.call("_guiRelayout",a,g,J)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(q)}).on("input",function(J){this.text(J||" ").call(i.positionText,y.x,y.y)})),H.classed("js-placeholder",E),f}}},7163:function(ee,z,e){var M=e(41940),k=e(22399),l=e(1426).extendFlat,T=e(30962).overrideAll,b=e(35025),d=e(44467).templatedArray,s=d("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});ee.exports=T(d("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:s,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:l(b({editType:"arraydraw"}),{}),font:M({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:k.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(ee){ee.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"\u25C4",right:"\u25BA",up:"\u25B2",down:"\u25BC"}}},64897:function(ee,z,e){var M=e(71828),k=e(85501),l=e(7163),T=e(75909).name,b=l.buttons;function d(t,i,r){function n(o,a){return M.coerce(t,i,l,o,a)}n("visible",k(t,i,{name:"buttons",handleItemDefaults:s}).length>0)&&(n("active"),n("direction"),n("type"),n("showactive"),n("x"),n("y"),M.noneOrAll(t,i,["x","y"]),n("xanchor"),n("yanchor"),n("pad.t"),n("pad.r"),n("pad.b"),n("pad.l"),M.coerceFont(n,"font",r.font),n("bgcolor",r.paper_bgcolor),n("bordercolor"),n("borderwidth"))}function s(t,i){function r(n,o){return M.coerce(t,i,b,n,o)}r("visible",t.method==="skip"||Array.isArray(t.args))&&(r("method"),r("args"),r("args2"),r("label"),r("execute"))}ee.exports=function(t,i){k(t,i,{name:T,handleItemDefaults:d})}},13689:function(ee,z,e){var M=e(39898),k=e(74875),l=e(7901),T=e(91424),b=e(71828),d=e(63893),s=e(44467).arrayEditor,t=e(18783).LINE_SPACING,i=e(75909),r=e(25849);function n(w){return w._index}function o(w,E){return+w.attr(i.menuIndexAttrName)===E._index}function a(w,E,L,C,P,R,G,O){E.active=G,s(w.layout,i.name,E).applyUpdate("active",G),E.type==="buttons"?p(w,C,null,null,E):E.type==="dropdown"&&(P.attr(i.menuIndexAttrName,"-1"),u(w,C,P,R,E),O||p(w,C,P,R,E))}function u(w,E,L,C,P){var R=b.ensureSingle(E,"g",i.headerClassName,function(H){H.style("pointer-events","all")}),G=P._dims,O=P.active,V=P.buttons[O]||i.blankHeaderOpts,N={y:P.pad.t,yPad:0,x:P.pad.l,xPad:0,index:0},B={width:G.headerWidth,height:G.headerHeight};R.call(c,P,V,w).call(f,P,N,B),b.ensureSingle(E,"text",i.headerArrowClassName,function(H){H.attr("text-anchor","end").call(T.font,P.font).text(i.arrowSymbol[P.direction])}).attr({x:G.headerWidth-i.arrowOffsetX+P.pad.l,y:G.headerHeight/2+i.textOffsetY+P.pad.t}),R.on("click",function(){L.call(S,String(o(L,P)?-1:P._index)),p(w,E,L,C,P)}),R.on("mouseover",function(){R.call(m)}),R.on("mouseout",function(){R.call(v,P)}),T.setTranslate(E,G.lx,G.ly)}function p(w,E,L,C,P){L||(L=E).attr("pointer-events","all");var R=function(Y){return+Y.attr(i.menuIndexAttrName)==-1}(L)&&P.type!=="buttons"?[]:P.buttons,G=P.type==="dropdown"?i.dropdownButtonClassName:i.buttonClassName,O=L.selectAll("g."+G).data(b.filterVisible(R)),V=O.enter().append("g").classed(G,!0),N=O.exit();P.type==="dropdown"?(V.attr("opacity","0").transition().attr("opacity","1"),N.transition().attr("opacity","0").remove()):N.remove();var B=0,H=0,q=P._dims,te=["up","down"].indexOf(P.direction)!==-1;P.type==="dropdown"&&(te?H=q.headerHeight+i.gapButtonHeader:B=q.headerWidth+i.gapButtonHeader),P.type==="dropdown"&&P.direction==="up"&&(H=-i.gapButtonHeader+i.gapButton-q.openHeight),P.type==="dropdown"&&P.direction==="left"&&(B=-i.gapButtonHeader+i.gapButton-q.openWidth);var K={x:q.lx+B+P.pad.l,y:q.ly+H+P.pad.t,yPad:i.gapButton,xPad:i.gapButton,index:0},J={l:K.x+P.borderwidth,t:K.y+P.borderwidth};O.each(function(Y,W){var Q=M.select(this);Q.call(c,P,Y,w).call(f,P,K),Q.on("click",function(){M.event.defaultPrevented||(Y.execute&&(Y.args2&&P.active===W?(a(w,P,0,E,L,C,-1),k.executeAPICommand(w,Y.method,Y.args2)):(a(w,P,0,E,L,C,W),k.executeAPICommand(w,Y.method,Y.args))),w.emit("plotly_buttonclicked",{menu:P,button:Y,active:P.active}))}),Q.on("mouseover",function(){Q.call(m)}),Q.on("mouseout",function(){Q.call(v,P),O.call(h,P)})}),O.call(h,P),te?(J.w=Math.max(q.openWidth,q.headerWidth),J.h=K.y-J.t):(J.w=K.x-J.l,J.h=Math.max(q.openHeight,q.headerHeight)),J.direction=P.direction,C&&(O.size()?function(Y,W,Q,re,ie,oe){var ce,pe,ge,we=ie.direction,ye=we==="up"||we==="down",me=ie._dims,Oe=ie.active;if(ye)for(pe=0,ge=0;ge0?[0]:[]);if(P.enter().append("g").classed(i.containerClassName,!0).style("cursor","pointer"),P.exit().each(function(){M.select(this).selectAll("g."+i.headerGroupClassName).each(C)}).remove(),L.length!==0){var R=P.selectAll("g."+i.headerGroupClassName).data(L,n);R.enter().append("g").classed(i.headerGroupClassName,!0);for(var G=b.ensureSingle(P,"g",i.dropdownButtonGroupClassName,function(H){H.style("pointer-events","all")}),O=0;Of,E=b.barLength+2*b.barPad,L=b.barWidth+2*b.barPad,C=c,P=g+h;P+L>n&&(P=n-L);var R=this.container.selectAll("rect.scrollbar-horizontal").data(w?[0]:[]);R.exit().on(".drag",null).remove(),R.enter().append("rect").classed("scrollbar-horizontal",!0).call(k.fill,b.barColor),w?(this.hbar=R.attr({rx:b.barRadius,ry:b.barRadius,x:C,y:P,width:E,height:L}),this._hbarXMin=C+E/2,this._hbarTranslateMax=f-E):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var G=h>S,O=b.barWidth+2*b.barPad,V=b.barLength+2*b.barPad,N=c+x,B=g;N+O>r&&(N=r-O);var H=this.container.selectAll("rect.scrollbar-vertical").data(G?[0]:[]);H.exit().on(".drag",null).remove(),H.enter().append("rect").classed("scrollbar-vertical",!0).call(k.fill,b.barColor),G?(this.vbar=H.attr({rx:b.barRadius,ry:b.barRadius,x:N,y:B,width:O,height:V}),this._vbarYMin=B+V/2,this._vbarTranslateMax=S-V):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var q=this.id,te=o-.5,K=G?a+O+.5:a+.5,J=u-.5,Y=w?p+L+.5:p+.5,W=i._topdefs.selectAll("#"+q).data(w||G?[0]:[]);if(W.exit().remove(),W.enter().append("clipPath").attr("id",q).append("rect"),w||G?(this._clipRect=W.select("rect").attr({x:Math.floor(te),y:Math.floor(J),width:Math.ceil(K)-Math.floor(te),height:Math.ceil(Y)-Math.floor(J)}),this.container.call(l.setClipUrl,q,this.gd),this.bg.attr({x:c,y:g,width:x,height:h})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(l.setClipUrl,null),delete this._clipRect),w||G){var Q=M.behavior.drag().on("dragstart",function(){M.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(Q);var re=M.behavior.drag().on("dragstart",function(){M.event.sourceEvent.preventDefault(),M.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));w&&this.hbar.on(".drag",null).call(re),G&&this.vbar.on(".drag",null).call(re)}this.setTranslate(s,t)},b.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(l.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},b.prototype._onBoxDrag=function(){var d=this.translateX,s=this.translateY;this.hbar&&(d-=M.event.dx),this.vbar&&(s-=M.event.dy),this.setTranslate(d,s)},b.prototype._onBoxWheel=function(){var d=this.translateX,s=this.translateY;this.hbar&&(d+=M.event.deltaY),this.vbar&&(s+=M.event.deltaY),this.setTranslate(d,s)},b.prototype._onBarDrag=function(){var d=this.translateX,s=this.translateY;if(this.hbar){var t=d+this._hbarXMin,i=t+this._hbarTranslateMax;d=(T.constrain(M.event.x,t,i)-t)/(i-t)*(this.position.w-this._box.w)}if(this.vbar){var r=s+this._vbarYMin,n=r+this._vbarTranslateMax;s=(T.constrain(M.event.y,r,n)-r)/(n-r)*(this.position.h-this._box.h)}this.setTranslate(d,s)},b.prototype.setTranslate=function(d,s){var t=this.position.w-this._box.w,i=this.position.h-this._box.h;if(d=T.constrain(d||0,0,t),s=T.constrain(s||0,0,i),this.translateX=d,this.translateY=s,this.container.call(l.setTranslate,this._box.l-this.position.l-d,this._box.t-this.position.t-s),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+d-.5),y:Math.floor(this.position.t+s-.5)}),this.hbar){var r=d/t;this.hbar.call(l.setTranslate,d+r*this._hbarTranslateMax,s)}if(this.vbar){var n=s/i;this.vbar.call(l.setTranslate,d,s+n*this._vbarTranslateMax)}}},18783:function(ee){ee.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(ee){ee.exports={axisRefDescription:function(z,e,M){return["If set to a",z,"axis id (e.g. *"+z+"* or","*"+z+"2*), the `"+z+"` position refers to a",z,"coordinate. If set to *paper*, the `"+z+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+M+"). If set to a",z,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+z+"2 domain* refers to the domain of the second",z," axis and a",z,"position of 0.5 refers to the","point between the",e,"and the",M,"of the domain of the","second",z,"axis."].join(" ")}}},22372:function(ee){ee.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"\u25B2"},DECREASING:{COLOR:"#FF4136",SYMBOL:"\u25BC"}}},31562:function(ee){ee.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(ee){ee.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(ee){ee.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(ee){ee.exports={circle:"\u25CF","circle-open":"\u25CB",square:"\u25A0","square-open":"\u25A1",diamond:"\u25C6","diamond-open":"\u25C7",cross:"+",x:"\u274C"}},37822:function(ee){ee.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(ee){ee.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"\u2212"}},32396:function(ee,z){z.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],z.STYLE=z.CSS_DECLARATIONS.map(function(e){return e.join(": ")+"; "}).join("")},77922:function(ee,z){z.xmlns="http://www.w3.org/2000/xmlns/",z.svg="http://www.w3.org/2000/svg",z.xlink="http://www.w3.org/1999/xlink",z.svgAttrs={xmlns:z.svg,"xmlns:xlink":z.xlink}},8729:function(ee,z,e){z.version=e(11506).version,e(7417),e(98847);for(var M=e(73972),k=z.register=M.register,l=e(10641),T=Object.keys(l),b=0;b",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(ee,z){z.isLeftAnchor=function(e){return e.xanchor==="left"||e.xanchor==="auto"&&e.x<=.3333333333333333},z.isCenterAnchor=function(e){return e.xanchor==="center"||e.xanchor==="auto"&&e.x>.3333333333333333&&e.x<.6666666666666666},z.isRightAnchor=function(e){return e.xanchor==="right"||e.xanchor==="auto"&&e.x>=.6666666666666666},z.isTopAnchor=function(e){return e.yanchor==="top"||e.yanchor==="auto"&&e.y>=.6666666666666666},z.isMiddleAnchor=function(e){return e.yanchor==="middle"||e.yanchor==="auto"&&e.y>.3333333333333333&&e.y<.6666666666666666},z.isBottomAnchor=function(e){return e.yanchor==="bottom"||e.yanchor==="auto"&&e.y<=.3333333333333333}},26348:function(ee,z,e){var M=e(64872),k=M.mod,l=M.modHalf,T=Math.PI,b=2*T;function d(r){return Math.abs(r[1]-r[0])>b-1e-14}function s(r,n){return l(n-r,b)}function t(r,n){if(d(n))return!0;var o,a;n[0](a=k(a,b))&&(a+=b);var u=k(r,b),p=u+b;return u>=o&&u<=a||p>=o&&p<=a}function i(r,n,o,a,u,p,c){u=u||0,p=p||0;var x,g,h,m,v,y=d([o,a]);function _(E,L){return[E*Math.cos(L)+u,p-E*Math.sin(L)]}y?(x=0,g=T,h=b):o=u&&r<=p);var u,p},pathArc:function(r,n,o,a,u){return i(null,r,n,o,a,u,0)},pathSector:function(r,n,o,a,u){return i(null,r,n,o,a,u,1)},pathAnnulus:function(r,n,o,a,u,p){return i(r,n,o,a,u,p,1)}}},73627:function(ee,z){var e=Array.isArray,M=ArrayBuffer,k=DataView;function l(d){return M.isView(d)&&!(d instanceof k)}function T(d){return e(d)||l(d)}function b(d,s,t){if(T(d)){if(T(d[0])){for(var i=t,r=0;rp.max?a.set(u):a.set(+o)}},integer:{coerceFunction:function(o,a,u,p){o%1||!M(o)||p.min!==void 0&&op.max?a.set(u):a.set(+o)}},string:{coerceFunction:function(o,a,u,p){if(typeof o!="string"){var c=typeof o=="number";p.strict!==!0&&c?a.set(String(o)):a.set(u)}else p.noBlank&&!o?a.set(u):a.set(o)}},color:{coerceFunction:function(o,a,u){k(o).isValid()?a.set(o):a.set(u)}},colorlist:{coerceFunction:function(o,a,u){Array.isArray(o)&&o.length&&o.every(function(p){return k(p).isValid()})?a.set(o):a.set(u)}},colorscale:{coerceFunction:function(o,a,u){a.set(T.get(o,u))}},angle:{coerceFunction:function(o,a,u){o==="auto"?a.set("auto"):M(o)?a.set(i(+o,360)):a.set(u)}},subplotid:{coerceFunction:function(o,a,u,p){var c=p.regex||t(u);typeof o=="string"&&c.test(o)?a.set(o):a.set(u)},validateFunction:function(o,a){var u=a.dflt;return o===u||typeof o=="string"&&!!t(u).test(o)}},flaglist:{coerceFunction:function(o,a,u,p){if((p.extras||[]).indexOf(o)===-1)if(typeof o=="string"){for(var c=o.split("+"),x=0;x=M&&R<=k?R:t}if(typeof R!="string"&&typeof R!="number")return t;R=String(R);var B=h(G),H=R.charAt(0);!B||H!=="G"&&H!=="g"||(R=R.substr(1),G="");var q=B&&G.substr(0,7)==="chinese",te=R.match(q?x:c);if(!te)return t;var K=te[1],J=te[3]||"1",Y=Number(te[5]||1),W=Number(te[7]||0),Q=Number(te[9]||0),re=Number(te[11]||0);if(B){if(K.length===2)return t;var ie;K=Number(K);try{var oe=u.getComponentMethod("calendars","getCal")(G);if(q){var ce=J.charAt(J.length-1)==="i";J=parseInt(J,10),ie=oe.newDate(K,oe.toMonthIndex(K,J,ce),Y)}else ie=oe.newDate(K,Number(J),Y)}catch{return t}return ie?(ie.toJD()-a)*i+W*r+Q*n+re*o:t}K=K.length===2?(Number(K)+2e3-g)%100+g:Number(K),J-=1;var pe=new Date(Date.UTC(2e3,J,Y,W,Q));return pe.setUTCFullYear(K),pe.getUTCMonth()!==J||pe.getUTCDate()!==Y?t:pe.getTime()+re*o},M=z.MIN_MS=z.dateTime2ms("-9999"),k=z.MAX_MS=z.dateTime2ms("9999-12-31 23:59:59.9999"),z.isDateTime=function(R,G){return z.dateTime2ms(R,G)!==t};var v=90*i,y=3*r,_=5*n;function f(R,G,O,V,N){if((G||O||V||N)&&(R+=" "+m(G,2)+":"+m(O,2),(V||N)&&(R+=":"+m(V,2),N))){for(var B=4;N%10==0;)B-=1,N/=10;R+="."+m(N,B)}return R}z.ms2DateTime=function(R,G,O){if(typeof R!="number"||!(R>=M&&R<=k))return t;G||(G=0);var V,N,B,H,q,te,K=Math.floor(10*d(R+.05,1)),J=Math.round(R-K/10);if(h(O)){var Y=Math.floor(J/i)+a,W=Math.floor(d(R,i));try{V=u.getComponentMethod("calendars","getCal")(O).fromJD(Y).formatDate("yyyy-mm-dd")}catch{V=p("G%Y-%m-%d")(new Date(J))}if(V.charAt(0)==="-")for(;V.length<11;)V="-0"+V.substr(1);else for(;V.length<10;)V="0"+V;N=G=M+i&&R<=k-i))return t;var G=Math.floor(10*d(R+.05,1)),O=new Date(Math.round(R-G/10));return f(l("%Y-%m-%d")(O),O.getHours(),O.getMinutes(),O.getSeconds(),10*O.getUTCMilliseconds()+G)},z.cleanDate=function(R,G,O){if(R===t)return G;if(z.isJSDate(R)||typeof R=="number"&&isFinite(R)){if(h(O))return b.error("JS Dates and milliseconds are incompatible with world calendars",R),G;if(!(R=z.ms2DateTimeLocal(+R))&&G!==void 0)return G}else if(!z.isDateTime(R,O))return b.error("unrecognized date",R),G;return R};var S=/%\d?f/g,w=/%h/g,E={1:"1",2:"1",3:"2",4:"2"};function L(R,G,O,V){R=R.replace(S,function(B){var H=Math.min(+B.charAt(1)||6,6);return(G/1e3%1+2).toFixed(H).substr(2).replace(/0+$/,"")||"0"});var N=new Date(Math.floor(G+.05));if(R=R.replace(w,function(){return E[O("%q")(N)]}),h(V))try{R=u.getComponentMethod("calendars","worldCalFmt")(R,G,V)}catch{return"Invalid"}return O(R)(N)}var C=[59,59.9,59.99,59.999,59.9999];z.formatDate=function(R,G,O,V,N,B){if(N=h(N)&&N,!G)if(O==="y")G=B.year;else if(O==="m")G=B.month;else{if(O!=="d")return function(H,q){var te=d(H+.05,i),K=m(Math.floor(te/r),2)+":"+m(d(Math.floor(te/n),60),2);if(q!=="M"){T(q)||(q=0);var J=(100+Math.min(d(H/o,60),C[q])).toFixed(q).substr(1);q>0&&(J=J.replace(/0+$/,"").replace(/[\.]$/,"")),K+=":"+J}return K}(R,O)+` +import{eH as Td}from"./vue-router.324eaed2.js";(function(){try{var Cs=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Il=new Error().stack;Il&&(Cs._sentryDebugIds=Cs._sentryDebugIds||{},Cs._sentryDebugIds[Il]="9a4fce8a-8443-4ca0-88e7-6f6c68d28b2e",Cs._sentryDebugIdIdentifier="sentry-dbid-9a4fce8a-8443-4ca0-88e7-6f6c68d28b2e")}catch{}})();function kd(Cs,Il){for(var bl=0;blPs[Ha]})}}}return Object.freeze(Object.defineProperty(Cs,Symbol.toStringTag,{value:"Module"}))}var of={exports:{}};(function(Cs,Il){/*! For license information please see plotly.min.js.LICENSE.txt */(function(bl,Ps){Cs.exports=Ps()})(self,function(){return function(){var bl={98847:function(ee,z,e){var M=e(71828),k={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var l in k){var T=l.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");M.addStyleRule(T,k[l])}},98222:function(ee,z,e){ee.exports=e(82887)},27206:function(ee,z,e){ee.exports=e(60822)},59893:function(ee,z,e){ee.exports=e(23381)},5224:function(ee,z,e){ee.exports=e(83832)},59509:function(ee,z,e){ee.exports=e(72201)},75557:function(ee,z,e){ee.exports=e(91815)},40338:function(ee,z,e){ee.exports=e(21462)},35080:function(ee,z,e){ee.exports=e(51319)},61396:function(ee,z,e){ee.exports=e(57516)},40549:function(ee,z,e){ee.exports=e(98128)},49866:function(ee,z,e){ee.exports=e(99442)},36089:function(ee,z,e){ee.exports=e(93740)},19548:function(ee,z,e){ee.exports=e(8729)},35831:function(ee,z,e){ee.exports=e(93814)},61039:function(ee,z,e){ee.exports=e(14382)},97040:function(ee,z,e){ee.exports=e(51759)},77986:function(ee,z,e){ee.exports=e(10421)},24296:function(ee,z,e){ee.exports=e(43102)},58872:function(ee,z,e){ee.exports=e(92165)},29626:function(ee,z,e){ee.exports=e(3325)},65591:function(ee,z,e){ee.exports=e(36071)},69738:function(ee,z,e){ee.exports=e(43905)},92650:function(ee,z,e){ee.exports=e(35902)},35630:function(ee,z,e){ee.exports=e(69816)},73434:function(ee,z,e){ee.exports=e(94507)},27909:function(ee,z,e){var M=e(19548);M.register([e(27206),e(5224),e(58872),e(65591),e(69738),e(92650),e(49866),e(25743),e(6197),e(97040),e(85461),e(73434),e(54201),e(81299),e(47645),e(35630),e(77986),e(83043),e(93005),e(96881),e(4534),e(50581),e(40549),e(77900),e(47582),e(35080),e(21641),e(17280),e(5861),e(29626),e(10021),e(65317),e(96268),e(61396),e(35831),e(16122),e(46163),e(40344),e(40338),e(48131),e(36089),e(55334),e(75557),e(19440),e(99488),e(59893),e(97393),e(98222),e(61039),e(24296),e(66398),e(59509)]),ee.exports=M},46163:function(ee,z,e){ee.exports=e(15154)},96881:function(ee,z,e){ee.exports=e(64943)},50581:function(ee,z,e){ee.exports=e(21164)},55334:function(ee,z,e){ee.exports=e(54186)},65317:function(ee,z,e){ee.exports=e(94873)},10021:function(ee,z,e){ee.exports=e(67618)},54201:function(ee,z,e){ee.exports=e(58810)},5861:function(ee,z,e){ee.exports=e(20593)},16122:function(ee,z,e){ee.exports=e(29396)},83043:function(ee,z,e){ee.exports=e(13551)},48131:function(ee,z,e){ee.exports=e(46858)},47582:function(ee,z,e){ee.exports=e(17988)},21641:function(ee,z,e){ee.exports=e(68868)},96268:function(ee,z,e){ee.exports=e(20467)},19440:function(ee,z,e){ee.exports=e(91271)},99488:function(ee,z,e){ee.exports=e(21461)},97393:function(ee,z,e){ee.exports=e(85956)},25743:function(ee,z,e){ee.exports=e(52979)},66398:function(ee,z,e){ee.exports=e(32275)},17280:function(ee,z,e){ee.exports=e(6419)},77900:function(ee,z,e){ee.exports=e(61510)},81299:function(ee,z,e){ee.exports=e(87619)},93005:function(ee,z,e){ee.exports=e(93601)},40344:function(ee,z,e){ee.exports=e(96595)},47645:function(ee,z,e){ee.exports=e(70954)},6197:function(ee,z,e){ee.exports=e(47462)},4534:function(ee,z,e){ee.exports=e(17659)},85461:function(ee,z,e){ee.exports=e(19990)},82884:function(ee){ee.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(ee,z,e){var M=e(82884),k=e(41940),l=e(85555),T=e(44467).templatedArray;e(24695),ee.exports=T("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:k({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:M.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:M.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",l.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",l.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",l.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",l.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:k({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(ee,z,e){var M=e(71828),k=e(89298),l=e(92605).draw;function T(d){var s=d._fullLayout;M.filterVisible(s.annotations).forEach(function(t){var i=k.getFromId(d,t.xref),r=k.getFromId(d,t.yref),n=k.getRefType(t.xref),o=k.getRefType(t.yref);t._extremes={},n==="range"&&b(t,i),o==="range"&&b(t,r)})}function b(d,s){var t,i=s._id,r=i.charAt(0),n=d[r],o=d["a"+r],a=d[r+"ref"],u=d["a"+r+"ref"],p=d["_"+r+"padplus"],c=d["_"+r+"padminus"],x={x:1,y:-1}[r]*d[r+"shift"],g=3*d.arrowsize*d.arrowwidth||0,h=g+x,m=g-x,v=3*d.startarrowsize*d.arrowwidth||0,y=v+x,_=v-x;if(u===a){var f=k.findExtremes(s,[s.r2c(n)],{ppadplus:h,ppadminus:m}),S=k.findExtremes(s,[s.r2c(o)],{ppadplus:Math.max(p,y),ppadminus:Math.max(c,_)});t={min:[f.min[0],S.min[0]],max:[f.max[0],S.max[0]]}}else y=o?y+o:y,_=o?_-o:_,t=k.findExtremes(s,[s.r2c(n)],{ppadplus:Math.max(p,h,y),ppadminus:Math.max(c,m,_)});d._extremes[i]=t}ee.exports=function(d){var s=d._fullLayout;if(M.filterVisible(s.annotations).length&&d._fullData.length)return M.syncOrAsync([l,T],d)}},44317:function(ee,z,e){var M=e(71828),k=e(73972),l=e(44467).arrayEditor;function T(d,s){var t,i,r,n,o,a,u,p=d._fullLayout.annotations,c=[],x=[],g=[],h=(s||[]).length;for(t=0;t0||t.explicitOff.length>0},onClick:function(d,s){var t,i,r=T(d,s),n=r.on,o=r.off.concat(r.explicitOff),a={},u=d._fullLayout.annotations;if(n.length||o.length){for(t=0;t.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[ct]}for(var Ne=!1,fe=["x","y"],Me=0;Me1)&&(at===Ke?((Mt=Qe.r2fraction(h["a"+Ge]))<0||Mt>1)&&(Ne=!0):Ne=!0),be=Qe._offset+Qe.r2p(h[Ge]),Re=.5}else{var Ye=Pt==="domain";Ge==="x"?(Fe=h[Ge],be=Ye?Qe._offset+Qe._length*Fe:be=E.l+E.w*Fe):(Fe=1-h[Ge],be=Ye?Qe._offset+Qe._length*Fe:be=E.t+E.h*Fe),Re=h.showarrow?.5:Fe}if(h.showarrow){wt.head=be;var Xe=h["a"+Ge];if(He=xt*ze(.5,h.xanchor)-st*ze(.5,h.yanchor),at===Ke){var Ve=d.getRefType(at);Ve==="domain"?(Ge==="y"&&(Xe=1-Xe),wt.tail=Qe._offset+Qe._length*Xe):Ve==="paper"?Ge==="y"?(Xe=1-Xe,wt.tail=E.t+E.h*Xe):wt.tail=E.l+E.w*Xe:wt.tail=Qe._offset+Qe.r2p(Xe),Ce=He}else wt.tail=be+Xe,Ce=He+Xe;wt.text=wt.tail+He;var We=w[Ge==="x"?"width":"height"];if(Ke==="paper"&&(wt.head=T.constrain(wt.head,1,We-1)),at==="pixel"){var nt=-Math.max(wt.tail-3,wt.text),rt=Math.min(wt.tail+3,wt.text)-We;nt>0?(wt.tail+=nt,wt.text+=nt):rt>0&&(wt.tail-=rt,wt.text-=rt)}wt.tail+=Tt,wt.head+=Tt}else Ce=He=ot*ze(Re,mt),wt.text=be+He;wt.text+=Tt,He+=Tt,Ce+=Tt,h["_"+Ge+"padplus"]=ot/2+Ce,h["_"+Ge+"padminus"]=ot/2-Ce,h["_"+Ge+"size"]=ot,h["_"+Ge+"shift"]=He}if(Ne)K.remove();else{var Ie=0,De=0;if(h.align!=="left"&&(Ie=(ne-le)*(h.align==="center"?.5:1)),h.valign!=="top"&&(De=(ve-se)*(h.valign==="middle"?.5:1)),ke)Oe.select("svg").attr({x:W+Ie-1,y:W+De}).call(t.setClipUrl,re?O:null,g);else{var et=W+De-Te.top,tt=W+Ie-Te.left;pe.call(r.positionText,tt,et).call(t.setClipUrl,re?O:null,g)}ie.select("rect").call(t.setRect,W,W,ne,ve),Q.call(t.setRect,J/2,J/2,Ee-J,_e-J),K.call(t.setTranslate,Math.round(V.x.text-Ee/2),Math.round(V.y.text-_e/2)),H.attr({transform:"rotate("+N+","+V.x.text+","+V.y.text+")"});var gt,ht=function(dt,ct){B.selectAll(".annotation-arrow-g").remove();var kt=V.x.head,ut=V.y.head,ft=V.x.tail+dt,bt=V.y.tail+ct,It=V.x.text+dt,Rt=V.y.text+ct,Dt=T.rotationXYMatrix(N,It,Rt),Kt=T.apply2DTransform(Dt),qt=T.apply2DTransform2(Dt),Wt=+Q.attr("width"),Ht=+Q.attr("height"),hn=It-.5*Wt,yn=hn+Wt,un=Rt-.5*Ht,jt=un+Ht,nn=[[hn,un,hn,jt],[hn,jt,yn,jt],[yn,jt,yn,un],[yn,un,hn,un]].map(qt);if(!nn.reduce(function($n,Gn){return $n^!!T.segmentsIntersect(kt,ut,kt+1e6,ut+1e6,Gn[0],Gn[1],Gn[2],Gn[3])},!1)){nn.forEach(function($n){var Gn=T.segmentsIntersect(ft,bt,kt,ut,$n[0],$n[1],$n[2],$n[3]);Gn&&(ft=Gn.x,bt=Gn.y)});var Jt=h.arrowwidth,rn=h.arrowcolor,fn=h.arrowside,vn=B.append("g").style({opacity:s.opacity(rn)}).classed("annotation-arrow-g",!0),Mn=vn.append("path").attr("d","M"+ft+","+bt+"L"+kt+","+ut).style("stroke-width",Jt+"px").call(s.stroke,s.rgb(rn));if(u(Mn,fn,h),L.annotationPosition&&Mn.node().parentNode&&!v){var En=kt,bn=ut;if(h.standoff){var Ln=Math.sqrt(Math.pow(kt-ft,2)+Math.pow(ut-bt,2));En+=h.standoff*(ft-kt)/Ln,bn+=h.standoff*(bt-ut)/Ln}var Wn,Qn,ir=vn.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(ft-En)+","+(bt-bn),transform:b(En,bn)}).style("stroke-width",Jt+6+"px").call(s.stroke,"rgba(0,0,0,0)").call(s.fill,"rgba(0,0,0,0)");o.init({element:ir.node(),gd:g,prepFn:function(){var $n=t.getTranslate(K);Wn=$n.x,Qn=$n.y,y&&y.autorange&&P(y._name+".autorange",!0),_&&_.autorange&&P(_._name+".autorange",!0)},moveFn:function($n,Gn){var dr=Kt(Wn,Qn),Bt=dr[0]+$n,tn=dr[1]+Gn;K.call(t.setTranslate,Bt,tn),R("x",c(y,$n,"x",E,h)),R("y",c(_,Gn,"y",E,h)),h.axref===h.xref&&R("ax",c(y,$n,"ax",E,h)),h.ayref===h.yref&&R("ay",c(_,Gn,"ay",E,h)),vn.attr("transform",b($n,Gn)),H.attr({transform:"rotate("+N+","+Bt+","+tn+")"})},doneFn:function(){k.call("_guiRelayout",g,G());var $n=document.querySelector(".js-notes-box-panel");$n&&$n.redraw($n.selectedObj)}})}}};h.showarrow&&ht(0,0),q&&o.init({element:K.node(),gd:g,prepFn:function(){gt=H.attr("transform")},moveFn:function(dt,ct){var kt="pointer";if(h.showarrow)h.axref===h.xref?R("ax",c(y,dt,"ax",E,h)):R("ax",h.ax+dt),h.ayref===h.yref?R("ay",c(_,ct,"ay",E.w,h)):R("ay",h.ay+ct),ht(dt,ct);else{if(v)return;var ut,ft;if(y)ut=c(y,dt,"x",E,h);else{var bt=h._xsize/E.w,It=h.x+(h._xshift-h.xshift)/E.w-bt/2;ut=o.align(It+dt/E.w,bt,0,1,h.xanchor)}if(_)ft=c(_,ct,"y",E,h);else{var Rt=h._ysize/E.h,Dt=h.y-(h._yshift+h.yshift)/E.h-Rt/2;ft=o.align(Dt-ct/E.h,Rt,0,1,h.yanchor)}R("x",ut),R("y",ft),y&&_||(kt=o.getCursor(y?.5:ut,_?.5:ft,h.xanchor,h.yanchor))}H.attr({transform:b(dt,ct)+gt}),n(K,kt)},clickFn:function(dt,ct){h.captureevents&&g.emit("plotly_clickannotation",ge(ct))},doneFn:function(){n(K),k.call("_guiRelayout",g,G());var dt=document.querySelector(".js-notes-box-panel");dt&&dt.redraw(dt.selectedObj)}})}}}ee.exports={draw:function(g){var h=g._fullLayout;h._infolayer.selectAll(".annotation").remove();for(var m=0;m=0,v=i.indexOf("end")>=0,y=c.backoff*g+r.standoff,_=x.backoff*h+r.startstandoff;if(p.nodeName==="line"){n={x:+t.attr("x1"),y:+t.attr("y1")},o={x:+t.attr("x2"),y:+t.attr("y2")};var f=n.x-o.x,S=n.y-o.y;if(u=(a=Math.atan2(S,f))+Math.PI,y&&_&&y+_>Math.sqrt(f*f+S*S))return void B();if(y){if(y*y>f*f+S*S)return void B();var w=y*Math.cos(a),E=y*Math.sin(a);o.x+=w,o.y+=E,t.attr({x2:o.x,y2:o.y})}if(_){if(_*_>f*f+S*S)return void B();var L=_*Math.cos(a),C=_*Math.sin(a);n.x-=L,n.y-=C,t.attr({x1:n.x,y1:n.y})}}else if(p.nodeName==="path"){var P=p.getTotalLength(),R="";if(P1){r=!0;break}}r?T.fullLayout._infolayer.select(".annotation-"+T.id+'[data-index="'+t+'"]').remove():(i._pdata=k(T.glplot.cameraParams,[b.xaxis.r2l(i.x)*d[0],b.yaxis.r2l(i.y)*d[1],b.zaxis.r2l(i.z)*d[2]]),M(T.graphDiv,i,t,T.id,i._xa,i._ya))}}},2468:function(ee,z,e){var M=e(73972),k=e(71828);ee.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:e(26997)}}},layoutAttributes:e(26997),handleDefaults:e(20226),includeBasePlot:function(l,T){var b=M.subplotsRegistry.gl3d;if(b)for(var d=b.attrRegex,s=Object.keys(l),t=0;t=0)))return i;if(u===3)o[u]>1&&(o[u]=1);else if(o[u]>=1)return i}var p=Math.round(255*o[0])+", "+Math.round(255*o[1])+", "+Math.round(255*o[2]);return a?"rgba("+p+", "+o[3]+")":"rgb("+p+")"}T.tinyRGB=function(i){var r=i.toRgb();return"rgb("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+")"},T.rgb=function(i){return T.tinyRGB(M(i))},T.opacity=function(i){return i?M(i).getAlpha():0},T.addOpacity=function(i,r){var n=M(i).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+r+")"},T.combine=function(i,r){var n=M(i).toRgb();if(n.a===1)return M(i).toRgbString();var o=M(r||s).toRgb(),a=o.a===1?o:{r:255*(1-o.a)+o.r*o.a,g:255*(1-o.a)+o.g*o.a,b:255*(1-o.a)+o.b*o.a},u={r:a.r*(1-n.a)+n.r*n.a,g:a.g*(1-n.a)+n.g*n.a,b:a.b*(1-n.a)+n.b*n.a};return M(u).toRgbString()},T.contrast=function(i,r,n){var o=M(i);return o.getAlpha()!==1&&(o=M(T.combine(i,s))),(o.isDark()?r?o.lighten(r):s:n?o.darken(n):d).toString()},T.stroke=function(i,r){var n=M(r);i.style({stroke:T.tinyRGB(n),"stroke-opacity":n.getAlpha()})},T.fill=function(i,r){var n=M(r);i.style({fill:T.tinyRGB(n),"fill-opacity":n.getAlpha()})},T.clean=function(i){if(i&&typeof i=="object"){var r,n,o,a,u=Object.keys(i);for(r=0;r0?rt>=gt:rt<=gt));Ie++)rt>dt&&rt0?rt>=gt:rt<=gt));Ie++)rt>nt[0]&&rt1){var st=Math.pow(10,Math.floor(Math.log(xt)/Math.LN10));Qe*=st*s.roundUp(xt/st,[2,5,10]),(Math.abs(le.start)/le.size+1e-6)%1<2e-6&&(Ke.tick0=0)}Ke.dtick=Qe}Ke.domain=G?[He+W/pe.h,He+Ne-W/pe.h]:[He+Y/pe.w,He+Ne-Y/pe.w],Ke.setScale(),C.attr("transform",t(Math.round(pe.l),Math.round(pe.t)));var ot,mt=C.select("."+_.cbtitleunshift).attr("transform",t(-Math.round(pe.l),-Math.round(pe.t))),Tt=Ke.ticklabelposition,wt=Ke.title.font.size,Pt=C.select("."+_.cbaxis),Mt=0,Ye=0;function Xe(Ve,We){var nt={propContainer:Ke,propName:P._propPrefix+"title",traceIndex:P._traceIndex,_meta:P._meta,placeholder:ce._dfltTitle.colorbar,containerGroup:C.select("."+_.cbtitle)},rt=Ve.charAt(0)==="h"?Ve.substr(1):"h"+Ve;C.selectAll("."+rt+",."+rt+"-math-group").remove(),a.draw(R,Ve,i(nt,We||{}))}return s.syncOrAsync([l.previousPromises,function(){var Ve,We;(G&&at||!G&&!at)&&(me==="top"&&(Ve=Y+pe.l+fe*Q,We=W+pe.t+Me*(1-He-Ne)+3+.75*wt),me==="bottom"&&(Ve=Y+pe.l+fe*Q,We=W+pe.t+Me*(1-He)-3-.25*wt),me==="right"&&(We=W+pe.t+Me*re+3+.75*wt,Ve=Y+pe.l+fe*He),Xe(Ke._id+"title",{attributes:{x:Ve,y:We,"text-anchor":G?"start":"middle"}}))},function(){if(!G&&!at||G&&at){var Ve,We=C.select("."+_.cbtitle),nt=We.select("text"),rt=[-H/2,H/2],Ie=We.select(".h"+Ke._id+"title-math-group").node(),De=15.6;if(nt.node()&&(De=parseInt(nt.node().style.fontSize,10)*m),Ie?(Ve=n.bBox(Ie),Ye=Ve.width,(Mt=Ve.height)>De&&(rt[1]-=(Mt-De)/2)):nt.node()&&!nt.classed(_.jsPlaceholder)&&(Ve=n.bBox(nt.node()),Ye=Ve.width,Mt=Ve.height),G){if(Mt){if(Mt+=5,me==="top")Ke.domain[1]-=Mt/pe.h,rt[1]*=-1;else{Ke.domain[0]+=Mt/pe.h;var et=u.lineCount(nt);rt[1]+=(1-et)*De}We.attr("transform",t(rt[0],rt[1])),Ke.setScale()}}else Ye&&(me==="right"&&(Ke.domain[0]+=(Ye+wt/2)/pe.w),We.attr("transform",t(rt[0],rt[1])),Ke.setScale())}C.selectAll("."+_.cbfills+",."+_.cblines).attr("transform",G?t(0,Math.round(pe.h*(1-Ke.domain[1]))):t(Math.round(pe.w*Ke.domain[0]),0)),Pt.attr("transform",G?t(0,Math.round(-pe.t)):t(Math.round(-pe.l),0));var tt=C.select("."+_.cbfills).selectAll("rect."+_.cbfill).attr("style","").data(ne);tt.enter().append("rect").classed(_.cbfill,!0).attr("style",""),tt.exit().remove();var gt=Oe.map(Ke.c2p).map(Math.round).sort(function(ut,ft){return ut-ft});tt.each(function(ut,ft){var bt=[ft===0?Oe[0]:(ne[ft]+ne[ft-1])/2,ft===ne.length-1?Oe[1]:(ne[ft]+ne[ft+1])/2].map(Ke.c2p).map(Math.round);G&&(bt[1]=s.constrain(bt[1]+(bt[1]>bt[0])?1:-1,gt[0],gt[1]));var It=M.select(this).attr(G?"x":"y",be).attr(G?"y":"x",M.min(bt)).attr(G?"width":"height",Math.max(Ee,2)).attr(G?"height":"width",Math.max(M.max(bt)-M.min(bt),2));if(P._fillgradient)n.gradient(It,R,P._id,G?"vertical":"horizontalreversed",P._fillgradient,"fill");else{var Rt=Te(ut).replace("e-","");It.attr("fill",k(Rt).toHexString())}});var ht=C.select("."+_.cblines).selectAll("path."+_.cbline).data(we.color&&we.width?ve:[]);ht.enter().append("path").classed(_.cbline,!0),ht.exit().remove(),ht.each(function(ut){var ft=be,bt=Math.round(Ke.c2p(ut))+we.width/2%1;M.select(this).attr("d","M"+(G?ft+","+bt:bt+","+ft)+(G?"h":"v")+Ee).call(n.lineGroupStyle,we.width,ke(ut),we.dash)}),Pt.selectAll("g."+Ke._id+"tick,path").remove();var dt=be+Ee+(H||0)/2-(P.ticks==="outside"?1:0),ct=b.calcTicks(Ke),kt=b.getTickSigns(Ke)[2];return b.drawTicks(R,Ke,{vals:Ke.ticks==="inside"?b.clipEnds(Ke,ct):ct,layer:Pt,path:b.makeTickPath(Ke,dt,kt),transFn:b.makeTransTickFn(Ke)}),b.drawLabels(R,Ke,{vals:ct,layer:Pt,transFn:b.makeTransTickLabelFn(Ke),labelFns:b.makeLabelFns(Ke,dt)})},function(){if(G&&!at||!G&&at){var Ve,We,nt=Ke.position||0,rt=Ke._offset+Ke._length/2;if(me==="right")We=rt,Ve=pe.l+fe*nt+10+wt*(Ke.showticklabels?1:.5);else if(Ve=rt,me==="bottom"&&(We=pe.t+Me*nt+10+(Tt.indexOf("inside")===-1?Ke.tickfont.size:0)+(Ke.ticks!=="intside"&&P.ticklen||0)),me==="top"){var Ie=ye.text.split("
").length;We=pe.t+Me*nt+10-Ee-m*wt*Ie}Xe((G?"h":"v")+Ke._id+"title",{avoid:{selection:M.select(R).selectAll("g."+Ke._id+"tick"),side:me,offsetTop:G?0:pe.t,offsetLeft:G?pe.l:0,maxShift:G?ce.width:ce.height},attributes:{x:Ve,y:We,"text-anchor":"middle"},transform:{rotate:G?-90:0,offset:0}})}},l.previousPromises,function(){var Ve,We=Ee+H/2;Tt.indexOf("inside")===-1&&(Ve=n.bBox(Pt.node()),We+=G?Ve.width:Ve.height),ot=mt.select("text");var nt=0,rt=G&&me==="top",Ie=!G&&me==="right",De=0;if(ot.node()&&!ot.classed(_.jsPlaceholder)){var et,tt=mt.select(".h"+Ke._id+"title-math-group").node();tt&&(G&&at||!G&&!at)?(nt=(Ve=n.bBox(tt)).width,et=Ve.height):(nt=(Ve=n.bBox(mt.node())).right-pe.l-(G?be:Ge),et=Ve.bottom-pe.t-(G?Ge:be),G||me!=="top"||(We+=Ve.height,De=Ve.height)),Ie&&(ot.attr("transform",t(nt/2+wt/2,0)),nt*=2),We=Math.max(We,G?nt:et)}var gt=2*(G?Y:W)+We+q+H/2,ht=0;!G&&ye.text&&J==="bottom"&&re<=0&&(gt+=ht=gt/2,De+=ht),ce._hColorbarMoveTitle=ht,ce._hColorbarMoveCBTitle=De;var dt=q+H,ct=(G?be:Ge)-dt/2-(G?Y:0),kt=(G?Ge:be)-(G?ze:W+De-ht);C.select("."+_.cbbg).attr("x",ct).attr("y",kt).attr(G?"width":"height",Math.max(gt-ht,2)).attr(G?"height":"width",Math.max(ze+dt,2)).call(o.fill,te).call(o.stroke,P.bordercolor).style("stroke-width",q);var ut=Ie?Math.max(nt-10,0):0;C.selectAll("."+_.cboutline).attr("x",(G?be:Ge+Y)+ut).attr("y",(G?Ge+W-ze:be)+(rt?Mt:0)).attr(G?"width":"height",Math.max(Ee,2)).attr(G?"height":"width",Math.max(ze-(G?2*W+Mt:2*Y+ut),2)).call(o.stroke,P.outlinecolor).style({fill:"none","stroke-width":H});var ft=G?Ce*gt:0,bt=G?0:(1-Fe)*gt-De;if(ft=oe?pe.l-ft:-ft,bt=ie?pe.t-bt:-bt,C.attr("transform",t(ft,bt)),!G&&(q||k(te).getAlpha()&&!k.equals(ce.paper_bgcolor,te))){var It=Pt.selectAll("text"),Rt=It[0].length,Dt=C.select("."+_.cbbg).node(),Kt=n.bBox(Dt),qt=n.getTranslate(C);It.each(function(fn,vn){var Mn=Rt-1;if(vn===0||vn===Mn){var En,bn=n.bBox(this),Ln=n.getTranslate(this);if(vn===Mn){var Wn=bn.right+Ln.x;(En=Kt.right+qt.x+Ge-q-2+Q-Wn)>0&&(En=0)}else if(vn===0){var Qn=bn.left+Ln.x;(En=Kt.left+qt.x+Ge+q+2-Qn)<0&&(En=0)}En&&(Rt<3?this.setAttribute("transform","translate("+En+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var Wt={},Ht=v[K],hn=y[K],yn=v[J],un=y[J],jt=gt-Ee;G?(V==="pixels"?(Wt.y=re,Wt.t=ze*yn,Wt.b=ze*un):(Wt.t=Wt.b=0,Wt.yt=re+O*yn,Wt.yb=re-O*un),B==="pixels"?(Wt.x=Q,Wt.l=gt*Ht,Wt.r=gt*hn):(Wt.l=jt*Ht,Wt.r=jt*hn,Wt.xl=Q-N*Ht,Wt.xr=Q+N*hn)):(V==="pixels"?(Wt.x=Q,Wt.l=ze*Ht,Wt.r=ze*hn):(Wt.l=Wt.r=0,Wt.xl=Q+O*Ht,Wt.xr=Q-O*hn),B==="pixels"?(Wt.y=1-re,Wt.t=gt*yn,Wt.b=gt*un):(Wt.t=jt*yn,Wt.b=jt*un,Wt.yt=re-N*yn,Wt.yb=re+N*un));var nn=P.y<.5?"b":"t",Jt=P.x<.5?"l":"r";R._fullLayout._reservedMargin[P._id]={};var rn={r:ce.width-ct-ft,l:ct+Wt.r,b:ce.height-kt-bt,t:kt+Wt.b};oe&&ie?l.autoMargin(R,P._id,Wt):oe?R._fullLayout._reservedMargin[P._id][nn]=rn[nn]:ie||G?R._fullLayout._reservedMargin[P._id][Jt]=rn[Jt]:R._fullLayout._reservedMargin[P._id][nn]=rn[nn]}],R)}(E,w,f);L&&L.then&&(f._promises||[]).push(L),f._context.edits.colorbarPosition&&function(C,P,R){var G,O,V,N=P.orientation==="v",B=R._fullLayout._size;d.init({element:C.node(),gd:R,prepFn:function(){G=C.attr("transform"),r(C)},moveFn:function(H,q){C.attr("transform",G+t(H,q)),O=d.align((N?P._uFrac:P._vFrac)+H/B.w,N?P._thickFrac:P._lenFrac,0,1,P.xanchor),V=d.align((N?P._vFrac:1-P._uFrac)-q/B.h,N?P._lenFrac:P._thickFrac,0,1,P.yanchor);var te=d.getCursor(O,V,P.xanchor,P.yanchor);r(C,te)},doneFn:function(){if(r(C),O!==void 0&&V!==void 0){var H={};H[P._propPrefix+"x"]=O,H[P._propPrefix+"y"]=V,P._traceIndex!==void 0?T.call("_guiRestyle",R,H,P._traceIndex):T.call("_guiRelayout",R,H)}}})}(E,w,f)}),S.exit().each(function(w){l.autoMargin(f,w._id)}).remove(),S.order()}}},76228:function(ee,z,e){var M=e(71828);ee.exports=function(k){return M.isPlainObject(k.colorbar)}},12311:function(ee,z,e){ee.exports={moduleType:"component",name:"colorbar",attributes:e(63583),supplyDefaults:e(62499),draw:e(98981).draw,hasColorbar:e(76228)}},50693:function(ee,z,e){var M=e(63583),k=e(30587).counter,l=e(78607),T=e(63282).scales;function b(d){return"`"+d+"`"}l(T),ee.exports=function(d,s){d=d||"";var t,i=(s=s||{}).cLetter||"c",r=("onlyIfNumerical"in s?s.onlyIfNumerical:Boolean(d),"noScale"in s?s.noScale:d==="marker.line"),n="showScaleDflt"in s?s.showScaleDflt:i==="z",o=typeof s.colorscaleDflt=="string"?T[s.colorscaleDflt]:null,a=s.editTypeOverride||"",u=d?d+".":"";"colorAttr"in s?(t=s.colorAttr,s.colorAttr):b(u+(t={z:"z",c:"color"}[i]));var p=i+"auto",c=i+"min",x=i+"max",g=i+"mid",h={};h[c]=h[x]=void 0;var m={};m[p]=!1;var v={};return t==="color"&&(v.color={valType:"color",arrayOk:!0,editType:a||"style"},s.anim&&(v.color.anim=!0)),v[p]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:h},v[c]={valType:"number",dflt:null,editType:a||"plot",impliedEdits:m},v[x]={valType:"number",dflt:null,editType:a||"plot",impliedEdits:m},v[g]={valType:"number",dflt:null,editType:"calc",impliedEdits:h},v.colorscale={valType:"colorscale",editType:"calc",dflt:o,impliedEdits:{autocolorscale:!1}},v.autocolorscale={valType:"boolean",dflt:s.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},v.reversescale={valType:"boolean",dflt:!1,editType:"plot"},r||(v.showscale={valType:"boolean",dflt:n,editType:"calc"},v.colorbar=M),s.noColorAxis||(v.coloraxis={valType:"subplotid",regex:k("coloraxis"),dflt:null,editType:"calc"}),v}},78803:function(ee,z,e){var M=e(92770),k=e(71828),l=e(52075).extractOpts;ee.exports=function(T,b,d){var s,t=T._fullLayout,i=d.vals,r=d.containerStr,n=r?k.nestedProperty(b,r).get():b,o=l(n),a=o.auto!==!1,u=o.min,p=o.max,c=o.mid,x=function(){return k.aggNums(Math.min,null,i)},g=function(){return k.aggNums(Math.max,null,i)};u===void 0?u=x():a&&(u=n._colorAx&&M(u)?Math.min(u,x()):x()),p===void 0?p=g():a&&(p=n._colorAx&&M(p)?Math.max(p,g()):g()),a&&c!==void 0&&(p-c>c-u?u=c-(p-c):p-c=0?t.colorscale.sequential:t.colorscale.sequentialminus,o._sync("colorscale",s))}},33046:function(ee,z,e){var M=e(71828),k=e(52075).hasColorscale,l=e(52075).extractOpts;ee.exports=function(T,b){function d(a,u){var p=a["_"+u];p!==void 0&&(a[u]=p)}function s(a,u){var p=u.container?M.nestedProperty(a,u.container).get():a;if(p)if(p.coloraxis)p._colorAx=b[p.coloraxis];else{var c=l(p),x=c.auto;(x||c.min===void 0)&&d(p,u.min),(x||c.max===void 0)&&d(p,u.max),c.autocolorscale&&d(p,"colorscale")}}for(var t=0;t=0;x--,g++){var h=u[x];c[g]=[1-h[0],h[1]]}return c}function o(u,p){p=p||{};for(var c=u.domain,x=u.range,g=x.length,h=new Array(g),m=0;m1.3333333333333333-d?b:d}},70461:function(ee,z,e){var M=e(71828),k=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];ee.exports=function(l,T,b,d){return l=b==="left"?0:b==="center"?1:b==="right"?2:M.constrain(Math.floor(3*l),0,2),T=d==="bottom"?0:d==="middle"?1:d==="top"?2:M.constrain(Math.floor(3*T),0,2),k[T][l]}},64505:function(ee,z){z.selectMode=function(e){return e==="lasso"||e==="select"},z.drawMode=function(e){return e==="drawclosedpath"||e==="drawopenpath"||e==="drawline"||e==="drawrect"||e==="drawcircle"},z.openMode=function(e){return e==="drawline"||e==="drawopenpath"},z.rectMode=function(e){return e==="select"||e==="drawline"||e==="drawrect"||e==="drawcircle"},z.freeMode=function(e){return e==="lasso"||e==="drawclosedpath"||e==="drawopenpath"},z.selectingOrDrawing=function(e){return z.freeMode(e)||z.rectMode(e)}},28569:function(ee,z,e){var M=e(48956),k=e(57035),l=e(38520),T=e(71828).removeElement,b=e(85555),d=ee.exports={};d.align=e(92807),d.getCursor=e(70461);var s=e(26041);function t(){var r=document.createElement("div");r.className="dragcover";var n=r.style;return n.position="fixed",n.left=0,n.right=0,n.top=0,n.bottom=0,n.zIndex=999999999,n.background="none",document.body.appendChild(r),r}function i(r){return M(r.changedTouches?r.changedTouches[0]:r,document.body)}d.unhover=s.wrapped,d.unhoverRaw=s.raw,d.init=function(r){var n,o,a,u,p,c,x,g,h=r.gd,m=1,v=h._context.doubleClickDelay,y=r.element;h._mouseDownTime||(h._mouseDownTime=0),y.style.pointerEvents="all",y.onmousedown=f,l?(y._ontouchstart&&y.removeEventListener("touchstart",y._ontouchstart),y._ontouchstart=f,y.addEventListener("touchstart",f,{passive:!1})):y.ontouchstart=f;var _=r.clampFn||function(E,L,C){return Math.abs(E)v&&(m=Math.max(m-1,1)),h._dragged)r.doneFn&&r.doneFn();else if(r.clickFn&&r.clickFn(m,c),!g){var L;try{L=new MouseEvent("click",E)}catch{var C=i(E);(L=document.createEvent("MouseEvents")).initMouseEvent("click",E.bubbles,E.cancelable,E.view,E.detail,E.screenX,E.screenY,C[0],C[1],E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,E.button,E.relatedTarget)}x.dispatchEvent(L)}h._dragging=!1,h._dragged=!1}else h._dragged=!1}},d.coverSlip=t},26041:function(ee,z,e){var M=e(11086),k=e(79990),l=e(24401).getGraphDiv,T=e(26675),b=ee.exports={};b.wrapped=function(d,s,t){(d=l(d))._fullLayout&&k.clear(d._fullLayout._uid+T.HOVERID),b.raw(d,s,t)},b.raw=function(d,s){var t=d._fullLayout,i=d._hoverdata;s||(s={}),s.target&&!d._dragged&&M.triggerHandler(d,"plotly_beforehover",s)===!1||(t._hoverlayer.selectAll("g").remove(),t._hoverlayer.selectAll("line").remove(),t._hoverlayer.selectAll("circle").remove(),d._hoverdata=void 0,s.target&&i&&d.emit("plotly_unhover",{event:s,points:i}))}},79952:function(ee,z){z.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},z.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(ee,z,e){var M=e(39898),k=e(71828),l=k.numberFormat,T=e(92770),b=e(84267),d=e(73972),s=e(7901),t=e(21081),i=k.strTranslate,r=e(63893),n=e(77922),o=e(18783).LINE_SPACING,a=e(37822).DESELECTDIM,u=e(34098),p=e(39984),c=e(23469).appendArrayPointValue,x=ee.exports={};function g(ke,Te,le){var se=Te.fillpattern,ne=se&&x.getPatternAttr(se.shape,0,"");if(ne){var ve=x.getPatternAttr(se.bgcolor,0,null),Ee=x.getPatternAttr(se.fgcolor,0,null),_e=se.fgopacity,ze=x.getPatternAttr(se.size,0,8),Ne=x.getPatternAttr(se.solidity,0,.3),fe=Te.uid;x.pattern(ke,"point",le,fe,ne,ze,Ne,void 0,se.fillmode,ve,Ee,_e)}else Te.fillcolor&&ke.call(s.fill,Te.fillcolor)}x.font=function(ke,Te,le,se){k.isPlainObject(Te)&&(se=Te.color,le=Te.size,Te=Te.family),Te&&ke.style("font-family",Te),le+1&&ke.style("font-size",le+"px"),se&&ke.call(s.fill,se)},x.setPosition=function(ke,Te,le){ke.attr("x",Te).attr("y",le)},x.setSize=function(ke,Te,le){ke.attr("width",Te).attr("height",le)},x.setRect=function(ke,Te,le,se,ne){ke.call(x.setPosition,Te,le).call(x.setSize,se,ne)},x.translatePoint=function(ke,Te,le,se){var ne=le.c2p(ke.x),ve=se.c2p(ke.y);return!!(T(ne)&&T(ve)&&Te.node())&&(Te.node().nodeName==="text"?Te.attr("x",ne).attr("y",ve):Te.attr("transform",i(ne,ve)),!0)},x.translatePoints=function(ke,Te,le){ke.each(function(se){var ne=M.select(this);x.translatePoint(se,ne,Te,le)})},x.hideOutsideRangePoint=function(ke,Te,le,se,ne,ve){Te.attr("display",le.isPtWithinRange(ke,ne)&&se.isPtWithinRange(ke,ve)?null:"none")},x.hideOutsideRangePoints=function(ke,Te){if(Te._hasClipOnAxisFalse){var le=Te.xaxis,se=Te.yaxis;ke.each(function(ne){var ve=ne[0].trace,Ee=ve.xcalendar,_e=ve.ycalendar,ze=d.traceIs(ve,"bar-like")?".bartext":".point,.textpoint";ke.selectAll(ze).each(function(Ne){x.hideOutsideRangePoint(Ne,M.select(this),le,se,Ee,_e)})})}},x.crispRound=function(ke,Te,le){return Te&&T(Te)?ke._context.staticPlot?Te:Te<1?1:Math.round(Te):le||0},x.singleLineStyle=function(ke,Te,le,se,ne){Te.style("fill","none");var ve=(((ke||[])[0]||{}).trace||{}).line||{},Ee=le||ve.width||0,_e=ne||ve.dash||"";s.stroke(Te,se||ve.color),x.dashLine(Te,_e,Ee)},x.lineGroupStyle=function(ke,Te,le,se){ke.style("fill","none").each(function(ne){var ve=(((ne||[])[0]||{}).trace||{}).line||{},Ee=Te||ve.width||0,_e=se||ve.dash||"";M.select(this).call(s.stroke,le||ve.color).call(x.dashLine,_e,Ee)})},x.dashLine=function(ke,Te,le){le=+le||0,Te=x.dashStyle(Te,le),ke.style({"stroke-dasharray":Te,"stroke-width":le+"px"})},x.dashStyle=function(ke,Te){Te=+Te||1;var le=Math.max(Te,3);return ke==="solid"?ke="":ke==="dot"?ke=le+"px,"+le+"px":ke==="dash"?ke=3*le+"px,"+3*le+"px":ke==="longdash"?ke=5*le+"px,"+5*le+"px":ke==="dashdot"?ke=3*le+"px,"+le+"px,"+le+"px,"+le+"px":ke==="longdashdot"&&(ke=5*le+"px,"+2*le+"px,"+le+"px,"+2*le+"px"),ke},x.singleFillStyle=function(ke,Te){var le=M.select(ke.node());g(ke,((le.data()[0]||[])[0]||{}).trace||{},Te)},x.fillGroupStyle=function(ke,Te){ke.style("stroke-width",0).each(function(le){var se=M.select(this);le[0].trace&&g(se,le[0].trace,Te)})};var h=e(90998);x.symbolNames=[],x.symbolFuncs=[],x.symbolBackOffs=[],x.symbolNeedLines={},x.symbolNoDot={},x.symbolNoFill={},x.symbolList=[],Object.keys(h).forEach(function(ke){var Te=h[ke],le=Te.n;x.symbolList.push(le,String(le),ke,le+100,String(le+100),ke+"-open"),x.symbolNames[le]=ke,x.symbolFuncs[le]=Te.f,x.symbolBackOffs[le]=Te.backoff||0,Te.needLine&&(x.symbolNeedLines[le]=!0),Te.noDot?x.symbolNoDot[le]=!0:x.symbolList.push(le+200,String(le+200),ke+"-dot",le+300,String(le+300),ke+"-open-dot"),Te.noFill&&(x.symbolNoFill[le]=!0)});var m=x.symbolNames.length;function v(ke,Te,le,se){var ne=ke%100;return x.symbolFuncs[ne](Te,le,se)+(ke>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}x.symbolNumber=function(ke){if(T(ke))ke=+ke;else if(typeof ke=="string"){var Te=0;ke.indexOf("-open")>0&&(Te=100,ke=ke.replace("-open","")),ke.indexOf("-dot")>0&&(Te+=200,ke=ke.replace("-dot","")),(ke=x.symbolNames.indexOf(ke))>=0&&(ke+=Te)}return ke%100>=m||ke>=400?0:Math.floor(Math.max(ke,0))};var y={x1:1,x2:0,y1:0,y2:0},_={x1:0,x2:0,y1:1,y2:0},f=l("~f"),S={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:y},horizontalreversed:{node:"linearGradient",attrs:y,reversed:!0},vertical:{node:"linearGradient",attrs:_},verticalreversed:{node:"linearGradient",attrs:_,reversed:!0}};x.gradient=function(ke,Te,le,se,ne,ve){for(var Ee=ne.length,_e=S[se],ze=new Array(Ee),Ne=0;Ne=0&&ke.i===void 0&&(ke.i=ve.i),Te.style("opacity",se.selectedOpacityFn?se.selectedOpacityFn(ke):ke.mo===void 0?Ee.opacity:ke.mo),se.ms2mrc){var ze;ze=ke.ms==="various"||Ee.size==="various"?3:se.ms2mrc(ke.ms),ke.mrc=ze,se.selectedSizeFn&&(ze=ke.mrc=se.selectedSizeFn(ke));var Ne=x.symbolNumber(ke.mx||Ee.symbol)||0;ke.om=Ne%200>=100;var fe=Oe(ke,le),Me=W(ke,le);Te.attr("d",v(Ne,ze,fe,Me))}var be,Ce,Fe,Re=!1;if(ke.so)Fe=_e.outlierwidth,Ce=_e.outliercolor,be=Ee.outliercolor;else{var He=(_e||{}).width;Fe=(ke.mlw+1||He+1||(ke.trace?(ke.trace.marker.line||{}).width:0)+1)-1||0,Ce="mlc"in ke?ke.mlcc=se.lineScale(ke.mlc):k.isArrayOrTypedArray(_e.color)?s.defaultLine:_e.color,k.isArrayOrTypedArray(Ee.color)&&(be=s.defaultLine,Re=!0),be="mc"in ke?ke.mcc=se.markerScale(ke.mc):Ee.color||Ee.colors||"rgba(0,0,0,0)",se.selectedColorFn&&(be=se.selectedColorFn(ke))}if(ke.om)Te.call(s.stroke,be).style({"stroke-width":(Fe||1)+"px",fill:"none"});else{Te.style("stroke-width",(ke.isBlank?0:Fe)+"px");var Ge=Ee.gradient,Ke=ke.mgt;Ke?Re=!0:Ke=Ge&&Ge.type,k.isArrayOrTypedArray(Ke)&&(Ke=Ke[0],S[Ke]||(Ke=0));var at=Ee.pattern,Qe=at&&x.getPatternAttr(at.shape,ke.i,"");if(Ke&&Ke!=="none"){var vt=ke.mgc;vt?Re=!0:vt=Ge.color;var xt=le.uid;Re&&(xt+="-"+ke.i),x.gradient(Te,ne,xt,Ke,[[0,vt],[1,be]],"fill")}else if(Qe){var st=!1,ot=at.fgcolor;!ot&&ve&&ve.color&&(ot=ve.color,st=!0);var mt=x.getPatternAttr(ot,ke.i,ve&&ve.color||null),Tt=x.getPatternAttr(at.bgcolor,ke.i,null),wt=at.fgopacity,Pt=x.getPatternAttr(at.size,ke.i,8),Mt=x.getPatternAttr(at.solidity,ke.i,.3);st=st||ke.mcc||k.isArrayOrTypedArray(at.shape)||k.isArrayOrTypedArray(at.bgcolor)||k.isArrayOrTypedArray(at.fgcolor)||k.isArrayOrTypedArray(at.size)||k.isArrayOrTypedArray(at.solidity);var Ye=le.uid;st&&(Ye+="-"+ke.i),x.pattern(Te,"point",ne,Ye,Qe,Pt,Mt,ke.mcc,at.fillmode,Tt,mt,wt)}else k.isArrayOrTypedArray(be)?s.fill(Te,be[ke.i]):s.fill(Te,be);Fe&&s.stroke(Te,Ce)}},x.makePointStyleFns=function(ke){var Te={},le=ke.marker;return Te.markerScale=x.tryColorscale(le,""),Te.lineScale=x.tryColorscale(le,"line"),d.traceIs(ke,"symbols")&&(Te.ms2mrc=u.isBubble(ke)?p(ke):function(){return(le.size||6)/2}),ke.selectedpoints&&k.extendFlat(Te,x.makeSelectedPointStyleFns(ke)),Te},x.makeSelectedPointStyleFns=function(ke){var Te={},le=ke.selected||{},se=ke.unselected||{},ne=ke.marker||{},ve=le.marker||{},Ee=se.marker||{},_e=ne.opacity,ze=ve.opacity,Ne=Ee.opacity,fe=ze!==void 0,Me=Ne!==void 0;(k.isArrayOrTypedArray(_e)||fe||Me)&&(Te.selectedOpacityFn=function(Qe){var vt=Qe.mo===void 0?ne.opacity:Qe.mo;return Qe.selected?fe?ze:vt:Me?Ne:a*vt});var be=ne.color,Ce=ve.color,Fe=Ee.color;(Ce||Fe)&&(Te.selectedColorFn=function(Qe){var vt=Qe.mcc||be;return Qe.selected?Ce||vt:Fe||vt});var Re=ne.size,He=ve.size,Ge=Ee.size,Ke=He!==void 0,at=Ge!==void 0;return d.traceIs(ke,"symbols")&&(Ke||at)&&(Te.selectedSizeFn=function(Qe){var vt=Qe.mrc||Re/2;return Qe.selected?Ke?He/2:vt:at?Ge/2:vt}),Te},x.makeSelectedTextStyleFns=function(ke){var Te={},le=ke.selected||{},se=ke.unselected||{},ne=ke.textfont||{},ve=le.textfont||{},Ee=se.textfont||{},_e=ne.color,ze=ve.color,Ne=Ee.color;return Te.selectedTextColorFn=function(fe){var Me=fe.tc||_e;return fe.selected?ze||Me:Ne||(ze?Me:s.addOpacity(Me,a))},Te},x.selectedPointStyle=function(ke,Te){if(ke.size()&&Te.selectedpoints){var le=x.makeSelectedPointStyleFns(Te),se=Te.marker||{},ne=[];le.selectedOpacityFn&&ne.push(function(ve,Ee){ve.style("opacity",le.selectedOpacityFn(Ee))}),le.selectedColorFn&&ne.push(function(ve,Ee){s.fill(ve,le.selectedColorFn(Ee))}),le.selectedSizeFn&&ne.push(function(ve,Ee){var _e=Ee.mx||se.symbol||0,ze=le.selectedSizeFn(Ee);ve.attr("d",v(x.symbolNumber(_e),ze,Oe(Ee,Te),W(Ee,Te))),Ee.mrc2=ze}),ne.length&&ke.each(function(ve){for(var Ee=M.select(this),_e=0;_e0?le:0}function R(ke,Te,le){return le&&(ke=H(ke)),Te?O(ke[1]):G(ke[0])}function G(ke){var Te=M.round(ke,2);return w=Te,Te}function O(ke){var Te=M.round(ke,2);return E=Te,Te}function V(ke,Te,le,se){var ne=ke[0]-Te[0],ve=ke[1]-Te[1],Ee=le[0]-Te[0],_e=le[1]-Te[1],ze=Math.pow(ne*ne+ve*ve,.25),Ne=Math.pow(Ee*Ee+_e*_e,.25),fe=(Ne*Ne*ne-ze*ze*Ee)*se,Me=(Ne*Ne*ve-ze*ze*_e)*se,be=3*Ne*(ze+Ne),Ce=3*ze*(ze+Ne);return[[G(Te[0]+(be&&fe/be)),O(Te[1]+(be&&Me/be))],[G(Te[0]-(Ce&&fe/Ce)),O(Te[1]-(Ce&&Me/Ce))]]}x.textPointStyle=function(ke,Te,le){if(ke.size()){var se;if(Te.selectedpoints){var ne=x.makeSelectedTextStyleFns(Te);se=ne.selectedTextColorFn}var ve=Te.texttemplate,Ee=le._fullLayout;ke.each(function(_e){var ze=M.select(this),Ne=ve?k.extractOption(_e,Te,"txt","texttemplate"):k.extractOption(_e,Te,"tx","text");if(Ne||Ne===0){if(ve){var fe=Te._module.formatLabels,Me=fe?fe(_e,Te,Ee):{},be={};c(be,Te,_e.i);var Ce=Te._meta||{};Ne=k.texttemplateString(Ne,Me,Ee._d3locale,be,_e,Ce)}var Fe=_e.tp||Te.textposition,Re=P(_e,Te),He=se?se(_e):_e.tc||Te.textfont.color;ze.call(x.font,_e.tf||Te.textfont.family,Re,He).text(Ne).call(r.convertToTspans,le).call(C,Fe,Re,_e.mrc)}else ze.remove()})}},x.selectedTextStyle=function(ke,Te){if(ke.size()&&Te.selectedpoints){var le=x.makeSelectedTextStyleFns(Te);ke.each(function(se){var ne=M.select(this),ve=le.selectedTextColorFn(se),Ee=se.tp||Te.textposition,_e=P(se,Te);s.fill(ne,ve);var ze=d.traceIs(Te,"bar-like");C(ne,Ee,_e,se.mrc2||se.mrc,ze)})}},x.smoothopen=function(ke,Te){if(ke.length<3)return"M"+ke.join("L");var le,se="M"+ke[0],ne=[];for(le=1;le=ze||Qe>=fe&&Qe<=ze)&&(vt<=Me&&vt>=Ne||vt>=Me&&vt<=Ne)&&(ke=[Qe,vt])}return ke}x.steps=function(ke){var Te=N[ke]||B;return function(le){for(var se="M"+G(le[0][0])+","+O(le[0][1]),ne=le.length,ve=1;ve=1e4&&(x.savedBBoxes={},q=0),le&&(x.savedBBoxes[le]=Ce),q++,k.extendFlat({},Ce)},x.setClipUrl=function(ke,Te,le){ke.attr("clip-path",K(Te,le))},x.getTranslate=function(ke){var Te=(ke[ke.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(le,se,ne){return[se,ne].join(" ")}).split(" ");return{x:+Te[0]||0,y:+Te[1]||0}},x.setTranslate=function(ke,Te,le){var se=ke.attr?"attr":"getAttribute",ne=ke.attr?"attr":"setAttribute",ve=ke[se]("transform")||"";return Te=Te||0,le=le||0,ve=ve.replace(/(\btranslate\(.*?\);?)/,"").trim(),ve=(ve+=i(Te,le)).trim(),ke[ne]("transform",ve),ve},x.getScale=function(ke){var Te=(ke[ke.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(le,se,ne){return[se,ne].join(" ")}).split(" ");return{x:+Te[0]||1,y:+Te[1]||1}},x.setScale=function(ke,Te,le){var se=ke.attr?"attr":"getAttribute",ne=ke.attr?"attr":"setAttribute",ve=ke[se]("transform")||"";return Te=Te||1,le=le||1,ve=ve.replace(/(\bscale\(.*?\);?)/,"").trim(),ve=(ve+="scale("+Te+","+le+")").trim(),ke[ne]("transform",ve),ve};var J=/\s*sc.*/;x.setPointGroupScale=function(ke,Te,le){if(Te=Te||1,le=le||1,ke){var se=Te===1&&le===1?"":"scale("+Te+","+le+")";ke.each(function(){var ne=(this.getAttribute("transform")||"").replace(J,"");ne=(ne+=se).trim(),this.setAttribute("transform",ne)})}};var Y=/translate\([^)]*\)\s*$/;function W(ke,Te){var le;return ke&&(le=ke.mf),le===void 0&&(le=Te.marker&&Te.marker.standoff||0),Te._geo||Te._xA?le:-le}x.setTextPointsScale=function(ke,Te,le){ke&&ke.each(function(){var se,ne=M.select(this),ve=ne.select("text");if(ve.node()){var Ee=parseFloat(ve.attr("x")||0),_e=parseFloat(ve.attr("y")||0),ze=(ne.attr("transform")||"").match(Y);se=Te===1&&le===1?[]:[i(Ee,_e),"scale("+Te+","+le+")",i(-Ee,-_e)],ze&&se.push(ze),ne.attr("transform",se.join(""))}})},x.getMarkerStandoff=W;var Q,re,ie,oe,ce,pe,ge=Math.atan2,we=Math.cos,ye=Math.sin;function me(ke,Te){var le=Te[0],se=Te[1];return[le*we(ke)-se*ye(ke),le*ye(ke)+se*we(ke)]}function Oe(ke,Te){var le,se,ne=ke.ma;ne===void 0&&(ne=Te.marker.angle||0);var ve=Te.marker.angleref;if(ve==="previous"||ve==="north"){if(Te._geo){var Ee=Te._geo.project(ke.lonlat);le=Ee[0],se=Ee[1]}else{var _e=Te._xA,ze=Te._yA;if(!_e||!ze)return 90;le=_e.c2p(ke.x),se=ze.c2p(ke.y)}if(Te._geo){var Ne,fe=ke.lonlat[0],Me=ke.lonlat[1],be=Te._geo.project([fe,Me+1e-5]),Ce=Te._geo.project([fe+1e-5,Me]),Fe=ge(Ce[1]-se,Ce[0]-le),Re=ge(be[1]-se,be[0]-le);if(ve==="north")Ne=ne/180*Math.PI;else if(ve==="previous"){var He=fe/180*Math.PI,Ge=Me/180*Math.PI,Ke=Q/180*Math.PI,at=re/180*Math.PI,Qe=Ke-He,vt=we(at)*ye(Qe),xt=ye(at)*we(Ge)-we(at)*ye(Ge)*we(Qe);Ne=-ge(vt,xt)-Math.PI,Q=fe,re=Me}var st=me(Fe,[we(Ne),0]),ot=me(Re,[ye(Ne),0]);ne=ge(st[1]+ot[1],st[0]+ot[0])/Math.PI*180,ve!=="previous"||pe===Te.uid&&ke.i===ce+1||(ne=null)}if(ve==="previous"&&!Te._geo)if(pe===Te.uid&&ke.i===ce+1&&T(le)&&T(se)){var mt=le-ie,Tt=se-oe,wt=Te.line&&Te.line.shape||"",Pt=wt.slice(wt.length-1);Pt==="h"&&(Tt=0),Pt==="v"&&(mt=0),ne+=ge(Tt,mt)/Math.PI*180+90}else ne=null}return ie=le,oe=se,ce=ke.i,pe=Te.uid,ne}x.getMarkerAngle=Oe},90998:function(ee,z,e){var M,k,l,T,b=e(95616),d=e(39898).round,s="M0,0Z",t=Math.sqrt(2),i=Math.sqrt(3),r=Math.PI,n=Math.cos,o=Math.sin;function a(p){return p===null}function u(p,c,x){if(!(p&&p%360!=0||c))return x;if(l===p&&T===c&&M===x)return k;function g(R,G){var O=n(R),V=o(R),N=G[0],B=G[1]+(c||0);return[N*O-B*V,N*V+B*O]}l=p,T=c,M=x;for(var h=p/180*r,m=0,v=0,y=b(x),_="",f=0;f0,o=b._context.staticPlot;d.each(function(a){var u,p=a[0].trace,c=p.error_x||{},x=p.error_y||{};p.ids&&(u=function(v){return v.id});var g=T.hasMarkers(p)&&p.marker.maxdisplayed>0;x.visible||c.visible||(a=[]);var h=M.select(this).selectAll("g.errorbar").data(a,u);if(h.exit().remove(),a.length){c.visible||h.selectAll("path.xerror").remove(),x.visible||h.selectAll("path.yerror").remove(),h.style("opacity",1);var m=h.enter().append("g").classed("errorbar",!0);n&&m.style("opacity",0).transition().duration(t.duration).style("opacity",1),l.setClipUrl(h,s.layerClipId,b),h.each(function(v){var y=M.select(this),_=function(C,P,R){var G={x:P.c2p(C.x),y:R.c2p(C.y)};return C.yh!==void 0&&(G.yh=R.c2p(C.yh),G.ys=R.c2p(C.ys),k(G.ys)||(G.noYS=!0,G.ys=R.c2p(C.ys,!0))),C.xh!==void 0&&(G.xh=P.c2p(C.xh),G.xs=P.c2p(C.xs),k(G.xs)||(G.noXS=!0,G.xs=P.c2p(C.xs,!0))),G}(v,i,r);if(!g||v.vis){var f,S=y.select("path.yerror");if(x.visible&&k(_.x)&&k(_.yh)&&k(_.ys)){var w=x.width;f="M"+(_.x-w)+","+_.yh+"h"+2*w+"m-"+w+",0V"+_.ys,_.noYS||(f+="m-"+w+",0h"+2*w),S.size()?n&&(S=S.transition().duration(t.duration).ease(t.easing)):S=y.append("path").style("vector-effect",o?"none":"non-scaling-stroke").classed("yerror",!0),S.attr("d",f)}else S.remove();var E=y.select("path.xerror");if(c.visible&&k(_.y)&&k(_.xh)&&k(_.xs)){var L=(c.copy_ystyle?x:c).width;f="M"+_.xh+","+(_.y-L)+"v"+2*L+"m0,-"+L+"H"+_.xs,_.noXS||(f+="m0,-"+L+"v"+2*L),E.size()?n&&(E=E.transition().duration(t.duration).ease(t.easing)):E=y.append("path").style("vector-effect",o?"none":"non-scaling-stroke").classed("xerror",!0),E.attr("d",f)}else E.remove()}})}})}},62662:function(ee,z,e){var M=e(39898),k=e(7901);ee.exports=function(l){l.each(function(T){var b=T[0].trace,d=b.error_y||{},s=b.error_x||{},t=M.select(this);t.selectAll("path.yerror").style("stroke-width",d.thickness+"px").call(k.stroke,d.color),s.copy_ystyle&&(s=d),t.selectAll("path.xerror").style("stroke-width",s.thickness+"px").call(k.stroke,s.color)})}},77914:function(ee,z,e){var M=e(41940),k=e(528).hoverlabel,l=e(1426).extendFlat;ee.exports={hoverlabel:{bgcolor:l({},k.bgcolor,{arrayOk:!0}),bordercolor:l({},k.bordercolor,{arrayOk:!0}),font:M({arrayOk:!0,editType:"none"}),align:l({},k.align,{arrayOk:!0}),namelength:l({},k.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(ee,z,e){var M=e(71828),k=e(73972);function l(T,b,d,s){s=s||M.identity,Array.isArray(T)&&(b[0][d]=s(T))}ee.exports=function(T){var b=T.calcdata,d=T._fullLayout;function s(o){return function(a){return M.coerceHoverinfo({hoverinfo:a},{_module:o._module},d)}}for(var t=0;t=0&&i.indexne[0]._length||Xe<0||Xe>ve[0]._length)return o.unhoverRaw(oe,ce)}else Ye="xpx"in ce?ce.xpx:ne[0]._length/2,Xe="ypx"in ce?ce.ypx:ve[0]._length/2;if(ce.pointerX=Ye+ne[0]._offset,ce.pointerY=Xe+ve[0]._offset,Ce="xval"in ce?p.flat(ye,ce.xval):p.p2c(ne,Ye),Fe="yval"in ce?p.flat(ye,ce.yval):p.p2c(ve,Xe),!k(Ce[0])||!k(Fe[0]))return T.warn("Fx.hover failed",ce,oe),o.unhoverRaw(oe,ce)}var nt=1/0;function rt(Bt,tn){for(He=0;Hemt&&(Tt.splice(0,mt),nt=Tt[0].distance),Te&&be!==0&&Tt.length===0){ot.distance=be,ot.index=!1;var In=Ke._module.hoverPoints(ot,xt,st,"closest",{hoverLayer:me._hoverlayer});if(In&&(In=In.filter(function(Gt){return Gt.spikeDistance<=be})),In&&In.length){var zn,Kn=In.filter(function(Gt){return Gt.xa.showspikes&&Gt.xa.spikesnap!=="hovered data"});if(Kn.length){var Ut=Kn[0];k(Ut.x0)&&k(Ut.y0)&&(zn=De(Ut),(!Pt.vLinePoint||Pt.vLinePoint.spikeDistance>zn.spikeDistance)&&(Pt.vLinePoint=zn))}var _n=In.filter(function(Gt){return Gt.ya.showspikes&&Gt.ya.spikesnap!=="hovered data"});if(_n.length){var At=_n[0];k(At.x0)&&k(At.y0)&&(zn=De(At),(!Pt.hLinePoint||Pt.hLinePoint.spikeDistance>zn.spikeDistance)&&(Pt.hLinePoint=zn))}}}}}function Ie(Bt,tn,cn){for(var dn,kn=null,Vn=1/0,In=0;In0&&Math.abs(Bt.distance)It-1;Rt--)Wt(Tt[Rt]);Tt=Dt,ht()}var Ht=oe._hoverdata,hn=[],yn=te(oe),un=K(oe);for(Re=0;Re1||Tt.length>1)||fe==="closest"&&Mt&&Tt.length>1,ir=n.combine(me.plot_bgcolor||n.background,me.paper_bgcolor),$n=P(Tt,{gd:oe,hovermode:fe,rotateLabels:Qn,bgColor:ir,container:me._hoverlayer,outerContainer:me._paper.node(),commonLabelOpts:me.hoverlabel,hoverdistance:me.hoverdistance}),Gn=$n.hoverLabels;if(p.isUnifiedHover(fe)||(function(Bt,tn,cn,dn){var kn,Vn,In,zn,Kn,Ut,_n,At=tn?"xa":"ya",Gt=tn?"ya":"xa",$t=0,mn=1,xn=Bt.size(),An=new Array(xn),sn=0,Yt=dn.minX,Xt=dn.maxX,on=dn.minY,ln=dn.maxY,Sn=function(ur){return ur*cn._invScaleX},Cn=function(ur){return ur*cn._invScaleY};function jn(ur){var br=ur[0],Zn=ur[ur.length-1];if(Vn=br.pmin-br.pos-br.dp+br.size,In=Zn.pos+Zn.dp+Zn.size-br.pmax,Vn>.01){for(Kn=ur.length-1;Kn>=0;Kn--)ur[Kn].dp+=Vn;kn=!1}if(!(In<.01)){if(Vn<-.01){for(Kn=ur.length-1;Kn>=0;Kn--)ur[Kn].dp-=In;kn=!1}if(kn){var pr=0;for(zn=0;znbr.pmax&&pr++;for(zn=ur.length-1;zn>=0&&!(pr<=0);zn--)(Ut=ur[zn]).pos>br.pmax-1&&(Ut.del=!0,pr--);for(zn=0;zn=0;Kn--)ur[Kn].dp-=In;for(zn=ur.length-1;zn>=0&&!(pr<=0);zn--)(Ut=ur[zn]).pos+Ut.dp+Ut.size>br.pmax&&(Ut.del=!0,pr--)}}}for(Bt.each(function(ur){var br=ur[At],Zn=ur[Gt],pr=br._id.charAt(0)==="x",Sr=br.range;sn===0&&Sr&&Sr[0]>Sr[1]!==pr&&(mn=-1);var Gr=0,ai=pr?cn.width:cn.height;if(cn.hovermode==="x"||cn.hovermode==="y"){var ni,ci,Kr=G(ur,tn),bi=ur.anchor,qa=bi==="end"?-1:1;if(bi==="middle")ci=(ni=ur.crossPos+(pr?Cn(Kr.y-ur.by/2):Sn(ur.bx/2+ur.tx2width/2)))+(pr?Cn(ur.by):Sn(ur.bx));else if(pr)ci=(ni=ur.crossPos+Cn(f+Kr.y)-Cn(ur.by/2-f))+Cn(ur.by);else{var ha=Sn(qa*f+Kr.x),to=ha+Sn(qa*ur.bx);ni=ur.crossPos+Math.min(ha,to),ci=ur.crossPos+Math.max(ha,to)}pr?on!==void 0&&ln!==void 0&&Math.min(ci,ln)-Math.max(ni,on)>1&&(Zn.side==="left"?(Gr=Zn._mainLinePosition,ai=cn.width):ai=Zn._mainLinePosition):Yt!==void 0&&Xt!==void 0&&Math.min(ci,Xt)-Math.max(ni,Yt)>1&&(Zn.side==="top"?(Gr=Zn._mainLinePosition,ai=cn.height):ai=Zn._mainLinePosition)}An[sn++]=[{datum:ur,traceIndex:ur.trace.index,dp:0,pos:ur.pos,posref:ur.posref,size:ur.by*(pr?v:1)/2,pmin:Gr,pmax:ai}]}),An.sort(function(ur,br){return ur[0].posref-br[0].posref||mn*(br[0].traceIndex-ur[0].traceIndex)});!kn&&$t<=xn;){for($t++,kn=!0,zn=0;zn.01&&Hn.pmin===nr.pmin&&Hn.pmax===nr.pmax){for(Kn=Xn.length-1;Kn>=0;Kn--)Xn[Kn].dp+=Vn;for(Fn.push.apply(Fn,Xn),An.splice(zn+1,1),_n=0,Kn=Fn.length-1;Kn>=0;Kn--)_n+=Fn[Kn].dp;for(In=_n/Fn.length,Kn=Fn.length-1;Kn>=0;Kn--)Fn[Kn].dp-=In;kn=!1}else zn++}An.forEach(jn)}for(zn=An.length-1;zn>=0;zn--){var er=An[zn];for(Kn=er.length-1;Kn>=0;Kn--){var tr=er[Kn],lr=tr.datum;lr.offset=tr.dp,lr.del=tr.del}}}(Gn,Qn,me,$n.commonLabelBoundingBox),O(Gn,Qn,me._invScaleX,me._invScaleY)),we&&we.tagName){var dr=u.getComponentMethod("annotations","hasClickToShow")(oe,hn);i(M.select(we),dr?"pointer":"")}we&&!ge&&function(Bt,tn,cn){if(!cn||cn.length!==Bt._hoverdata.length)return!0;for(var dn=cn.length-1;dn>=0;dn--){var kn=cn[dn],Vn=Bt._hoverdata[dn];if(kn.curveNumber!==Vn.curveNumber||String(kn.pointNumber)!==String(Vn.pointNumber)||String(kn.pointNumbers)!==String(Vn.pointNumbers))return!0}return!1}(oe,0,Ht)&&(Ht&&oe.emit("plotly_unhover",{event:ce,points:Ht}),oe.emit("plotly_hover",{event:ce,points:oe._hoverdata,xaxes:ne,yaxes:ve,xvals:Ce,yvals:Fe}))})(Y,W,Q,re,ie)})},z.loneHover=function(Y,W){var Q=!0;Array.isArray(Y)||(Q=!1,Y=[Y]);var re=W.gd,ie=te(re),oe=K(re),ce=P(Y.map(function(we){var ye=we._x0||we.x0||we.x||0,me=we._x1||we.x1||we.x||0,Oe=we._y0||we.y0||we.y||0,ke=we._y1||we.y1||we.y||0,Te=we.eventData;if(Te){var le=Math.min(ye,me),se=Math.max(ye,me),ne=Math.min(Oe,ke),ve=Math.max(Oe,ke),Ee=we.trace;if(u.traceIs(Ee,"gl3d")){var _e=re._fullLayout[Ee.scene]._scene.container,ze=_e.offsetLeft,Ne=_e.offsetTop;le+=ze,se+=ze,ne+=Ne,ve+=Ne}Te.bbox={x0:le+oe,x1:se+oe,y0:ne+ie,y1:ve+ie},W.inOut_bbox&&W.inOut_bbox.push(Te.bbox)}else Te=!1;return{color:we.color||n.defaultLine,x0:we.x0||we.x||0,x1:we.x1||we.x||0,y0:we.y0||we.y||0,y1:we.y1||we.y||0,xLabel:we.xLabel,yLabel:we.yLabel,zLabel:we.zLabel,text:we.text,name:we.name,idealAlign:we.idealAlign,borderColor:we.borderColor,fontFamily:we.fontFamily,fontSize:we.fontSize,fontColor:we.fontColor,nameLength:we.nameLength,textAlign:we.textAlign,trace:we.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:we.hovertemplate||!1,hovertemplateLabels:we.hovertemplateLabels||!1,eventData:Te}}),{gd:re,hovermode:"closest",rotateLabels:!1,bgColor:W.bgColor||n.background,container:M.select(W.container),outerContainer:W.outerContainer||W.container}).hoverLabels,pe=0,ge=0;return ce.sort(function(we,ye){return we.y0-ye.y0}).each(function(we,ye){var me=we.y0-we.by/2;we.offset=me-5([\s\S]*)<\/extra>/;function P(Y,W){var Q=W.gd,re=Q._fullLayout,ie=W.hovermode,oe=W.rotateLabels,ce=W.bgColor,pe=W.container,ge=W.outerContainer,we=W.commonLabelOpts||{};if(Y.length===0)return[[]];var ye=W.fontFamily||c.HOVERFONT,me=W.fontSize||c.HOVERFONTSIZE,Oe=Y[0],ke=Oe.xa,Te=Oe.ya,le=ie.charAt(0),se=le+"Label",ne=Oe[se];if(ne===void 0&&ke.type==="multicategory")for(var ve=0;vere.width-un?(Wt=re.width-un,bt.attr("d","M"+(un-f)+",0L"+un+","+yn+f+"v"+yn+(2*S+hn.height)+"H-"+un+"V"+yn+f+"H"+(un-2*f)+"Z")):bt.attr("d","M0,0L"+f+","+yn+f+"H"+un+"v"+yn+(2*S+hn.height)+"H-"+un+"V"+yn+f+"H-"+f+"Z"),He.minX=Wt-un,He.maxX=Wt+un,ke.side==="top"?(He.minY=Ht-(2*S+hn.height),He.maxY=Ht-S):(He.minY=Ht+S,He.maxY=Ht+(2*S+hn.height))}else{var jt,nn,Jt;Te.side==="right"?(jt="start",nn=1,Jt="",Wt=ke._offset+ke._length):(jt="end",nn=-1,Jt="-",Wt=ke._offset),Ht=Te._offset+(Oe.y0+Oe.y1)/2,It.attr("text-anchor",jt),bt.attr("d","M0,0L"+Jt+f+","+f+"V"+(S+hn.height/2)+"h"+Jt+(2*S+hn.width)+"V-"+(S+hn.height/2)+"H"+Jt+f+"V-"+f+"Z"),He.minY=Ht-(S+hn.height/2),He.maxY=Ht+(S+hn.height/2),Te.side==="right"?(He.minX=Wt+f,He.maxX=Wt+f+(2*S+hn.width)):(He.minX=Wt-f-(2*S+hn.width),He.maxX=Wt-f);var rn,fn=hn.height/2,vn=_e-hn.top-fn,Mn="clip"+re._uid+"commonlabel"+Te._id;if(Wt=0?Xe:Ve+rt=0?Ve:ct+rt=0?Mt:Ye+Ie=0?Ye:kt+Ie=0,ft.idealAlign!=="top"&&Wn||!Qn?Wn?(fn+=Mn/2,ft.anchor="start"):ft.anchor="middle":(fn-=Mn/2,ft.anchor="end"),ft.crossPos=fn;else{if(ft.pos=fn,Wn=rn+vn/2+ir<=ze,Qn=rn-vn/2-ir>=0,ft.idealAlign!=="left"&&Wn||!Qn)if(Wn)rn+=vn/2,ft.anchor="start";else{ft.anchor="middle";var $n=ir/2,Gn=rn+$n-ze,dr=rn-$n;Gn>0&&(rn-=Gn),dr<0&&(rn+=-dr)}else rn-=vn/2,ft.anchor="end";ft.crossPos=rn}yn.attr("text-anchor",ft.anchor),jt&&un.attr("text-anchor",ft.anchor),bt.attr("transform",b(rn,fn)+(oe?d(h):""))}),{hoverLabels:ut,commonLabelBoundingBox:He}}function R(Y,W,Q,re,ie,oe){var ce="",pe="";Y.nameOverride!==void 0&&(Y.name=Y.nameOverride),Y.name&&(Y.trace._meta&&(Y.name=T.templateString(Y.name,Y.trace._meta)),ce=H(Y.name,Y.nameLength));var ge=Q.charAt(0),we=ge==="x"?"y":"x";Y.zLabel!==void 0?(Y.xLabel!==void 0&&(pe+="x: "+Y.xLabel+"
"),Y.yLabel!==void 0&&(pe+="y: "+Y.yLabel+"
"),Y.trace.type!=="choropleth"&&Y.trace.type!=="choroplethmapbox"&&(pe+=(pe?"z: ":"")+Y.zLabel)):W&&Y[ge+"Label"]===ie?pe=Y[we+"Label"]||"":Y.xLabel===void 0?Y.yLabel!==void 0&&Y.trace.type!=="scattercarpet"&&(pe=Y.yLabel):pe=Y.yLabel===void 0?Y.xLabel:"("+Y.xLabel+", "+Y.yLabel+")",!Y.text&&Y.text!==0||Array.isArray(Y.text)||(pe+=(pe?"
":"")+Y.text),Y.extraText!==void 0&&(pe+=(pe?"
":"")+Y.extraText),oe&&pe===""&&!Y.hovertemplate&&(ce===""&&oe.remove(),pe=ce);var ye=Y.hovertemplate||!1;if(ye){var me=Y.hovertemplateLabels||Y;Y[ge+"Label"]!==ie&&(me[ge+"other"]=me[ge+"Val"],me[ge+"otherLabel"]=me[ge+"Label"]),pe=(pe=T.hovertemplateString(ye,me,re._d3locale,Y.eventData[0]||{},Y.trace._meta)).replace(C,function(Oe,ke){return ce=H(ke,Y.nameLength),""})}return[pe,ce]}function G(Y,W){var Q=0,re=Y.offset;return W&&(re*=-_,Q=Y.offset*y),{x:Q,y:re}}function O(Y,W,Q,re){var ie=function(ce){return ce*Q},oe=function(ce){return ce*re};Y.each(function(ce){var pe=M.select(this);if(ce.del)return pe.remove();var ge,we,ye,me,Oe=pe.select("text.nums"),ke=ce.anchor,Te=ke==="end"?-1:1,le=(me=(ye=(we={start:1,end:-1,middle:0}[(ge=ce).anchor])*(f+S))+we*(ge.txwidth+S),ge.anchor==="middle"&&(ye-=ge.tx2width/2,me+=ge.txwidth/2+S),{alignShift:we,textShiftX:ye,text2ShiftX:me}),se=G(ce,W),ne=se.x,ve=se.y,Ee=ke==="middle";pe.select("path").attr("d",Ee?"M-"+ie(ce.bx/2+ce.tx2width/2)+","+oe(ve-ce.by/2)+"h"+ie(ce.bx)+"v"+oe(ce.by)+"h-"+ie(ce.bx)+"Z":"M0,0L"+ie(Te*f+ne)+","+oe(f+ve)+"v"+oe(ce.by/2-f)+"h"+ie(Te*ce.bx)+"v-"+oe(ce.by)+"H"+ie(Te*f+ne)+"V"+oe(ve-f)+"Z");var _e=ne+le.textShiftX,ze=ve+ce.ty0-ce.by/2+S,Ne=ce.textAlign||"auto";Ne!=="auto"&&(Ne==="left"&&ke!=="start"?(Oe.attr("text-anchor","start"),_e=Ee?-ce.bx/2-ce.tx2width/2+S:-ce.bx-S):Ne==="right"&&ke!=="end"&&(Oe.attr("text-anchor","end"),_e=Ee?ce.bx/2-ce.tx2width/2-S:ce.bx+S)),Oe.call(t.positionText,ie(_e),oe(ze)),ce.tx2width&&(pe.select("text.name").call(t.positionText,ie(le.text2ShiftX+le.alignShift*S+ne),oe(ve+ce.ty0-ce.by/2+S)),pe.select("rect").call(r.setRect,ie(le.text2ShiftX+(le.alignShift-1)*ce.tx2width/2+ne),oe(ve-ce.by/2-1),ie(ce.tx2width),oe(ce.by+2)))})}function V(Y,W){var Q=Y.index,re=Y.trace||{},ie=Y.cd[0],oe=Y.cd[Q]||{};function ce(Oe){return Oe||k(Oe)&&Oe===0}var pe=Array.isArray(Q)?function(Oe,ke){var Te=T.castOption(ie,Q,Oe);return ce(Te)?Te:T.extractOption({},re,"",ke)}:function(Oe,ke){return T.extractOption(oe,re,Oe,ke)};function ge(Oe,ke,Te){var le=pe(ke,Te);ce(le)&&(Y[Oe]=le)}if(ge("hoverinfo","hi","hoverinfo"),ge("bgcolor","hbg","hoverlabel.bgcolor"),ge("borderColor","hbc","hoverlabel.bordercolor"),ge("fontFamily","htf","hoverlabel.font.family"),ge("fontSize","hts","hoverlabel.font.size"),ge("fontColor","htc","hoverlabel.font.color"),ge("nameLength","hnl","hoverlabel.namelength"),ge("textAlign","hta","hoverlabel.align"),Y.posref=W==="y"||W==="closest"&&re.orientation==="h"?Y.xa._offset+(Y.x0+Y.x1)/2:Y.ya._offset+(Y.y0+Y.y1)/2,Y.x0=T.constrain(Y.x0,0,Y.xa._length),Y.x1=T.constrain(Y.x1,0,Y.xa._length),Y.y0=T.constrain(Y.y0,0,Y.ya._length),Y.y1=T.constrain(Y.y1,0,Y.ya._length),Y.xLabelVal!==void 0&&(Y.xLabel="xLabel"in Y?Y.xLabel:a.hoverLabelText(Y.xa,Y.xLabelVal,re.xhoverformat),Y.xVal=Y.xa.c2d(Y.xLabelVal)),Y.yLabelVal!==void 0&&(Y.yLabel="yLabel"in Y?Y.yLabel:a.hoverLabelText(Y.ya,Y.yLabelVal,re.yhoverformat),Y.yVal=Y.ya.c2d(Y.yLabelVal)),Y.zLabelVal!==void 0&&Y.zLabel===void 0&&(Y.zLabel=String(Y.zLabelVal)),!(isNaN(Y.xerr)||Y.xa.type==="log"&&Y.xerr<=0)){var we=a.tickText(Y.xa,Y.xa.c2l(Y.xerr),"hover").text;Y.xerrneg!==void 0?Y.xLabel+=" +"+we+" / -"+a.tickText(Y.xa,Y.xa.c2l(Y.xerrneg),"hover").text:Y.xLabel+=" \xB1 "+we,W==="x"&&(Y.distance+=1)}if(!(isNaN(Y.yerr)||Y.ya.type==="log"&&Y.yerr<=0)){var ye=a.tickText(Y.ya,Y.ya.c2l(Y.yerr),"hover").text;Y.yerrneg!==void 0?Y.yLabel+=" +"+ye+" / -"+a.tickText(Y.ya,Y.ya.c2l(Y.yerrneg),"hover").text:Y.yLabel+=" \xB1 "+ye,W==="y"&&(Y.distance+=1)}var me=Y.hoverinfo||Y.trace.hoverinfo;return me&&me!=="all"&&((me=Array.isArray(me)?me:me.split("+")).indexOf("x")===-1&&(Y.xLabel=void 0),me.indexOf("y")===-1&&(Y.yLabel=void 0),me.indexOf("z")===-1&&(Y.zLabel=void 0),me.indexOf("text")===-1&&(Y.text=void 0),me.indexOf("name")===-1&&(Y.name=void 0)),Y}function N(Y,W,Q){var re,ie,oe=Q.container,ce=Q.fullLayout,pe=ce._size,ge=Q.event,we=!!W.hLinePoint,ye=!!W.vLinePoint;if(oe.selectAll(".spikeline").remove(),ye||we){var me=n.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(we){var Oe,ke,Te=W.hLinePoint;re=Te&&Te.xa,(ie=Te&&Te.ya).spikesnap==="cursor"?(Oe=ge.pointerX,ke=ge.pointerY):(Oe=re._offset+Te.x,ke=ie._offset+Te.y);var le,se,ne=l.readability(Te.color,me)<1.5?n.contrast(me):Te.color,ve=ie.spikemode,Ee=ie.spikethickness,_e=ie.spikecolor||ne,ze=a.getPxPosition(Y,ie);if(ve.indexOf("toaxis")!==-1||ve.indexOf("across")!==-1){if(ve.indexOf("toaxis")!==-1&&(le=ze,se=Oe),ve.indexOf("across")!==-1){var Ne=ie._counterDomainMin,fe=ie._counterDomainMax;ie.anchor==="free"&&(Ne=Math.min(Ne,ie.position),fe=Math.max(fe,ie.position)),le=pe.l+Ne*pe.w,se=pe.l+fe*pe.w}oe.insert("line",":first-child").attr({x1:le,x2:se,y1:ke,y2:ke,"stroke-width":Ee,stroke:_e,"stroke-dasharray":r.dashStyle(ie.spikedash,Ee)}).classed("spikeline",!0).classed("crisp",!0),oe.insert("line",":first-child").attr({x1:le,x2:se,y1:ke,y2:ke,"stroke-width":Ee+2,stroke:me}).classed("spikeline",!0).classed("crisp",!0)}ve.indexOf("marker")!==-1&&oe.insert("circle",":first-child").attr({cx:ze+(ie.side!=="right"?Ee:-Ee),cy:ke,r:Ee,fill:_e}).classed("spikeline",!0)}if(ye){var Me,be,Ce=W.vLinePoint;re=Ce&&Ce.xa,ie=Ce&&Ce.ya,re.spikesnap==="cursor"?(Me=ge.pointerX,be=ge.pointerY):(Me=re._offset+Ce.x,be=ie._offset+Ce.y);var Fe,Re,He=l.readability(Ce.color,me)<1.5?n.contrast(me):Ce.color,Ge=re.spikemode,Ke=re.spikethickness,at=re.spikecolor||He,Qe=a.getPxPosition(Y,re);if(Ge.indexOf("toaxis")!==-1||Ge.indexOf("across")!==-1){if(Ge.indexOf("toaxis")!==-1&&(Fe=Qe,Re=be),Ge.indexOf("across")!==-1){var vt=re._counterDomainMin,xt=re._counterDomainMax;re.anchor==="free"&&(vt=Math.min(vt,re.position),xt=Math.max(xt,re.position)),Fe=pe.t+(1-xt)*pe.h,Re=pe.t+(1-vt)*pe.h}oe.insert("line",":first-child").attr({x1:Me,x2:Me,y1:Fe,y2:Re,"stroke-width":Ke,stroke:at,"stroke-dasharray":r.dashStyle(re.spikedash,Ke)}).classed("spikeline",!0).classed("crisp",!0),oe.insert("line",":first-child").attr({x1:Me,x2:Me,y1:Fe,y2:Re,"stroke-width":Ke+2,stroke:me}).classed("spikeline",!0).classed("crisp",!0)}Ge.indexOf("marker")!==-1&&oe.insert("circle",":first-child").attr({cx:Me,cy:Qe-(re.side!=="top"?Ke:-Ke),r:Ke,fill:at}).classed("spikeline",!0)}}}function B(Y,W){return!W||W.vLinePoint!==Y._spikepoints.vLinePoint||W.hLinePoint!==Y._spikepoints.hLinePoint}function H(Y,W){return t.plainText(Y||"",{len:W,allowedTags:["br","sub","sup","b","i","em"]})}function q(Y,W,Q){var re=W[Y+"a"],ie=W[Y+"Val"],oe=W.cd[0];if(re.type==="category"||re.type==="multicategory")ie=re._categoriesMap[ie];else if(re.type==="date"){var ce=W.trace[Y+"periodalignment"];if(ce){var pe=W.cd[W.index],ge=pe[Y+"Start"];ge===void 0&&(ge=pe[Y]);var we=pe[Y+"End"];we===void 0&&(we=pe[Y]);var ye=we-ge;ce==="end"?ie+=ye:ce==="middle"&&(ie+=ye/2)}ie=re.d2c(ie)}return oe&&oe.t&&oe.t.posLetter===re._id&&(Q.boxmode!=="group"&&Q.violinmode!=="group"||(ie+=oe.t.dPos)),ie}function te(Y){return Y.offsetTop+Y.clientTop}function K(Y){return Y.offsetLeft+Y.clientLeft}function J(Y,W){var Q=Y._fullLayout,re=W.getBoundingClientRect(),ie=re.left,oe=re.top,ce=ie+re.width,pe=oe+re.height,ge=T.apply3DTransform(Q._invTransform)(ie,oe),we=T.apply3DTransform(Q._invTransform)(ce,pe),ye=ge[0],me=ge[1],Oe=we[0],ke=we[1];return{x:ye,y:me,width:Oe-ye,height:ke-me,top:Math.min(me,ke),left:Math.min(ye,Oe),right:Math.max(ye,Oe),bottom:Math.max(me,ke)}}},38048:function(ee,z,e){var M=e(71828),k=e(7901),l=e(23469).isUnifiedHover;ee.exports=function(T,b,d,s){s=s||{};var t=b.legend;function i(r){s.font[r]||(s.font[r]=t?b.legend.font[r]:b.font[r])}b&&l(b.hovermode)&&(s.font||(s.font={}),i("size"),i("family"),i("color"),t?(s.bgcolor||(s.bgcolor=k.combine(b.legend.bgcolor,b.paper_bgcolor)),s.bordercolor||(s.bordercolor=b.legend.bordercolor)):s.bgcolor||(s.bgcolor=b.paper_bgcolor)),d("hoverlabel.bgcolor",s.bgcolor),d("hoverlabel.bordercolor",s.bordercolor),d("hoverlabel.namelength",s.namelength),M.coerceFont(d,"hoverlabel.font",s.font),d("hoverlabel.align",s.align)}},98212:function(ee,z,e){var M=e(71828),k=e(528);ee.exports=function(l,T){function b(d,s){return T[d]!==void 0?T[d]:M.coerce(l,T,k,d,s)}return b("clickmode"),b("hovermode")}},30211:function(ee,z,e){var M=e(39898),k=e(71828),l=e(28569),T=e(23469),b=e(528),d=e(88335);ee.exports={moduleType:"component",name:"fx",constants:e(26675),schema:{layout:b},attributes:e(77914),layoutAttributes:b,supplyLayoutGlobalDefaults:e(22774),supplyDefaults:e(54268),supplyLayoutDefaults:e(34938),calc:e(30732),getDistanceFunction:T.getDistanceFunction,getClosest:T.getClosest,inbox:T.inbox,quadrature:T.quadrature,appendArrayPointValue:T.appendArrayPointValue,castHoverOption:function(s,t,i){return k.castOption(s,t,"hoverlabel."+i)},castHoverinfo:function(s,t,i){return k.castOption(s,i,"hoverinfo",function(r){return k.coerceHoverinfo({hoverinfo:r},{_module:s._module},t)})},hover:d.hover,unhover:l.unhover,loneHover:d.loneHover,loneUnhover:function(s){var t=k.isD3Selection(s)?s:M.select(s);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:e(75914)}},528:function(ee,z,e){var M=e(26675),k=e(41940),l=k({editType:"none"});l.family.dflt=M.HOVERFONT,l.size.dflt=M.HOVERFONTSIZE,ee.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:l,grouptitlefont:k({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(ee,z,e){var M=e(71828),k=e(528),l=e(98212),T=e(38048);ee.exports=function(b,d){function s(n,o){return M.coerce(b,d,k,n,o)}l(b,d)&&(s("hoverdistance"),s("spikedistance")),s("dragmode")==="select"&&s("selectdirection");var t=d._has("mapbox"),i=d._has("geo"),r=d._basePlotModules.length;d.dragmode==="zoom"&&((t||i)&&r===1||t&&i&&r===2)&&(d.dragmode="pan"),T(b,d,s),M.coerceFont(s,"hoverlabel.grouptitlefont",d.hoverlabel.font)}},22774:function(ee,z,e){var M=e(71828),k=e(38048),l=e(528);ee.exports=function(T,b){k(T,b,function(d,s){return M.coerce(T,b,l,d,s)})}},83312:function(ee,z,e){var M=e(71828),k=e(30587).counter,l=e(27670).Y,T=e(85555).idRegex,b=e(44467),d={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[k("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[T.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[T.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:l({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function s(r,n,o){var a=n[o+"axes"],u=Object.keys((r._splomAxes||{})[o]||{});return Array.isArray(a)?a:u.length?u:void 0}function t(r,n,o,a,u,p){var c=n(r+"gap",o),x=n("domain."+r);n(r+"side",a);for(var g=new Array(u),h=x[0],m=(x[1]-h)/(u-c),v=m*(1-c),y=0;y1){x||g||h||C("pattern")==="independent"&&(x=!0),v._hasSubplotGrid=x;var f,S,w=C("roworder")==="top to bottom",E=x?.2:.1,L=x?.3:.1;m&&n._splomGridDflt&&(f=n._splomGridDflt.xside,S=n._splomGridDflt.yside),v._domains={x:t("x",C,E,f,_),y:t("y",C,L,S,y,w)}}else delete n.grid}function C(P,R){return M.coerce(o,v,d,P,R)}},contentDefaults:function(r,n){var o=n.grid;if(o&&o._domains){var a,u,p,c,x,g,h,m=r.grid||{},v=n._subplots,y=o._hasSubplotGrid,_=o.rows,f=o.columns,S=o.pattern==="independent",w=o._axisMap={};if(y){var E=m.subplots||[];g=o.subplots=new Array(_);var L=1;for(a=0;a<_;a++){var C=g[a]=new Array(f),P=E[a]||[];for(u=0;u(i==="legend"?1:0));if(L===!1&&(n[i]=void 0),(L!==!1||a.uirevision)&&(p("uirevision",n.uirevision),L!==!1)){p("borderwidth");var C,P,R,G=p("orientation")==="h",O=p("yref")==="paper",V=p("xref")==="paper",N="left";if(G?(C=0,M.getComponentMethod("rangeslider","isVisible")(r.xaxis)?O?(P=1.1,R="bottom"):(P=1,R="top"):O?(P=-.1,R="top"):(P=0,R="bottom")):(P=1,R="auto",V?C=1.02:(C=1,N="right")),k.coerce(a,u,{x:{valType:"number",editType:"legend",min:V?-2:0,max:V?3:1,dflt:C}},"x"),k.coerce(a,u,{y:{valType:"number",editType:"legend",min:O?-2:0,max:O?3:1,dflt:P}},"y"),p("traceorder",_),s.isGrouped(n[i])&&p("tracegroupgap"),p("entrywidth"),p("entrywidthmode"),p("itemsizing"),p("itemwidth"),p("itemclick"),p("itemdoubleclick"),p("groupclick"),p("xanchor",N),p("yanchor",R),p("valign"),k.noneOrAll(a,u,["x","y"]),p("title.text")){p("title.side",G?"left":"top");var B=k.extendFlat({},c,{size:k.bigFont(c.size)});k.coerceFont(p,"title.font",B)}}}}ee.exports=function(i,r,n){var o,a=n.slice(),u=r.shapes;if(u)for(o=0;o1)}var re=B.hiddenlabels||[];if(!(q||B.showlegend&&te.length))return V.selectAll("."+H).remove(),B._topdefs.select("#"+O).remove(),l.autoMargin(R,H);var ie=k.ensureSingle(V,"g",H,function(ke){q||ke.attr("pointer-events","all")}),oe=k.ensureSingleById(B._topdefs,"clipPath",O,function(ke){ke.append("rect")}),ce=k.ensureSingle(ie,"rect","bg",function(ke){ke.attr("shape-rendering","crispEdges")});ce.call(t.stroke,N.bordercolor).call(t.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px");var pe=k.ensureSingle(ie,"g","scrollbox"),ge=N.title;if(N._titleWidth=0,N._titleHeight=0,ge.text){var we=k.ensureSingle(pe,"text",H+"titletext");we.attr("text-anchor","start").call(s.font,ge.font).text(ge.text),E(we,pe,R,N,h)}else pe.selectAll("."+H+"titletext").remove();var ye=k.ensureSingle(ie,"rect","scrollbar",function(ke){ke.attr(n.scrollBarEnterAttrs).call(t.fill,n.scrollBarColor)}),me=pe.selectAll("g.groups").data(te);me.enter().append("g").attr("class","groups"),me.exit().remove();var Oe=me.selectAll("g.traces").data(k.identity);Oe.enter().append("g").attr("class","traces"),Oe.exit().remove(),Oe.style("opacity",function(ke){var Te=ke[0].trace;return T.traceIs(Te,"pie-like")?re.indexOf(ke[0].label)!==-1?.5:1:Te.visible==="legendonly"?.5:1}).each(function(){M.select(this).call(f,R,N)}).call(x,R,N).each(function(){q||M.select(this).call(w,R,H)}),k.syncOrAsync([l.previousPromises,function(){return function(ke,Te,le,se){var ne=ke._fullLayout,ve=P(se);se||(se=ne[ve]);var Ee=ne._size,_e=g.isVertical(se),ze=g.isGrouped(se),Ne=se.entrywidthmode==="fraction",fe=se.borderwidth,Me=2*fe,be=n.itemGap,Ce=se.itemwidth+2*be,Fe=2*(fe+be),Re=C(se),He=se.y<0||se.y===0&&Re==="top",Ge=se.y>1||se.y===1&&Re==="bottom",Ke=se.tracegroupgap,at={};se._maxHeight=Math.max(He||Ge?ne.height/2:Ee.h,30);var Qe=0;se._width=0,se._height=0;var vt=function(ht){var dt=0,ct=0,kt=ht.title.side;return kt&&(kt.indexOf("left")!==-1&&(dt=ht._titleWidth),kt.indexOf("top")!==-1&&(ct=ht._titleHeight)),[dt,ct]}(se);if(_e)le.each(function(ht){var dt=ht[0].height;s.setTranslate(this,fe+vt[0],fe+vt[1]+se._height+dt/2+be),se._height+=dt,se._width=Math.max(se._width,ht[0].width)}),Qe=Ce+se._width,se._width+=be+Ce+Me,se._height+=Fe,ze&&(Te.each(function(ht,dt){s.setTranslate(this,0,dt*se.tracegroupgap)}),se._height+=(se._lgroupsLength-1)*se.tracegroupgap);else{var xt=L(se),st=se.x<0||se.x===0&&xt==="right",ot=se.x>1||se.x===1&&xt==="left",mt=Ge||He,Tt=ne.width/2;se._maxWidth=Math.max(st?mt&&xt==="left"?Ee.l+Ee.w:Tt:ot?mt&&xt==="right"?Ee.r+Ee.w:Tt:Ee.w,2*Ce);var wt=0,Pt=0;le.each(function(ht){var dt=y(ht,se,Ce);wt=Math.max(wt,dt),Pt+=dt}),Qe=null;var Mt=0;if(ze){var Ye=0,Xe=0,Ve=0;Te.each(function(){var ht=0,dt=0;M.select(this).selectAll("g.traces").each(function(kt){var ut=y(kt,se,Ce),ft=kt[0].height;s.setTranslate(this,vt[0],vt[1]+fe+be+ft/2+dt),dt+=ft,ht=Math.max(ht,ut),at[kt[0].trace.legendgroup]=ht});var ct=ht+be;Xe>0&&ct+fe+Xe>se._maxWidth?(Mt=Math.max(Mt,Xe),Xe=0,Ve+=Ye+Ke,Ye=dt):Ye=Math.max(Ye,dt),s.setTranslate(this,Xe,Ve),Xe+=ct}),se._width=Math.max(Mt,Xe)+fe,se._height=Ve+Ye+Fe}else{var We=le.size(),nt=Pt+Me+(We-1)*be=se._maxWidth&&(Mt=Math.max(Mt,et),Ie=0,De+=rt,se._height+=rt,rt=0),s.setTranslate(this,vt[0]+fe+Ie,vt[1]+fe+De+dt/2+be),et=Ie+ct+be,Ie+=kt,rt=Math.max(rt,dt)}),nt?(se._width=Ie+Me,se._height=rt+Fe):(se._width=Math.max(Mt,et)+Me,se._height+=rt+Fe)}}se._width=Math.ceil(Math.max(se._width+vt[0],se._titleWidth+2*(fe+n.titlePad))),se._height=Math.ceil(Math.max(se._height+vt[1],se._titleHeight+2*(fe+n.itemGap))),se._effHeight=Math.min(se._height,se._maxHeight);var tt=ke._context.edits,gt=tt.legendText||tt.legendPosition;le.each(function(ht){var dt=M.select(this).select("."+ve+"toggle"),ct=ht[0].height,kt=ht[0].trace.legendgroup,ut=y(ht,se,Ce);ze&&kt!==""&&(ut=at[kt]);var ft=gt?Ce:Qe||ut;_e||Ne||(ft+=be/2),s.setRect(dt,0,-ct/2,ft,ct)})}(R,me,Oe,N)},function(){var ke,Te,le,se,ne=B._size,ve=N.borderwidth,Ee=N.xref==="paper",_e=N.yref==="paper";if(!q){var ze,Ne;ze=Ee?ne.l+ne.w*N.x-u[L(N)]*N._width:B.width*N.x-u[L(N)]*N._width,Ne=_e?ne.t+ne.h*(1-N.y)-u[C(N)]*N._effHeight:B.height*(1-N.y)-u[C(N)]*N._effHeight;var fe=function(mt,Tt,wt,Pt){var Mt=mt._fullLayout,Ye=Mt[Tt],Xe=L(Ye),Ve=C(Ye),We=Ye.xref==="paper",nt=Ye.yref==="paper";mt._fullLayout._reservedMargin[Tt]={};var rt=Ye.y<.5?"b":"t",Ie=Ye.x<.5?"l":"r",De={r:Mt.width-wt,l:wt+Ye._width,b:Mt.height-Pt,t:Pt+Ye._effHeight};if(We&&nt)return l.autoMargin(mt,Tt,{x:Ye.x,y:Ye.y,l:Ye._width*u[Xe],r:Ye._width*p[Xe],b:Ye._effHeight*p[Ve],t:Ye._effHeight*u[Ve]});We?mt._fullLayout._reservedMargin[Tt][rt]=De[rt]:nt||Ye.orientation==="v"?mt._fullLayout._reservedMargin[Tt][Ie]=De[Ie]:mt._fullLayout._reservedMargin[Tt][rt]=De[rt]}(R,H,ze,Ne);if(fe)return;if(B.margin.autoexpand){var Me=ze,be=Ne;ze=Ee?k.constrain(ze,0,B.width-N._width):Me,Ne=_e?k.constrain(Ne,0,B.height-N._effHeight):be,ze!==Me&&k.log("Constrain "+H+".x to make legend fit inside graph"),Ne!==be&&k.log("Constrain "+H+".y to make legend fit inside graph")}s.setTranslate(ie,ze,Ne)}if(ye.on(".drag",null),ie.on("wheel",null),q||N._height<=N._maxHeight||R._context.staticPlot){var Ce=N._effHeight;q&&(Ce=N._height),ce.attr({width:N._width-ve,height:Ce-ve,x:ve/2,y:ve/2}),s.setTranslate(pe,0,0),oe.select("rect").attr({width:N._width-2*ve,height:Ce-2*ve,x:ve,y:ve}),s.setClipUrl(pe,O,R),s.setRect(ye,0,0,0,0),delete N._scrollY}else{var Fe,Re,He,Ge=Math.max(n.scrollBarMinHeight,N._effHeight*N._effHeight/N._height),Ke=N._effHeight-Ge-2*n.scrollBarMargin,at=N._height-N._effHeight,Qe=Ke/at,vt=Math.min(N._scrollY||0,at);ce.attr({width:N._width-2*ve+n.scrollBarWidth+n.scrollBarMargin,height:N._effHeight-ve,x:ve/2,y:ve/2}),oe.select("rect").attr({width:N._width-2*ve+n.scrollBarWidth+n.scrollBarMargin,height:N._effHeight-2*ve,x:ve,y:ve+vt}),s.setClipUrl(pe,O,R),ot(vt,Ge,Qe),ie.on("wheel",function(){ot(vt=k.constrain(N._scrollY+M.event.deltaY/Ke*at,0,at),Ge,Qe),vt!==0&&vt!==at&&M.event.preventDefault()});var xt=M.behavior.drag().on("dragstart",function(){var mt=M.event.sourceEvent;Fe=mt.type==="touchstart"?mt.changedTouches[0].clientY:mt.clientY,He=vt}).on("drag",function(){var mt=M.event.sourceEvent;mt.buttons===2||mt.ctrlKey||(Re=mt.type==="touchmove"?mt.changedTouches[0].clientY:mt.clientY,vt=function(Tt,wt,Pt){var Mt=(Pt-wt)/Qe+Tt;return k.constrain(Mt,0,at)}(He,Fe,Re),ot(vt,Ge,Qe))});ye.call(xt);var st=M.behavior.drag().on("dragstart",function(){var mt=M.event.sourceEvent;mt.type==="touchstart"&&(Fe=mt.changedTouches[0].clientY,He=vt)}).on("drag",function(){var mt=M.event.sourceEvent;mt.type==="touchmove"&&(Re=mt.changedTouches[0].clientY,vt=function(Tt,wt,Pt){var Mt=(wt-Pt)/Qe+Tt;return k.constrain(Mt,0,at)}(He,Fe,Re),ot(vt,Ge,Qe))});pe.call(st)}function ot(mt,Tt,wt){N._scrollY=R._fullLayout[H]._scrollY=mt,s.setTranslate(pe,0,-mt),s.setRect(ye,N._width,n.scrollBarMargin+mt*wt,n.scrollBarWidth,Tt),oe.select("rect").attr("y",ve+mt)}R._context.edits.legendPosition&&(ie.classed("cursor-move",!0),d.init({element:ie.node(),gd:R,prepFn:function(){var mt=s.getTranslate(ie);le=mt.x,se=mt.y},moveFn:function(mt,Tt){var wt=le+mt,Pt=se+Tt;s.setTranslate(ie,wt,Pt),ke=d.align(wt,N._width,ne.l,ne.l+ne.w,N.xanchor),Te=d.align(Pt+N._height,-N._height,ne.t+ne.h,ne.t,N.yanchor)},doneFn:function(){if(ke!==void 0&&Te!==void 0){var mt={};mt[H+".x"]=ke,mt[H+".y"]=Te,T.call("_guiRelayout",R,mt)}},clickFn:function(mt,Tt){var wt=V.selectAll("g.traces").filter(function(){var Pt=this.getBoundingClientRect();return Tt.clientX>=Pt.left&&Tt.clientX<=Pt.right&&Tt.clientY>=Pt.top&&Tt.clientY<=Pt.bottom});wt.size()>0&&_(R,ie,wt,mt,Tt)}}))}],R)}}function y(R,G,O){var V=R[0],N=V.width,B=G.entrywidthmode,H=V.trace.legendwidth||G.entrywidth;return B==="fraction"?G._maxWidth*H:O+(H||N)}function _(R,G,O,V,N){var B=O.data()[0][0].trace,H={event:N,node:O.node(),curveNumber:B.index,expandedIndex:B._expandedIndex,data:R.data,layout:R.layout,frames:R._transitionData._frames,config:R._context,fullData:R._fullData,fullLayout:R._fullLayout};B._group&&(H.group=B._group),T.traceIs(B,"pie-like")&&(H.label=O.datum()[0].label),b.triggerHandler(R,"plotly_legendclick",H)!==!1&&(V===1?G._clickTimeout=setTimeout(function(){R._fullLayout&&r(O,R,V)},R._context.doubleClickDelay):V===2&&(G._clickTimeout&&clearTimeout(G._clickTimeout),R._legendMouseDownTime=0,b.triggerHandler(R,"plotly_legenddoubleclick",H)!==!1&&r(O,R,V)))}function f(R,G,O){var V,N,B=P(O),H=R.data()[0][0],q=H.trace,te=T.traceIs(q,"pie-like"),K=!O._inHover&&G._context.edits.legendText&&!te,J=O._maxNameLength;H.groupTitle?(V=H.groupTitle.text,N=H.groupTitle.font):(N=O.font,O.entries?V=H.text:(V=te?H.label:q.name,q._meta&&(V=k.templateString(V,q._meta))));var Y=k.ensureSingle(R,"text",B+"text");Y.attr("text-anchor","start").call(s.font,N).text(K?S(V,J):V);var W=O.itemwidth+2*n.itemGap;i.positionText(Y,W,0),K?Y.call(i.makeEditable,{gd:G,text:V}).call(E,R,G,O).on("edit",function(Q){this.text(S(Q,J)).call(E,R,G,O);var re=H.trace._fullInput||{},ie={};if(T.hasTransform(re,"groupby")){var oe=T.getTransformIndices(re,"groupby"),ce=oe[oe.length-1],pe=k.keyedContainer(re,"transforms["+ce+"].styles","target","value.name");pe.set(H.trace._group,Q),ie=pe.constructUpdate()}else ie.name=Q;return re._isShape?T.call("_guiRelayout",G,"shapes["+q.index+"].name",ie.name):T.call("_guiRestyle",G,ie,q.index)}):E(Y,R,G,O)}function S(R,G){var O=Math.max(4,G);if(R&&R.trim().length>=O/2)return R;for(var V=O-(R=R||"").length;V>0;V--)R+=" ";return R}function w(R,G,O){var V,N=G._context.doubleClickDelay,B=1,H=k.ensureSingle(R,"rect",O+"toggle",function(q){G._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(t.fill,"rgba(0,0,0,0)")});G._context.staticPlot||(H.on("mousedown",function(){(V=new Date().getTime())-G._legendMouseDownTimeN&&(B=Math.max(B-1,1)),_(G,q,R,B,M.event)}}))}function E(R,G,O,V,N){V._inHover&&R.attr("data-notex",!0),i.convertToTspans(R,O,function(){(function(B,H,q,te){var K=B.data()[0][0];if(q._inHover||!K||K.trace.showlegend){var J=B.select("g[class*=math-group]"),Y=J.node(),W=P(q);q||(q=H._fullLayout[W]);var Q,re,ie=q.borderwidth,oe=(te===h?q.title.font:K.groupTitle?K.groupTitle.font:q.font).size*a;if(Y){var ce=s.bBox(Y);Q=ce.height,re=ce.width,te===h?s.setTranslate(J,ie,ie+.75*Q):s.setTranslate(J,0,.25*Q)}else{var pe="."+W+(te===h?"title":"")+"text",ge=B.select(pe),we=i.lineCount(ge),ye=ge.node();if(Q=oe*we,re=ye?s.bBox(ye).width:0,te===h){var me=0;q.title.side==="left"?re+=2*n.itemGap:q.title.side==="top center"?q._width&&(me=.5*(q._width-2*ie-2*n.titlePad-re)):q.title.side==="top right"&&q._width&&(me=q._width-2*ie-2*n.titlePad-re),i.positionText(ge,ie+n.titlePad+me,ie+oe)}else{var Oe=2*n.itemGap+q.itemwidth;K.groupTitle&&(Oe=n.itemGap,re-=q.itemwidth),i.positionText(ge,Oe,-oe*((we-1)/2-.3))}}te===h?(q._titleWidth=re,q._titleHeight=Q):(K.lineHeight=oe,K.height=Math.max(Q,16)+3,K.width=re)}else B.remove()})(G,O,V,N)})}function L(R){return k.isRightAnchor(R)?"right":k.isCenterAnchor(R)?"center":"left"}function C(R){return k.isBottomAnchor(R)?"bottom":k.isMiddleAnchor(R)?"middle":"top"}function P(R){return R._id||"legend"}ee.exports=function(R,G){if(G)v(R,G);else{var O=R._fullLayout,V=O._legends;O._infolayer.selectAll('[class^="legend"]').each(function(){var H=M.select(this),q=H.attr("class").split(" ")[0];q.match(m)&&V.indexOf(q)===-1&&H.remove()});for(var N=0;NL&&(E=L)}S[d][0]._groupMinRank=E,S[d][0]._preGroupSort=d}var C=function(V,N){return V.trace.legendrank-N.trace.legendrank||V._preSort-N._preSort};for(S.forEach(function(V,N){V[0]._preGroupSort=N}),S.sort(function(V,N){return V[0]._groupMinRank-N[0]._groupMinRank||V[0]._preGroupSort-N[0]._preGroupSort}),d=0;dx?x:p}ee.exports=function(p,c,x){var g=c._fullLayout;x||(x=g.legend);var h=x.itemsizing==="constant",m=x.itemwidth,v=(m+2*n.itemGap)/2,y=T(v,0),_=function(w,E,L,C){var P;if(w+1)P=w;else{if(!(E&&E.width>0))return 0;P=E.width}return h?C:Math.min(P,L)};function f(w,E,L){var C=w[0].trace,P=C.marker||{},R=P.line||{},G=L?C.visible&&C.type===L:k.traceIs(C,"bar"),O=M.select(E).select("g.legendpoints").selectAll("path.legend"+L).data(G?[w]:[]);O.enter().append("path").classed("legend"+L,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",y),O.exit().remove(),O.each(function(V){var N=M.select(this),B=V[0],H=_(B.mlw,P.line,5,2);N.style("stroke-width",H+"px");var q=B.mcc;if(!x._inHover&&"mc"in B){var te=s(P),K=te.mid;K===void 0&&(K=(te.max+te.min)/2),q=b.tryColorscale(P,"")(K)}var J=q||B.mc||P.color,Y=P.pattern,W=Y&&b.getPatternAttr(Y.shape,0,"");if(W){var Q=b.getPatternAttr(Y.bgcolor,0,null),re=b.getPatternAttr(Y.fgcolor,0,null),ie=Y.fgopacity,oe=u(Y.size,8,10),ce=u(Y.solidity,.5,1),pe="legend-"+C.uid;N.call(b.pattern,"legend",c,pe,W,oe,ce,q,Y.fillmode,Q,re,ie)}else N.call(d.fill,J);H&&d.stroke(N,B.mlc||R.color)})}function S(w,E,L){var C=w[0],P=C.trace,R=L?P.visible&&P.type===L:k.traceIs(P,L),G=M.select(E).select("g.legendpoints").selectAll("path.legend"+L).data(R?[w]:[]);if(G.enter().append("path").classed("legend"+L,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",y),G.exit().remove(),G.size()){var O=P.marker||{},V=_(r(O.line.width,C.pts),O.line,5,2),N="pieLike",B=l.minExtend(P,{marker:{line:{width:V}}},N),H=l.minExtend(C,{trace:B},N);i(G,H,B,c)}}p.each(function(w){var E=M.select(this),L=l.ensureSingle(E,"g","layers");L.style("opacity",w[0].trace.opacity);var C=x.valign,P=w[0].lineHeight,R=w[0].height;if(C!=="middle"&&P&&R){var G={top:1,bottom:-1}[C]*(.5*(P-R+3));L.attr("transform",T(0,G))}else L.attr("transform",null);L.selectAll("g.legendfill").data([w]).enter().append("g").classed("legendfill",!0),L.selectAll("g.legendlines").data([w]).enter().append("g").classed("legendlines",!0);var O=L.selectAll("g.legendsymbols").data([w]);O.enter().append("g").classed("legendsymbols",!0),O.selectAll("g.legendpoints").data([w]).enter().append("g").classed("legendpoints",!0)}).each(function(w){var E,L=w[0].trace,C=[];if(L.visible)switch(L.type){case"histogram2d":case"heatmap":C=[["M-15,-2V4H15V-2Z"]],E=!0;break;case"choropleth":case"choroplethmapbox":C=[["M-6,-6V6H6V-6Z"]],E=!0;break;case"densitymapbox":C=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],E="radial";break;case"cone":C=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],E=!1;break;case"streamtube":C=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],E=!1;break;case"surface":C=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],E=!0;break;case"mesh3d":C=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],E=!1;break;case"volume":C=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],E=!0;break;case"isosurface":C=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],E=!1}var P=M.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(C);P.enter().append("path").classed("legend3dandfriends",!0).attr("transform",y).style("stroke-miterlimit",1),P.exit().remove(),P.each(function(R,G){var O,V=M.select(this),N=s(L),B=N.colorscale,H=N.reversescale;if(B){if(!E){var q=B.length;O=G===0?B[H?q-1:0][1]:G===1?B[H?0:q-1][1]:B[Math.floor((q-1)/2)][1]}}else{var te=L.vertexcolor||L.facecolor||L.color;O=l.isArrayOrTypedArray(te)?te[G]||te[0]:te}V.attr("d",R[0]),O?V.call(d.fill,O):V.call(function(K){if(K.size()){var J="legendfill-"+L.uid;b.gradient(K,c,J,o(H,E==="radial"),B,"fill")}})})}).each(function(w){var E=w[0].trace,L=E.type==="waterfall";if(w[0]._distinct&&L){var C=w[0].trace[w[0].dir].marker;return w[0].mc=C.color,w[0].mlw=C.line.width,w[0].mlc=C.line.color,f(w,this,"waterfall")}var P=[];E.visible&&L&&(P=w[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var R=M.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(P);R.enter().append("path").classed("legendwaterfall",!0).attr("transform",y).style("stroke-miterlimit",1),R.exit().remove(),R.each(function(G){var O=M.select(this),V=E[G[0]].marker,N=_(void 0,V.line,5,2);O.attr("d",G[1]).style("stroke-width",N+"px").call(d.fill,V.color),N&&O.call(d.stroke,V.line.color)})}).each(function(w){f(w,this,"funnel")}).each(function(w){f(w,this)}).each(function(w){var E=w[0].trace,L=M.select(this).select("g.legendpoints").selectAll("path.legendbox").data(E.visible&&k.traceIs(E,"box-violin")?[w]:[]);L.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",y),L.exit().remove(),L.each(function(){var C=M.select(this);if(E.boxpoints!=="all"&&E.points!=="all"||d.opacity(E.fillcolor)!==0||d.opacity((E.line||{}).color)!==0){var P=_(void 0,E.line,5,2);C.style("stroke-width",P+"px").call(d.fill,E.fillcolor),P&&d.stroke(C,E.line.color)}else{var R=l.minExtend(E,{marker:{size:h?12:l.constrain(E.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});L.call(b.pointStyle,R,c)}})}).each(function(w){S(w,this,"funnelarea")}).each(function(w){S(w,this,"pie")}).each(function(w){var E,L,C=a(w),P=C.showFill,R=C.showLine,G=C.showGradientLine,O=C.showGradientFill,V=C.anyFill,N=C.anyLine,B=w[0],H=B.trace,q=s(H),te=q.colorscale,K=q.reversescale,J=t.hasMarkers(H)||!V?"M5,0":N?"M5,-2":"M5,-3",Y=M.select(this),W=Y.select(".legendfill").selectAll("path").data(P||O?[w]:[]);if(W.enter().append("path").classed("js-fill",!0),W.exit().remove(),W.attr("d",J+"h"+m+"v6h-"+m+"z").call(function(ie){if(ie.size())if(P)b.fillGroupStyle(ie,c);else{var oe="legendfill-"+H.uid;b.gradient(ie,c,oe,o(K),te,"fill")}}),R||G){var Q=_(void 0,H.line,10,5);L=l.minExtend(H,{line:{width:Q}}),E=[l.minExtend(B,{trace:L})]}var re=Y.select(".legendlines").selectAll("path").data(R||G?[E]:[]);re.enter().append("path").classed("js-line",!0),re.exit().remove(),re.attr("d",J+(G?"l"+m+",0.0001":"h"+m)).call(R?b.lineGroupStyle:function(ie){if(ie.size()){var oe="legendline-"+H.uid;b.lineGroupStyle(ie),b.gradient(ie,c,oe,o(K),te,"stroke")}})}).each(function(w){var E,L,C=a(w),P=C.anyFill,R=C.anyLine,G=C.showLine,O=C.showMarker,V=w[0],N=V.trace,B=!O&&!R&&!P&&t.hasText(N);function H(re,ie,oe,ce){var pe=l.nestedProperty(N,re).get(),ge=l.isArrayOrTypedArray(pe)&&ie?ie(pe):pe;if(h&&ge&&ce!==void 0&&(ge=ce),oe){if(geoe[1])return oe[1]}return ge}function q(re){return V._distinct&&V.index&&re[V.index]?re[V.index]:re[0]}if(O||B||G){var te={},K={};if(O){te.mc=H("marker.color",q),te.mx=H("marker.symbol",q),te.mo=H("marker.opacity",l.mean,[.2,1]),te.mlc=H("marker.line.color",q),te.mlw=H("marker.line.width",l.mean,[0,5],2),K.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var J=H("marker.size",l.mean,[2,16],12);te.ms=J,K.marker.size=J}G&&(K.line={width:H("line.width",q,[0,10],5)}),B&&(te.tx="Aa",te.tp=H("textposition",q),te.ts=10,te.tc=H("textfont.color",q),te.tf=H("textfont.family",q)),E=[l.minExtend(V,te)],(L=l.minExtend(N,K)).selectedpoints=null,L.texttemplate=null}var Y=M.select(this).select("g.legendpoints"),W=Y.selectAll("path.scatterpts").data(O?E:[]);W.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",y),W.exit().remove(),W.call(b.pointStyle,L,c),O&&(E[0].mrc=3);var Q=Y.selectAll("g.pointtext").data(B?E:[]);Q.enter().append("g").classed("pointtext",!0).append("text").attr("transform",y),Q.exit().remove(),Q.selectAll("text").call(b.textPointStyle,L,c)}).each(function(w){var E=w[0].trace,L=M.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(E.visible&&E.type==="candlestick"?[w,w]:[]);L.enter().append("path").classed("legendcandle",!0).attr("d",function(C,P){return P?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",y).style("stroke-miterlimit",1),L.exit().remove(),L.each(function(C,P){var R=M.select(this),G=E[P?"increasing":"decreasing"],O=_(void 0,G.line,5,2);R.style("stroke-width",O+"px").call(d.fill,G.fillcolor),O&&d.stroke(R,G.line.color)})}).each(function(w){var E=w[0].trace,L=M.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(E.visible&&E.type==="ohlc"?[w,w]:[]);L.enter().append("path").classed("legendohlc",!0).attr("d",function(C,P){return P?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",y).style("stroke-miterlimit",1),L.exit().remove(),L.each(function(C,P){var R=M.select(this),G=E[P?"increasing":"decreasing"],O=_(void 0,G.line,5,2);R.style("fill","none").call(b.dashLine,G.line.dash,O),O&&d.stroke(R,G.line.color)})})}},42068:function(ee,z,e){e(93348),ee.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(ee,z,e){var M=e(73972),k=e(74875),l=e(41675),T=e(24255),b=e(34031).eraseActiveShape,d=e(71828),s=d._,t=ee.exports={};function i(g,h){var m,v,y=h.currentTarget,_=y.getAttribute("data-attr"),f=y.getAttribute("data-val")||!0,S=g._fullLayout,w={},E=l.list(g,null,!0),L=S._cartesianSpikesEnabled;if(_==="zoom"){var C,P=f==="in"?.5:2,R=(1+P)/2,G=(1-P)/2;for(v=0;v1?(J=["toggleHover"],Y=["resetViews"]):w?(K=["zoomInGeo","zoomOutGeo"],J=["hoverClosestGeo"],Y=["resetGeo"]):S?(J=["hoverClosest3d"],Y=["resetCameraDefault3d","resetCameraLastSave3d"]):R?(K=["zoomInMapbox","zoomOutMapbox"],J=["toggleHover"],Y=["resetViewMapbox"]):C?J=["hoverClosestGl2d"]:E?J=["hoverClosestPie"]:V?(J=["hoverClosestCartesian","hoverCompareCartesian"],Y=["resetViewSankey"]):J=["toggleHover"],f&&(J=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(pe){for(var ge=0;ge0)){var c=function(g,h,m){for(var v=m.filter(function(S){return h[S].anchor===g._id}),y=0,_=0;_=ye.max)ge=ie[we+1];else if(pe=ye.pmax)ge=ie[we+1];else if(pewe._length||_e+Re<0)return;be=Ee+Re,Ce=_e+Re;break;case Oe:if(Fe="col-resize",Ee+Re>we._length)return;be=Ee+Re,Ce=_e;break;case ke:if(Fe="col-resize",_e+Re<0)return;be=Ee,Ce=_e+Re;break;default:Fe="ew-resize",be=ve,Ce=ve+Re}if(Ce=0;C--){var P=h.append("path").attr(v).style("opacity",C?.1:y).call(T.stroke,f).call(T.fill,_).call(b.dashLine,C?"solid":w,C?4+S:S);if(o(P,u,x),E){var R=d(u.layout,"selections",x);P.style({cursor:"move"});var G={element:P.node(),plotinfo:g,gd:u,editHelpers:R,isActiveSelection:!0},O=M(m,u);k(O,P,G)}else P.style("pointer-events",C?"all":"none");L[C]=P}var V=L[0];L[1].node().addEventListener("click",function(){return function(N,B){if(r(N)){var H=+B.node().getAttribute("data-index");if(H>=0){if(H===N._fullLayout._activeSelectionIndex)return void a(N);N._fullLayout._activeSelectionIndex=H,N._fullLayout._deactivateSelection=a,i(N)}}}(u,V)})}(u._fullLayout._selectionLayer)}function o(u,p,c){var x=c.xref+c.yref;b.setClipUrl(u,"clip"+p._fullLayout._uid+x,p)}function a(u){r(u)&&u._fullLayout._activeSelectionIndex>=0&&(l(u),delete u._fullLayout._activeSelectionIndex,i(u))}ee.exports={draw:i,drawOne:n,activateLastSelection:function(u){if(r(u)){var p=u._fullLayout.selections.length-1;u._fullLayout._activeSelectionIndex=p,u._fullLayout._deactivateSelection=a,i(u)}}}},53777:function(ee,z,e){var M=e(79952).P,k=e(1426).extendFlat;ee.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:k({},M,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(ee){ee.exports=function(z,e,M){M("newselection.mode"),M("newselection.line.width")&&(M("newselection.line.color"),M("newselection.line.dash")),M("activeselection.fillcolor"),M("activeselection.opacity")}},35855:function(ee,z,e){var M=e(64505).selectMode,k=e(51873).clearOutline,l=e(60165),T=l.readPaths,b=l.writePaths,d=l.fixDatesForPaths;ee.exports=function(s,t){if(s.length){var i=s[0][0];if(i){var r=i.getAttribute("d"),n=t.gd,o=n._fullLayout.newselection,a=t.plotinfo,u=a.xaxis,p=a.yaxis,c=t.isActiveSelection,x=t.dragmode,g=(n.layout||{}).selections||[];if(!M(x)&&c!==void 0){var h=n._fullLayout._activeSelectionIndex;if(h-1,Pt=[];if(function(We){return We&&Array.isArray(We)&&We[0].hoverOnBox!==!0}(Tt)){Q(fe,Me,Re);var Mt=function(We,nt){var rt,Ie,De=We[0],et=-1,tt=[];for(Ie=0;Ie0?function(We,nt){var rt,Ie,De,et=[];for(De=0;De0&&et.push(rt);if(et.length===1&&et[0]===nt.searchInfo&&(Ie=nt.searchInfo.cd[0].trace).selectedpoints.length===nt.pointNumbers.length){for(De=0;De1||(Ie+=nt.selectedpoints.length)>1))return!1;return Ie===1}(Ge)&&(xt=pe(Mt))){for(He&&He.remove(),mt=0;mt=0})(Fe)&&Fe._fullLayout._deactivateShape(Fe),function(vt){return vt._fullLayout._activeSelectionIndex>=0}(Fe)&&Fe._fullLayout._deactivateSelection(Fe);var Re=Fe._fullLayout._zoomlayer,He=n(be),Ge=a(be);if(He||Ge){var Ke,at,Qe=Re.selectAll(".select-outline-"+Ce.id);Qe&&Fe._fullLayout._outlining&&(He&&(Ke=v(Qe,fe)),Ke&&l.call("_guiRelayout",Fe,{shapes:Ke}),Ge&&!te(fe)&&(at=y(Qe,fe)),at&&(Fe._fullLayout._noEmitSelectedAtStart=!0,l.call("_guiRelayout",Fe,{selections:at}).then(function(){Me&&_(Fe)})),Fe._fullLayout._outlining=!1)}Ce.selection={},Ce.selection.selectionDefs=fe.selectionDefs=[],Ce.selection.mergedPolygons=fe.mergedPolygons=[]}function ie(fe){return fe._id}function oe(fe,Me,be,Ce){if(!fe.calcdata)return[];var Fe,Re,He,Ge=[],Ke=Me.map(ie),at=be.map(ie);for(He=0;He0?Ce[0]:be;return!!Me.selectedpoints&&Me.selectedpoints.indexOf(Fe)>-1}function ge(fe,Me,be){var Ce,Fe;for(Ce=0;Ce-1&&Me;if(!Re&&Me){var nn=se(fe,!0);if(nn.length){var Jt=nn[0].xref,rn=nn[0].yref;if(Jt&&rn){var fn=Ee(nn);_e([L(fe,Jt,"x"),L(fe,rn,"y")])(un,fn)}}fe._fullLayout._noEmitSelectedAtStart?fe._fullLayout._noEmitSelectedAtStart=!1:jt&&ze(fe,un),xt._reselect=!1}if(!Re&&xt._deselect){var vn=xt._deselect;(function(Mn,En,bn){for(var Ln=0;Ln=0)st._fullLayout._deactivateShape(st);else if(!at){var fn=ot.clickmode;E.done(yn).then(function(){if(E.clear(yn),Jt===2){for(Dt.remove(),De=0;De-1&&K(rn,st,Ce.xaxes,Ce.yaxes,Ce.subplot,Ce,Dt),fn==="event"&&ze(st,void 0);d.click(st,rn)}).catch(f.error)}},Ce.doneFn=function(){Ht.remove(),E.done(yn).then(function(){E.clear(yn),!mt&&Ie&&Ce.selectionDefs&&(Ie.subtract=Rt,Ce.selectionDefs.push(Ie),Ce.mergedPolygons.length=0,[].push.apply(Ce.mergedPolygons,rt)),(mt||at)&&re(Ce,mt),Ce.doneFnCompleted&&Ce.doneFnCompleted(un),Qe&&ze(st,tt)}).catch(f.error)}},clearOutline:x,clearSelectionsCache:re,selectOnClick:K}},89827:function(ee,z,e){var M=e(50215),k=e(41940),l=e(82196).line,T=e(79952).P,b=e(1426).extendFlat,d=e(44467).templatedArray,s=(e(24695),e(9012)),t=e(5386).R,i=e(37281);ee.exports=d("shape",{visible:b({},s.visible,{editType:"calc+arraydraw"}),showlegend:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},legend:b({},s.legend,{editType:"calc+arraydraw"}),legendgroup:b({},s.legendgroup,{editType:"calc+arraydraw"}),legendgrouptitle:{text:b({},s.legendgrouptitle.text,{editType:"calc+arraydraw"}),font:k({editType:"calc+arraydraw"}),editType:"calc+arraydraw"},legendrank:b({},s.legendrank,{editType:"calc+arraydraw"}),legendwidth:b({},s.legendwidth,{editType:"calc+arraydraw"}),type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:b({},M.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:b({},M.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:b({},l.color,{editType:"arraydraw"}),width:b({},l.width,{editType:"calc+arraydraw"}),dash:b({},T,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:t({},{keys:Object.keys(i)}),font:k({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(ee,z,e){var M=e(71828),k=e(89298),l=e(21459),T=e(30477);function b(i){return s(i.line.width,i.xsizemode,i.x0,i.x1,i.path,!1)}function d(i){return s(i.line.width,i.ysizemode,i.y0,i.y1,i.path,!0)}function s(i,r,n,o,a,u){var p=i/2,c=u;if(r==="pixel"){var x=a?T.extractPathCoords(a,u?l.paramIsY:l.paramIsX):[n,o],g=M.aggNums(Math.max,null,x),h=M.aggNums(Math.min,null,x),m=h<0?Math.abs(h)+p:p,v=g>0?g+p:p;return{ppad:p,ppadplus:c?m:v,ppadminus:c?v:m}}return{ppad:p}}function t(i,r,n,o,a){var u=i.type==="category"||i.type==="multicategory"?i.r2c:i.d2c;if(r!==void 0)return[u(r),u(n)];if(o){var p,c,x,g,h=1/0,m=-1/0,v=o.match(l.segmentRE);for(i.type==="date"&&(u=T.decodeDate(u)),p=0;pm&&(m=g)));return m>=h?[h,m]:void 0}}ee.exports=function(i){var r=i._fullLayout,n=M.filterVisible(r.shapes);if(n.length&&i._fullData.length)for(var o=0;o=ie?oe-pe:pe-oe,-180/Math.PI*Math.atan2(ge,we)}(m,y,v,_):0),w.call(function(ie){return ie.call(T.font,S).attr({}),l.convertToTspans(ie,r),ie});var Y=function(ie,oe,ce,pe,ge,we,ye){var me,Oe,ke,Te,le=ge.label.textposition,se=ge.label.textangle,ne=ge.label.padding,ve=ge.type,Ee=Math.PI/180*we,_e=Math.sin(Ee),ze=Math.cos(Ee),Ne=ge.label.xanchor,fe=ge.label.yanchor;if(ve==="line"){le==="start"?(me=ie,Oe=oe):le==="end"?(me=ce,Oe=pe):(me=(ie+ce)/2,Oe=(oe+pe)/2),Ne==="auto"&&(Ne=le==="start"?se==="auto"?ce>ie?"left":ceie?"right":ceie?"right":ceie?"left":ce1&&(me.length!==2||me[1][0]!=="Z")&&(V===0&&(me[0][0]="M"),f[O]=me,C(),P())}}()}}function ie(ge,we){(function(ye,me){if(f.length)for(var Oe=0;OeOe?(le=ye,Ee="y0",se=Oe,_e="y1"):(le=Oe,Ee="y1",se=ye,_e="y0"),Ye(rt),We(pe,oe),function(Ie,De,et){var tt=De.xref,gt=De.yref,ht=T.getFromId(et,tt),dt=T.getFromId(et,gt),ct="";tt==="paper"||ht.autorange||(ct+=tt),gt==="paper"||dt.autorange||(ct+=gt),r.setClipUrl(Ie,ct?"clip"+et._fullLayout._uid+ct:null,et)}(ie,oe,re),Mt.moveFn=Me==="move"?Xe:Ve,Mt.altKey=rt.altKey)},doneFn:function(){g(re)||(a(ie),nt(pe),v(ie,re,oe),k.call("_guiRelayout",re,ge.getUpdateObj()))},clickFn:function(){g(re)||nt(pe)}};function Ye(rt){if(g(re))Me=null;else if(He)Me=rt.target.tagName==="path"?"move":rt.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Ie=Mt.element.getBoundingClientRect(),De=Ie.right-Ie.left,et=Ie.bottom-Ie.top,tt=rt.clientX-Ie.left,gt=rt.clientY-Ie.top,ht=!Ge&&De>be&&et>Ce&&!rt.shiftKey?o.getCursor(tt/De,1-gt/et):"move";a(ie,ht),Me=ht.split("-")[0]}}function Xe(rt,Ie){if(oe.type==="path"){var De=function(gt){return gt},et=De,tt=De;Fe?Ke("xanchor",oe.xanchor=Tt(ke+rt)):(et=function(gt){return Tt(ot(gt)+rt)},Qe&&Qe.type==="date"&&(et=p.encodeDate(et))),Re?Ke("yanchor",oe.yanchor=wt(Te+Ie)):(tt=function(gt){return wt(mt(gt)+Ie)},xt&&xt.type==="date"&&(tt=p.encodeDate(tt))),Ke("path",oe.path=y(fe,et,tt))}else Fe?Ke("xanchor",oe.xanchor=Tt(ke+rt)):(Ke("x0",oe.x0=Tt(we+rt)),Ke("x1",oe.x1=Tt(me+rt))),Re?Ke("yanchor",oe.yanchor=wt(Te+Ie)):(Ke("y0",oe.y0=wt(ye+Ie)),Ke("y1",oe.y1=wt(Oe+Ie)));ie.attr("d",c(re,oe)),We(pe,oe),s(re,ce,oe,at)}function Ve(rt,Ie){if(Ge){var De=function(Wt){return Wt},et=De,tt=De;Fe?Ke("xanchor",oe.xanchor=Tt(ke+rt)):(et=function(Wt){return Tt(ot(Wt)+rt)},Qe&&Qe.type==="date"&&(et=p.encodeDate(et))),Re?Ke("yanchor",oe.yanchor=wt(Te+Ie)):(tt=function(Wt){return wt(mt(Wt)+Ie)},xt&&xt.type==="date"&&(tt=p.encodeDate(tt))),Ke("path",oe.path=y(fe,et,tt))}else if(He){if(Me==="resize-over-start-point"){var gt=we+rt,ht=Re?ye-Ie:ye+Ie;Ke("x0",oe.x0=Fe?gt:Tt(gt)),Ke("y0",oe.y0=Re?ht:wt(ht))}else if(Me==="resize-over-end-point"){var dt=me+rt,ct=Re?Oe-Ie:Oe+Ie;Ke("x1",oe.x1=Fe?dt:Tt(dt)),Ke("y1",oe.y1=Re?ct:wt(ct))}}else{var kt=function(Wt){return Me.indexOf(Wt)!==-1},ut=kt("n"),ft=kt("s"),bt=kt("w"),It=kt("e"),Rt=ut?le+Ie:le,Dt=ft?se+Ie:se,Kt=bt?ne+rt:ne,qt=It?ve+rt:ve;Re&&(ut&&(Rt=le-Ie),ft&&(Dt=se-Ie)),(!Re&&Dt-Rt>Ce||Re&&Rt-Dt>Ce)&&(Ke(Ee,oe[Ee]=Re?Rt:wt(Rt)),Ke(_e,oe[_e]=Re?Dt:wt(Dt))),qt-Kt>be&&(Ke(ze,oe[ze]=Fe?Kt:Tt(Kt)),Ke(Ne,oe[Ne]=Fe?qt:Tt(qt)))}ie.attr("d",c(re,oe)),We(pe,oe),s(re,ce,oe,at)}function We(rt,Ie){(Fe||Re)&&function(){var De=Ie.type!=="path",et=rt.selectAll(".visual-cue").data([0]);et.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var tt=ot(Fe?Ie.xanchor:l.midRange(De?[Ie.x0,Ie.x1]:p.extractPathCoords(Ie.path,u.paramIsX))),gt=mt(Re?Ie.yanchor:l.midRange(De?[Ie.y0,Ie.y1]:p.extractPathCoords(Ie.path,u.paramIsY)));if(tt=p.roundPositionForSharpStrokeRendering(tt,1),gt=p.roundPositionForSharpStrokeRendering(gt,1),Fe&&Re){var ht="M"+(tt-1-1)+","+(gt-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";et.attr("d",ht)}else if(Fe){var dt="M"+(tt-1-1)+","+(gt-9-1)+"v18 h2 v-18 Z";et.attr("d",dt)}else{var ct="M"+(tt-9-1)+","+(gt-1-1)+"h18 v2 h-18 Z";et.attr("d",ct)}}()}function nt(rt){rt.selectAll(".visual-cue").remove()}o.init(Mt),Pt.node().onmousemove=Ye}(f,Y,E,S,P,K):E.editable===!0&&Y.style("pointer-events",q||i.opacity(V)*O<=.5?"stroke":"all");Y.node().addEventListener("click",function(){return function(re,ie){if(h(re)){var oe=+ie.node().getAttribute("data-index");if(oe>=0){if(oe===re._fullLayout._activeShapeIndex)return void _(re);re._fullLayout._activeShapeIndex=oe,re._fullLayout._deactivateShape=_,x(re)}}}(f,Y)})}E._input&&E.visible===!0&&(E.layer!=="below"?C(f._fullLayout._shapeUpperLayer):E.xref==="paper"||E.yref==="paper"?C(f._fullLayout._shapeLowerLayer):L._hadPlotinfo?C((L.mainplotinfo||L).shapelayer):C(f._fullLayout._shapeLowerLayer))}function v(f,S,w){var E=(w.xref+w.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");r.setClipUrl(f,E?"clip"+S._fullLayout._uid+E:null,S)}function y(f,S,w){return f.replace(u.segmentRE,function(E){var L=0,C=E.charAt(0),P=u.paramIsX[C],R=u.paramIsY[C],G=u.numParams[C];return C+E.substr(1).replace(u.paramRE,function(O){return L>=G||(P[L]?O=S(O):R[L]&&(O=w(O)),L++),O})})}function _(f){h(f)&&f._fullLayout._activeShapeIndex>=0&&(t(f),delete f._fullLayout._activeShapeIndex,x(f))}ee.exports={draw:x,drawOne:m,eraseActiveShape:function(f){if(h(f)){t(f);var S=f._fullLayout._activeShapeIndex,w=(f.layout||{}).shapes||[];if(S0&&mJ&&(W="X"),W});return H>J&&(Y=Y.replace(/[\s,]*X.*/,""),k.log("Ignoring extra params in segment "+B)),q+Y})}(b,s,i);if(b.xsizemode==="pixel"){var m=s(b.xanchor);r=m+b.x0,n=m+b.x1}else r=s(b.x0),n=s(b.x1);if(b.ysizemode==="pixel"){var v=i(b.yanchor);o=v-b.y0,a=v-b.y1}else o=i(b.y0),a=i(b.y1);if(u==="line")return"M"+r+","+o+"L"+n+","+a;if(u==="rect")return"M"+r+","+o+"H"+n+"V"+a+"H"+r+"Z";var y=(r+n)/2,_=(o+a)/2,f=Math.abs(y-r),S=Math.abs(_-o),w="A"+f+","+S,E=y+f+","+_;return"M"+E+w+" 0 1,1 "+y+","+(_-S)+w+" 0 0,1 "+E+"Z"}},89853:function(ee,z,e){var M=e(34031);ee.exports={moduleType:"component",name:"shapes",layoutAttributes:e(89827),supplyLayoutDefaults:e(84726),supplyDrawNewShapeDefaults:e(45547),includeBasePlot:e(76325)("shapes"),calcAutorange:e(5627),draw:M.draw,drawOne:M.drawOne}},37281:function(ee){function z(l,T){return T?T.d2l(l):l}function e(l,T){return T?T.l2d(l):l}function M(l,T){return z(l.x1,T)-z(l.x0,T)}function k(l,T,b){return z(l.y1,b)-z(l.y0,b)}ee.exports={x0:function(l){return l.x0},x1:function(l){return l.x1},y0:function(l){return l.y0},y1:function(l){return l.y1},slope:function(l,T,b){return l.type!=="line"?void 0:k(l,0,b)/M(l,T)},dx:M,dy:k,width:function(l,T){return Math.abs(M(l,T))},height:function(l,T,b){return Math.abs(k(l,0,b))},length:function(l,T,b){return l.type!=="line"?void 0:Math.sqrt(Math.pow(M(l,T),2)+Math.pow(k(l,0,b),2))},xcenter:function(l,T){return e((z(l.x1,T)+z(l.x0,T))/2,T)},ycenter:function(l,T,b){return e((z(l.y1,b)+z(l.y0,b))/2,b)}}},75067:function(ee,z,e){var M=e(41940),k=e(35025),l=e(1426).extendDeepAll,T=e(30962).overrideAll,b=e(85594),d=e(44467).templatedArray,s=e(98292),t=d("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});ee.exports=T(d("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:t,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:l(k({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:b.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:M({})},font:M({}),activebgcolor:{valType:"color",dflt:s.gripBgActiveColor},bgcolor:{valType:"color",dflt:s.railBgColor},bordercolor:{valType:"color",dflt:s.railBorderColor},borderwidth:{valType:"number",min:0,dflt:s.railBorderWidth},ticklen:{valType:"number",min:0,dflt:s.tickLength},tickcolor:{valType:"color",dflt:s.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:s.minorTickLength}}),"arraydraw","from-root")},98292:function(ee){ee.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(ee,z,e){var M=e(71828),k=e(85501),l=e(75067),T=e(98292).name,b=l.steps;function d(t,i,r){function n(c,x){return M.coerce(t,i,l,c,x)}for(var o=k(t,i,{name:"steps",handleItemDefaults:s}),a=0,u=0;u0&&(H=H.transition().duration(R.transition.duration).ease(R.transition.easing)),H.attr("transform",d(B-.5*i.gripWidth,R._dims.currentValueTotalHeight))}}function w(P,R){var G=P._dims;return G.inputAreaStart+i.stepInset+(G.inputAreaLength-2*i.stepInset)*Math.min(1,Math.max(0,R))}function E(P,R){var G=P._dims;return Math.min(1,Math.max(0,(R-i.stepInset-G.inputAreaStart)/(G.inputAreaLength-2*i.stepInset-2*G.inputAreaStart)))}function L(P,R,G){var O=G._dims,V=b.ensureSingle(P,"rect",i.railTouchRectClass,function(N){N.call(_,R,P,G).style("pointer-events","all")});V.attr({width:O.inputAreaLength,height:Math.max(O.inputAreaWidth,i.tickOffset+G.ticklen+O.labelHeight)}).call(l.fill,G.bgcolor).attr("opacity",0),T.setTranslate(V,0,O.currentValueTotalHeight)}function C(P,R){var G=R._dims,O=G.inputAreaLength-2*i.railInset,V=b.ensureSingle(P,"rect",i.railRectClass);V.attr({width:O,height:i.railWidth,rx:i.railRadius,ry:i.railRadius,"shape-rendering":"crispEdges"}).call(l.stroke,R.bordercolor).call(l.fill,R.bgcolor).style("stroke-width",R.borderwidth+"px"),T.setTranslate(V,i.railInset,.5*(G.inputAreaWidth-i.railWidth)+G.currentValueTotalHeight)}ee.exports=function(P){var R=P._context.staticPlot,G=P._fullLayout,O=function(te,K){for(var J=te[i.name],Y=[],W=0;W0?[0]:[]);function N(te){te._commandObserver&&(te._commandObserver.remove(),delete te._commandObserver),k.autoMargin(P,u(te))}if(V.enter().append("g").classed(i.containerClassName,!0).style("cursor",R?null:"ew-resize"),V.exit().each(function(){M.select(this).selectAll("g."+i.groupClassName).each(N)}).remove(),O.length!==0){var B=V.selectAll("g."+i.groupClassName).data(O,p);B.enter().append("g").classed(i.groupClassName,!0),B.exit().each(N).remove();for(var H=0;H0||me<0){var le={left:[-Oe,0],right:[Oe,0],top:[0,-Oe],bottom:[0,Oe]}[v.side];Y.attr("transform",d(le[0],le[1]))}}}return H.call(q),V&&(C?H.on(".opacity",null):(w=0,E=!0,H.text(h).on("mouseover.opacity",function(){M.select(this).transition().duration(r.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){M.select(this).transition().duration(r.HIDE_PLACEHOLDER).style("opacity",0)})),H.call(i.makeEditable,{gd:a}).on("edit",function(J){m!==void 0?T.call("_guiRestyle",a,g,J,m):T.call("_guiRelayout",a,g,J)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(q)}).on("input",function(J){this.text(J||" ").call(i.positionText,y.x,y.y)})),H.classed("js-placeholder",E),f}}},7163:function(ee,z,e){var M=e(41940),k=e(22399),l=e(1426).extendFlat,T=e(30962).overrideAll,b=e(35025),d=e(44467).templatedArray,s=d("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});ee.exports=T(d("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:s,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:l(b({editType:"arraydraw"}),{}),font:M({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:k.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(ee){ee.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"\u25C4",right:"\u25BA",up:"\u25B2",down:"\u25BC"}}},64897:function(ee,z,e){var M=e(71828),k=e(85501),l=e(7163),T=e(75909).name,b=l.buttons;function d(t,i,r){function n(o,a){return M.coerce(t,i,l,o,a)}n("visible",k(t,i,{name:"buttons",handleItemDefaults:s}).length>0)&&(n("active"),n("direction"),n("type"),n("showactive"),n("x"),n("y"),M.noneOrAll(t,i,["x","y"]),n("xanchor"),n("yanchor"),n("pad.t"),n("pad.r"),n("pad.b"),n("pad.l"),M.coerceFont(n,"font",r.font),n("bgcolor",r.paper_bgcolor),n("bordercolor"),n("borderwidth"))}function s(t,i){function r(n,o){return M.coerce(t,i,b,n,o)}r("visible",t.method==="skip"||Array.isArray(t.args))&&(r("method"),r("args"),r("args2"),r("label"),r("execute"))}ee.exports=function(t,i){k(t,i,{name:T,handleItemDefaults:d})}},13689:function(ee,z,e){var M=e(39898),k=e(74875),l=e(7901),T=e(91424),b=e(71828),d=e(63893),s=e(44467).arrayEditor,t=e(18783).LINE_SPACING,i=e(75909),r=e(25849);function n(w){return w._index}function o(w,E){return+w.attr(i.menuIndexAttrName)===E._index}function a(w,E,L,C,P,R,G,O){E.active=G,s(w.layout,i.name,E).applyUpdate("active",G),E.type==="buttons"?p(w,C,null,null,E):E.type==="dropdown"&&(P.attr(i.menuIndexAttrName,"-1"),u(w,C,P,R,E),O||p(w,C,P,R,E))}function u(w,E,L,C,P){var R=b.ensureSingle(E,"g",i.headerClassName,function(H){H.style("pointer-events","all")}),G=P._dims,O=P.active,V=P.buttons[O]||i.blankHeaderOpts,N={y:P.pad.t,yPad:0,x:P.pad.l,xPad:0,index:0},B={width:G.headerWidth,height:G.headerHeight};R.call(c,P,V,w).call(f,P,N,B),b.ensureSingle(E,"text",i.headerArrowClassName,function(H){H.attr("text-anchor","end").call(T.font,P.font).text(i.arrowSymbol[P.direction])}).attr({x:G.headerWidth-i.arrowOffsetX+P.pad.l,y:G.headerHeight/2+i.textOffsetY+P.pad.t}),R.on("click",function(){L.call(S,String(o(L,P)?-1:P._index)),p(w,E,L,C,P)}),R.on("mouseover",function(){R.call(m)}),R.on("mouseout",function(){R.call(v,P)}),T.setTranslate(E,G.lx,G.ly)}function p(w,E,L,C,P){L||(L=E).attr("pointer-events","all");var R=function(Y){return+Y.attr(i.menuIndexAttrName)==-1}(L)&&P.type!=="buttons"?[]:P.buttons,G=P.type==="dropdown"?i.dropdownButtonClassName:i.buttonClassName,O=L.selectAll("g."+G).data(b.filterVisible(R)),V=O.enter().append("g").classed(G,!0),N=O.exit();P.type==="dropdown"?(V.attr("opacity","0").transition().attr("opacity","1"),N.transition().attr("opacity","0").remove()):N.remove();var B=0,H=0,q=P._dims,te=["up","down"].indexOf(P.direction)!==-1;P.type==="dropdown"&&(te?H=q.headerHeight+i.gapButtonHeader:B=q.headerWidth+i.gapButtonHeader),P.type==="dropdown"&&P.direction==="up"&&(H=-i.gapButtonHeader+i.gapButton-q.openHeight),P.type==="dropdown"&&P.direction==="left"&&(B=-i.gapButtonHeader+i.gapButton-q.openWidth);var K={x:q.lx+B+P.pad.l,y:q.ly+H+P.pad.t,yPad:i.gapButton,xPad:i.gapButton,index:0},J={l:K.x+P.borderwidth,t:K.y+P.borderwidth};O.each(function(Y,W){var Q=M.select(this);Q.call(c,P,Y,w).call(f,P,K),Q.on("click",function(){M.event.defaultPrevented||(Y.execute&&(Y.args2&&P.active===W?(a(w,P,0,E,L,C,-1),k.executeAPICommand(w,Y.method,Y.args2)):(a(w,P,0,E,L,C,W),k.executeAPICommand(w,Y.method,Y.args))),w.emit("plotly_buttonclicked",{menu:P,button:Y,active:P.active}))}),Q.on("mouseover",function(){Q.call(m)}),Q.on("mouseout",function(){Q.call(v,P),O.call(h,P)})}),O.call(h,P),te?(J.w=Math.max(q.openWidth,q.headerWidth),J.h=K.y-J.t):(J.w=K.x-J.l,J.h=Math.max(q.openHeight,q.headerHeight)),J.direction=P.direction,C&&(O.size()?function(Y,W,Q,re,ie,oe){var ce,pe,ge,we=ie.direction,ye=we==="up"||we==="down",me=ie._dims,Oe=ie.active;if(ye)for(pe=0,ge=0;ge0?[0]:[]);if(P.enter().append("g").classed(i.containerClassName,!0).style("cursor","pointer"),P.exit().each(function(){M.select(this).selectAll("g."+i.headerGroupClassName).each(C)}).remove(),L.length!==0){var R=P.selectAll("g."+i.headerGroupClassName).data(L,n);R.enter().append("g").classed(i.headerGroupClassName,!0);for(var G=b.ensureSingle(P,"g",i.dropdownButtonGroupClassName,function(H){H.style("pointer-events","all")}),O=0;Of,E=b.barLength+2*b.barPad,L=b.barWidth+2*b.barPad,C=c,P=g+h;P+L>n&&(P=n-L);var R=this.container.selectAll("rect.scrollbar-horizontal").data(w?[0]:[]);R.exit().on(".drag",null).remove(),R.enter().append("rect").classed("scrollbar-horizontal",!0).call(k.fill,b.barColor),w?(this.hbar=R.attr({rx:b.barRadius,ry:b.barRadius,x:C,y:P,width:E,height:L}),this._hbarXMin=C+E/2,this._hbarTranslateMax=f-E):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var G=h>S,O=b.barWidth+2*b.barPad,V=b.barLength+2*b.barPad,N=c+x,B=g;N+O>r&&(N=r-O);var H=this.container.selectAll("rect.scrollbar-vertical").data(G?[0]:[]);H.exit().on(".drag",null).remove(),H.enter().append("rect").classed("scrollbar-vertical",!0).call(k.fill,b.barColor),G?(this.vbar=H.attr({rx:b.barRadius,ry:b.barRadius,x:N,y:B,width:O,height:V}),this._vbarYMin=B+V/2,this._vbarTranslateMax=S-V):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var q=this.id,te=o-.5,K=G?a+O+.5:a+.5,J=u-.5,Y=w?p+L+.5:p+.5,W=i._topdefs.selectAll("#"+q).data(w||G?[0]:[]);if(W.exit().remove(),W.enter().append("clipPath").attr("id",q).append("rect"),w||G?(this._clipRect=W.select("rect").attr({x:Math.floor(te),y:Math.floor(J),width:Math.ceil(K)-Math.floor(te),height:Math.ceil(Y)-Math.floor(J)}),this.container.call(l.setClipUrl,q,this.gd),this.bg.attr({x:c,y:g,width:x,height:h})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(l.setClipUrl,null),delete this._clipRect),w||G){var Q=M.behavior.drag().on("dragstart",function(){M.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(Q);var re=M.behavior.drag().on("dragstart",function(){M.event.sourceEvent.preventDefault(),M.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));w&&this.hbar.on(".drag",null).call(re),G&&this.vbar.on(".drag",null).call(re)}this.setTranslate(s,t)},b.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(l.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},b.prototype._onBoxDrag=function(){var d=this.translateX,s=this.translateY;this.hbar&&(d-=M.event.dx),this.vbar&&(s-=M.event.dy),this.setTranslate(d,s)},b.prototype._onBoxWheel=function(){var d=this.translateX,s=this.translateY;this.hbar&&(d+=M.event.deltaY),this.vbar&&(s+=M.event.deltaY),this.setTranslate(d,s)},b.prototype._onBarDrag=function(){var d=this.translateX,s=this.translateY;if(this.hbar){var t=d+this._hbarXMin,i=t+this._hbarTranslateMax;d=(T.constrain(M.event.x,t,i)-t)/(i-t)*(this.position.w-this._box.w)}if(this.vbar){var r=s+this._vbarYMin,n=r+this._vbarTranslateMax;s=(T.constrain(M.event.y,r,n)-r)/(n-r)*(this.position.h-this._box.h)}this.setTranslate(d,s)},b.prototype.setTranslate=function(d,s){var t=this.position.w-this._box.w,i=this.position.h-this._box.h;if(d=T.constrain(d||0,0,t),s=T.constrain(s||0,0,i),this.translateX=d,this.translateY=s,this.container.call(l.setTranslate,this._box.l-this.position.l-d,this._box.t-this.position.t-s),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+d-.5),y:Math.floor(this.position.t+s-.5)}),this.hbar){var r=d/t;this.hbar.call(l.setTranslate,d+r*this._hbarTranslateMax,s)}if(this.vbar){var n=s/i;this.vbar.call(l.setTranslate,d,s+n*this._vbarTranslateMax)}}},18783:function(ee){ee.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(ee){ee.exports={axisRefDescription:function(z,e,M){return["If set to a",z,"axis id (e.g. *"+z+"* or","*"+z+"2*), the `"+z+"` position refers to a",z,"coordinate. If set to *paper*, the `"+z+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+M+"). If set to a",z,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+z+"2 domain* refers to the domain of the second",z," axis and a",z,"position of 0.5 refers to the","point between the",e,"and the",M,"of the domain of the","second",z,"axis."].join(" ")}}},22372:function(ee){ee.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"\u25B2"},DECREASING:{COLOR:"#FF4136",SYMBOL:"\u25BC"}}},31562:function(ee){ee.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(ee){ee.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(ee){ee.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(ee){ee.exports={circle:"\u25CF","circle-open":"\u25CB",square:"\u25A0","square-open":"\u25A1",diamond:"\u25C6","diamond-open":"\u25C7",cross:"+",x:"\u274C"}},37822:function(ee){ee.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(ee){ee.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"\u2212"}},32396:function(ee,z){z.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],z.STYLE=z.CSS_DECLARATIONS.map(function(e){return e.join(": ")+"; "}).join("")},77922:function(ee,z){z.xmlns="http://www.w3.org/2000/xmlns/",z.svg="http://www.w3.org/2000/svg",z.xlink="http://www.w3.org/1999/xlink",z.svgAttrs={xmlns:z.svg,"xmlns:xlink":z.xlink}},8729:function(ee,z,e){z.version=e(11506).version,e(7417),e(98847);for(var M=e(73972),k=z.register=M.register,l=e(10641),T=Object.keys(l),b=0;b",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(ee,z){z.isLeftAnchor=function(e){return e.xanchor==="left"||e.xanchor==="auto"&&e.x<=.3333333333333333},z.isCenterAnchor=function(e){return e.xanchor==="center"||e.xanchor==="auto"&&e.x>.3333333333333333&&e.x<.6666666666666666},z.isRightAnchor=function(e){return e.xanchor==="right"||e.xanchor==="auto"&&e.x>=.6666666666666666},z.isTopAnchor=function(e){return e.yanchor==="top"||e.yanchor==="auto"&&e.y>=.6666666666666666},z.isMiddleAnchor=function(e){return e.yanchor==="middle"||e.yanchor==="auto"&&e.y>.3333333333333333&&e.y<.6666666666666666},z.isBottomAnchor=function(e){return e.yanchor==="bottom"||e.yanchor==="auto"&&e.y<=.3333333333333333}},26348:function(ee,z,e){var M=e(64872),k=M.mod,l=M.modHalf,T=Math.PI,b=2*T;function d(r){return Math.abs(r[1]-r[0])>b-1e-14}function s(r,n){return l(n-r,b)}function t(r,n){if(d(n))return!0;var o,a;n[0](a=k(a,b))&&(a+=b);var u=k(r,b),p=u+b;return u>=o&&u<=a||p>=o&&p<=a}function i(r,n,o,a,u,p,c){u=u||0,p=p||0;var x,g,h,m,v,y=d([o,a]);function _(E,L){return[E*Math.cos(L)+u,p-E*Math.sin(L)]}y?(x=0,g=T,h=b):o=u&&r<=p);var u,p},pathArc:function(r,n,o,a,u){return i(null,r,n,o,a,u,0)},pathSector:function(r,n,o,a,u){return i(null,r,n,o,a,u,1)},pathAnnulus:function(r,n,o,a,u,p){return i(r,n,o,a,u,p,1)}}},73627:function(ee,z){var e=Array.isArray,M=ArrayBuffer,k=DataView;function l(d){return M.isView(d)&&!(d instanceof k)}function T(d){return e(d)||l(d)}function b(d,s,t){if(T(d)){if(T(d[0])){for(var i=t,r=0;rp.max?a.set(u):a.set(+o)}},integer:{coerceFunction:function(o,a,u,p){o%1||!M(o)||p.min!==void 0&&op.max?a.set(u):a.set(+o)}},string:{coerceFunction:function(o,a,u,p){if(typeof o!="string"){var c=typeof o=="number";p.strict!==!0&&c?a.set(String(o)):a.set(u)}else p.noBlank&&!o?a.set(u):a.set(o)}},color:{coerceFunction:function(o,a,u){k(o).isValid()?a.set(o):a.set(u)}},colorlist:{coerceFunction:function(o,a,u){Array.isArray(o)&&o.length&&o.every(function(p){return k(p).isValid()})?a.set(o):a.set(u)}},colorscale:{coerceFunction:function(o,a,u){a.set(T.get(o,u))}},angle:{coerceFunction:function(o,a,u){o==="auto"?a.set("auto"):M(o)?a.set(i(+o,360)):a.set(u)}},subplotid:{coerceFunction:function(o,a,u,p){var c=p.regex||t(u);typeof o=="string"&&c.test(o)?a.set(o):a.set(u)},validateFunction:function(o,a){var u=a.dflt;return o===u||typeof o=="string"&&!!t(u).test(o)}},flaglist:{coerceFunction:function(o,a,u,p){if((p.extras||[]).indexOf(o)===-1)if(typeof o=="string"){for(var c=o.split("+"),x=0;x=M&&R<=k?R:t}if(typeof R!="string"&&typeof R!="number")return t;R=String(R);var B=h(G),H=R.charAt(0);!B||H!=="G"&&H!=="g"||(R=R.substr(1),G="");var q=B&&G.substr(0,7)==="chinese",te=R.match(q?x:c);if(!te)return t;var K=te[1],J=te[3]||"1",Y=Number(te[5]||1),W=Number(te[7]||0),Q=Number(te[9]||0),re=Number(te[11]||0);if(B){if(K.length===2)return t;var ie;K=Number(K);try{var oe=u.getComponentMethod("calendars","getCal")(G);if(q){var ce=J.charAt(J.length-1)==="i";J=parseInt(J,10),ie=oe.newDate(K,oe.toMonthIndex(K,J,ce),Y)}else ie=oe.newDate(K,Number(J),Y)}catch{return t}return ie?(ie.toJD()-a)*i+W*r+Q*n+re*o:t}K=K.length===2?(Number(K)+2e3-g)%100+g:Number(K),J-=1;var pe=new Date(Date.UTC(2e3,J,Y,W,Q));return pe.setUTCFullYear(K),pe.getUTCMonth()!==J||pe.getUTCDate()!==Y?t:pe.getTime()+re*o},M=z.MIN_MS=z.dateTime2ms("-9999"),k=z.MAX_MS=z.dateTime2ms("9999-12-31 23:59:59.9999"),z.isDateTime=function(R,G){return z.dateTime2ms(R,G)!==t};var v=90*i,y=3*r,_=5*n;function f(R,G,O,V,N){if((G||O||V||N)&&(R+=" "+m(G,2)+":"+m(O,2),(V||N)&&(R+=":"+m(V,2),N))){for(var B=4;N%10==0;)B-=1,N/=10;R+="."+m(N,B)}return R}z.ms2DateTime=function(R,G,O){if(typeof R!="number"||!(R>=M&&R<=k))return t;G||(G=0);var V,N,B,H,q,te,K=Math.floor(10*d(R+.05,1)),J=Math.round(R-K/10);if(h(O)){var Y=Math.floor(J/i)+a,W=Math.floor(d(R,i));try{V=u.getComponentMethod("calendars","getCal")(O).fromJD(Y).formatDate("yyyy-mm-dd")}catch{V=p("G%Y-%m-%d")(new Date(J))}if(V.charAt(0)==="-")for(;V.length<11;)V="-0"+V.substr(1);else for(;V.length<10;)V="0"+V;N=G=M+i&&R<=k-i))return t;var G=Math.floor(10*d(R+.05,1)),O=new Date(Math.round(R-G/10));return f(l("%Y-%m-%d")(O),O.getHours(),O.getMinutes(),O.getSeconds(),10*O.getUTCMilliseconds()+G)},z.cleanDate=function(R,G,O){if(R===t)return G;if(z.isJSDate(R)||typeof R=="number"&&isFinite(R)){if(h(O))return b.error("JS Dates and milliseconds are incompatible with world calendars",R),G;if(!(R=z.ms2DateTimeLocal(+R))&&G!==void 0)return G}else if(!z.isDateTime(R,O))return b.error("unrecognized date",R),G;return R};var S=/%\d?f/g,w=/%h/g,E={1:"1",2:"1",3:"2",4:"2"};function L(R,G,O,V){R=R.replace(S,function(B){var H=Math.min(+B.charAt(1)||6,6);return(G/1e3%1+2).toFixed(H).substr(2).replace(/0+$/,"")||"0"});var N=new Date(Math.floor(G+.05));if(R=R.replace(w,function(){return E[O("%q")(N)]}),h(V))try{R=u.getComponentMethod("calendars","worldCalFmt")(R,G,V)}catch{return"Invalid"}return O(R)(N)}var C=[59,59.9,59.99,59.999,59.9999];z.formatDate=function(R,G,O,V,N,B){if(N=h(N)&&N,!G)if(O==="y")G=B.year;else if(O==="m")G=B.month;else{if(O!=="d")return function(H,q){var te=d(H+.05,i),K=m(Math.floor(te/r),2)+":"+m(d(Math.floor(te/n),60),2);if(q!=="M"){T(q)||(q=0);var J=(100+Math.min(d(H/o,60),C[q])).toFixed(q).substr(1);q>0&&(J=J.replace(/0+$/,"").replace(/[\.]$/,"")),K+=":"+J}return K}(R,O)+` `+L(B.dayMonthYear,R,V,N);G=B.dayMonth+` `+B.year}return L(G,R,V,N)};var P=3*i;z.incrementMonth=function(R,G,O){O=h(O)&&O;var V=d(R,i);if(R=Math.round(R-V),O)try{var N=Math.round(R/i)+a,B=u.getComponentMethod("calendars","getCal")(O),H=B.fromJD(N);return G%12?B.add(H,G,"m"):B.add(H,G/12,"y"),(H.toJD()-a)*i+V}catch{b.error("invalid ms "+R+" in calendar "+O)}var q=new Date(R+P);return q.setUTCMonth(q.getUTCMonth()+G)+V-P},z.findExactDates=function(R,G){for(var O,V,N=0,B=0,H=0,q=0,te=h(G)&&u.getComponentMethod("calendars","getCal")(G),K=0;K0&&f[S+1][0]<0)return S;return null}switch(p=v==="RUS"||v==="FJI"?function(f){var S;if(_(f)===null)S=f;else for(S=new Array(f.length),g=0;gS?w[E++]=[f[g][0]+360,f[g][1]]:g===S?(w[E++]=f[g],w[E++]=[f[g][0],-90]):w[E++]=f[g];var L=r.tester(w);L.pts.pop(),y.push(L)}:function(f){y.push(r.tester(f))},h.type){case"MultiPolygon":for(c=0;cO&&(O=B,P=N)}else P=R;return T.default(P).geometry.coordinates}(L),w.fIn=f,w.fOut=L,h.push(L)}else s.log(["Location",w.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete g[S]}switch(c.type){case"FeatureCollection":var y=c.features;for(x=0;x100?(clearInterval(S),_("Unexpected error while fetching from "+v)):void f++},50)})}for(var h=0;h0&&(T.push(b),b=[])}return b.length>0&&T.push(b),T},z.makeLine=function(k){return k.length===1?{type:"LineString",coordinates:k[0]}:{type:"MultiLineString",coordinates:k}},z.makePolygon=function(k){if(k.length===1)return{type:"Polygon",coordinates:k};for(var l=new Array(k.length),T=0;T1||y<0||y>1?null:{x:s+p*y,y:t+g*y}}function d(s,t,i,r,n){var o=r*s+n*t;if(o<0)return r*r+n*n;if(o>i){var a=r-s,u=n-t;return a*a+u*u}var p=r*t-n*s;return p*p/i}z.segmentsIntersect=b,z.segmentDistance=function(s,t,i,r,n,o,a,u){if(b(s,t,i,r,n,o,a,u))return 0;var p=i-s,c=r-t,x=a-n,g=u-o,h=p*p+c*c,m=x*x+g*g,v=Math.min(d(p,c,h,n-s,o-t),d(p,c,h,a-s,u-t),d(x,g,m,s-n,t-o),d(x,g,m,i-n,r-o));return Math.sqrt(v)},z.getTextLocation=function(s,t,i,r){if(s===k&&r===l||(M={},k=s,l=r),M[i])return M[i];var n=s.getPointAtLength(T(i-r/2,t)),o=s.getPointAtLength(T(i+r/2,t)),a=Math.atan((o.y-n.y)/(o.x-n.x)),u=s.getPointAtLength(T(i,t)),p={x:(4*u.x+n.x+o.x)/6,y:(4*u.y+n.y+o.y)/6,theta:a};return M[i]=p,p},z.clearLocationCache=function(){k=null},z.getVisibleSegment=function(s,t,i){var r,n,o=t.left,a=t.right,u=t.top,p=t.bottom,c=0,x=s.getTotalLength(),g=x;function h(v){var y=s.getPointAtLength(v);v===0?r=y:v===x&&(n=y);var _=y.xa?y.x-a:0,f=y.yp?y.y-p:0;return Math.sqrt(_*_+f*f)}for(var m=h(c);m;){if((c+=m+i)>g)return;m=h(c)}for(m=h(g);m;){if(c>(g-=m+i))return;m=h(g)}return{min:c,max:g,len:g-c,total:x,isClosed:c===0&&g===x&&Math.abs(r.x-n.x)<.1&&Math.abs(r.y-n.y)<.1}},z.findPointOnPath=function(s,t,i,r){for(var n,o,a,u=(r=r||{}).pathLength||s.getTotalLength(),p=r.tolerance||.001,c=r.iterationLimit||30,x=s.getPointAtLength(0)[i]>s.getPointAtLength(u)[i]?-1:1,g=0,h=0,m=u;g0?m=n:h=n,g++}return o}},81697:function(ee,z,e){var M=e(92770),k=e(84267),l=e(25075),T=e(21081),b=e(22399).defaultLine,d=e(73627).isArrayOrTypedArray,s=l(b);function t(n,o){var a=n;return a[3]*=o,a}function i(n){if(M(n))return s;var o=l(n);return o.length?o:s}function r(n){return M(n)?n:1}ee.exports={formatColor:function(n,o,a){var u,p,c,x,g,h=n.color,m=d(h),v=d(o),y=T.extractOpts(n),_=[];if(u=y.colorscale!==void 0?T.makeColorScaleFuncFromTrace(n):i,p=m?function(S,w){return S[w]===void 0?s:l(u(S[w]))}:i,c=v?function(S,w){return S[w]===void 0?1:r(S[w])}:r,m||v)for(var f=0;f1?(M*z+M*e)/M:z+e,l=String(k).length;if(l>16){var T=String(e).length;if(l>=String(z).length+T){var b=parseFloat(k).toPrecision(12);b.indexOf("e+")===-1&&(k=+b)}}return k}},71828:function(ee,z,e){var M=e(39898),k=e(84096).g0,l=e(60721).WU,T=e(92770),b=e(50606),d=b.FP_SAFE,s=-d,t=b.BADNUM,i=ee.exports={};i.adjustFormat=function(W){return!W||/^\d[.]\df/.test(W)||/[.]\d%/.test(W)?W:W==="0.f"?"~f":/^\d%/.test(W)?"~%":/^\ds/.test(W)?"~s":!/^[~,.0$]/.test(W)&&/[&fps]/.test(W)?"~"+W:W};var r={};i.warnBadFormat=function(W){var Q=String(W);r[Q]||(r[Q]=1,i.warn('encountered bad format: "'+Q+'"'))},i.noFormat=function(W){return String(W)},i.numberFormat=function(W){var Q;try{Q=l(i.adjustFormat(W))}catch{return i.warnBadFormat(W),i.noFormat}return Q},i.nestedProperty=e(65487),i.keyedContainer=e(66636),i.relativeAttr=e(6962),i.isPlainObject=e(41965),i.toLogRange=e(58163),i.relinkPrivateKeys=e(51332);var n=e(73627);i.isTypedArray=n.isTypedArray,i.isArrayOrTypedArray=n.isArrayOrTypedArray,i.isArray1D=n.isArray1D,i.ensureArray=n.ensureArray,i.concat=n.concat,i.maxRowLength=n.maxRowLength,i.minRowLength=n.minRowLength;var o=e(64872);i.mod=o.mod,i.modHalf=o.modHalf;var a=e(96554);i.valObjectMeta=a.valObjectMeta,i.coerce=a.coerce,i.coerce2=a.coerce2,i.coerceFont=a.coerceFont,i.coercePattern=a.coercePattern,i.coerceHoverinfo=a.coerceHoverinfo,i.coerceSelectionMarkerOpacity=a.coerceSelectionMarkerOpacity,i.validate=a.validate;var u=e(41631);i.dateTime2ms=u.dateTime2ms,i.isDateTime=u.isDateTime,i.ms2DateTime=u.ms2DateTime,i.ms2DateTimeLocal=u.ms2DateTimeLocal,i.cleanDate=u.cleanDate,i.isJSDate=u.isJSDate,i.formatDate=u.formatDate,i.incrementMonth=u.incrementMonth,i.dateTick0=u.dateTick0,i.dfltRange=u.dfltRange,i.findExactDates=u.findExactDates,i.MIN_MS=u.MIN_MS,i.MAX_MS=u.MAX_MS;var p=e(65888);i.findBin=p.findBin,i.sorterAsc=p.sorterAsc,i.sorterDes=p.sorterDes,i.distinctVals=p.distinctVals,i.roundUp=p.roundUp,i.sort=p.sort,i.findIndexOfMin=p.findIndexOfMin,i.sortObjectKeys=e(78607);var c=e(80038);i.aggNums=c.aggNums,i.len=c.len,i.mean=c.mean,i.median=c.median,i.midRange=c.midRange,i.variance=c.variance,i.stdev=c.stdev,i.interp=c.interp;var x=e(35657);i.init2dArray=x.init2dArray,i.transposeRagged=x.transposeRagged,i.dot=x.dot,i.translationMatrix=x.translationMatrix,i.rotationMatrix=x.rotationMatrix,i.rotationXYMatrix=x.rotationXYMatrix,i.apply3DTransform=x.apply3DTransform,i.apply2DTransform=x.apply2DTransform,i.apply2DTransform2=x.apply2DTransform2,i.convertCssMatrix=x.convertCssMatrix,i.inverseTransformMatrix=x.inverseTransformMatrix;var g=e(26348);i.deg2rad=g.deg2rad,i.rad2deg=g.rad2deg,i.angleDelta=g.angleDelta,i.angleDist=g.angleDist,i.isFullCircle=g.isFullCircle,i.isAngleInsideSector=g.isAngleInsideSector,i.isPtInsideSector=g.isPtInsideSector,i.pathArc=g.pathArc,i.pathSector=g.pathSector,i.pathAnnulus=g.pathAnnulus;var h=e(99863);i.isLeftAnchor=h.isLeftAnchor,i.isCenterAnchor=h.isCenterAnchor,i.isRightAnchor=h.isRightAnchor,i.isTopAnchor=h.isTopAnchor,i.isMiddleAnchor=h.isMiddleAnchor,i.isBottomAnchor=h.isBottomAnchor;var m=e(87642);i.segmentsIntersect=m.segmentsIntersect,i.segmentDistance=m.segmentDistance,i.getTextLocation=m.getTextLocation,i.clearLocationCache=m.clearLocationCache,i.getVisibleSegment=m.getVisibleSegment,i.findPointOnPath=m.findPointOnPath;var v=e(1426);i.extendFlat=v.extendFlat,i.extendDeep=v.extendDeep,i.extendDeepAll=v.extendDeepAll,i.extendDeepNoArrays=v.extendDeepNoArrays;var y=e(47769);i.log=y.log,i.warn=y.warn,i.error=y.error;var _=e(30587);i.counterRegex=_.counter;var f=e(79990);i.throttle=f.throttle,i.throttleDone=f.done,i.clearThrottle=f.clear;var S=e(24401);function w(W){var Q={};for(var re in W)for(var ie=W[re],oe=0;oed||W=Q)&&T(W)&&W>=0&&W%1==0},i.noop=e(64213),i.identity=e(23389),i.repeat=function(W,Q){for(var re=new Array(Q),ie=0;iere?Math.max(re,Math.min(Q,W)):Math.max(Q,Math.min(re,W))},i.bBoxIntersect=function(W,Q,re){return re=re||0,W.left<=Q.right+re&&Q.left<=W.right+re&&W.top<=Q.bottom+re&&Q.top<=W.bottom+re},i.simpleMap=function(W,Q,re,ie,oe){for(var ce=W.length,pe=new Array(ce),ge=0;ge=Math.pow(2,re)?oe>10?(i.warn("randstr failed uniqueness"),we):W(Q,re,ie,(oe||0)+1):we},i.OptionControl=function(W,Q){W||(W={}),Q||(Q="opt");var re={optionList:[],_newoption:function(ie){ie[Q]=W,re[ie.name]=ie,re.optionList.push(ie)}};return re["_"+Q]=W,re},i.smooth=function(W,Q){if((Q=Math.round(Q)||0)<2)return W;var re,ie,oe,ce,pe=W.length,ge=2*pe,we=2*Q-1,ye=new Array(we),me=new Array(pe);for(re=0;re=ge&&(oe-=ge*Math.floor(oe/ge)),oe<0?oe=-1-oe:oe>=pe&&(oe=ge-1-oe),ce+=W[oe]*ye[ie];me[re]=ce}return me},i.syncOrAsync=function(W,Q,re){var ie;function oe(){return i.syncOrAsync(W,Q,re)}for(;W.length;)if((ie=(0,W.splice(0,1)[0])(Q))&&ie.then)return ie.then(oe);return re&&re(Q)},i.stripTrailingSlash=function(W){return W.substr(-1)==="/"?W.substr(0,W.length-1):W},i.noneOrAll=function(W,Q,re){if(W){var ie,oe=!1,ce=!0;for(ie=0;ie0?oe:0})},i.fillArray=function(W,Q,re,ie){if(ie=ie||i.identity,i.isArrayOrTypedArray(W))for(var oe=0;oe1?oe+pe[1]:"";if(ce&&(pe.length>1||ge.length>4||re))for(;ie.test(ge);)ge=ge.replace(ie,"$1"+ce+"$2");return ge+we},i.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;i.templateString=function(W,Q){var re={};return W.replace(i.TEMPLATE_STRING_REGEX,function(ie,oe){var ce;return O.test(oe)?ce=Q[oe]:(re[oe]=re[oe]||i.nestedProperty(Q,oe).get,ce=re[oe]()),i.isValidTextValue(ce)?ce:""})};var V={max:10,count:0,name:"hovertemplate"};i.hovertemplateString=function(){return te.apply(V,arguments)};var N={max:10,count:0,name:"texttemplate"};i.texttemplateString=function(){return te.apply(N,arguments)};var B=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/,H={max:10,count:0,name:"texttemplate",parseMultDiv:!0};i.texttemplateStringForShapes=function(){return te.apply(H,arguments)};var q=/^[:|\|]/;function te(W,Q,re){var ie=this,oe=arguments;Q||(Q={});var ce={};return W.replace(i.TEMPLATE_STRING_REGEX,function(pe,ge,we){var ye=ge==="_xother"||ge==="_yother",me=ge==="_xother_"||ge==="_yother_",Oe=ge==="xother_"||ge==="yother_",ke=ge==="xother"||ge==="yother"||ye||Oe||me,Te=ge;(ye||me)&&(Te=Te.substring(1)),(Oe||me)&&(Te=Te.substring(0,Te.length-1));var le,se,ne,ve=null,Ee=null;if(ie.parseMultDiv){var _e=function(Me){var be=Me.match(B);return be?{key:be[1],op:be[2],number:Number(be[3])}:{key:Me,op:null,number:null}}(Te);Te=_e.key,ve=_e.op,Ee=_e.number}if(ke){if((le=Q[Te])===void 0)return""}else for(ne=3;ne=48&&pe<=57,ye=ge>=48&&ge<=57;if(we&&(ie=10*ie+pe-48),ye&&(oe=10*oe+ge-48),!we||!ye){if(ie!==oe)return ie-oe;if(pe!==ge)return pe-ge}}return oe-ie};var K=2e9;i.seedPseudoRandom=function(){K=2e9},i.pseudoRandom=function(){var W=K;return K=(69069*K+1)%4294967296,Math.abs(K-W)<429496729?i.pseudoRandom():K/4294967296},i.fillText=function(W,Q,re){var ie=Array.isArray(re)?function(pe){re.push(pe)}:function(pe){re.text=pe},oe=i.extractOption(W,Q,"htx","hovertext");if(i.isValidTextValue(oe))return ie(oe);var ce=i.extractOption(W,Q,"tx","text");return i.isValidTextValue(ce)?ie(ce):void 0},i.isValidTextValue=function(W){return W||W===0},i.formatPercent=function(W,Q){Q=Q||0;for(var re=(Math.round(100*W*Math.pow(10,Q))*Math.pow(.1,Q)).toFixed(Q)+"%",ie=0;ie1&&(ye=1):ye=0,i.strTranslate(oe-ye*(re+pe),ce-ye*(ie+ge))+i.strScale(ye)+(we?"rotate("+we+(Q?"":" "+re+" "+ie)+")":"")},i.setTransormAndDisplay=function(W,Q){W.attr("transform",i.getTextTransform(Q)),W.style("display",Q.scale?null:"none")},i.ensureUniformFontSize=function(W,Q){var re=i.extendFlat({},Q);return re.size=Math.max(Q.size,W._fullLayout.uniformtext.minsize||0),re},i.join2=function(W,Q,re){var ie=W.length;return ie>1?W.slice(0,-1).join(Q)+re+W[ie-1]:W.join(Q)},i.bigFont=function(W){return Math.round(1.2*W)};var J=i.getFirefoxVersion(),Y=J!==null&&J<86;i.getPositionFromD3Event=function(){return Y?[M.event.layerX,M.event.layerY]:[M.event.offsetX,M.event.offsetY]}},41965:function(ee){ee.exports=function(z){return window&&window.process&&window.process.versions?Object.prototype.toString.call(z)==="[object Object]":Object.prototype.toString.call(z)==="[object Object]"&&Object.getPrototypeOf(z).hasOwnProperty("hasOwnProperty")}},66636:function(ee,z,e){var M=e(65487),k=/^\w*$/;ee.exports=function(l,T,b,d){var s,t,i;b=b||"name",d=d||"value";var r={};T&&T.length?(i=M(l,T),t=i.get()):t=l,T=T||"";var n={};if(t)for(s=0;s2)return r[p]=2|r[p],a.set(u,null);if(o){for(s=p;s1){var b=["LOG:"];for(T=0;T1){var d=[];for(T=0;T"),"long")}},l.warn=function(){var T;if(M.logging>0){var b=["WARN:"];for(T=0;T0){var d=[];for(T=0;T"),"stick")}},l.error=function(){var T;if(M.logging>0){var b=["ERROR:"];for(T=0;T0){var d=[];for(T=0;T"),"stick")}}},77310:function(ee,z,e){var M=e(39898);ee.exports=function(k,l,T){var b=k.selectAll("g."+T.replace(/\s/g,".")).data(l,function(s){return s[0].trace.uid});b.exit().remove(),b.enter().append("g").attr("class",T),b.order();var d=k.classed("rangeplot")?"nodeRangePlot3":"node3";return b.each(function(s){s[0][d]=M.select(this)}),b}},35657:function(ee,z,e){var M=e(79576);z.init2dArray=function(k,l){for(var T=new Array(k),b=0;be/2?z-Math.round(z/e)*e:z}}},65487:function(ee,z,e){var M=e(92770),k=e(73627).isArrayOrTypedArray;function l(r,n){return function(){var o,a,u,p,c,x=r;for(p=0;p/g),a=0;at||g===k||gr||c&&n(p))}:function(p,c){var x=p[0],g=p[1];if(x===k||xt||g===k||gr)return!1;var h,m,v,y,_,f=d.length,S=d[0][0],w=d[0][1],E=0;for(h=1;hMath.max(m,S)||g>Math.max(v,w)))if(ga||Math.abs(M(i,p))>s)return!0;return!1},l.filter=function(T,b){var d=[T[0]],s=0,t=0;function i(r){T.push(r);var n=d.length,o=s;d.splice(t+1);for(var a=o+1;a1&&i(T.pop()),{addPt:i,raw:T,filtered:d}}},79749:function(ee,z,e){var M=e(58617),k=e(98580);ee.exports=function(l,T,b){var d=l._fullLayout,s=!0;return d._glcanvas.each(function(t){if(t.regl)t.regl.preloadCachedCode(b);else if(!t.pick||d._has("parcoords")){try{t.regl=k({canvas:this,attributes:{antialias:!t.pick,preserveDrawingBuffer:!0},pixelRatio:l._context.plotGlPixelRatio||e.g.devicePixelRatio,extensions:T||[],cachedCode:b||{}})}catch{s=!1}t.regl||(s=!1),s&&this.addEventListener("webglcontextlost",function(i){l&&l.emit&&l.emit("plotly_webglcontextlost",{event:i,layer:t.key})},!1)}}),s||M({container:d._glcontainer.node()}),s}},45142:function(ee,z,e){var M=e(92770),k=e(35791);ee.exports=function(l){var T;if(typeof(T=l&&l.hasOwnProperty("userAgent")?l.userAgent:function(){var n;return typeof navigator<"u"&&(n=navigator.userAgent),n&&n.headers&&typeof n.headers["user-agent"]=="string"&&(n=n.headers["user-agent"]),n}())!="string")return!0;var b=k({ua:{headers:{"user-agent":T}},tablet:!0,featureDetect:!1});if(!b){for(var d=T.split(" "),s=1;s-1;t--){var i=d[t];if(i.substr(0,8)==="Version/"){var r=i.substr(8).split(".")[0];if(M(r)&&(r=+r),r>=13)return!0}}}return b}},75138:function(ee){ee.exports=function(z,e){if(e instanceof RegExp){for(var M=e.toString(),k=0;kk.queueLength&&(T.undoQueue.queue.shift(),T.undoQueue.index--))},startSequence:function(T){T.undoQueue=T.undoQueue||{index:0,queue:[],sequence:!1},T.undoQueue.sequence=!0,T.undoQueue.beginSequence=!0},stopSequence:function(T){T.undoQueue=T.undoQueue||{index:0,queue:[],sequence:!1},T.undoQueue.sequence=!1,T.undoQueue.beginSequence=!1},undo:function(T){var b,d;if(!(T.undoQueue===void 0||isNaN(T.undoQueue.index)||T.undoQueue.index<=0)){for(T.undoQueue.index--,b=T.undoQueue.queue[T.undoQueue.index],T.undoQueue.inSequence=!0,d=0;d=T.undoQueue.queue.length)){for(b=T.undoQueue.queue[T.undoQueue.index],T.undoQueue.inSequence=!0,d=0;dn}function i(r,n){return r>=n}z.findBin=function(r,n,o){if(M(n.start))return o?Math.ceil((r-n.start)/n.size-b)-1:Math.floor((r-n.start)/n.size+b);var a,u,p=0,c=n.length,x=0,g=c>1?(n[c-1]-n[0])/(c-1):1;for(u=g>=0?o?d:s:o?i:t,r+=g*b*(o?-1:1)*(g>=0?1:-1);p90&&k.log("Long binary search..."),p-1},z.sorterAsc=function(r,n){return r-n},z.sorterDes=function(r,n){return n-r},z.distinctVals=function(r){var n,o=r.slice();for(o.sort(z.sorterAsc),n=o.length-1;n>-1&&o[n]===T;n--);for(var a,u=o[n]-o[0]||1,p=u/(n||1)/1e4,c=[],x=0;x<=n;x++){var g=o[x],h=g-a;a===void 0?(c.push(g),a=g):h>p&&(u=Math.min(u,h),c.push(g),a=g)}return{vals:c,minDiff:u}},z.roundUp=function(r,n,o){for(var a,u=0,p=n.length-1,c=0,x=o?0:1,g=o?1:0,h=o?Math.ceil:Math.floor;u0&&(a=1),o&&a)return r.sort(n)}return a?r:r.reverse()},z.findIndexOfMin=function(r,n){n=n||l;for(var o,a=1/0,u=0;ub.length)&&(d=b.length),M(T)||(T=!1),k(b[0])){for(t=new Array(d),s=0;sl.length-1)return l[l.length-1];var b=T%1;return b*l[Math.ceil(T)]+(1-b)*l[Math.floor(T)]}},78614:function(ee,z,e){var M=e(25075);ee.exports=function(k){return k?M(k):[0,0,0,1]}},3883:function(ee,z,e){var M=e(32396),k=e(91424),l=e(71828),T=null;ee.exports=function(){if(T!==null)return T;T=!1;var b=l.isIE()||l.isSafari()||l.isIOS();if(window.navigator.userAgent&&!b){var d=Array.from(M.CSS_DECLARATIONS).reverse(),s=window.CSS&&window.CSS.supports||window.supportsCSS;if(typeof s=="function")T=d.some(function(r){return s.apply(null,r)});else{var t=k.tester.append("image").attr("style",M.STYLE),i=window.getComputedStyle(t.node()).imageRendering;T=d.some(function(r){var n=r[1];return i===n||i===n.toLowerCase()}),t.remove()}}return T}},63893:function(ee,z,e){var M=e(39898),k=e(71828),l=k.strTranslate,T=e(77922),b=e(18783).LINE_SPACING,d=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;z.convertToTspans=function(R,G,O){var V=R.text(),N=!R.attr("data-notex")&&G&&G._context.typesetMath&&typeof MathJax<"u"&&V.match(d),B=M.select(R.node().parentNode);if(!B.empty()){var H=R.attr("class")?R.attr("class").split(" ")[0]:"text";return H+="-math",B.selectAll("svg."+H).remove(),B.selectAll("g."+H+"-group").remove(),R.style("display",null).attr({"data-unformatted":V,"data-math":"N"}),N?(G&&G._promises||[]).push(new Promise(function(te){R.style("display","none");var K=parseInt(R.node().style.fontSize,10),J={fontSize:K};(function(Y,W,Q){var re,ie,oe,ce,pe=parseInt((MathJax.version||"").split(".")[0]);if(pe===2||pe===3){var ge=function(){var ye="math-output-"+k.randstr({},64),me=(ce=M.select("body").append("div").attr({id:ye}).style({visibility:"hidden",position:"absolute","font-size":W.fontSize+"px"}).text(Y.replace(s,"\\lt ").replace(t,"\\gt "))).node();return pe===2?MathJax.Hub.Typeset(me):MathJax.typeset([me])},we=function(){var ye=ce.select(pe===2?".MathJax_SVG":".MathJax"),me=!ye.empty()&&ce.select("svg").node();if(me){var Oe,ke=me.getBoundingClientRect();Oe=pe===2?M.select("body").select("#MathJax_SVG_glyphs"):ye.select("defs"),Q(ye,Oe,ke)}else k.log("There was an error in the tex syntax.",Y),Q();ce.remove()};pe===2?MathJax.Hub.Queue(function(){return ie=k.extendDeepAll({},MathJax.Hub.config),oe=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:i},displayAlign:"left"})},function(){if((re=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},ge,we,function(){if(re!=="SVG")return MathJax.Hub.setRenderer(re)},function(){return oe!==void 0&&(MathJax.Hub.processSectionDelay=oe),MathJax.Hub.Config(ie)}):pe===3&&(ie=k.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=i,(re=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){ge(),we(),re!=="svg"&&(MathJax.config.startup.output=re),MathJax.config=ie}))}else k.warn("No MathJax version:",MathJax.version)})(N[2],J,function(Y,W,Q){B.selectAll("svg."+H).remove(),B.selectAll("g."+H+"-group").remove();var re=Y&&Y.select("svg");if(!re||!re.node())return q(),void te();var ie=B.append("g").classed(H+"-group",!0).attr({"pointer-events":"none","data-unformatted":V,"data-math":"Y"});ie.node().appendChild(re.node()),W&&W.node()&&re.node().insertBefore(W.node().cloneNode(!0),re.node().firstChild);var oe=Q.width,ce=Q.height;re.attr({class:H,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var pe=R.node().style.fill||"black",ge=re.select("g");ge.attr({fill:pe,stroke:pe});var we=ge.node().getBoundingClientRect(),ye=we.width,me=we.height;(ye>oe||me>ce)&&(re.style("overflow","hidden"),ye=(we=re.node().getBoundingClientRect()).width,me=we.height);var Oe=+R.attr("x"),ke=+R.attr("y"),Te=-(K||R.node().getBoundingClientRect().height)/4;if(H[0]==="y")ie.attr({transform:"rotate("+[-90,Oe,ke]+")"+l(-ye/2,Te-me/2)});else if(H[0]==="l")ke=Te-me/2;else if(H[0]==="a"&&H.indexOf("atitle")!==0)Oe=0,ke=Te;else{var le=R.attr("text-anchor");Oe-=ye*(le==="middle"?.5:le==="end"?1:0),ke=ke+Te-me/2}re.attr({x:Oe,y:ke}),O&&O.call(R,ie),te(ie)})})):q(),R}function q(){B.empty()||(H=R.attr("class")+"-math",B.select("svg."+H).remove()),R.text("").style("white-space","pre");var te=function(K,J){J=J.replace(p," ");var Y,W=!1,Q=[],re=-1;function ie(){re++;var Ee=document.createElementNS(T.svg,"tspan");M.select(Ee).attr({class:"line",dy:re*b+"em"}),K.appendChild(Ee),Y=Ee;var _e=Q;if(Q=[{node:Ee}],_e.length>1)for(var ze=1;ze<_e.length;ze++)oe(_e[ze])}function oe(Ee){var _e,ze=Ee.type,Ne={};if(ze==="a"){_e="a";var fe=Ee.target,Me=Ee.href,be=Ee.popup;Me&&(Ne={"xlink:xlink:show":fe==="_blank"||fe.charAt(0)!=="_"?"new":"replace",target:fe,"xlink:xlink:href":Me},be&&(Ne.onclick='window.open(this.href.baseVal,this.target.baseVal,"'+be+'");return false;'))}else _e="tspan";Ee.style&&(Ne.style=Ee.style);var Ce=document.createElementNS(T.svg,_e);if(ze==="sup"||ze==="sub"){ce(Y,a),Y.appendChild(Ce);var Fe=document.createElementNS(T.svg,"tspan");ce(Fe,a),M.select(Fe).attr("dy",o[ze]),Ne.dy=n[ze],Y.appendChild(Ce),Y.appendChild(Fe)}else Y.appendChild(Ce);M.select(Ce).attr(Ne),Y=Ee.node=Ce,Q.push(Ee)}function ce(Ee,_e){Ee.appendChild(document.createTextNode(_e))}function pe(Ee){if(Q.length!==1){var _e=Q.pop();Ee!==_e.type&&k.log("Start tag <"+_e.type+"> doesnt match end tag <"+Ee+">. Pretending it did match.",J),Y=Q[Q.length-1].node}else k.log("Ignoring unexpected end tag .",J)}g.test(J)?ie():(Y=K,Q=[{node:K}]);for(var ge=J.split(c),we=0;we|>|>)/g,i=[["$","$"],["\\(","\\)"]],r={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},n={sub:"0.3em",sup:"-0.6em"},o={sub:"-0.21em",sup:"0.42em"},a="\u200B",u=["http:","https:","mailto:","",void 0,":"],p=z.NEWLINES=/(\r\n?|\n)/g,c=/(<[^<>]*>)/,x=/<(\/?)([^ >]*)(\s+(.*))?>/i,g=//i;z.BR_TAG_ALL=//gi;var h=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,m=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,v=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,y=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function _(R,G){if(!R)return null;var O=R.match(G),V=O&&(O[3]||O[4]);return V&&E(V)}var f=/(^|;)\s*color:/;z.plainText=function(R,G){for(var O=(G=G||{}).len!==void 0&&G.len!==-1?G.len:1/0,V=G.allowedTags!==void 0?G.allowedTags:["br"],N=R.split(c),B=[],H="",q=0,te=0;te3?B.push(K.substr(0,Q-3)+"..."):B.push(K.substr(0,Q));break}H=""}}return B.join("")};var S={mu:"\u03BC",amp:"&",lt:"<",gt:">",nbsp:"\xA0",times:"\xD7",plusmn:"\xB1",deg:"\xB0"},w=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function E(R){return R.replace(w,function(G,O){return(O.charAt(0)==="#"?function(V){if(!(V>1114111)){var N=String.fromCodePoint;if(N)return N(V);var B=String.fromCharCode;return V<=65535?B(V):B(55232+(V>>10),V%1024+56320)}}(O.charAt(1)==="x"?parseInt(O.substr(2),16):parseInt(O.substr(1),10)):S[O])||G})}function L(R){var G=encodeURI(decodeURI(R)),O=document.createElement("a"),V=document.createElement("a");O.href=R,V.href=G;var N=O.protocol,B=V.protocol;return u.indexOf(N)!==-1&&u.indexOf(B)!==-1?G:""}function C(R,G,O){var V,N,B,H=O.horizontalAlign,q=O.verticalAlign||"top",te=R.node().getBoundingClientRect(),K=G.node().getBoundingClientRect();return N=q==="bottom"?function(){return te.bottom-V.height}:q==="middle"?function(){return te.top+(te.height-V.height)/2}:function(){return te.top},B=H==="right"?function(){return te.right-V.width}:H==="center"?function(){return te.left+(te.width-V.width)/2}:function(){return te.left},function(){V=this.node().getBoundingClientRect();var J=B()-K.left,Y=N()-K.top,W=O.gd||{};if(O.gd){W._fullLayout._calcInverseTransform(W);var Q=k.apply3DTransform(W._fullLayout._invTransform)(J,Y);J=Q[0],Y=Q[1]}return this.style({top:Y+"px",left:J+"px","z-index":1e3}),this}}z.convertEntities=E,z.sanitizeHTML=function(R){R=R.replace(p," ");for(var G=document.createElement("p"),O=G,V=[],N=R.split(c),B=0;Bb.ts+l?t():b.timer=setTimeout(function(){t(),b.timer=null},l)},z.done=function(k){var l=e[k];return l&&l.timer?new Promise(function(T){var b=l.onDone;l.onDone=function(){b&&b(),T(),l.onDone=null}}):Promise.resolve()},z.clear=function(k){if(k)M(e[k]),delete e[k];else for(var l in e)z.clear(l)}},58163:function(ee,z,e){var M=e(92770);ee.exports=function(k,l){if(k>0)return Math.log(k)/Math.LN10;var T=Math.log(Math.min(l[0],l[1]))/Math.LN10;return M(T)||(T=Math.log(Math.max(l[0],l[1]))/Math.LN10-6),T}},90973:function(ee,z,e){var M=ee.exports={},k=e(78776).locationmodeToLayer,l=e(96892).zL;M.getTopojsonName=function(T){return[T.scope.replace(/ /g,"-"),"_",T.resolution.toString(),"m"].join("")},M.getTopojsonPath=function(T,b){return T+b+".json"},M.getTopojsonFeatures=function(T,b){var d=k[T.locationmode],s=b.objects[d];return l(b,s).features}},37815:function(ee){ee.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(ee){ee.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(ee,z,e){var M=e(73972);ee.exports=function(k){for(var l,T,b=M.layoutArrayContainers,d=M.layoutArrayRegexes,s=k.split("[")[0],t=0;t0&&T.log("Clearing previous rejected promises from queue."),m._promises=[]},z.cleanLayout=function(m){var v,y;m||(m={}),m.xaxis1&&(m.xaxis||(m.xaxis=m.xaxis1),delete m.xaxis1),m.yaxis1&&(m.yaxis||(m.yaxis=m.yaxis1),delete m.yaxis1),m.scene1&&(m.scene||(m.scene=m.scene1),delete m.scene1);var _=(b.subplotsRegistry.cartesian||{}).attrRegex,f=(b.subplotsRegistry.polar||{}).attrRegex,S=(b.subplotsRegistry.ternary||{}).attrRegex,w=(b.subplotsRegistry.gl3d||{}).attrRegex,E=Object.keys(m);for(v=0;v3?(Q.x=1.02,Q.xanchor="left"):Q.x<-2&&(Q.x=-.02,Q.xanchor="right"),Q.y>3?(Q.y=1.02,Q.yanchor="bottom"):Q.y<-2&&(Q.y=-.02,Q.yanchor="top")),o(m),m.dragmode==="rotate"&&(m.dragmode="orbit"),s.clean(m),m.template&&m.template.layout&&z.cleanLayout(m.template.layout),m},z.cleanData=function(m){for(var v=0;v0)return m.substr(0,v)}z.hasParent=function(m,v){for(var y=g(v);y;){if(y in m)return!0;y=g(y)}return!1};var h=["x","y","z"];z.clearAxisTypes=function(m,v,y){for(var _=0;_1&&l.warn("Full array edits are incompatible with other edits",a);var m=r[""][""];if(s(m))i.set(null);else{if(!Array.isArray(m))return l.warn("Unrecognized full array edit value",a,m),!0;i.set(m)}return!x&&(u(g,h),p(t),!0)}var v,y,_,f,S,w,E,L,C=Object.keys(r).map(Number).sort(T),P=i.get(),R=P||[],G=o(h,a).get(),O=[],V=-1,N=R.length;for(v=0;vR.length-(E?0:1))l.warn("index out of range",a,_);else if(w!==void 0)S.length>1&&l.warn("Insertion & removal are incompatible with edits to the same index.",a,_),s(w)?O.push(_):E?(w==="add"&&(w={}),R.splice(_,0,w),G&&G.splice(_,0,{})):l.warn("Unrecognized full object edit value",a,_,w),V===-1&&(V=_);else for(y=0;y=0;v--)R.splice(O[v],1),G&&G.splice(O[v],1);if(R.length?P||i.set(R):i.set(null),x)return!1;if(u(g,h),c!==k){var B;if(V===-1)B=C;else{for(N=Math.max(R.length,N),B=[],v=0;v=V);v++)B.push(_);for(v=V;v=ne.data.length||ze<-ne.data.length)throw new Error(Ee+" must be valid indices for gd.data.");if(ve.indexOf(ze,_e+1)>-1||ze>=0&&ve.indexOf(-ne.data.length+ze)>-1||ze<0&&ve.indexOf(ne.data.length+ze)>-1)throw new Error("each index in "+Ee+" must be unique.")}}function P(ne,ve,Ee){if(!Array.isArray(ne.data))throw new Error("gd.data must be an array.");if(ve===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(ve)||(ve=[ve]),C(ne,ve,"currentIndices"),Ee===void 0||Array.isArray(Ee)||(Ee=[Ee]),Ee!==void 0&&C(ne,Ee,"newIndices"),Ee!==void 0&&ve.length!==Ee.length)throw new Error("current and new indices must be of equal length.")}function R(ne,ve,Ee,_e,ze){(function(He,Ge,Ke,at){var Qe=T.isPlainObject(at);if(!Array.isArray(He.data))throw new Error("gd.data must be an array");if(!T.isPlainObject(Ge))throw new Error("update must be a key:value object");if(Ke===void 0)throw new Error("indices must be an integer or array of integers");for(var vt in C(He,Ke,"indices"),Ge){if(!Array.isArray(Ge[vt])||Ge[vt].length!==Ke.length)throw new Error("attribute "+vt+" must be an array of length equal to indices array length");if(Qe&&(!(vt in at)||!Array.isArray(at[vt])||at[vt].length!==Ge[vt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ne,ve,Ee,_e);for(var Ne=function(He,Ge,Ke,at){var Qe,vt,xt,st,ot,mt=T.isPlainObject(at),Tt=[];for(var wt in Array.isArray(Ke)||(Ke=[Ke]),Ke=L(Ke,He.data.length-1),Ge)for(var Pt=0;Pt-1&&Ee.indexOf("grouptitlefont")===-1?Me(Ee,Ee.replace("titlefont","title.font")):Ee.indexOf("titleposition")>-1?Me(Ee,Ee.replace("titleposition","title.position")):Ee.indexOf("titleside")>-1?Me(Ee,Ee.replace("titleside","title.side")):Ee.indexOf("titleoffset")>-1&&Me(Ee,Ee.replace("titleoffset","title.offset")):Me(Ee,Ee.replace("title","title.text"));function Me(be,Ce){ne[Ce]=ne[be],delete ne[be]}}function te(ne,ve,Ee){ne=T.getGraphDiv(ne),h.clearPromiseQueue(ne);var _e={};if(typeof ve=="string")_e[ve]=Ee;else{if(!T.isPlainObject(ve))return T.warn("Relayout fail.",ve,Ee),Promise.reject();_e=T.extendFlat({},ve)}Object.keys(_e).length&&(ne.changed=!0);var ze=re(ne,_e),Ne=ze.flags;Ne.calc&&(ne.calcdata=void 0);var fe=[r.previousPromises];Ne.layoutReplot?fe.push(m.layoutReplot):Object.keys(_e).length&&(K(ne,Ne,ze)||r.supplyDefaults(ne),Ne.legend&&fe.push(m.doLegend),Ne.layoutstyle&&fe.push(m.layoutStyles),Ne.axrange&&J(fe,ze.rangesAltered),Ne.ticks&&fe.push(m.doTicksRelayout),Ne.modebar&&fe.push(m.doModeBar),Ne.camera&&fe.push(m.doCamera),Ne.colorbars&&fe.push(m.doColorBars),fe.push(f)),fe.push(r.rehover,r.redrag,r.reselect),s.add(ne,te,[ne,ze.undoit],te,[ne,ze.redoit]);var Me=T.syncOrAsync(fe,ne);return Me&&Me.then||(Me=Promise.resolve(ne)),Me.then(function(){return ne.emit("plotly_relayout",ze.eventData),ne})}function K(ne,ve,Ee){var _e=ne._fullLayout;if(!ve.axrange)return!1;for(var ze in ve)if(ze!=="axrange"&&ve[ze])return!1;for(var Ne in Ee.rangesAltered){var fe=n.id2name(Ne),Me=ne.layout[fe],be=_e[fe];be.autorange=Me.autorange;var Ce=be._rangeInitial0,Fe=be._rangeInitial1;if(Ce===void 0&&Fe!==void 0||Ce!==void 0&&Fe===void 0)return!1;if(Me.range&&(be.range=Me.range.slice()),be.cleanRange(),be._matchGroup){for(var Re in be._matchGroup)if(Re!==Ne){var He=_e[n.id2name(Re)];He.autorange=be.autorange,He.range=be.range.slice(),He._input.range=be.range.slice()}}}return!0}function J(ne,ve){var Ee=ve?function(_e){var ze=[];for(var Ne in ve){var fe=n.getFromId(_e,Ne);if(ze.push(Ne),(fe.ticklabelposition||"").indexOf("inside")!==-1&&fe._anchorAxis&&ze.push(fe._anchorAxis._id),fe._matchGroup)for(var Me in fe._matchGroup)ve[Me]||ze.push(Me)}return n.draw(_e,ze,{skipTitle:!0})}:function(_e){return n.draw(_e,"redraw")};ne.push(c,m.doAutoRangeAndConstraints,Ee,m.drawData,m.finalDraw)}var Y=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,W=/^[xyz]axis[0-9]*\.autorange$/,Q=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function re(ne,ve){var Ee,_e,ze,Ne=ne.layout,fe=ne._fullLayout,Me=fe._guiEditing,be=N(fe._preGUI,Me),Ce=Object.keys(ve),Fe=n.list(ne),Re=T.extendDeepAll({},ve),He={};for(q(ve),Ce=Object.keys(ve),_e=0;_e0&&typeof Pt.parts[Ye]!="string";)Ye--;var Xe=Pt.parts[Ye],Ve=Pt.parts[Ye-1]+"."+Xe,We=Pt.parts.slice(0,Ye).join("."),nt=b(ne.layout,We).get(),rt=b(fe,We).get(),Ie=Pt.get();if(Mt!==void 0){vt[wt]=Mt,xt[wt]=Xe==="reverse"?Mt:V(Ie);var De=i.getLayoutValObject(fe,Pt.parts);if(De&&De.impliedEdits&&Mt!==null)for(var et in De.impliedEdits)st(T.relativeAttr(wt,et),De.impliedEdits[et]);if(["width","height"].indexOf(wt)!==-1)if(Mt){st("autosize",null);var tt=wt==="height"?"width":"height";st(tt,fe[tt])}else fe[wt]=ne._initialAutoSize[wt];else if(wt==="autosize")st("width",Mt?null:fe.width),st("height",Mt?null:fe.height);else if(Ve.match(Y))Tt(Ve),b(fe,We+"._inputRange").set(null);else if(Ve.match(W)){Tt(Ve),b(fe,We+"._inputRange").set(null);var gt=b(fe,We).get();gt._inputDomain&&(gt._input.domain=gt._inputDomain.slice())}else Ve.match(Q)&&b(fe,We+"._inputDomain").set(null);if(Xe==="type"){ot=nt;var ht=rt.type==="linear"&&Mt==="log",dt=rt.type==="log"&&Mt==="linear";if(ht||dt){if(ot&&ot.range)if(rt.autorange)ht&&(ot.range=ot.range[1]>ot.range[0]?[1,2]:[2,1]);else{var ct=ot.range[0],kt=ot.range[1];ht?(ct<=0&&kt<=0&&st(We+".autorange",!0),ct<=0?ct=kt/1e6:kt<=0&&(kt=ct/1e6),st(We+".range[0]",Math.log(ct)/Math.LN10),st(We+".range[1]",Math.log(kt)/Math.LN10)):(st(We+".range[0]",Math.pow(10,ct)),st(We+".range[1]",Math.pow(10,kt)))}else st(We+".autorange",!0);Array.isArray(fe._subplots.polar)&&fe._subplots.polar.length&&fe[Pt.parts[0]]&&Pt.parts[1]==="radialaxis"&&delete fe[Pt.parts[0]]._subplot.viewInitial["radialaxis.range"],t.getComponentMethod("annotations","convertCoords")(ne,rt,Mt,st),t.getComponentMethod("images","convertCoords")(ne,rt,Mt,st)}else st(We+".autorange",!0),st(We+".range",null);b(fe,We+"._inputRange").set(null)}else if(Xe.match(y)){var ut=b(fe,wt).get(),ft=(Mt||{}).type;ft&&ft!=="-"||(ft="linear"),t.getComponentMethod("annotations","convertCoords")(ne,ut,ft,st),t.getComponentMethod("images","convertCoords")(ne,ut,ft,st)}var bt=g.containerArrayMatch(wt);if(bt){Ee=bt.array,_e=bt.index;var It=bt.property,Rt=De||{editType:"calc"};_e!==""&&It===""&&(g.isAddVal(Mt)?xt[wt]=null:g.isRemoveVal(Mt)?xt[wt]=(b(Ne,Ee).get()||[])[_e]:T.warn("unrecognized full object value",ve)),v.update(Qe,Rt),He[Ee]||(He[Ee]={});var Dt=He[Ee][_e];Dt||(Dt=He[Ee][_e]={}),Dt[It]=Mt,delete ve[wt]}else Xe==="reverse"?(nt.range?nt.range.reverse():(st(We+".autorange",!0),nt.range=[1,0]),rt.autorange?Qe.calc=!0:Qe.plot=!0):(wt==="dragmode"&&(Mt===!1&&Ie!==!1||Mt!==!1&&Ie===!1)||fe._has("scatter-like")&&fe._has("regl")&&wt==="dragmode"&&(Mt==="lasso"||Mt==="select")&&Ie!=="lasso"&&Ie!=="select"||fe._has("gl2d")?Qe.plot=!0:De?v.update(Qe,De):Qe.calc=!0,Pt.set(Mt))}}for(Ee in He)g.applyContainerArrayChanges(ne,be(Ne,Ee),He[Ee],Qe,be)||(Qe.plot=!0);for(var Kt in mt){var qt=(ot=n.getFromId(ne,Kt))&&ot._constraintGroup;if(qt)for(var Wt in Qe.calc=!0,qt)mt[Wt]||(n.getFromId(ne,Wt)._constraintShrinkable=!0)}(ie(ne)||ve.height||ve.width)&&(Qe.plot=!0);var Ht=fe.shapes;for(_e=0;_e1;)if(_e.pop(),(Ee=b(ve,_e.join(".")+".uirevision").get())!==void 0)return Ee;return ve.uirevision}function me(ne,ve){for(var Ee=0;Ee=ze.length?ze[0]:ze[Ce]:ze}function Me(Ce){return Array.isArray(Ne)?Ce>=Ne.length?Ne[0]:Ne[Ce]:Ne}function be(Ce,Fe){var Re=0;return function(){if(Ce&&++Re===Fe)return Ce()}}return _e._frameWaitingCnt===void 0&&(_e._frameWaitingCnt=0),new Promise(function(Ce,Fe){function Re(){ne.emit("plotly_animating"),_e._lastFrameAt=-1/0,_e._timeToNext=0,_e._runningTransitions=0,_e._currentFrame=null;var wt=function(){_e._animationRaf=window.requestAnimationFrame(wt),Date.now()-_e._lastFrameAt>_e._timeToNext&&function(){_e._currentFrame&&_e._currentFrame.onComplete&&_e._currentFrame.onComplete();var Pt=_e._currentFrame=_e._frameQueue.shift();if(Pt){var Mt=Pt.name?Pt.name.toString():null;ne._fullLayout._currentFrame=Mt,_e._lastFrameAt=Date.now(),_e._timeToNext=Pt.frameOpts.duration,r.transition(ne,Pt.frame.data,Pt.frame.layout,h.coerceTraceIndices(ne,Pt.frame.traces),Pt.frameOpts,Pt.transitionOpts).then(function(){Pt.onComplete&&Pt.onComplete()}),ne.emit("plotly_animatingframe",{name:Mt,frame:Pt.frame,animation:{frame:Pt.frameOpts,transition:Pt.transitionOpts}})}else ne.emit("plotly_animated"),window.cancelAnimationFrame(_e._animationRaf),_e._animationRaf=null}()};wt()}var He,Ge,Ke=0;function at(wt){return Array.isArray(ze)?Ke>=ze.length?wt.transitionOpts=ze[Ke]:wt.transitionOpts=ze[0]:wt.transitionOpts=ze,Ke++,wt}var Qe=[],vt=ve==null,xt=Array.isArray(ve);if(vt||xt||!T.isPlainObject(ve)){if(vt||["string","number"].indexOf(typeof ve)!==-1)for(He=0;He<_e._frames.length;He++)(Ge=_e._frames[He])&&(vt||String(Ge.group)===String(ve))&&Qe.push({type:"byname",name:String(Ge.name),data:at({name:Ge.name})});else if(xt)for(He=0;He0&&mtmt)&&Tt.push(Ge);Qe=Tt}}Qe.length>0?function(wt){if(wt.length!==0){for(var Pt=0;Pt=0;_e--)if(T.isPlainObject(ve[_e])){var He=ve[_e].name,Ge=(be[He]||Re[He]||{}).name,Ke=ve[_e].name,at=be[Ge]||Re[Ge];Ge&&Ke&&typeof Ke=="number"&&at&&_<5&&(_++,T.warn('addFrames: overwriting frame "'+(be[Ge]||Re[Ge]).name+'" with a frame whose name of type "number" also equates to "'+Ge+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),_===5&&T.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Re[He]={name:He},Fe.push({frame:r.supplyFrameDefaults(ve[_e]),index:Ee&&Ee[_e]!==void 0&&Ee[_e]!==null?Ee[_e]:Ce+_e})}Fe.sort(function(wt,Pt){return wt.index>Pt.index?-1:wt.index=0;_e--){if(typeof(ze=Fe[_e].frame).name=="number"&&T.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!ze.name)for(;be[ze.name="frame "+ne._transitionData._counter++];);if(be[ze.name]){for(Ne=0;Ne=0;Ee--)_e=ve[Ee],Ne.push({type:"delete",index:_e}),fe.unshift({type:"insert",index:_e,value:ze[_e]});var Me=r.modifyFrames,be=r.modifyFrames,Ce=[ne,fe],Fe=[ne,Ne];return s&&s.add(ne,Me,Ce,be,Fe),r.modifyFrames(ne,Ne)},z.addTraces=function ne(ve,Ee,_e){ve=T.getGraphDiv(ve);var ze,Ne,fe=[],Me=z.deleteTraces,be=ne,Ce=[ve,fe],Fe=[ve,Ee];for(function(Re,He,Ge){var Ke,at;if(!Array.isArray(Re.data))throw new Error("gd.data must be an array.");if(He===void 0)throw new Error("traces must be defined.");for(Array.isArray(He)||(He=[He]),Ke=0;Ke=0&&Fe=0&&Fe=C.length)return!1;if(f.dimensions===2){if(w++,S.length===w)return f;var P=S[w];if(!h(P))return!1;f=C[L][P]}else f=C[L]}else f=C}}return f}function h(f){return f===Math.round(f)&&f>=0}function m(){var f,S,w={};for(f in i(w,T),M.subplotsRegistry)if((S=M.subplotsRegistry[f]).layoutAttributes)if(Array.isArray(S.attr))for(var E=0;E=P.length)return!1;E=(w=(M.transformsRegistry[P[R].type]||{}).attributes)&&w[S[2]],C=3}else{var G=f._module;if(G||(G=(M.modules[f.type||l.type.dflt]||{})._module),!G)return!1;if(!(E=(w=G.attributes)&&w[L])){var O=G.basePlotModule;O&&O.attributes&&(E=O.attributes[L])}E||(E=l[L])}return g(E,S,C)},z.getLayoutValObject=function(f,S){var w=function(E,L){var C,P,R,G,O=E._basePlotModules;if(O){var V;for(C=0;C=r&&(i._input||{})._templateitemname;o&&(n=r);var a,u=t+"["+n+"]";function p(){a={},o&&(a[u]={},a[u][l]=o)}function c(g,h){o?M.nestedProperty(a[u],g).set(h):a[u+"."+g]=h}function x(){var g=a;return p(),g}return p(),{modifyBase:function(g,h){a[g]=h},modifyItem:c,getUpdateObj:x,applyUpdate:function(g,h){g&&c(g,h);var m=x();for(var v in m)M.nestedProperty(s,v).set(m[v])}}}},61549:function(ee,z,e){var M=e(39898),k=e(73972),l=e(74875),T=e(71828),b=e(63893),d=e(33306),s=e(7901),t=e(91424),i=e(92998),r=e(64168),n=e(89298),o=e(18783),a=e(99082),u=a.enforce,p=a.clean,c=e(71739).doAutoRange,x="start";function g(_,f,S){for(var w=0;w=_[1]||E[1]<=_[0])&&L[0]f[0])return!0}return!1}function h(_){var f,S,w,E,L,C,P=_._fullLayout,R=P._size,G=R.p,O=n.list(_,"",!0);if(P._paperdiv.style({width:_._context.responsive&&P.autosize&&!_._context._hasZeroWidth&&!_.layout.width?"100%":P.width+"px",height:_._context.responsive&&P.autosize&&!_._context._hasZeroHeight&&!_.layout.height?"100%":P.height+"px"}).selectAll(".main-svg").call(t.setSize,P.width,P.height),_._context.setBackground(_,P.paper_bgcolor),z.drawMainTitle(_),r.manage(_),!P._has("cartesian"))return l.previousPromises(_);function V(Re,He,Ge){var Ke=Re._lw/2;return Re._id.charAt(0)==="x"?He?Ge==="top"?He._offset-G-Ke:He._offset+He._length+G+Ke:R.t+R.h*(1-(Re.position||0))+Ke%1:He?Ge==="right"?He._offset+He._length+G+Ke:He._offset-G-Ke:R.l+R.w*(Re.position||0)+Ke%1}for(f=0;f.5?"t":"b",K=V._fullLayout.margin[te],J=0;return N.yref==="paper"?J=B+N.pad.t+N.pad.b:N.yref==="container"&&(J=function(Y,W,Q,re,ie){var oe=0;return Q==="middle"&&(oe+=ie/2),Y==="t"?(Q==="top"&&(oe+=ie),oe+=re-W*re):(Q==="bottom"&&(oe+=ie),oe+=W*re),oe}(te,H,q,V._fullLayout.height,B)+N.pad.t+N.pad.b),J>K?J:0}(_,S,G);O>0&&(function(V,N,B,H){var q="title.automargin",te=V._fullLayout.title,K=te.y>.5?"t":"b",J={x:te.x,y:te.y,t:0,b:0},Y={};te.yref==="paper"&&function(W,Q,re,ie,oe){var ce=Q.yref==="paper"?W._fullLayout._size.h:W._fullLayout.height,pe=T.isTopAnchor(Q)?ie:ie-oe,ge=re==="b"?ce-pe:pe;return!(T.isTopAnchor(Q)&&re==="t"||T.isBottomAnchor(Q)&&re==="b")&&geR?y.push({code:"unused",traceType:w,templateCount:P,dataCount:R}):R>P&&y.push({code:"reused",traceType:w,templateCount:P,dataCount:R})}}else y.push({code:"data"});if(function G(O,V){for(var N in O)if(N.charAt(0)!=="_"){var B=O[N],H=a(O,N,V);k(B)?(Array.isArray(O)&&B._template===!1&&B.templateitemname&&y.push({code:"missing",path:H,templateitemname:B.templateitemname}),G(B,H)):Array.isArray(B)&&u(B)&&G(B,H)}}({data:f,layout:_},""),y.length)return y.map(p)}},403:function(ee,z,e){var M=e(92770),k=e(72391),l=e(74875),T=e(71828),b=e(25095),d=e(5900),s=e(70942),t=e(11506).version,i={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};ee.exports=function(r,n){var o,a,u,p;function c(R){return!(R in n)||T.validate(n[R],i[R])}if(n=n||{},T.isPlainObject(r)?(o=r.data||[],a=r.layout||{},u=r.config||{},p={}):(r=T.getGraphDiv(r),o=T.extendDeep([],r.data),a=T.extendDeep({},r.layout),u=r._context,p=r._fullLayout||{}),!c("width")&&n.width!==null||!c("height")&&n.height!==null)throw new Error("Height and width should be pixel values.");if(!c("format"))throw new Error("Export format is not "+T.join2(i.format.values,", "," or ")+".");var x={};function g(R,G){return T.coerce(n,x,i,R,G)}var h=g("format"),m=g("width"),v=g("height"),y=g("scale"),_=g("setBackground"),f=g("imageDataOnly"),S=document.createElement("div");S.style.position="absolute",S.style.left="-5000px",document.body.appendChild(S);var w=T.extendFlat({},a);m?w.width=m:n.width===null&&M(p.width)&&(w.width=p.width),v?w.height=v:n.height===null&&M(p.height)&&(w.height=p.height);var E=T.extendFlat({},u,{_exportedPlot:!0,staticPlot:!0,setBackground:_}),L=b.getRedrawFunc(S);function C(){return new Promise(function(R){setTimeout(R,b.getDelay(S._fullLayout))})}function P(){return new Promise(function(R,G){var O=d(S,h,y),V=S._fullLayout.width,N=S._fullLayout.height;function B(){k.purge(S),document.body.removeChild(S)}if(h==="full-json"){var H=l.graphJson(S,!1,"keepdata","object",!0,!0);return H.version=t,H=JSON.stringify(H),B(),R(f?H:b.encodeJSON(H))}if(B(),h==="svg")return R(f?O:b.encodeSVG(O));var q=document.createElement("canvas");q.id=T.randstr(),s({format:h,width:V,height:N,scale:y,canvas:q,svg:O,promise:!0}).then(R).catch(G)})}return new Promise(function(R,G){k.newPlot(S,o,w,E).then(L).then(C).then(P).then(function(O){R(function(V){return f?V.replace(b.IMAGE_URL_PREFIX,""):V}(O))}).catch(function(O){G(O)})})}},84936:function(ee,z,e){var M=e(71828),k=e(74875),l=e(86281),T=e(72075).dfltConfig,b=M.isPlainObject,d=Array.isArray,s=M.isArrayOrTypedArray;function t(c,x,g,h,m,v){v=v||[];for(var y=Object.keys(c),_=0;_E.length&&h.push(n("unused",m,S.concat(E.length)));var O,V,N,B,H,q=E.length,te=Array.isArray(G);if(te&&(q=Math.min(q,G.length)),L.dimensions===2)for(V=0;VE[V].length&&h.push(n("unused",m,S.concat(V,E[V].length)));var K=E[V].length;for(O=0;O<(te?Math.min(K,G[V].length):K);O++)N=te?G[V][O]:G,B=w[V][O],H=E[V][O],M.validate(B,N)?H!==B&&H!==+B&&h.push(n("dynamic",m,S.concat(V,O),B,H)):h.push(n("value",m,S.concat(V,O),B))}else h.push(n("array",m,S.concat(V),w[V]));else for(V=0;V1&&v.push(n("object","layout"))),k.supplyDefaults(y);for(var _=y._fullData,f=g.length,S=0;S0&&Math.round(a)===a))return{vals:i};n=a}for(var u=s.calendar,p=r==="start",c=r==="end",x=d[t+"period0"],g=l(x,u)||0,h=[],m=[],v=[],y=i.length,_=0;_E;)w=T(w,-n,u);for(;w<=E;)w=T(w,n,u);S=T(w,-n,u)}else{for(w=g+(f=Math.round((E-g)/o))*o;w>E;)w-=o;for(;w<=E;)w+=o;S=w-o}h[_]=p?S:c?w:(S+w)/2,m[_]=S,v[_]=w}return{vals:h,starts:m,ends:v}}},89502:function(ee){ee.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(ee,z,e){var M=e(39898),k=e(92770),l=e(71828),T=e(50606).FP_SAFE,b=e(73972),d=e(91424),s=e(41675),t=s.getFromId,i=s.isLinked;function r(_,f){var S,w,E=[],L=_._fullLayout,C=o(L,f,0),P=o(L,f,1),R=u(_,f),G=R.min,O=R.max;if(G.length===0||O.length===0)return l.simpleMap(f.range,f.r2l);var V=G[0].val,N=O[0].val;for(S=1;S0&&((W=ce-C(te)-P(K))>pe?Q/W>ge&&(J=te,Y=K,ge=Q/W):Q/ce>ge&&(J={val:te.val,nopad:1},Y={val:K.val,nopad:1},ge=Q/ce));if(V===N){var we=V-1,ye=V+1;if(ie)if(V===0)E=[0,1];else{var me=(V>0?O:G).reduce(function(ke,Te){return Math.max(ke,P(Te))},0),Oe=V/(1-Math.min(.5,me/ce));E=V>0?[0,Oe]:[Oe,0]}else E=oe?[Math.max(0,we),Math.max(1,ye)]:[we,ye]}else ie?(J.val>=0&&(J={val:0,nopad:1}),Y.val<=0&&(Y={val:0,nopad:1})):oe&&(J.val-ge*C(J)<0&&(J={val:0,nopad:1}),Y.val<=0&&(Y={val:1,nopad:1})),ge=(Y.val-J.val-n(f,te.val,K.val))/(ce-C(J)-P(Y)),E=[J.val-ge*C(J),Y.val+ge*P(Y)];return E=y(E,f),f.limitRange&&f.limitRange(),H&&E.reverse(),l.simpleMap(E,f.l2r||Number)}function n(_,f,S){var w=0;if(_.rangebreaks)for(var E=_.locateBreaks(f,S),L=0;L0?S.ppadplus:S.ppadminus)||S.ppad||0),re=W((_._m>0?S.ppadminus:S.ppadplus)||S.ppad||0),ie=W(S.vpadplus||S.vpad),oe=W(S.vpadminus||S.vpad);if(!J){if(O=1/0,V=-1/0,K)for(w=0;w0&&(O=E),E>V&&E-T&&(O=E),E>V&&E=ge;w--)pe(w);return{min:N,max:B,opts:S}},concatExtremes:u};var a=3;function u(_,f,S){var w,E,L,C=f._id,P=_._fullData,R=_._fullLayout,G=[],O=[];function V(te,K){for(w=0;w=S&&(G.extrapad||!C)){P=!1;break}E(f,G.val)&&G.pad<=S&&(C||!G.extrapad)&&(_.splice(R,1),R--)}if(P){var O=L&&f===0;_.push({val:f,pad:O?0:S,extrapad:!O&&C})}}function g(_){return k(_)&&Math.abs(_)=f}function v(_,f,S){return f===void 0||S===void 0||(f=_.d2l(f))<_.d2l(S)}function y(_,f){if(!f||!f.autorangeoptions)return _;var S=_[0],w=_[1],E=f.autorangeoptions.include;if(E!==void 0){var L=f.d2l(S),C=f.d2l(w);l.isArrayOrTypedArray(E)||(E=[E]);for(var P=0;P=R&&(L=R,S=R),C<=R&&(C=R,w=R)}}return S=function(G,O){var V=O.autorangeoptions;return V&&V.minallowed!==void 0&&v(O,V.minallowed,V.maxallowed)?V.minallowed:V&&V.clipmin!==void 0&&v(O,V.clipmin,V.clipmax)?Math.max(G,O.d2l(V.clipmin)):G}(S,f),w=function(G,O){var V=O.autorangeoptions;return V&&V.maxallowed!==void 0&&v(O,V.minallowed,V.maxallowed)?V.maxallowed:V&&V.clipmax!==void 0&&v(O,V.clipmin,V.clipmax)?Math.min(G,O.d2l(V.clipmax)):G}(w,f),[S,w]}},23074:function(ee){ee.exports=function(z,e,M){var k,l;if(M){var T=e==="reversed"||e==="min reversed"||e==="max reversed";k=M[T?1:0],l=M[T?0:1]}var b=z("autorangeoptions.minallowed",l===null?k:void 0),d=z("autorangeoptions.maxallowed",k===null?l:void 0);b===void 0&&z("autorangeoptions.clipmin"),d===void 0&&z("autorangeoptions.clipmax"),z("autorangeoptions.include")}},89298:function(ee,z,e){var M=e(39898),k=e(92770),l=e(74875),T=e(73972),b=e(71828),d=b.strTranslate,s=e(63893),t=e(92998),i=e(7901),r=e(91424),n=e(13838),o=e(66287),a=e(50606),u=a.ONEMAXYEAR,p=a.ONEAVGYEAR,c=a.ONEMINYEAR,x=a.ONEMAXQUARTER,g=a.ONEAVGQUARTER,h=a.ONEMINQUARTER,m=a.ONEMAXMONTH,v=a.ONEAVGMONTH,y=a.ONEMINMONTH,_=a.ONEWEEK,f=a.ONEDAY,S=f/2,w=a.ONEHOUR,E=a.ONEMIN,L=a.ONESEC,C=a.MINUS_SIGN,P=a.BADNUM,R={K:"zeroline"},G={K:"gridline",L:"path"},O={K:"minor-gridline",L:"path"},V={K:"tick",L:"path"},N={K:"tick",L:"text"},B={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},H=e(18783),q=H.MID_SHIFT,te=H.CAP_SHIFT,K=H.LINE_SPACING,J=H.OPPOSITE_SIDE,Y=ee.exports={};Y.setConvert=e(21994);var W=e(4322),Q=e(41675),re=Q.idSort,ie=Q.isLinked;Y.id2name=Q.id2name,Y.name2id=Q.name2id,Y.cleanId=Q.cleanId,Y.list=Q.list,Y.listIds=Q.listIds,Y.getFromId=Q.getFromId,Y.getFromTrace=Q.getFromTrace;var oe=e(71739);Y.getAutoRange=oe.getAutoRange,Y.findExtremes=oe.findExtremes;var ce=1e-4;function pe(Ie){var De=(Ie[1]-Ie[0])*ce;return[Ie[0]-De,Ie[1]+De]}Y.coerceRef=function(Ie,De,et,tt,gt,ht){var dt=tt.charAt(tt.length-1),ct=et._fullLayout._subplots[dt+"axis"],kt=tt+"ref",ut={};return gt||(gt=ct[0]||(typeof ht=="string"?ht:ht[0])),ht||(ht=gt),ct=ct.concat(ct.map(function(ft){return ft+" domain"})),ut[kt]={valType:"enumerated",values:ct.concat(ht?typeof ht=="string"?[ht]:ht:[]),dflt:gt},b.coerce(Ie,De,ut,kt)},Y.getRefType=function(Ie){return Ie===void 0?Ie:Ie==="paper"?"paper":Ie==="pixel"?"pixel":/( domain)$/.test(Ie)?"domain":"range"},Y.coercePosition=function(Ie,De,et,tt,gt,ht){var dt,ct;if(Y.getRefType(tt)!=="range")dt=b.ensureNumber,ct=et(gt,ht);else{var kt=Y.getFromId(De,tt);ct=et(gt,ht=kt.fraction2r(ht)),dt=kt.cleanPos}Ie[gt]=dt(ct)},Y.cleanPosition=function(Ie,De,et){return(et==="paper"||et==="pixel"?b.ensureNumber:Y.getFromId(De,et).cleanPos)(Ie)},Y.redrawComponents=function(Ie,De){De=De||Y.listIds(Ie);var et=Ie._fullLayout;function tt(gt,ht,dt,ct){for(var kt=T.getComponentMethod(gt,ht),ut={},ft=0;ftet&&ft2e-6||((et-Ie._forceTick0)/Ie._minDtick%1+1.000001)%1>2e-6)&&(Ie._minDtick=0)):Ie._minDtick=0},Y.saveRangeInitial=function(Ie,De){for(var et=Y.list(Ie,"",!0),tt=!1,gt=0;gt.3*vn||rn(hn)||rn(yn))){var Mn=Ht.dtick/2;qt+=qt+Mn.8){var jt=Number(Ht.substr(1));un.exactYears>.8&&jt%12==0?qt=Y.tickIncrement(qt,"M6","reverse")+1.5*f:un.exactMonths>.8?qt=Y.tickIncrement(qt,"M1","reverse")+15.5*f:qt-=S;var nn=Y.tickIncrement(qt,Ht);if(nn<=hn)return nn}return qt}(Kt,Ie,Dt,ct,gt)),Rt=Kt;Rt<=kt;)Rt=Y.tickIncrement(Rt,Dt,!1,gt);return{start:De.c2r(Kt,0,gt),end:De.c2r(Rt,0,gt),size:Dt,_dataSpan:kt-ct}},Y.prepMinorTicks=function(Ie,De,et){if(!De.minor.dtick){delete Ie.dtick;var tt,gt=De.dtick&&k(De._tmin);if(gt){var ht=Y.tickIncrement(De._tmin,De.dtick,!0);tt=[De._tmin,.99*ht+.01*De._tmin]}else{var dt=b.simpleMap(De.range,De.r2l);tt=[dt[0],.8*dt[0]+.2*dt[1]]}if(Ie.range=b.simpleMap(tt,De.l2r),Ie._isMinor=!0,Y.prepTicks(Ie,et),gt){var ct=k(De.dtick),kt=k(Ie.dtick),ut=ct?De.dtick:+De.dtick.substring(1),ft=kt?Ie.dtick:+Ie.dtick.substring(1);ct&&kt?me(ut,ft)?ut===2*_&&ft===2*f&&(Ie.dtick=_):ut===2*_&&ft===3*f?Ie.dtick=_:ut!==_||(De._input.minor||{}).nticks?Oe(ut/ft,2.5)?Ie.dtick=ut/2:Ie.dtick=ut:Ie.dtick=f:String(De.dtick).charAt(0)==="M"?kt?Ie.dtick="M1":me(ut,ft)?ut>=12&&ft===2&&(Ie.dtick="M3"):Ie.dtick=De.dtick:String(Ie.dtick).charAt(0)==="L"?String(De.dtick).charAt(0)==="L"?me(ut,ft)||(Ie.dtick=Oe(ut/ft,2.5)?De.dtick/2:De.dtick):Ie.dtick="D1":Ie.dtick==="D2"&&+De.dtick>1&&(Ie.dtick=1)}Ie.range=De.range}De.minor._tick0Init===void 0&&(Ie.tick0=De.tick0)},Y.prepTicks=function(Ie,De){var et=b.simpleMap(Ie.range,Ie.r2l,void 0,void 0,De);if(Ie.tickmode==="auto"||!Ie.dtick){var tt,gt=Ie.nticks;gt||(Ie.type==="category"||Ie.type==="multicategory"?(tt=Ie.tickfont?b.bigFont(Ie.tickfont.size||12):15,gt=Ie._length/tt):(tt=Ie._id.charAt(0)==="y"?40:80,gt=b.constrain(Ie._length/tt,4,9)+1),Ie._name==="radialaxis"&&(gt*=2)),Ie.minor&&Ie.minor.tickmode!=="array"||Ie.tickmode==="array"&&(gt*=100),Ie._roughDTick=Math.abs(et[1]-et[0])/gt,Y.autoTicks(Ie,Ie._roughDTick),Ie._minDtick>0&&Ie.dtick<2*Ie._minDtick&&(Ie.dtick=Ie._minDtick,Ie.tick0=Ie.l2r(Ie._forceTick0))}Ie.ticklabelmode==="period"&&function(ht){var dt;function ct(){return!(k(ht.dtick)||ht.dtick.charAt(0)!=="M")}var kt=ct(),ut=Y.getTickFormat(ht);if(ut){var ft=ht._dtickInit!==ht.dtick;/%[fLQsSMX]/.test(ut)||(/%[HI]/.test(ut)?(dt=w,ft&&!kt&&ht.dtick=(Wt?0:1);Ht--){var hn=!Ht;Ht?(Ie._dtickInit=Ie.dtick,Ie._tick0Init=Ie.tick0):(Ie.minor._dtickInit=Ie.minor.dtick,Ie.minor._tick0Init=Ie.minor.tick0);var yn=Ht?Ie:b.extendFlat({},Ie,Ie.minor);if(hn?Y.prepMinorTicks(yn,Ie,De):Y.prepTicks(yn,De),yn.tickmode!=="array")if(yn.tickmode!=="sync"){var un=pe(kt),jt=un[0],nn=un[1],Jt=k(yn.dtick),rn=gt==="log"&&!(Jt||yn.dtick.charAt(0)==="L"),fn=Y.tickFirst(yn,De);if(Ht){if(Ie._tmin=fn,fn=nn:bn<=nn;bn=Y.tickIncrement(bn,Ln,ut,ht)){if(Ht&&vn++,yn.rangebreaks&&!ut){if(bn=bt)break}if(Kt.length>It||bn===En)break;En=bn;var Wn={value:bn};Ht?(rn&&bn!==(0|bn)&&(Wn.simpleLabel=!0),dt>1&&vn%dt&&(Wn.skipLabel=!0),Kt.push(Wn)):(Wn.minor=!0,qt.push(Wn))}}else Kt=[],Rt=le(Ie);else Ht?(Kt=[],Rt=se(Ie)):(qt=[],Dt=se(Ie))}if(Wt&&!(Ie.minor.ticks==="inside"&&Ie.ticks==="outside"||Ie.minor.ticks==="outside"&&Ie.ticks==="inside")){for(var Qn=Kt.map(function(At){return At.value}),ir=[],$n=0;$n0?(An=mn-1,sn=mn):(An=mn,sn=mn);var Yt,Xt=At[An].value,on=At[sn].value,ln=Math.abs(on-Xt),Sn=$t||ln,Cn=0;Sn>=c?Cn=ln>=c&&ln<=u?ln:p:$t===g&&Sn>=h?Cn=ln>=h&&ln<=x?ln:g:Sn>=y?Cn=ln>=y&&ln<=m?ln:v:$t===_&&Sn>=_?Cn=_:Sn>=f?Cn=f:$t===S&&Sn>=S?Cn=S:$t===w&&Sn>=w&&(Cn=w),Cn>=ln&&(Cn=ln,Yt=!0);var jn=xn+Cn;if(Gt.rangebreaks&&Cn>0){for(var Fn=0,Xn=0;Xn<84;Xn++){var Hn=(Xn+.5)/84;Gt.maskBreaks(xn*(1-Hn)+Hn*jn)!==P&&Fn++}(Cn*=Fn/84)||(At[mn].drop=!0),Yt&&ln>_&&(Cn=ln)}(Cn>0||mn===0)&&(At[mn].periodX=xn+Cn/2)}}(Kt,Ie,Ie._definedDelta),Ie.rangebreaks){var cn=Ie._id.charAt(0)==="y",dn=1;Ie.tickmode==="auto"&&(dn=Ie.tickfont?Ie.tickfont.size:12);var kn=NaN;for(et=Kt.length-1;et>-1;et--)if(Kt[et].drop)Kt.splice(et,1);else{Kt[et].value=Ve(Kt[et].value,Ie);var Vn=Ie.c2p(Kt[et].value);(cn?kn>Vn-dn:knbt||znbt&&(In.periodX=bt),zn10||tt.substr(5)!=="01-01"?Ie._tickround="d":Ie._tickround=+De.substr(1)%12==0?"y":"m";else if(De>=f&><=10||De>=15*f)Ie._tickround="d";else if(De>=E&><=16||De>=w)Ie._tickround="M";else if(De>=L&><=19||De>=E)Ie._tickround="S";else{var ht=Ie.l2r(et+De).replace(/^-/,"").length;Ie._tickround=Math.max(gt,ht)-20,Ie._tickround<0&&(Ie._tickround=4)}}else if(k(De)||De.charAt(0)==="L"){var dt=Ie.range.map(Ie.r2d||Number);k(De)||(De=Number(De.substr(1))),Ie._tickround=2-Math.floor(Math.log(De)/Math.LN10+.01);var ct=Math.max(Math.abs(dt[0]),Math.abs(dt[1])),kt=Math.floor(Math.log(ct)/Math.LN10+.01),ut=Ie.minexponent===void 0?3:Ie.minexponent;Math.abs(kt)>ut&&(Re(Ie.exponentformat)&&!He(kt)?Ie._tickexponent=3*Math.round((kt-1)/3):Ie._tickexponent=kt)}else Ie._tickround=null}function Ce(Ie,De,et){var tt=Ie.tickfont||{};return{x:De,dx:0,dy:0,text:et||"",fontSize:tt.size,font:tt.family,fontColor:tt.color}}Y.autoTicks=function(Ie,De,et){var tt;function gt(bt){return Math.pow(bt,Math.floor(Math.log(De)/Math.LN10))}if(Ie.type==="date"){Ie.tick0=b.dateTick0(Ie.calendar,0);var ht=2*De;if(ht>p)De/=p,tt=gt(10),Ie.dtick="M"+12*Me(De,tt,ne);else if(ht>v)De/=v,Ie.dtick="M"+Me(De,1,ve);else if(ht>f){if(Ie.dtick=Me(De,f,Ie._hasDayOfWeekBreaks?[1,2,7,14]:_e),!et){var dt=Y.getTickFormat(Ie),ct=Ie.ticklabelmode==="period";ct&&(Ie._rawTick0=Ie.tick0),/%[uVW]/.test(dt)?Ie.tick0=b.dateTick0(Ie.calendar,2):Ie.tick0=b.dateTick0(Ie.calendar,1),ct&&(Ie._dowTick0=Ie.tick0)}}else ht>w?Ie.dtick=Me(De,w,ve):ht>E?Ie.dtick=Me(De,E,Ee):ht>L?Ie.dtick=Me(De,L,Ee):(tt=gt(10),Ie.dtick=Me(De,tt,ne))}else if(Ie.type==="log"){Ie.tick0=0;var kt=b.simpleMap(Ie.range,Ie.r2l);if(Ie._isMinor&&(De*=1.5),De>.7)Ie.dtick=Math.ceil(De);else if(Math.abs(kt[1]-kt[0])<1){var ut=1.5*Math.abs((kt[1]-kt[0])/De);De=Math.abs(Math.pow(10,kt[1])-Math.pow(10,kt[0]))/ut,tt=gt(10),Ie.dtick="L"+Me(De,tt,ne)}else Ie.dtick=De>.3?"D2":"D1"}else Ie.type==="category"||Ie.type==="multicategory"?(Ie.tick0=0,Ie.dtick=Math.ceil(Math.max(De,1))):Xe(Ie)?(Ie.tick0=0,tt=1,Ie.dtick=Me(De,tt,fe)):(Ie.tick0=0,tt=gt(10),Ie.dtick=Me(De,tt,ne));if(Ie.dtick===0&&(Ie.dtick=1),!k(Ie.dtick)&&typeof Ie.dtick!="string"){var ft=Ie.dtick;throw Ie.dtick=1,"ax.dtick error: "+String(ft)}},Y.tickIncrement=function(Ie,De,et,tt){var gt=et?-1:1;if(k(De))return b.increment(Ie,gt*De);var ht=De.charAt(0),dt=gt*Number(De.substr(1));if(ht==="M")return b.incrementMonth(Ie,dt,tt);if(ht==="L")return Math.log(Math.pow(10,Ie)+dt)/Math.LN10;if(ht==="D"){var ct=De==="D2"?Ne:ze,kt=Ie+.01*gt,ut=b.roundUp(b.mod(kt,1),ct,et);return Math.floor(kt)+Math.log(M.round(Math.pow(10,ut),1))/Math.LN10}throw"unrecognized dtick "+String(De)},Y.tickFirst=function(Ie,De){var et=Ie.r2l||Number,tt=b.simpleMap(Ie.range,et,void 0,void 0,De),gt=tt[1] ")}else qt._prevDateHead=jt,nn+="
"+jt;Wt.text=nn}(Ie,ht,et,ct):kt==="log"?function(qt,Wt,Ht,hn,yn){var un=qt.dtick,jt=Wt.x,nn=qt.tickformat,Jt=typeof un=="string"&&un.charAt(0);if(yn==="never"&&(yn=""),hn&&Jt!=="L"&&(un="L3",Jt="L"),nn||Jt==="L")Wt.text=Ge(Math.pow(10,jt),qt,yn,hn);else if(k(un)||Jt==="D"&&b.mod(jt+.01,1)<.1){var rn=Math.round(jt),fn=Math.abs(rn),vn=qt.exponentformat;vn==="power"||Re(vn)&&He(rn)?(Wt.text=rn===0?1:rn===1?"10":"10"+(rn>1?"":C)+fn+"",Wt.fontSize*=1.25):(vn==="e"||vn==="E")&&fn>2?Wt.text="1"+vn+(rn>0?"+":C)+fn:(Wt.text=Ge(Math.pow(10,jt),qt,"","fakehover"),un==="D1"&&qt._id.charAt(0)==="y"&&(Wt.dy-=Wt.fontSize/6))}else{if(Jt!=="D")throw"unrecognized dtick "+String(un);Wt.text=String(Math.round(Math.pow(10,b.mod(jt,1)))),Wt.fontSize*=.75}if(qt.dtick==="D1"){var Mn=String(Wt.text).charAt(0);Mn!=="0"&&Mn!=="1"||(qt._id.charAt(0)==="y"?Wt.dx-=Wt.fontSize/4:(Wt.dy+=Wt.fontSize/2,Wt.dx+=(qt.range[1]>qt.range[0]?1:-1)*Wt.fontSize*(jt<0?.5:.25)))}}(Ie,ht,0,ct,Rt):kt==="category"?function(qt,Wt){var Ht=qt._categories[Math.round(Wt.x)];Ht===void 0&&(Ht=""),Wt.text=String(Ht)}(Ie,ht):kt==="multicategory"?function(qt,Wt,Ht){var hn=Math.round(Wt.x),yn=qt._categories[hn]||[],un=yn[1]===void 0?"":String(yn[1]),jt=yn[0]===void 0?"":String(yn[0]);Ht?Wt.text=jt+" - "+un:(Wt.text=un,Wt.text2=jt)}(Ie,ht,et):Xe(Ie)?function(qt,Wt,Ht,hn,yn){if(qt.thetaunit!=="radians"||Ht)Wt.text=Ge(Wt.x,qt,yn,hn);else{var un=Wt.x/180;if(un===0)Wt.text="0";else{var jt=function(Jt){function rn(En,bn){return Math.abs(En-bn)<=1e-6}var fn=function(En){for(var bn=1;!rn(Math.round(En*bn)/bn,En);)bn*=10;return bn}(Jt),vn=Jt*fn,Mn=Math.abs(function En(bn,Ln){return rn(Ln,0)?bn:En(Ln,bn%Ln)}(vn,fn));return[Math.round(vn/Mn),Math.round(fn/Mn)]}(un);if(jt[1]>=100)Wt.text=Ge(b.deg2rad(Wt.x),qt,yn,hn);else{var nn=Wt.x<0;jt[1]===1?jt[0]===1?Wt.text="\u03C0":Wt.text=jt[0]+"\u03C0":Wt.text=["",jt[0],"","\u2044","",jt[1],"","\u03C0"].join(""),nn&&(Wt.text=C+Wt.text)}}}}(Ie,ht,et,ct,Rt):function(qt,Wt,Ht,hn,yn){yn==="never"?yn="":qt.showexponent==="all"&&Math.abs(Wt.x/qt.dtick)<1e-6&&(yn="hide"),Wt.text=Ge(Wt.x,qt,yn,hn)}(Ie,ht,0,ct,Rt),tt||(Ie.tickprefix&&!It(Ie.showtickprefix)&&(ht.text=Ie.tickprefix+ht.text),Ie.ticksuffix&&!It(Ie.showticksuffix)&&(ht.text+=Ie.ticksuffix)),Ie.labelalias&&Ie.labelalias.hasOwnProperty(ht.text)){var Dt=Ie.labelalias[ht.text];typeof Dt=="string"&&(ht.text=Dt)}if(Ie.tickson==="boundaries"||Ie.showdividers){var Kt=function(qt){var Wt=Ie.l2p(qt);return Wt>=0&&Wt<=Ie._length?qt:null};ht.xbnd=[Kt(ht.x-.5),Kt(ht.x+Ie.dtick-.5)]}return ht},Y.hoverLabelText=function(Ie,De,et){et&&(Ie=b.extendFlat({},Ie,{hoverformat:et}));var tt=Array.isArray(De)?De[0]:De,gt=Array.isArray(De)?De[1]:void 0;if(gt!==void 0&>!==tt)return Y.hoverLabelText(Ie,tt,et)+" - "+Y.hoverLabelText(Ie,gt,et);var ht=Ie.type==="log"&&tt<=0,dt=Y.tickText(Ie,Ie.c2l(ht?-tt:tt),"hover").text;return ht?tt===0?"0":C+dt:dt};var Fe=["f","p","n","\u03BC","m","","k","M","G","T"];function Re(Ie){return Ie==="SI"||Ie==="B"}function He(Ie){return Ie>14||Ie<-15}function Ge(Ie,De,et,tt){var gt=Ie<0,ht=De._tickround,dt=et||De.exponentformat||"B",ct=De._tickexponent,kt=Y.getTickFormat(De),ut=De.separatethousands;if(tt){var ft={exponentformat:dt,minexponent:De.minexponent,dtick:De.showexponent==="none"?De.dtick:k(Ie)&&Math.abs(Ie)||1,range:De.showexponent==="none"?De.range.map(De.r2d):[0,Ie||1]};be(ft),ht=(Number(ft._tickround)||0)+4,ct=ft._tickexponent,De.hoverformat&&(kt=De.hoverformat)}if(kt)return De._numFormat(kt)(Ie).replace(/-/g,C);var bt,It=Math.pow(10,-ht)/2;if(dt==="none"&&(ct=0),(Ie=Math.abs(Ie))"+bt+"":dt==="B"&&ct===9?Ie+="B":Re(dt)&&(Ie+=Fe[ct/3+5])),gt?C+Ie:Ie}function Ke(Ie,De){if(Ie){var et=Object.keys(B).reduce(function(tt,gt){return De.indexOf(gt)!==-1&&B[gt].forEach(function(ht){tt[ht]=1}),tt},{});Object.keys(Ie).forEach(function(tt){et[tt]||(tt.length===1?Ie[tt]=0:delete Ie[tt])})}}function at(Ie,De){for(var et=[],tt={},gt=0;gt1&&et=gt.min&&Ie=0,Wt=ft(It,Rt[1])<=0;return(Dt||qt)&&(Kt||Wt)}if(Ie.tickformatstops&&Ie.tickformatstops.length>0)switch(Ie.type){case"date":case"linear":for(De=0;De=dt(gt)))){et=tt;break}break;case"log":for(De=0;De=0&>.unshift(gt.splice(ut,1).shift())}});var dt={false:{left:0,right:0}};return b.syncOrAsync(gt.map(function(ct){return function(){if(ct){var kt=Y.getFromId(Ie,ct);et||(et={}),et.axShifts=dt,et.overlayingShiftedAx=ht;var ut=Y.drawOne(Ie,kt,et);return kt._shiftPusher&&rt(kt,kt._fullDepth||0,dt,!0),kt._r=kt.range.slice(),kt._rl=b.simpleMap(kt._r,kt.r2l),ut}}}))},Y.drawOne=function(Ie,De,et){var tt,gt,ht,dt=(et=et||{}).axShifts||{},ct=et.overlayingShiftedAx||[];De.setScale();var kt=Ie._fullLayout,ut=De._id,ft=ut.charAt(0),bt=Y.counterLetter(ut),It=kt._plots[De._mainSubplot];if(It){if(De._shiftPusher=De.autoshift||ct.indexOf(De._id)!==-1||ct.indexOf(De.overlaying)!==-1,De._shiftPusher&De.anchor==="free"){var Rt=De.linewidth/2||0;De.ticks==="inside"&&(Rt+=De.ticklen),rt(De,Rt,dt,!0),rt(De,De.shift||0,dt,!1)}et.skipTitle===!0&&De._shift!==void 0||(De._shift=function(sn,Yt){return sn.autoshift?Yt[sn.overlaying][sn.side]:sn.shift||0}(De,dt));var Dt=It[ft+"axislayer"],Kt=De._mainLinePosition,qt=Kt+=De._shift,Wt=De._mainMirrorPosition,Ht=De._vals=Y.calcTicks(De),hn=[De.mirror,qt,Wt].join("_");for(tt=0;tt0?sn.bottom-Cn:0,jn))));var Fn=0,Xn=0;if(De._shiftPusher&&(Fn=Math.max(jn,sn.height>0?ln==="l"?Cn-sn.left:sn.right-Cn:0),De.title.text!==kt._dfltTitle[ft]&&(Xn=(De._titleStandoff||0)+(De._titleScoot||0),ln==="l"&&(Xn+=xt(De))),De._fullDepth=Math.max(Fn,Xn)),De.automargin){Yt={x:0,y:0,r:0,l:0,t:0,b:0};var Hn=[0,1],nr=typeof De._shift=="number"?De._shift:0;if(ft==="x"){if(ln==="b"?Yt[ln]=De._depth:(Yt[ln]=De._depth=Math.max(sn.width>0?Cn-sn.top:0,jn),Hn.reverse()),sn.width>0){var er=sn.right-(De._offset+De._length);er>0&&(Yt.xr=1,Yt.r=er);var tr=De._offset-sn.left;tr>0&&(Yt.xl=0,Yt.l=tr)}}else if(ln==="l"?(De._depth=Math.max(sn.height>0?Cn-sn.left:0,jn),Yt[ln]=De._depth-nr):(De._depth=Math.max(sn.height>0?sn.right-Cn:0,jn),Yt[ln]=De._depth+nr,Hn.reverse()),sn.height>0){var lr=sn.bottom-(De._offset+De._length);lr>0&&(Yt.yb=0,Yt.b=lr);var ur=De._offset-sn.top;ur>0&&(Yt.yt=1,Yt.t=ur)}Yt[bt]=De.anchor==="free"?De.position:De._anchorAxis.domain[Hn[0]],De.title.text!==kt._dfltTitle[ft]&&(Yt[ln]+=xt(De)+(De.title.standoff||0)),De.mirror&&De.anchor!=="free"&&((Xt={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=De.linewidth,De.mirror&&De.mirror!==!0&&(Xt[Sn]+=jn),De.mirror===!0||De.mirror==="ticks"?Xt[bt]=De._anchorAxis.domain[Hn[1]]:De.mirror!=="all"&&De.mirror!=="allticks"||(Xt[bt]=[De._counterDomainMin,De._counterDomainMax][Hn[1]]))}xn&&(on=T.getComponentMethod("rangeslider","autoMarginOpts")(Ie,De)),typeof De.automargin=="string"&&(Ke(Yt,De.automargin),Ke(Xt,De.automargin)),l.autoMargin(Ie,mt(De),Yt),l.autoMargin(Ie,Tt(De),Xt),l.autoMargin(Ie,wt(De),on)}),b.syncOrAsync($t)}}function An(sn){var Yt=ut+(sn||"tick");return yn[Yt]||(yn[Yt]=function(Xt,on){var ln,Sn,Cn,jn;return Xt._selections[on].size()?(ln=1/0,Sn=-1/0,Cn=1/0,jn=-1/0,Xt._selections[on].each(function(){var Fn=ot(this),Xn=r.bBox(Fn.node().parentNode);ln=Math.min(ln,Xn.top),Sn=Math.max(Sn,Xn.bottom),Cn=Math.min(Cn,Xn.left),jn=Math.max(jn,Xn.right)})):(ln=0,Sn=0,Cn=0,jn=0),{top:ln,bottom:Sn,left:Cn,right:jn,height:Sn-ln,width:jn-Cn}}(De,Yt)),yn[Yt]}},Y.getTickSigns=function(Ie,De){var et=Ie._id.charAt(0),tt={x:"top",y:"right"}[et],gt=Ie.side===tt?1:-1,ht=[-1,1,gt,-gt];return(De?(Ie.minor||{}).ticks:Ie.ticks)!=="inside"==(et==="x")&&(ht=ht.map(function(dt){return-dt})),Ie.side&&ht.push({l:-1,t:-1,r:1,b:1}[Ie.side.charAt(0)]),ht},Y.makeTransTickFn=function(Ie){return Ie._id.charAt(0)==="x"?function(De){return d(Ie._offset+Ie.l2p(De.x),0)}:function(De){return d(0,Ie._offset+Ie.l2p(De.x))}},Y.makeTransTickLabelFn=function(Ie){var De=function(gt){var ht=gt.ticklabelposition||"",dt=function(Wt){return ht.indexOf(Wt)!==-1},ct=dt("top"),kt=dt("left"),ut=dt("right"),ft=dt("bottom"),bt=dt("inside"),It=ft||kt||ct||ut;if(!It&&!bt)return[0,0];var Rt=gt.side,Dt=It?(gt.tickwidth||0)/2:0,Kt=3,qt=gt.tickfont?gt.tickfont.size:12;return(ft||ct)&&(Dt+=qt*te,Kt+=(gt.linewidth||0)/2),(kt||ut)&&(Dt+=(gt.linewidth||0)/2,Kt+=3),bt&&Rt==="top"&&(Kt-=qt*(1-te)),(kt||ct)&&(Dt=-Dt),Rt!=="bottom"&&Rt!=="right"||(Kt=-Kt),[It?Dt:0,bt?Kt:0]}(Ie),et=De[0],tt=De[1];return Ie._id.charAt(0)==="x"?function(gt){return d(et+Ie._offset+Ie.l2p(Qe(gt)),tt)}:function(gt){return d(tt,et+Ie._offset+Ie.l2p(Qe(gt)))}},Y.makeTickPath=function(Ie,De,et,tt){tt||(tt={});var gt=tt.minor;if(gt&&!Ie.minor)return"";var ht=tt.len!==void 0?tt.len:gt?Ie.minor.ticklen:Ie.ticklen,dt=Ie._id.charAt(0),ct=(Ie.linewidth||1)/2;return dt==="x"?"M0,"+(De+ct*et)+"v"+ht*et:"M"+(De+ct*et)+",0h"+ht*et},Y.makeLabelFns=function(Ie,De,et){var tt=Ie.ticklabelposition||"",gt=function(vn){return tt.indexOf(vn)!==-1},ht=gt("top"),dt=gt("left"),ct=gt("right"),kt=gt("bottom")||dt||ht||ct,ut=gt("inside"),ft=tt==="inside"&&Ie.ticks==="inside"||!ut&&Ie.ticks==="outside"&&Ie.tickson!=="boundaries",bt=0,It=0,Rt=ft?Ie.ticklen:0;if(ut?Rt*=-1:kt&&(Rt=0),ft&&(bt+=Rt,et)){var Dt=b.deg2rad(et);bt=Rt*Math.cos(Dt)+1,It=Rt*Math.sin(Dt)}Ie.showticklabels&&(ft||Ie.showline)&&(bt+=.2*Ie.tickfont.size);var Kt,qt,Wt,Ht,hn,yn={labelStandoff:bt+=(Ie.linewidth||1)/2*(ut?-1:1),labelShift:It},un=0,jt=Ie.side,nn=Ie._id.charAt(0),Jt=Ie.tickangle;if(nn==="x")Ht=(hn=!ut&&jt==="bottom"||ut&&jt==="top")?1:-1,ut&&(Ht*=-1),Kt=It*Ht,qt=De+bt*Ht,Wt=hn?1:-.2,Math.abs(Jt)===90&&(ut?Wt+=q:Wt=Jt===-90&&jt==="bottom"?te:Jt===90&&jt==="top"?q:.5,un=q/2*(Jt/90)),yn.xFn=function(vn){return vn.dx+Kt+un*vn.fontSize},yn.yFn=function(vn){return vn.dy+qt+vn.fontSize*Wt},yn.anchorFn=function(vn,Mn){if(kt){if(dt)return"end";if(ct)return"start"}return k(Mn)&&Mn!==0&&Mn!==180?Mn*Ht<0!==ut?"end":"start":"middle"},yn.heightFn=function(vn,Mn,En){return Mn<-60||Mn>60?-.5*En:Ie.side==="top"!==ut?-En:0};else if(nn==="y"){if(Ht=(hn=!ut&&jt==="left"||ut&&jt==="right")?1:-1,ut&&(Ht*=-1),Kt=bt,qt=It*Ht,Wt=0,ut||Math.abs(Jt)!==90||(Wt=Jt===-90&&jt==="left"||Jt===90&&jt==="right"?te:.5),ut){var rn=k(Jt)?+Jt:0;if(rn!==0){var fn=b.deg2rad(rn);un=Math.abs(Math.sin(fn))*te*Ht,Wt=0}}yn.xFn=function(vn){return vn.dx+De-(Kt+vn.fontSize*Wt)*Ht+un*vn.fontSize},yn.yFn=function(vn){return vn.dy+qt+vn.fontSize*q},yn.anchorFn=function(vn,Mn){return k(Mn)&&Math.abs(Mn)===90?"middle":hn?"end":"start"},yn.heightFn=function(vn,Mn,En){return Ie.side==="right"&&(Mn*=-1),Mn<-30?-En:Mn<30?-.5*En:0}}return yn},Y.drawTicks=function(Ie,De,et){et=et||{};var tt=De._id+"tick",gt=[].concat(De.minor&&De.minor.ticks?et.vals.filter(function(dt){return dt.minor&&!dt.noTick}):[]).concat(De.ticks?et.vals.filter(function(dt){return!dt.minor&&!dt.noTick}):[]),ht=et.layer.selectAll("path."+tt).data(gt,vt);ht.exit().remove(),ht.enter().append("path").classed(tt,1).classed("ticks",1).classed("crisp",et.crisp!==!1).each(function(dt){return i.stroke(M.select(this),dt.minor?De.minor.tickcolor:De.tickcolor)}).style("stroke-width",function(dt){return r.crispRound(Ie,dt.minor?De.minor.tickwidth:De.tickwidth,1)+"px"}).attr("d",et.path).style("display",null),nt(De,[V]),ht.attr("transform",et.transFn)},Y.drawGrid=function(Ie,De,et){if(et=et||{},De.tickmode!=="sync"){var tt=De._id+"grid",gt=De.minor&&De.minor.showgrid,ht=gt?et.vals.filter(function(Wt){return Wt.minor}):[],dt=De.showgrid?et.vals.filter(function(Wt){return!Wt.minor}):[],ct=et.counterAxis;if(ct&&Y.shouldShowZeroLine(Ie,De,ct))for(var kt=De.tickmode==="array",ut=0;ut=0;Dt--){var Kt=Dt?It:Rt;if(Kt){var qt=Kt.selectAll("path."+tt).data(Dt?dt:ht,vt);qt.exit().remove(),qt.enter().append("path").classed(tt,1).classed("crisp",et.crisp!==!1),qt.attr("transform",et.transFn).attr("d",et.path).each(function(Wt){return i.stroke(M.select(this),Wt.minor?De.minor.gridcolor:De.gridcolor||"#ddd")}).style("stroke-dasharray",function(Wt){return r.dashStyle(Wt.minor?De.minor.griddash:De.griddash,Wt.minor?De.minor.gridwidth:De.gridwidth)}).style("stroke-width",function(Wt){return(Wt.minor?bt:De._gw)+"px"}).style("display",null),typeof et.path=="function"&&qt.attr("d",et.path)}}nt(De,[G,O])}},Y.drawZeroLine=function(Ie,De,et){et=et||et;var tt=De._id+"zl",gt=Y.shouldShowZeroLine(Ie,De,et.counterAxis),ht=et.layer.selectAll("path."+tt).data(gt?[{x:0,id:De._id}]:[]);ht.exit().remove(),ht.enter().append("path").classed(tt,1).classed("zl",1).classed("crisp",et.crisp!==!1).each(function(){et.layer.selectAll("path").sort(function(dt,ct){return re(dt.id,ct.id)})}),ht.attr("transform",et.transFn).attr("d",et.path).call(i.stroke,De.zerolinecolor||i.defaultLine).style("stroke-width",r.crispRound(Ie,De.zerolinewidth,De._gw||1)+"px").style("display",null),nt(De,[R])},Y.drawLabels=function(Ie,De,et){et=et||{};var tt=Ie._fullLayout,gt=De._id,ht=gt.charAt(0),dt=et.cls||gt+"tick",ct=et.vals.filter(function(Ht){return Ht.text}),kt=et.labelFns,ut=et.secondary?0:De.tickangle,ft=(De._prevTickAngles||{})[dt],bt=et.layer.selectAll("g."+dt).data(De.showticklabels?ct:[],vt),It=[];function Rt(Ht,hn){Ht.each(function(yn){var un=M.select(this),jt=un.select(".text-math-group"),nn=kt.anchorFn(yn,hn),Jt=et.transFn.call(un.node(),yn)+(k(hn)&&+hn!=0?" rotate("+hn+","+kt.xFn(yn)+","+(kt.yFn(yn)-yn.fontSize/2)+")":""),rn=s.lineCount(un),fn=K*yn.fontSize,vn=kt.heightFn(yn,k(hn)?+hn:0,(rn-1)*fn);if(vn&&(Jt+=d(0,vn)),jt.empty()){var Mn=un.select("text");Mn.attr({transform:Jt,"text-anchor":nn}),Mn.style("opacity",1),De._adjustTickLabelsOverflow&&De._adjustTickLabelsOverflow()}else{var En=r.bBox(jt.node()).width*{end:-.5,start:.5}[nn];jt.attr("transform",Jt+d(En,0))}})}bt.enter().append("g").classed(dt,1).append("text").attr("text-anchor","middle").each(function(Ht){var hn=M.select(this),yn=Ie._promises.length;hn.call(s.positionText,kt.xFn(Ht),kt.yFn(Ht)).call(r.font,Ht.font,Ht.fontSize,Ht.fontColor).text(Ht.text).call(s.convertToTspans,Ie),Ie._promises[yn]?It.push(Ie._promises.pop().then(function(){Rt(hn,ut)})):Rt(hn,ut)}),nt(De,[N]),bt.exit().remove(),et.repositionOnUpdate&&bt.each(function(Ht){M.select(this).select("text").call(s.positionText,kt.xFn(Ht),kt.yFn(Ht))}),De._adjustTickLabelsOverflow=function(){var Ht=De.ticklabeloverflow;if(Ht&&Ht!=="allow"){var hn=Ht.indexOf("hide")!==-1,yn=De._id.charAt(0)==="x",un=0,jt=yn?Ie._fullLayout.width:Ie._fullLayout.height;if(Ht.indexOf("domain")!==-1){var nn=b.simpleMap(De.range,De.r2l);un=De.l2p(nn[0])+De._offset,jt=De.l2p(nn[1])+De._offset}var Jt=Math.min(un,jt),rn=Math.max(un,jt),fn=De.side,vn=1/0,Mn=-1/0;for(var En in bt.each(function(Wn){var Qn=M.select(this);if(Qn.select(".text-math-group").empty()){var ir=r.bBox(Qn.node()),$n=0;yn?(ir.right>rn||ir.leftrn||ir.top+(De.tickangle?0:Wn.fontSize/4)De["_visibleLabelMin_"+nn._id]?Ln.style("display","none"):rn.K!=="tick"||Jt||Ln.style("display",null)})})})})},Rt(bt,ft+1?ft:ut);var Dt=null;De._selections&&(De._selections[dt]=bt);var Kt=[function(){return It.length&&Promise.all(It)}];De.automargin&&tt._redrawFromAutoMarginCount&&ft===90?(Dt=90,Kt.push(function(){Rt(bt,ft)})):Kt.push(function(){if(Rt(bt,ut),ct.length&&ht==="x"&&!k(ut)&&(De.type!=="log"||String(De.dtick).charAt(0)!=="D")){Dt=0;var Ht,hn=0,yn=[];if(bt.each(function(Qn){hn=Math.max(hn,Qn.fontSize);var ir=De.l2p(Qn.x),$n=ot(this),Gn=r.bBox($n.node());yn.push({top:0,bottom:10,height:10,left:ir-Gn.width/2,right:ir+Gn.width/2+2,width:Gn.width+2})}),De.tickson!=="boundaries"&&!De.showdividers||et.secondary){var un=ct.length,jt=Math.abs((ct[un-1].x-ct[0].x)*De._m)/(un-1),nn=De.ticklabelposition||"",Jt=function(Qn){return nn.indexOf(Qn)!==-1},rn=Jt("top"),fn=Jt("left"),vn=Jt("right"),Mn=Jt("bottom")||fn||rn||vn?(De.tickwidth||0)+6:0,En=jt<2.5*hn||De.type==="multicategory"||De._name==="realaxis";for(Ht=0;Ht1)for(ct=1;ct2*f}(a,n))return"date";var g=o.autotypenumbers!=="strict";return function(h,m){for(var v=h.length,y=i(v),_=0,f=0,S={},w=0;w2*_}(a,g)?"category":function(h,m){for(var v=h.length,y=0;y=2){var S,w,E="";if(f.length===2){for(S=0;S<2;S++)if(w=h(f[S])){E=p;break}}var L=_("pattern",E);if(L===p)for(S=0;S<2;S++)(w=h(f[S]))&&(v.bounds[S]=f[S]=w-1);if(L)for(S=0;S<2;S++)switch(w=f[S],L){case p:if(!M(w)||(w=+w)!==Math.floor(w)||w<0||w>=7)return void(v.enabled=!1);v.bounds[S]=f[S]=w;break;case c:if(!M(w)||(w=+w)<0||w>24)return void(v.enabled=!1);v.bounds[S]=f[S]=w}if(y.autorange===!1){var C=y.range;if(C[0]C[1])return void(v.enabled=!1)}else if(f[0]>C[0]&&f[1]s?1:-1:+(T.substr(1)||1)-+(b.substr(1)||1)},z.ref2id=function(T){return!!/^[xyz]/.test(T)&&T.split(" ")[0]},z.isLinked=function(T,b){return l(b,T._axisMatchGroups)||l(b,T._axisConstraintGroups)}},15258:function(ee){ee.exports=function(z,e,M,k){if(e.type==="category"){var l,T=z.categoryarray,b=Array.isArray(T)&&T.length>0;b&&(l="array");var d,s=M("categoryorder",l);s==="array"&&(d=M("categoryarray")),b||s!=="array"||(s=e.categoryorder="trace"),s==="trace"?e._initialCategories=[]:s==="array"?e._initialCategories=d.slice():(d=function(t,i){var r,n,o,a=i.dataAttr||t._id.charAt(0),u={};if(i.axData)r=i.axData;else for(r=[],n=0;nh?m.substr(h):v.substr(g))+y:m+v+c*x:y}function u(c,x){for(var g=x._size,h=g.h/g.w,m={},v=Object.keys(c),y=0;ys*C)||O){for(g=0;gW&&oeJ&&(J=oe);f/=(J-K)/(2*Y),K=v.l2r(K),J=v.l2r(J),v.range=v._input.range=H=0?Math.min(oe,.9):1/(1/Math.max(oe,-.3)+3.222))}function H(oe,ce,pe,ge,we){return oe.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",s(pe,ge)).attr("d",we+"Z")}function q(oe,ce,pe){return oe.append("path").attr("class","zoombox-corners").style({fill:i.background,stroke:i.defaultLine,"stroke-width":1,opacity:0}).attr("transform",s(ce,pe)).attr("d","M0,0Z")}function te(oe,ce,pe,ge,we,ye){oe.attr("d",ge+"M"+pe.l+","+pe.t+"v"+pe.h+"h"+pe.w+"v-"+pe.h+"h-"+pe.w+"Z"),K(oe,ce,we,ye)}function K(oe,ce,pe,ge){pe||(oe.transition().style("fill",ge>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function J(oe){M.select(oe).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function Y(oe){P&&oe.data&&oe._context.showTips&&(k.notifier(k._(oe,"Double-click to zoom back out"),"long"),P=!1)}function W(oe){var ce=Math.floor(Math.min(oe.b-oe.t,oe.r-oe.l,C)/2);return"M"+(oe.l-3.5)+","+(oe.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(oe.r+3.5)+","+(oe.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(oe.r+3.5)+","+(oe.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(oe.l-3.5)+","+(oe.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function Q(oe,ce,pe,ge,we){for(var ye,me,Oe,ke,Te=!1,le={},se={},ne=(we||{}).xaHash,ve=(we||{}).yaHash,Ee=0;Ee=0)Jt._fullLayout._deactivateShape(Jt);else{var rn=Jt._fullLayout.clickmode;if(J(Jt),jt!==2||mt||qt(),ot)rn.indexOf("select")>-1&&S(nn,Jt,ne,ve,ce.id,tt),rn.indexOf("event")>-1&&n.click(Jt,nn,ce.id);else if(jt===1&&mt){var fn=me?Te:ke,vn=me==="s"||Oe==="w"?0:1,Mn=fn._name+".range["+vn+"]",En=function(Wn,Qn){var ir,$n=Wn.range[Qn],Gn=Math.abs($n-Wn.range[1-Qn]);return Wn.type==="date"?$n:Wn.type==="log"?(ir=Math.ceil(Math.max(0,-Math.log(Gn)/Math.LN10))+3,l("."+ir+"g")(Math.pow(10,$n))):(ir=Math.floor(Math.log(Math.abs($n))/Math.LN10)-Math.floor(Math.log(Gn)/Math.LN10)+4,l("."+String(ir)+"g")($n))}(fn,vn),bn="left",Ln="middle";if(fn.fixedrange)return;me?(Ln=me==="n"?"top":"bottom",fn.side==="right"&&(bn="right")):Oe==="e"&&(bn="right"),Jt._context.showAxisRangeEntryBoxes&&M.select(Pt).call(t.makeEditable,{gd:Jt,immediate:!0,background:Jt._fullLayout.paper_bgcolor,text:String(En),fill:fn.tickfont?fn.tickfont.color:"#444",horizontalAlign:bn,verticalAlign:Ln}).on("edit",function(Wn){var Qn=fn.d2r(Wn);Qn!==void 0&&d.call("_guiRelayout",Jt,Mn,Qn)})}}}function dt(jt,nn){if(oe._transitioningWithDuration)return!1;var Jt=Math.max(0,Math.min(ze,vt*jt+Mt)),rn=Math.max(0,Math.min(Ne,xt*nn+Ye)),fn=Math.abs(Jt-Mt),vn=Math.abs(rn-Ye);function Mn(){rt="",Xe.r=Xe.l,Xe.t=Xe.b,De.attr("d","M0,0Z")}if(Xe.l=Math.min(Mt,Jt),Xe.r=Math.max(Mt,Jt),Xe.t=Math.min(Ye,rn),Xe.b=Math.max(Ye,rn),fe.isSubplotConstrained)fn>C||vn>C?(rt="xy",fn/ze>vn/Ne?(vn=fn*Ne/ze,Ye>rn?Xe.t=Ye-vn:Xe.b=Ye+vn):(fn=vn*ze/Ne,Mt>Jt?Xe.l=Mt-fn:Xe.r=Mt+fn),De.attr("d",W(Xe))):Mn();else if(Me.isSubplotConstrained)if(fn>C||vn>C){rt="xy";var En=Math.min(Xe.l/ze,(Ne-Xe.b)/Ne),bn=Math.max(Xe.r/ze,(Ne-Xe.t)/Ne);Xe.l=En*ze,Xe.r=bn*ze,Xe.b=(1-En)*Ne,Xe.t=(1-bn)*Ne,De.attr("d",W(Xe))}else Mn();else!Ce||vn0){var Ln;if(Me.isSubplotConstrained||!be&&Ce.length===1){for(Ln=0;Ln1&&(rn.maxallowed!==void 0&&Re===(rn.range[0]1&&(fn.maxallowed!==void 0&&He===(fn.range[0]v[1]-.000244140625&&(T.domain=t),k.noneOrAll(l.domain,T.domain,t),T.tickmode==="sync"&&(T.tickmode="auto")}return b("layer"),T}},89426:function(ee,z,e){var M=e(59652);ee.exports=function(k,l,T,b,d){d||(d={});var s=d.tickSuffixDflt,t=M(k);T("tickprefix")&&T("showtickprefix",t),T("ticksuffix",s)&&T("showticksuffix",t)}},42449:function(ee,z,e){var M=e(18783).FROM_BL;ee.exports=function(k,l,T){T===void 0&&(T=M[k.constraintoward||"center"]);var b=[k.r2l(k.range[0]),k.r2l(k.range[1])],d=b[0]+(b[1]-b[0])*T;k.range=k._input.range=[k.l2r(d+(b[0]-d)*l),k.l2r(d+(b[1]-d)*l)],k.setScale()}},21994:function(ee,z,e){var M=e(39898),k=e(84096).g0,l=e(71828),T=l.numberFormat,b=e(92770),d=l.cleanNumber,s=l.ms2DateTime,t=l.dateTime2ms,i=l.ensureNumber,r=l.isArrayOrTypedArray,n=e(50606),o=n.FP_SAFE,a=n.BADNUM,u=n.LOG_CLIP,p=n.ONEWEEK,c=n.ONEDAY,x=n.ONEHOUR,g=n.ONEMIN,h=n.ONESEC,m=e(41675),v=e(85555),y=v.HOUR_PATTERN,_=v.WEEKDAY_PATTERN;function f(w){return Math.pow(10,w)}function S(w){return w!=null}ee.exports=function(w,E){E=E||{};var L=w._id||"x",C=L.charAt(0);function P(Q,re){if(Q>0)return Math.log(Q)/Math.LN10;if(Q<=0&&re&&w.range&&w.range.length===2){var ie=w.range[0],oe=w.range[1];return .5*(ie+oe-2*u*Math.abs(ie-oe))}return a}function R(Q,re,ie,oe){if((oe||{}).msUTC&&b(Q))return+Q;var ce=t(Q,ie||w.calendar);if(ce===a){if(!b(Q))return a;Q=+Q;var pe=Math.floor(10*l.mod(Q+.05,1)),ge=Math.round(Q-pe/10);ce=t(new Date(ge))+pe/10}return ce}function G(Q,re,ie){return s(Q,re,ie||w.calendar)}function O(Q){return w._categories[Math.round(Q)]}function V(Q){if(S(Q)){if(w._categoriesMap===void 0&&(w._categoriesMap={}),w._categoriesMap[Q]!==void 0)return w._categoriesMap[Q];w._categories.push(typeof Q=="number"?String(Q):Q);var re=w._categories.length-1;return w._categoriesMap[Q]=re,re}return a}function N(Q){if(w._categoriesMap)return w._categoriesMap[Q]}function B(Q){var re=N(Q);return re!==void 0?re:b(Q)?+Q:void 0}function H(Q){return b(Q)?+Q:N(Q)}function q(Q,re,ie){return M.round(ie+re*Q,2)}function te(Q,re,ie){return(Q-ie)/re}var K=function(Q){return b(Q)?q(Q,w._m,w._b):a},J=function(Q){return te(Q,w._m,w._b)};if(w.rangebreaks){var Y=C==="y";K=function(Q){if(!b(Q))return a;var re=w._rangebreaks.length;if(!re)return q(Q,w._m,w._b);var ie=Y;w.range[0]>w.range[1]&&(ie=!ie);for(var oe=ie?-1:1,ce=oe*Q,pe=0,ge=0;geye)){pe=ce<(we+ye)/2?ge:ge+1;break}pe=ge+1}var me=w._B[pe]||0;return isFinite(me)?q(Q,w._m2,me):0},J=function(Q){var re=w._rangebreaks.length;if(!re)return te(Q,w._m,w._b);for(var ie=0,oe=0;oew._rangebreaks[oe].pmax&&(ie=oe+1);return te(Q,w._m2,w._B[ie])}}w.c2l=w.type==="log"?P:i,w.l2c=w.type==="log"?f:i,w.l2p=K,w.p2l=J,w.c2p=w.type==="log"?function(Q,re){return K(P(Q,re))}:K,w.p2c=w.type==="log"?function(Q){return f(J(Q))}:J,["linear","-"].indexOf(w.type)!==-1?(w.d2r=w.r2d=w.d2c=w.r2c=w.d2l=w.r2l=d,w.c2d=w.c2r=w.l2d=w.l2r=i,w.d2p=w.r2p=function(Q){return w.l2p(d(Q))},w.p2d=w.p2r=J,w.cleanPos=i):w.type==="log"?(w.d2r=w.d2l=function(Q,re){return P(d(Q),re)},w.r2d=w.r2c=function(Q){return f(d(Q))},w.d2c=w.r2l=d,w.c2d=w.l2r=i,w.c2r=P,w.l2d=f,w.d2p=function(Q,re){return w.l2p(w.d2r(Q,re))},w.p2d=function(Q){return f(J(Q))},w.r2p=function(Q){return w.l2p(d(Q))},w.p2r=J,w.cleanPos=i):w.type==="date"?(w.d2r=w.r2d=l.identity,w.d2c=w.r2c=w.d2l=w.r2l=R,w.c2d=w.c2r=w.l2d=w.l2r=G,w.d2p=w.r2p=function(Q,re,ie){return w.l2p(R(Q,0,ie))},w.p2d=w.p2r=function(Q,re,ie){return G(J(Q),re,ie)},w.cleanPos=function(Q){return l.cleanDate(Q,a,w.calendar)}):w.type==="category"?(w.d2c=w.d2l=V,w.r2d=w.c2d=w.l2d=O,w.d2r=w.d2l_noadd=B,w.r2c=function(Q){var re=H(Q);return re!==void 0?re:w.fraction2r(.5)},w.l2r=w.c2r=i,w.r2l=H,w.d2p=function(Q){return w.l2p(w.r2c(Q))},w.p2d=function(Q){return O(J(Q))},w.r2p=w.d2p,w.p2r=J,w.cleanPos=function(Q){return typeof Q=="string"&&Q!==""?Q:i(Q)}):w.type==="multicategory"&&(w.r2d=w.c2d=w.l2d=O,w.d2r=w.d2l_noadd=B,w.r2c=function(Q){var re=B(Q);return re!==void 0?re:w.fraction2r(.5)},w.r2c_just_indices=N,w.l2r=w.c2r=i,w.r2l=B,w.d2p=function(Q){return w.l2p(w.r2c(Q))},w.p2d=function(Q){return O(J(Q))},w.r2p=w.d2p,w.p2r=J,w.cleanPos=function(Q){return Array.isArray(Q)||typeof Q=="string"&&Q!==""?Q:i(Q)},w.setupMultiCategory=function(Q){var re,ie,oe=w._traceIndices,ce=w._matchGroup;if(ce&&w._categories.length===0){for(var pe in ce)if(pe!==L){var ge=E[m.id2name(pe)];oe=oe.concat(ge._traceIndices)}}var we=[[0,{}],[0,{}]],ye=[];for(re=0;rege[1]&&(oe[pe?0:1]=ie)}},w.cleanRange=function(Q,re){w._cleanRange(Q,re),w.limitRange(Q)},w._cleanRange=function(Q,re){re||(re={}),Q||(Q="range");var ie,oe,ce=l.nestedProperty(w,Q).get();if(oe=(oe=w.type==="date"?l.dfltRange(w.calendar):C==="y"?v.DFLTRANGEY:w._name==="realaxis"?[0,1]:re.dfltRange||v.DFLTRANGEX).slice(),w.rangemode!=="tozero"&&w.rangemode!=="nonnegative"||(oe[0]=0),ce&&ce.length===2){var pe=ce[0]===null,ge=ce[1]===null;for(w.type!=="date"||w.autorange||(ce[0]=l.cleanDate(ce[0],a,w.calendar),ce[1]=l.cleanDate(ce[1],a,w.calendar)),ie=0;ie<2;ie++)if(w.type==="date"){if(!l.isDateTime(ce[ie],w.calendar)){w[Q]=oe;break}if(w.r2l(ce[0])===w.r2l(ce[1])){var we=l.constrain(w.r2l(ce[0]),l.MIN_MS+1e3,l.MAX_MS-1e3);ce[0]=w.l2r(we-1e3),ce[1]=w.l2r(we+1e3);break}}else{if(!b(ce[ie])){if(pe||ge||!b(ce[1-ie])){w[Q]=oe;break}ce[ie]=ce[1-ie]*(ie?10:.1)}if(ce[ie]<-o?ce[ie]=-o:ce[ie]>o&&(ce[ie]=o),ce[0]===ce[1]){var ye=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=ye,ce[1]+=ye}}}else l.nestedProperty(w,Q).set(oe)},w.setScale=function(Q){var re=E._size;if(w.overlaying){var ie=m.getFromId({_fullLayout:E},w.overlaying);w.domain=ie.domain}var oe=Q&&w._r?"_r":"range",ce=w.calendar;w.cleanRange(oe);var pe,ge,we=w.r2l(w[oe][0],ce),ye=w.r2l(w[oe][1],ce),me=C==="y";if(me?(w._offset=re.t+(1-w.domain[1])*re.h,w._length=re.h*(w.domain[1]-w.domain[0]),w._m=w._length/(we-ye),w._b=-w._m*ye):(w._offset=re.l+w.domain[0]*re.w,w._length=re.w*(w.domain[1]-w.domain[0]),w._m=w._length/(ye-we),w._b=-w._m*we),w._rangebreaks=[],w._lBreaks=0,w._m2=0,w._B=[],w.rangebreaks&&(w._rangebreaks=w.locateBreaks(Math.min(we,ye),Math.max(we,ye)),w._rangebreaks.length)){for(pe=0;peye&&(Oe=!Oe),Oe&&w._rangebreaks.reverse();var ke=Oe?-1:1;for(w._m2=ke*w._length/(Math.abs(ye-we)-w._lBreaks),w._B.push(-w._m2*(me?ye:we)),pe=0;peoe&&(oe+=7,ceoe&&(oe+=24,ce=ie&&ce=ie&&Q=Me.min&&(_eMe.max&&(Me.max=ze),Ne=!1)}Ne&&ge.push({min:_e,max:ze})}};for(ie=0;iet.duration?(function(){for(var y={},_=0;_ rect").call(T.setTranslate,0,0).call(T.setScale,1,1),g.plot.call(T.setTranslate,h._offset,m._offset).call(T.setScale,1,1);var v=g.plot.selectAll(".scatterlayer .trace");v.selectAll(".point").call(T.setPointGroupScale,1,1),v.selectAll(".textpoint").call(T.setTextPointsScale,1,1),v.call(T.hideOutsideRangePoints,g)}function x(g,h){var m=g.plotinfo,v=m.xaxis,y=m.yaxis,_=v._length,f=y._length,S=!!g.xr1,w=!!g.yr1,E=[];if(S){var L=l.simpleMap(g.xr0,v.r2l),C=l.simpleMap(g.xr1,v.r2l),P=L[1]-L[0],R=C[1]-C[0];E[0]=(L[0]*(1-h)+h*C[0]-L[0])/(L[1]-L[0])*_,E[2]=_*(1-h+h*R/P),v.range[0]=v.l2r(L[0]*(1-h)+h*C[0]),v.range[1]=v.l2r(L[1]*(1-h)+h*C[1])}else E[0]=0,E[2]=_;if(w){var G=l.simpleMap(g.yr0,y.r2l),O=l.simpleMap(g.yr1,y.r2l),V=G[1]-G[0],N=O[1]-O[0];E[1]=(G[1]*(1-h)+h*O[1]-G[1])/(G[0]-G[1])*f,E[3]=f*(1-h+h*N/V),y.range[0]=v.l2r(G[0]*(1-h)+h*O[0]),y.range[1]=y.l2r(G[1]*(1-h)+h*O[1])}else E[1]=0,E[3]=f;b.drawOne(d,v,{skipTitle:!0}),b.drawOne(d,y,{skipTitle:!0}),b.redrawComponents(d,[v._id,y._id]);var B=S?_/E[2]:1,H=w?f/E[3]:1,q=S?E[0]:0,te=w?E[1]:0,K=S?E[0]/E[2]*_:0,J=w?E[1]/E[3]*f:0,Y=v._offset-K,W=y._offset-J;m.clipRect.call(T.setTranslate,q,te).call(T.setScale,1/B,1/H),m.plot.call(T.setTranslate,Y,W).call(T.setScale,B,H),T.setPointGroupScale(m.zoomScalePts,1/B,1/H),T.setTextPointsScale(m.zoomScaleTxt,1/B,1/H)}b.redrawComponents(d)}},951:function(ee,z,e){var M=e(73972).traceIs,k=e(4322);function l(b){return{v:"x",h:"y"}[b.orientation||"v"]}function T(b,d){var s=l(b),t=M(b,"box-violin"),i=M(b._fullInput||{},"candlestick");return t&&!i&&d===s&&b[s]===void 0&&b[s+"0"]===void 0}ee.exports=function(b,d,s,t){s("autotypenumbers",t.autotypenumbersDflt),s("type",(t.splomStash||{}).type)==="-"&&(function(i,r){if(i.type==="-"){var n,o=i._id,a=o.charAt(0);o.indexOf("scene")!==-1&&(o=a);var u=function(y,_,f){for(var S=0;S0&&(w["_"+f+"axes"]||{})[_]||(w[f+"axis"]||f)===_&&(T(w,f)||(w[f]||[]).length||w[f+"0"]))return w}}(r,o,a);if(u)if(u.type!=="histogram"||a!=={v:"y",h:"x"}[u.orientation||"v"]){var p=a+"calendar",c=u[p],x={noMultiCategory:!M(u,"cartesian")||M(u,"noMultiCategory")};if(u.type==="box"&&u._hasPreCompStats&&a==={h:"x",v:"y"}[u.orientation||"v"]&&(x.noMultiCategory=!0),x.autotypenumbers=i.autotypenumbers,T(u,a)){var g=l(u),h=[];for(n=0;n0?".":"")+n;k.isPlainObject(o)?d(o,t,a,r+1):t(a,n,o)}})}z.manageCommandObserver=function(s,t,i,r){var n={},o=!0;t&&t._commandObserver&&(n=t._commandObserver),n.cache||(n.cache={}),n.lookupTable={};var a=z.hasSimpleAPICommandBindings(s,i,n.lookupTable);if(t&&t._commandObserver){if(a)return n;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,n}if(a){l(s,a,n.cache),n.check=function(){if(o){var c=l(s,a,n.cache);return c.changed&&r&&n.lookupTable[c.value]!==void 0&&(n.disable(),Promise.resolve(r({value:c.value,type:a.type,prop:a.prop,traces:a.traces,index:n.lookupTable[c.value]})).then(n.enable,n.enable)),c.changed}};for(var u=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],p=0;p0&&R<0&&(R+=360);var V=(R-P)/4;return{type:"Polygon",coordinates:[[[P,G],[P,O],[P+V,O],[P+2*V,O],[P+3*V,O],[R,O],[R,G],[R-V,G],[R-2*V,G],[R-3*V,G],[P,G]]]}}ee.exports=function(E){return new f(E)},S.plot=function(E,L,C,P){var R=this;if(P)return R.update(E,L,!0);R._geoCalcData=E,R._fullLayout=L;var G=L[this.id],O=[],V=!1;for(var N in m.layerNameToAdjective)if(N!=="frame"&&G["show"+N]){V=!0;break}for(var B=!1,H=0;H0&&O._module.calcGeoJSON(G,L)}if(!C){if(this.updateProjection(E,L))return;this.viewInitial&&this.scope===P.scope||this.saveViewInitial(P)}this.scope=P.scope,this.updateBaseLayers(L,P),this.updateDims(L,P),this.updateFx(L,P),o.generalUpdatePerTraceModule(this.graphDiv,this,E,P);var V=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=V.selectAll(".point"),this.dataPoints.text=V.selectAll("text"),this.dataPaths.line=V.selectAll(".js-line");var N=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=N.selectAll("path"),this._render()},S.updateProjection=function(E,L){var C=this.graphDiv,P=L[this.id],R=L._size,G=P.domain,O=P.projection,V=P.lonaxis,N=P.lataxis,B=V._ax,H=N._ax,q=this.projection=function(se){var ne=se.projection,ve=ne.type,Ee=m.projNames[ve];Ee="geo"+s.titleCase(Ee);for(var _e=(k[Ee]||b[Ee])(),ze=se._isSatellite?180*Math.acos(1/ne.distance)/Math.PI:se._isClipped?m.lonaxisSpan[ve]/2:null,Ne=["center","rotate","parallels","clipExtent"],fe=function(Ce){return Ce?_e:[]},Me=0;Meze*Math.PI/180}return!1},_e.getPath=function(){return l().projection(_e)},_e.getBounds=function(Ce){return _e.getPath().bounds(Ce)},_e.precision(m.precision),se._isSatellite&&_e.tilt(ne.tilt).distance(ne.distance),ze&&_e.clipAngle(ze-m.clipPad),_e}(P),te=[[R.l+R.w*G.x[0],R.t+R.h*(1-G.y[1])],[R.l+R.w*G.x[1],R.t+R.h*(1-G.y[0])]],K=P.center||{},J=O.rotation||{},Y=V.range||[],W=N.range||[];if(P.fitbounds){B._length=te[1][0]-te[0][0],H._length=te[1][1]-te[0][1],B.range=u(C,B),H.range=u(C,H);var Q=(B.range[0]+B.range[1])/2,re=(H.range[0]+H.range[1])/2;if(P._isScoped)K={lon:Q,lat:re};else if(P._isClipped){K={lon:Q,lat:re},J={lon:Q,lat:re,roll:J.roll};var ie=O.type,oe=m.lonaxisSpan[ie]/2||180,ce=m.lataxisSpan[ie]/2||90;Y=[Q-oe,Q+oe],W=[re-ce,re+ce]}else K={lon:Q,lat:re},J={lon:Q,lat:J.lat,roll:J.roll}}q.center([K.lon-J.lon,K.lat-J.lat]).rotate([-J.lon,-J.lat,J.roll]).parallels(O.parallels);var pe=w(Y,W);q.fitExtent(te,pe);var ge=this.bounds=q.getBounds(pe),we=this.fitScale=q.scale(),ye=q.translate();if(P.fitbounds){var me=q.getBounds(w(B.range,H.range)),Oe=Math.min((ge[1][0]-ge[0][0])/(me[1][0]-me[0][0]),(ge[1][1]-ge[0][1])/(me[1][1]-me[0][1]));isFinite(Oe)?q.scale(Oe*we):s.warn("Something went wrong during"+this.id+"fitbounds computations.")}else q.scale(O.scale*we);var ke=this.midPt=[(ge[0][0]+ge[1][0])/2,(ge[0][1]+ge[1][1])/2];if(q.translate([ye[0]+(ke[0]-ye[0]),ye[1]+(ke[1]-ye[1])]).clipExtent(ge),P._isAlbersUsa){var Te=q([K.lon,K.lat]),le=q.translate();q.translate([le[0]-(Te[0]-le[0]),le[1]-(Te[1]-le[1])])}},S.updateBaseLayers=function(E,L){var C=this,P=C.topojson,R=C.layers,G=C.basePaths;function O(q){return q==="lonaxis"||q==="lataxis"}function V(q){return Boolean(m.lineLayers[q])}function N(q){return Boolean(m.fillLayers[q])}var B=(this.hasChoropleth?m.layersForChoropleth:m.layers).filter(function(q){return V(q)||N(q)?L["show"+q]:!O(q)||L[q].showgrid}),H=C.framework.selectAll(".layer").data(B,String);H.exit().each(function(q){delete R[q],delete G[q],M.select(this).remove()}),H.enter().append("g").attr("class",function(q){return"layer "+q}).each(function(q){var te=R[q]=M.select(this);q==="bg"?C.bgRect=te.append("rect").style("pointer-events","all"):O(q)?G[q]=te.append("path").style("fill","none"):q==="backplot"?te.append("g").classed("choroplethlayer",!0):q==="frontplot"?te.append("g").classed("scatterlayer",!0):V(q)?G[q]=te.append("path").style("fill","none").style("stroke-miterlimit",2):N(q)&&(G[q]=te.append("path").style("stroke","none"))}),H.order(),H.each(function(q){var te=G[q],K=m.layerNameToAdjective[q];q==="frame"?te.datum(m.sphereSVG):V(q)||N(q)?te.datum(_(P,P.objects[q])):O(q)&&te.datum(function(J,Y,W){var Q,re,ie,oe=Y[J],ce=m.scopeDefaults[Y.scope];J==="lonaxis"?(Q=ce.lonaxisRange,re=ce.lataxisRange,ie=function(le,se){return[le,se]}):J==="lataxis"&&(Q=ce.lataxisRange,re=ce.lonaxisRange,ie=function(le,se){return[se,le]});var pe={type:"linear",range:[Q[0],Q[1]-1e-6],tick0:oe.tick0,dtick:oe.dtick};a.setConvert(pe,W);var ge=a.calcTicks(pe);Y.isScoped||J!=="lonaxis"||ge.pop();for(var we=ge.length,ye=new Array(we),me=0;me-1&&g(M.event,P,[C.xaxis],[C.yaxis],C.id,V),O.indexOf("event")>-1&&n.click(P,M.event))})}function N(B){return C.projection.invert([B[0]+C.xaxis._offset,B[1]+C.yaxis._offset])}},S.makeFramework=function(){var E=this,L=E.graphDiv,C=L._fullLayout,P="clip"+C._uid+E.id;E.clipDef=C._clips.append("clipPath").attr("id",P),E.clipRect=E.clipDef.append("rect"),E.framework=M.select(E.container).append("g").attr("class","geo "+E.id).call(r.setClipUrl,P,L),E.project=function(R){var G=E.projection(R);return G?[G[0]-E.xaxis._offset,G[1]-E.yaxis._offset]:[null,null]},E.xaxis={_id:"x",c2p:function(R){return E.project(R)[0]}},E.yaxis={_id:"y",c2p:function(R){return E.project(R)[1]}},E.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},a.setConvert(E.mockAxis,C)},S.saveViewInitial=function(E){var L,C=E.center||{},P=E.projection,R=P.rotation||{};this.viewInitial={fitbounds:E.fitbounds,"projection.scale":P.scale},L=E._isScoped?{"center.lon":C.lon,"center.lat":C.lat}:E._isClipped?{"projection.rotation.lon":R.lon,"projection.rotation.lat":R.lat}:{"center.lon":C.lon,"center.lat":C.lat,"projection.rotation.lon":R.lon},s.extendFlat(this.viewInitial,L)},S.render=function(E){this._hasMarkerAngles&&E?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},S._render=function(){var E,L=this.projection,C=L.getPath();function P(G){var O=L(G.lonlat);return O?t(O[0],O[1]):null}function R(G){return L.isLonLatOverEdges(G.lonlat)?"none":null}for(E in this.basePaths)this.basePaths[E].attr("d",C);for(E in this.dataPaths)this.dataPaths[E].attr("d",function(G){return C(G.geojson)});for(E in this.dataPoints)this.dataPoints[E].attr("display",R).attr("transform",P)}},44622:function(ee,z,e){var M=e(27659).AU,k=e(71828).counterRegex,l=e(69082),T="geo",b=k(T),d={};d[T]={valType:"subplotid",dflt:T,editType:"calc"},ee.exports={attr:T,name:T,idRoot:T,idRegex:b,attrRegex:b,attributes:d,layoutAttributes:e(77519),supplyLayoutDefaults:e(82161),plot:function(s){for(var t=s._fullLayout,i=s.calcdata,r=t._subplots[T],n=0;n0&&N<0&&(N+=360);var B,H,q,te=(V+N)/2;if(!x){var K=g?p.projRotate:[te,0,0];B=r("projection.rotation.lon",K[0]),r("projection.rotation.lat",K[1]),r("projection.rotation.roll",K[2]),r("showcoastlines",!g&&_)&&(r("coastlinecolor"),r("coastlinewidth")),r("showocean",!!_&&void 0)&&r("oceancolor")}x?(H=-96.6,q=38.7):(H=g?te:B,q=(O[0]+O[1])/2),r("center.lon",H),r("center.lat",q),h&&(r("projection.tilt"),r("projection.distance")),m&&r("projection.parallels",p.projParallels||[0,60]),r("projection.scale"),r("showland",!!_&&void 0)&&r("landcolor"),r("showlakes",!!_&&void 0)&&r("lakecolor"),r("showrivers",!!_&&void 0)&&(r("rivercolor"),r("riverwidth")),r("showcountries",g&&u!=="usa"&&_)&&(r("countrycolor"),r("countrywidth")),(u==="usa"||u==="north america"&&a===50)&&(r("showsubunits",_),r("subunitcolor"),r("subunitwidth")),g||r("showframe",_)&&(r("framecolor"),r("framewidth")),r("bgcolor"),r("fitbounds")&&(delete i.projection.scale,g?(delete i.center.lon,delete i.center.lat):v?(delete i.center.lon,delete i.center.lat,delete i.projection.rotation.lon,delete i.projection.rotation.lat,delete i.lonaxis.range,delete i.lataxis.range):(delete i.center.lon,delete i.center.lat,delete i.projection.rotation.lon))}ee.exports=function(t,i,r){k(t,i,r,{type:"geo",attributes:b,handleDefaults:s,fullData:r,partition:"y"})}},74455:function(ee,z,e){var M=e(39898),k=e(71828),l=e(73972),T=Math.PI/180,b=180/Math.PI,d={cursor:"pointer"},s={cursor:"auto"};function t(g,h){return M.behavior.zoom().translate(h.translate()).scale(h.scale())}function i(g,h,m){var v=g.id,y=g.graphDiv,_=y.layout,f=_[v],S=y._fullLayout,w=S[v],E={},L={};function C(P,R){E[v+"."+P]=k.nestedProperty(f,P).get(),l.call("_storeDirectGUIEdit",_,S._preGUI,E);var G=k.nestedProperty(w,P);G.get()!==R&&(G.set(R),k.nestedProperty(f,P).set(R),L[v+"."+P]=R)}m(C),C("projection.scale",h.scale()/g.fitScale),C("fitbounds",!1),y.emit("plotly_relayout",L)}function r(g,h){var m=t(0,h);function v(y){var _=h.invert(g.midPt);y("center.lon",_[0]),y("center.lat",_[1])}return m.on("zoomstart",function(){M.select(this).style(d)}).on("zoom",function(){h.scale(M.event.scale).translate(M.event.translate),g.render(!0);var y=h.invert(g.midPt);g.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":h.scale()/g.fitScale,"geo.center.lon":y[0],"geo.center.lat":y[1]})}).on("zoomend",function(){M.select(this).style(s),i(g,h,v)}),m}function n(g,h){var m,v,y,_,f,S,w,E,L,C=t(0,h);function P(G){return h.invert(G)}function R(G){var O=h.rotate(),V=h.invert(g.midPt);G("projection.rotation.lon",-O[0]),G("center.lon",V[0]),G("center.lat",V[1])}return C.on("zoomstart",function(){M.select(this).style(d),m=M.mouse(this),v=h.rotate(),y=h.translate(),_=v,f=P(m)}).on("zoom",function(){if(S=M.mouse(this),function(V){var N=P(V);if(!N)return!0;var B=h(N);return Math.abs(B[0]-V[0])>2||Math.abs(B[1]-V[1])>2}(m))return C.scale(h.scale()),void C.translate(h.translate());h.scale(M.event.scale),h.translate([y[0],M.event.translate[1]]),f?P(S)&&(E=P(S),w=[_[0]+(E[0]-f[0]),v[1],v[2]],h.rotate(w),_=w):f=P(m=S),L=!0,g.render(!0);var G=h.rotate(),O=h.invert(g.midPt);g.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":h.scale()/g.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1],"geo.projection.rotation.lon":-G[0]})}).on("zoomend",function(){M.select(this).style(s),L&&i(g,h,R)}),C}function o(g,h){var m;h.rotate(),h.scale();var v=t(0,h),y=function(w){for(var E=0,L=arguments.length,C=[];++ERe?(_e=(be>0?90:-90)-Fe,Ee=0):(_e=Math.asin(be/Re)*b-Fe,Ee=Math.sqrt(Re*Re-be*be));var He=180-_e-2*Fe,Ge=(Math.atan2(Ce,Me)-Math.atan2(fe,Ee))*b,Ke=(Math.atan2(Ce,Me)-Math.atan2(fe,-Ee))*b;return u(ne[0],ne[1],_e,Ge)<=u(ne[0],ne[1],He,Ke)?[_e,Ge,ne[2]]:[He,Ke,ne[2]]}(ke,m,te);isFinite(Te[0])&&isFinite(Te[1])&&isFinite(Te[2])||(Te=te),h.rotate(Te),te=Te}}else m=a(h,H=ye);y.of(this,arguments)({type:"zoom"})}),B=y.of(this,arguments),_++||B({type:"zoomstart"})}).on("zoomend",function(){var w;M.select(this).style(s),f.call(v,"zoom",null),w=y.of(this,arguments),--_||w({type:"zoomend"}),i(g,h,S)}).on("zoom.redraw",function(){g.render(!0);var w=h.rotate();g.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":h.scale()/g.fitScale,"geo.projection.rotation.lon":-w[0],"geo.projection.rotation.lat":-w[1]})}),M.rebind(v,y,"on")}function a(g,h){var m=g.invert(h);return m&&isFinite(m[0])&&isFinite(m[1])&&function(v){var y=v[0]*T,_=v[1]*T,f=Math.cos(_);return[f*Math.cos(y),f*Math.sin(y),Math.sin(_)]}(m)}function u(g,h,m,v){var y=p(m-g),_=p(v-h);return Math.sqrt(y*y+_*_)}function p(g){return(g%360+540)%360-180}function c(g,h,m){var v=m*T,y=g.slice(),_=h===0?1:0,f=h===2?1:2,S=Math.cos(v),w=Math.sin(v);return y[_]=g[_]*S-g[f]*w,y[f]=g[f]*S+g[_]*w,y}function x(g,h){for(var m=0,v=0,y=g.length;vMath.abs(x)?(r.boxEnd[1]=r.boxStart[1]+Math.abs(c)*C*(x>=0?1:-1),r.boxEnd[1]g[3]&&(r.boxEnd[1]=g[3],r.boxEnd[0]=r.boxStart[0]+(g[3]-r.boxStart[1])/Math.abs(C))):(r.boxEnd[0]=r.boxStart[0]+Math.abs(x)/C*(c>=0?1:-1),r.boxEnd[0]g[2]&&(r.boxEnd[0]=g[2],r.boxEnd[1]=r.boxStart[1]+(g[2]-r.boxStart[0])*Math.abs(C)))}}else r.boxEnabled?(c=r.boxStart[0]!==r.boxEnd[0],x=r.boxStart[1]!==r.boxEnd[1],c||x?(c&&(f(0,r.boxStart[0],r.boxEnd[0]),s.xaxis.autorange=!1),x&&(f(1,r.boxStart[1],r.boxEnd[1]),s.yaxis.autorange=!1),s.relayoutCallback()):s.glplot.setDirty(),r.boxEnabled=!1,r.boxInited=!1):r.boxInited&&(r.boxInited=!1);break;case"pan":r.boxEnabled=!1,r.boxInited=!1,a?(r.panning||(r.dragStart[0]=u,r.dragStart[1]=p),Math.abs(r.dragStart[0]-u).999&&(v="turntable"):v="turntable")}else v="turntable";o("dragmode",v),o("hovermode",a.getDfltFromLayout("hovermode"))}ee.exports=function(r,n,o){var a=n._basePlotModules.length>1;T(r,n,o,{type:t,attributes:d,handleDefaults:i,fullLayout:n,font:n.font,fullData:o,getDfltFromLayout:function(u){if(!a)return M.validate(r[u],d[u])?r[u]:void 0},autotypenumbersDflt:n.autotypenumbers,paper_bgcolor:n.paper_bgcolor,calendar:n.calendar})}},65500:function(ee,z,e){var M=e(77894),k=e(27670).Y,l=e(1426).extendFlat,T=e(71828).counterRegex;function b(d,s,t){return{x:{valType:"number",dflt:d,editType:"camera"},y:{valType:"number",dflt:s,editType:"camera"},z:{valType:"number",dflt:t,editType:"camera"},editType:"camera"}}ee.exports={_arrayAttrRegexps:[T("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:l(b(0,0,1),{}),center:l(b(0,0,0),{}),eye:l(b(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:k({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:M,yaxis:M,zaxis:M,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(ee,z,e){var M=e(78614),k=["xaxis","yaxis","zaxis"];function l(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}l.prototype.merge=function(T){for(var b=0;b<3;++b){var d=T[k[b]];d.visible?(this.enabled[b]=d.showspikes,this.colors[b]=M(d.spikecolor),this.drawSides[b]=d.spikesides,this.lineWidth[b]=d.spikethickness):(this.enabled[b]=!1,this.drawSides[b]=!1)}},ee.exports=function(T){var b=new l;return b.merge(T),b}},96085:function(ee,z,e){ee.exports=function(b){for(var d=b.axesOptions,s=b.glplot.axesPixels,t=b.fullSceneLayout,i=[[],[],[]],r=0;r<3;++r){var n=t[l[r]];if(n._length=(s[r].hi-s[r].lo)*s[r].pixelsPerDataUnit/b.dataScale[r],Math.abs(n._length)===1/0||isNaN(n._length))i[r]=[];else{n._input_range=n.range.slice(),n.range[0]=s[r].lo/b.dataScale[r],n.range[1]=s[r].hi/b.dataScale[r],n._m=1/(b.dataScale[r]*s[r].pixelsPerDataUnit),n.range[0]===n.range[1]&&(n.range[0]-=1,n.range[1]+=1);var o=n.tickmode;if(n.tickmode==="auto"){n.tickmode="linear";var a=n.nticks||k.constrain(n._length/40,4,9);M.autoTicks(n,Math.abs(n.range[1]-n.range[0])/a)}for(var u=M.calcTicks(n,{msUTC:!0}),p=0;p/g," "));i[r]=u,n.tickmode=o}}for(d.ticks=i,r=0;r<3;++r)for(T[r]=.5*(b.glplot.bounds[0][r]+b.glplot.bounds[1][r]),p=0;p<2;++p)d.bounds[p][r]=b.glplot.bounds[p][r];b.contourLevels=function(c){for(var x=new Array(3),g=0;g<3;++g){for(var h=c[g],m=new Array(h.length),v=0;vR.deltaY?1.1:.9090909090909091,O=w.glplot.getAspectratio();w.glplot.setAspectratio({x:G*O.x,y:G*O.y,z:G*O.z})}P(w)}},!!s&&{passive:!1}),w.glplot.canvas.addEventListener("mousemove",function(){if(w.fullSceneLayout.dragmode!==!1&&w.camera.mouseListener.buttons!==0){var R=C();w.graphDiv.emit("plotly_relayouting",R)}}),w.staticMode||w.glplot.canvas.addEventListener("webglcontextlost",function(R){E&&E.emit&&E.emit("plotly_webglcontextlost",{event:R,layer:w.id})},!1)),w.glplot.oncontextloss=function(){w.recoverContext()},w.glplot.onrender=function(){w.render()},!0},y.render=function(){var w,E=this,L=E.graphDiv,C=E.svgContainer,P=E.container.getBoundingClientRect();L._fullLayout._calcInverseTransform(L);var R=L._fullLayout._invScaleX,G=L._fullLayout._invScaleY,O=P.width*R,V=P.height*G;C.setAttributeNS(null,"viewBox","0 0 "+O+" "+V),C.setAttributeNS(null,"width",O),C.setAttributeNS(null,"height",V),g(E),E.glplot.axes.update(E.axesOptions);for(var N=Object.keys(E.traces),B=null,H=E.glplot.selection,q=0;q")):w.type==="isosurface"||w.type==="volume"?(Q.valueLabel=n.hoverLabelText(E._mockAxis,E._mockAxis.d2l(H.traceCoordinate[3]),w.valuehoverformat),ce.push("value: "+Q.valueLabel),H.textLabel&&ce.push(H.textLabel),J=ce.join("
")):J=H.textLabel;var pe={x:H.traceCoordinate[0],y:H.traceCoordinate[1],z:H.traceCoordinate[2],data:Y._input,fullData:Y,curveNumber:Y.index,pointNumber:W};o.appendArrayPointValue(pe,Y,W),w._module.eventData&&(pe=Y._module.eventData(pe,H,Y,{},W));var ge={points:[pe]};if(E.fullSceneLayout.hovermode){var we=[];o.loneHover({trace:Y,x:(.5+.5*K[0]/K[3])*O,y:(.5-.5*K[1]/K[3])*V,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:J,name:B.name,color:o.castHoverOption(Y,W,"bgcolor")||B.color,borderColor:o.castHoverOption(Y,W,"bordercolor"),fontFamily:o.castHoverOption(Y,W,"font.family"),fontSize:o.castHoverOption(Y,W,"font.size"),fontColor:o.castHoverOption(Y,W,"font.color"),nameLength:o.castHoverOption(Y,W,"namelength"),textAlign:o.castHoverOption(Y,W,"align"),hovertemplate:i.castOption(Y,W,"hovertemplate"),hovertemplateLabels:i.extendFlat({},pe,Q),eventData:[pe]},{container:C,gd:L,inOut_bbox:we}),pe.bbox=we[0]}H.distance<5&&(H.buttons||m)?L.emit("plotly_click",ge):L.emit("plotly_hover",ge),this.oldEventData=ge}else o.loneUnhover(C),this.oldEventData&&L.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;E.drawAnnotations(E)},y.recoverContext=function(){var w=this;w.glplot.dispose();var E=function(){w.glplot.gl.isContextLost()?requestAnimationFrame(E):w.initializeGLPlot()?w.plot.apply(w,w.plotArgs):i.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(E)};var f=["xaxis","yaxis","zaxis"];function S(w,E,L){for(var C=w.fullSceneLayout,P=0;P<3;P++){var R=f[P],G=R.charAt(0),O=C[R],V=E[G],N=E[G+"calendar"],B=E["_"+G+"length"];if(i.isArrayOrTypedArray(V))for(var H,q=0;q<(B||V.length);q++)if(i.isArrayOrTypedArray(V[q]))for(var te=0;teY[1][G])Y[0][G]=-1,Y[1][G]=1;else{var Oe=Y[1][G]-Y[0][G];Y[0][G]-=Oe/32,Y[1][G]+=Oe/32}if(re=[Y[0][G],Y[1][G]],re=h(re,V),Y[0][G]=re[0],Y[1][G]=re[1],V.isReversed()){var ke=Y[0][G];Y[0][G]=Y[1][G],Y[1][G]=ke}}else re=V.range,Y[0][G]=V.r2l(re[0]),Y[1][G]=V.r2l(re[1]);Y[0][G]===Y[1][G]&&(Y[0][G]-=1,Y[1][G]+=1),W[G]=Y[1][G]-Y[0][G],V.range=[Y[0][G],Y[1][G]],V.limitRange(),C.glplot.setBounds(G,{min:V.range[0]*te[G],max:V.range[1]*te[G]})}var Te=B.aspectmode;if(Te==="cube")J=[1,1,1];else if(Te==="manual"){var le=B.aspectratio;J=[le.x,le.y,le.z]}else{if(Te!=="auto"&&Te!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var se=[1,1,1];for(G=0;G<3;++G){var ne=Q[N=(V=B[f[G]]).type];se[G]=Math.pow(ne.acc,1/ne.count)/te[G]}J=Te==="data"||Math.max.apply(null,se)/Math.min.apply(null,se)<=4?se:[1,1,1]}B.aspectratio.x=H.aspectratio.x=J[0],B.aspectratio.y=H.aspectratio.y=J[1],B.aspectratio.z=H.aspectratio.z=J[2],C.glplot.setAspectratio(B.aspectratio),C.viewInitial.aspectratio||(C.viewInitial.aspectratio={x:B.aspectratio.x,y:B.aspectratio.y,z:B.aspectratio.z}),C.viewInitial.aspectmode||(C.viewInitial.aspectmode=B.aspectmode);var ve=B.domain||null,Ee=E._size||null;if(ve&&Ee){var _e=C.container.style;_e.position="absolute",_e.left=Ee.l+ve.x[0]*Ee.w+"px",_e.top=Ee.t+(1-ve.y[1])*Ee.h+"px",_e.width=Ee.w*(ve.x[1]-ve.x[0])+"px",_e.height=Ee.h*(ve.y[1]-ve.y[0])+"px"}C.glplot.redraw()}},y.destroy=function(){var w=this;w.glplot&&(w.camera.mouseListener.enabled=!1,w.container.removeEventListener("wheel",w.camera.wheelListener),w.camera=null,w.glplot.dispose(),w.container.parentNode.removeChild(w.container),w.glplot=null)},y.getCamera=function(){var w,E=this;return E.camera.view.recalcMatrix(E.camera.view.lastT()),{up:{x:(w=E.camera).up[0],y:w.up[1],z:w.up[2]},center:{x:w.center[0],y:w.center[1],z:w.center[2]},eye:{x:w.eye[0],y:w.eye[1],z:w.eye[2]},projection:{type:w._ortho===!0?"orthographic":"perspective"}}},y.setViewport=function(w){var E,L=this,C=w.camera;L.camera.lookAt.apply(this,[[(E=C).eye.x,E.eye.y,E.eye.z],[E.center.x,E.center.y,E.center.z],[E.up.x,E.up.y,E.up.z]]),L.glplot.setAspectratio(w.aspectratio),C.projection.type==="orthographic"!==L.camera._ortho&&(L.glplot.redraw(),L.glplot.clearRGBA(),L.glplot.dispose(),L.initializeGLPlot())},y.isCameraChanged=function(w){var E=this.getCamera(),L=i.nestedProperty(w,this.id+".camera").get();function C(O,V,N,B){var H=["up","center","eye"],q=["x","y","z"];return V[H[N]]&&O[H[N]][q[B]]===V[H[N]][q[B]]}var P=!1;if(L===void 0)P=!0;else{for(var R=0;R<3;R++)for(var G=0;G<3;G++)if(!C(E,L,R,G)){P=!0;break}(!L.projection||E.projection&&E.projection.type!==L.projection.type)&&(P=!0)}return P},y.isAspectChanged=function(w){var E=this.glplot.getAspectratio(),L=i.nestedProperty(w,this.id+".aspectratio").get();return L===void 0||L.x!==E.x||L.y!==E.y||L.z!==E.z},y.saveLayout=function(w){var E,L,C,P,R,G,O=this,V=O.fullLayout,N=O.isCameraChanged(w),B=O.isAspectChanged(w),H=N||B;if(H){var q={};N&&(E=O.getCamera(),C=(L=i.nestedProperty(w,O.id+".camera")).get(),q[O.id+".camera"]=C),B&&(P=O.glplot.getAspectratio(),G=(R=i.nestedProperty(w,O.id+".aspectratio")).get(),q[O.id+".aspectratio"]=G),t.call("_storeDirectGUIEdit",w,V._preGUI,q),N&&(L.set(E),i.nestedProperty(V,O.id+".camera").set(E)),B&&(R.set(P),i.nestedProperty(V,O.id+".aspectratio").set(P),O.glplot.redraw())}return H},y.updateFx=function(w,E){var L=this,C=L.camera;if(C)if(w==="orbit")C.mode="orbit",C.keyBindingMode="rotate";else if(w==="turntable"){C.up=[0,0,1],C.mode="turntable",C.keyBindingMode="rotate";var P=L.graphDiv,R=P._fullLayout,G=L.fullSceneLayout.camera,O=G.up.x,V=G.up.y,N=G.up.z;if(N/Math.sqrt(O*O+V*V+N*N)<.999){var B=L.id+".camera.up",H={x:0,y:0,z:1},q={};q[B]=H;var te=P.layout;t.call("_storeDirectGUIEdit",te,R._preGUI,q),G.up=H,i.nestedProperty(te,B).set(H)}}else C.keyBindingMode=w;L.fullSceneLayout.hovermode=E},y.toImage=function(w){var E=this;w||(w="png"),E.staticMode&&E.container.appendChild(M),E.glplot.redraw();var L=E.glplot.gl,C=L.drawingBufferWidth,P=L.drawingBufferHeight;L.bindFramebuffer(L.FRAMEBUFFER,null);var R=new Uint8Array(C*P*4);L.readPixels(0,0,C,P,L.RGBA,L.UNSIGNED_BYTE,R),function(B,H,q){for(var te=0,K=q-1;te0)for(var W=255/Y,Q=0;Q<3;++Q)B[J+Q]=Math.min(W*B[J+Q],255)}}(R,C,P);var G=document.createElement("canvas");G.width=C,G.height=P;var O,V=G.getContext("2d",{willReadFrequently:!0}),N=V.createImageData(C,P);switch(N.data.set(R),V.putImageData(N,0,0),w){case"jpeg":O=G.toDataURL("image/jpeg");break;case"webp":O=G.toDataURL("image/webp");break;default:O=G.toDataURL("image/png")}return E.staticMode&&E.container.removeChild(M),O},y.setConvert=function(){for(var w=0;w<3;w++){var E=this.fullSceneLayout[f[w]];n.setConvert(E,this.fullLayout),E.setScale=i.noop}},y.make4thDimension=function(){var w=this,E=w.graphDiv._fullLayout;w._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},n.setConvert(w._mockAxis,E)},ee.exports=v},90060:function(ee){ee.exports=function(z,e,M,k){k=k||z.length;for(var l=new Array(k),T=0;TOpenStreetMap
contributors',T=['\xA9 Carto',l].join(" "),b=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),d={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:l,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:T,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:T,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:b,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:b,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},s=M(d);ee.exports={requiredVersion:k,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:d,styleValuesNonMapbox:s,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@"+k+"."].join(` @@ -3559,4 +3559,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `+H.split(` `).map(function(te){return" "+te}).join(` `)):H=P.stylize("[Circular]","special")),g(B)){if(N&&V.match(/^\d+$/))return H;(B=JSON.stringify(""+V)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.slice(1,-1),B=P.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=P.stylize(B,"string"))}return B+": "+H}function a(P){return Array.isArray(P)}function u(P){return typeof P=="boolean"}function p(P){return P===null}function c(P){return typeof P=="number"}function x(P){return typeof P=="string"}function g(P){return P===void 0}function h(P){return m(P)&&f(P)==="[object RegExp]"}function m(P){return typeof P=="object"&&P!==null}function v(P){return m(P)&&f(P)==="[object Date]"}function y(P){return m(P)&&(f(P)==="[object Error]"||P instanceof Error)}function _(P){return typeof P=="function"}function f(P){return Object.prototype.toString.call(P)}function S(P){return P<10?"0"+P.toString(10):P.toString(10)}z.debuglog=function(P){if(P=P.toUpperCase(),!T[P])if(b.test(P)){var R=M.pid;T[P]=function(){var G=z.format.apply(z,arguments);console.error("%s %d: %s",P,R,G)}}else T[P]=function(){};return T[P]},z.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},z.types=e(4936),z.isArray=a,z.isBoolean=u,z.isNull=p,z.isNullOrUndefined=function(P){return P==null},z.isNumber=c,z.isString=x,z.isSymbol=function(P){return typeof P=="symbol"},z.isUndefined=g,z.isRegExp=h,z.types.isRegExp=h,z.isObject=m,z.isDate=v,z.types.isDate=v,z.isError=y,z.types.isNativeError=y,z.isFunction=_,z.isPrimitive=function(P){return P===null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||typeof P=="symbol"||P===void 0},z.isBuffer=e(45920);var w=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(P,R){return Object.prototype.hasOwnProperty.call(P,R)}z.log=function(){var P,R;console.log("%s - %s",(R=[S((P=new Date).getHours()),S(P.getMinutes()),S(P.getSeconds())].join(":"),[P.getDate(),w[P.getMonth()],R].join(" ")),z.format.apply(z,arguments))},z.inherits=e(42018),z._extend=function(P,R){if(!R||!m(R))return P;for(var G=Object.keys(R),O=G.length;O--;)P[G[O]]=R[G[O]];return P};var L=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function C(P,R){if(!P){var G=new Error("Promise was rejected with a falsy value");G.reason=P,P=G}return R(P)}z.promisify=function(P){if(typeof P!="function")throw new TypeError('The "original" argument must be of type Function');if(L&&P[L]){var R;if(typeof(R=P[L])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(R,L,{value:R,enumerable:!1,writable:!1,configurable:!0}),R}function R(){for(var G,O,V=new Promise(function(H,q){G=H,O=q}),N=[],B=0;B"u"?e.g:globalThis,t=k(),i=l("String.prototype.slice"),r={},n=Object.getPrototypeOf;d&&T&&n&&M(t,function(a){if(typeof s[a]=="function"){var u=new s[a];if(Symbol.toStringTag in u){var p=n(u),c=T(p,Symbol.toStringTag);if(!c){var x=n(p);c=T(x,Symbol.toStringTag)}r[a]=c.get}}});var o=e(9187);ee.exports=function(a){return!!o(a)&&(d&&Symbol.toStringTag in a?function(u){var p=!1;return M(r,function(c,x){if(!p)try{var g=c.call(u);g===x&&(p=g)}catch{}}),p}(a):i(b(a),8,-1))}},3961:function(ee,z,e){var M=e(63489),k=e(56131),l=M.instance();function T(n){this.local=this.regionalOptions[n||""]||this.regionalOptions[""]}T.prototype=new M.baseCalendar,k(T.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(n,o){if(typeof n=="string"){var a=n.match(d);return a?a[0]:""}var u=this._validateYear(n),p=n.month(),c=""+this.toChineseMonth(u,p);return o&&c.length<2&&(c="0"+c),this.isIntercalaryMonth(u,p)&&(c+="i"),c},monthNames:function(n){if(typeof n=="string"){var o=n.match(s);return o?o[0]:""}var a=this._validateYear(n),u=n.month(),p=["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"][this.toChineseMonth(a,u)-1];return this.isIntercalaryMonth(a,u)&&(p="\u95F0"+p),p},monthNamesShort:function(n){if(typeof n=="string"){var o=n.match(t);return o?o[0]:""}var a=this._validateYear(n),u=n.month(),p=["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"][this.toChineseMonth(a,u)-1];return this.isIntercalaryMonth(a,u)&&(p="\u95F0"+p),p},parseMonth:function(n,o){n=this._validateYear(n);var a,u=parseInt(o);if(isNaN(u))o[0]==="\u95F0"&&(a=!0,o=o.substring(1)),o[o.length-1]==="\u6708"&&(o=o.substring(0,o.length-1)),u=1+["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"].indexOf(o);else{var p=o[o.length-1];a=p==="i"||p==="I"}return this.toMonthIndex(n,u,a)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(n,o){if(n.year&&(n=n.year()),typeof n!="number"||n<1888||n>2111)throw o.replace(/\{0\}/,this.local.name);return n},toMonthIndex:function(n,o,a){var u=this.intercalaryMonth(n);if(a&&o!==u||o<1||o>12)throw M.local.invalidMonth.replace(/\{0\}/,this.local.name);return u?!a&&o<=u?o-1:o:o-1},toChineseMonth:function(n,o){n.year&&(o=(n=n.year()).month());var a=this.intercalaryMonth(n);if(o<0||o>(a?12:11))throw M.local.invalidMonth.replace(/\{0\}/,this.local.name);return a?o>13},isIntercalaryMonth:function(n,o){n.year&&(o=(n=n.year()).month());var a=this.intercalaryMonth(n);return!!a&&a===o},leapYear:function(n){return this.intercalaryMonth(n)!==0},weekOfYear:function(n,o,a){var u,p=this._validateYear(n,M.local.invalidyear),c=r[p-r[0]],x=c>>9&4095,g=c>>5&15,h=31&c;(u=l.newDate(x,g,h)).add(4-(u.dayOfWeek()||7),"d");var m=this.toJD(n,o,a)-u.toJD();return 1+Math.floor(m/7)},monthsInYear:function(n){return this.leapYear(n)?13:12},daysInMonth:function(n,o){n.year&&(o=n.month(),n=n.year()),n=this._validateYear(n);var a=i[n-i[0]];if(o>(a>>13?12:11))throw M.local.invalidMonth.replace(/\{0\}/,this.local.name);return a&1<<12-o?30:29},weekDay:function(n,o,a){return(this.dayOfWeek(n,o,a)||7)<6},toJD:function(n,o,a){var u=this._validate(n,c,a,M.local.invalidDate);n=this._validateYear(u.year()),o=u.month(),a=u.day();var p=this.isIntercalaryMonth(n,o),c=this.toChineseMonth(n,o),x=function(g,h,m,v,y){var _,f,S;if(typeof g=="object")f=g,_=h||{};else{var w;if(!(typeof g=="number"&&g>=1888&&g<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof h=="number"&&h>=1&&h<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof m=="number"&&m>=1&&m<=30))throw new Error("Lunar day outside range 1 - 30");typeof v=="object"?(w=!1,_=v):(w=!!v,_={}),f={year:g,month:h,day:m,isIntercalary:w}}S=f.day-1;var E,L=i[f.year-i[0]],C=L>>13;E=C&&(f.month>C||f.isIntercalary)?f.month:f.month-1;for(var P=0;P>9&4095,(R>>5&15)-1,(31&R)+S);return _.year=G.getFullYear(),_.month=1+G.getMonth(),_.day=G.getDate(),_}(n,c,a,p);return l.toJD(x.year,x.month,x.day)},fromJD:function(n){var o=l.fromJD(n),a=function(p,c,x,g){var h,m;if(typeof p=="object")h=p,m=c||{};else{if(!(typeof p=="number"&&p>=1888&&p<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof c=="number"&&c>=1&&c<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof x=="number"&&x>=1&&x<=31))throw new Error("Solar day outside range 1 - 31");h={year:p,month:c,day:x},m={}}var v=r[h.year-r[0]],y=h.year<<9|h.month<<5|h.day;m.year=y>=v?h.year:h.year-1,v=r[m.year-r[0]];var _,f=new Date(v>>9&4095,(v>>5&15)-1,31&v),S=new Date(h.year,h.month-1,h.day);_=Math.round((S-f)/864e5);var w,E=i[m.year-i[0]];for(w=0;w<13;w++){var L=E&1<<12-w?30:29;if(_>13;return!C||w=2&&t<=6},extraInfo:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);return{century:T[Math.floor((t.year()-1)/100)+1]||""}},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);return b=t.year()+(t.year()<0?1:0),d=t.month(),(s=t.day())+(d>1?16:0)+(d>2?32*(d-2):0)+400*(b-1)+this.jdEpoch-1},fromJD:function(b){b=Math.floor(b+.5)-Math.floor(this.jdEpoch)-1;var d=Math.floor(b/400)+1;b-=400*(d-1),b+=b>15?16:0;var s=Math.floor(b/32)+1,t=b-32*(s-1)+1;return this.newDate(d<=0?d-1:d,s,t)}});var T={20:"Fruitbat",21:"Anchovy"};M.calendars.discworld=l},37715:function(ee,z,e){var M=e(63489),k=e(56131);function l(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}l.prototype=new M.baseCalendar,k(l.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(T){var b=this._validate(T,this.minMonth,this.minDay,M.local.invalidYear);return(T=b.year()+(b.year()<0?1:0))%4==3||T%4==-1},monthsInYear:function(T){return this._validate(T,this.minMonth,this.minDay,M.local.invalidYear||M.regionalOptions[""].invalidYear),13},weekOfYear:function(T,b,d){var s=this.newDate(T,b,d);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(T,b){var d=this._validate(T,b,this.minDay,M.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===13&&this.leapYear(d.year())?1:0)},weekDay:function(T,b,d){return(this.dayOfWeek(T,b,d)||7)<6},toJD:function(T,b,d){var s=this._validate(T,b,d,M.local.invalidDate);return(T=s.year())<0&&T++,s.day()+30*(s.month()-1)+365*(T-1)+Math.floor(T/4)+this.jdEpoch-1},fromJD:function(T){var b=Math.floor(T)+.5-this.jdEpoch,d=Math.floor((b-Math.floor((b+366)/1461))/365)+1;d<=0&&d--,b=Math.floor(T)+.5-this.newDate(d,1,1).toJD();var s=Math.floor(b/30)+1,t=b-30*(s-1)+1;return this.newDate(d,s,t)}}),M.calendars.ethiopian=l},99384:function(ee,z,e){var M=e(63489),k=e(56131);function l(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}function T(b,d){return b-d*Math.floor(b/d)}l.prototype=new M.baseCalendar,k(l.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var d=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear);return this._leapYear(d.year())},_leapYear:function(b){return T(7*(b=b<0?b+1:b)+1,19)<7},monthsInYear:function(b){return this._validate(b,this.minMonth,this.minDay,M.local.invalidYear),this._leapYear(b.year?b.year():b)?13:12},weekOfYear:function(b,d,s){var t=this.newDate(b,d,s);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(b){return b=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear).year(),this.toJD(b===-1?1:b+1,7,1)-this.toJD(b,7,1)},daysInMonth:function(b,d){return b.year&&(d=b.month(),b=b.year()),this._validate(b,d,this.minDay,M.local.invalidMonth),d===12&&this.leapYear(b)||d===8&&T(this.daysInYear(b),10)===5?30:d===9&&T(this.daysInYear(b),10)===3?29:this.daysPerMonth[d-1]},weekDay:function(b,d,s){return this.dayOfWeek(b,d,s)!==6},extraInfo:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);return{yearType:(this.leapYear(t)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(t)%10-3]}},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);b=t.year(),d=t.month(),s=t.day();var i=b<=0?b+1:b,r=this.jdEpoch+this._delay1(i)+this._delay2(i)+s+1;if(d<7){for(var n=7;n<=this.monthsInYear(b);n++)r+=this.daysInMonth(b,n);for(n=1;n=this.toJD(d===-1?1:d+1,7,1);)d++;for(var s=bthis.toJD(d,s,this.daysInMonth(d,s));)s++;var t=b-this.toJD(d,s,1)+1;return this.newDate(d,s,t)}}),M.calendars.hebrew=l},43805:function(ee,z,e){var M=e(63489),k=e(56131);function l(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}l.prototype=new M.baseCalendar,k(l.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-kham\u012Bs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(T){return(11*this._validate(T,this.minMonth,this.minDay,M.local.invalidYear).year()+14)%30<11},weekOfYear:function(T,b,d){var s=this.newDate(T,b,d);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInYear:function(T){return this.leapYear(T)?355:354},daysInMonth:function(T,b){var d=this._validate(T,b,this.minDay,M.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===12&&this.leapYear(d.year())?1:0)},weekDay:function(T,b,d){return this.dayOfWeek(T,b,d)!==5},toJD:function(T,b,d){var s=this._validate(T,b,d,M.local.invalidDate);return T=s.year(),b=s.month(),T=T<=0?T+1:T,(d=s.day())+Math.ceil(29.5*(b-1))+354*(T-1)+Math.floor((3+11*T)/30)+this.jdEpoch-1},fromJD:function(T){T=Math.floor(T)+.5;var b=Math.floor((30*(T-this.jdEpoch)+10646)/10631);b=b<=0?b-1:b;var d=Math.min(12,Math.ceil((T-29-this.toJD(b,1,1))/29.5)+1),s=T-this.toJD(b,d,1)+1;return this.newDate(b,d,s)}}),M.calendars.islamic=l},88874:function(ee,z,e){var M=e(63489),k=e(56131);function l(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}l.prototype=new M.baseCalendar,k(l.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(T){var b=this._validate(T,this.minMonth,this.minDay,M.local.invalidYear);return(T=b.year()<0?b.year()+1:b.year())%4==0},weekOfYear:function(T,b,d){var s=this.newDate(T,b,d);return s.add(4-(s.dayOfWeek()||7),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(T,b){var d=this._validate(T,b,this.minDay,M.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===2&&this.leapYear(d.year())?1:0)},weekDay:function(T,b,d){return(this.dayOfWeek(T,b,d)||7)<6},toJD:function(T,b,d){var s=this._validate(T,b,d,M.local.invalidDate);return T=s.year(),b=s.month(),d=s.day(),T<0&&T++,b<=2&&(T--,b+=12),Math.floor(365.25*(T+4716))+Math.floor(30.6001*(b+1))+d-1524.5},fromJD:function(T){var b=Math.floor(T+.5)+1524,d=Math.floor((b-122.1)/365.25),s=Math.floor(365.25*d),t=Math.floor((b-s)/30.6001),i=t-Math.floor(t<14?1:13),r=d-Math.floor(i>2?4716:4715),n=b-s-Math.floor(30.6001*t);return r<=0&&r--,this.newDate(r,i,n)}}),M.calendars.julian=l},83290:function(ee,z,e){var M=e(63489),k=e(56131);function l(d){this.local=this.regionalOptions[d||""]||this.regionalOptions[""]}function T(d,s){return d-s*Math.floor(d/s)}function b(d,s){return T(d-1,s)+1}l.prototype=new M.baseCalendar,k(l.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(d){return this._validate(d,this.minMonth,this.minDay,M.local.invalidYear),!1},formatYear:function(d){d=this._validate(d,this.minMonth,this.minDay,M.local.invalidYear).year();var s=Math.floor(d/400);return d%=400,d+=d<0?400:0,s+"."+Math.floor(d/20)+"."+d%20},forYear:function(d){if((d=d.split(".")).length<3)throw"Invalid Mayan year";for(var s=0,t=0;t19||t>0&&i<0)throw"Invalid Mayan year";s=20*s+i}return s},monthsInYear:function(d){return this._validate(d,this.minMonth,this.minDay,M.local.invalidYear),18},weekOfYear:function(d,s,t){return this._validate(d,s,t,M.local.invalidDate),0},daysInYear:function(d){return this._validate(d,this.minMonth,this.minDay,M.local.invalidYear),360},daysInMonth:function(d,s){return this._validate(d,s,this.minDay,M.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(d,s,t){return this._validate(d,s,t,M.local.invalidDate).day()},weekDay:function(d,s,t){return this._validate(d,s,t,M.local.invalidDate),!0},extraInfo:function(d,s,t){var i=this._validate(d,s,t,M.local.invalidDate).toJD(),r=this._toHaab(i),n=this._toTzolkin(i);return{haabMonthName:this.local.haabMonths[r[0]-1],haabMonth:r[0],haabDay:r[1],tzolkinDayName:this.local.tzolkinMonths[n[0]-1],tzolkinDay:n[0],tzolkinTrecena:n[1]}},_toHaab:function(d){var s=T(8+(d-=this.jdEpoch)+340,365);return[Math.floor(s/20)+1,T(s,20)]},_toTzolkin:function(d){return[b(20+(d-=this.jdEpoch),20),b(d+4,13)]},toJD:function(d,s,t){var i=this._validate(d,s,t,M.local.invalidDate);return i.day()+20*i.month()+360*i.year()+this.jdEpoch},fromJD:function(d){d=Math.floor(d)+.5-this.jdEpoch;var s=Math.floor(d/360);d%=360,d+=d<0?360:0;var t=Math.floor(d/20),i=d%20;return this.newDate(s,t,i)}}),M.calendars.mayan=l},29108:function(ee,z,e){var M=e(63489),k=e(56131);function l(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}l.prototype=new M.baseCalendar;var T=M.instance("gregorian");k(l.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var d=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear||M.regionalOptions[""].invalidYear);return T.leapYear(d.year()+(d.year()<1?1:0)+1469)},weekOfYear:function(b,d,s){var t=this.newDate(b,d,s);return t.add(1-(t.dayOfWeek()||7),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(b,d){var s=this._validate(b,d,this.minDay,M.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===12&&this.leapYear(s.year())?1:0)},weekDay:function(b,d,s){return(this.dayOfWeek(b,d,s)||7)<6},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidMonth);(b=t.year())<0&&b++;for(var i=t.day(),r=1;r=this.toJD(d+1,1,1);)d++;for(var s=b-Math.floor(this.toJD(d,1,1)+.5)+1,t=1;s>this.daysInMonth(d,t);)s-=this.daysInMonth(d,t),t++;return this.newDate(d,t,s)}}),M.calendars.nanakshahi=l},55422:function(ee,z,e){var M=e(63489),k=e(56131);function l(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}l.prototype=new M.baseCalendar,k(l.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(T){return this.daysInYear(T)!==this.daysPerYear},weekOfYear:function(T,b,d){var s=this.newDate(T,b,d);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInYear:function(T){if(T=this._validate(T,this.minMonth,this.minDay,M.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[T]===void 0)return this.daysPerYear;for(var b=0,d=this.minMonth;d<=12;d++)b+=this.NEPALI_CALENDAR_DATA[T][d];return b},daysInMonth:function(T,b){return T.year&&(b=T.month(),T=T.year()),this._validate(T,b,this.minDay,M.local.invalidMonth),this.NEPALI_CALENDAR_DATA[T]===void 0?this.daysPerMonth[b-1]:this.NEPALI_CALENDAR_DATA[T][b]},weekDay:function(T,b,d){return this.dayOfWeek(T,b,d)!==6},toJD:function(T,b,d){var s=this._validate(T,b,d,M.local.invalidDate);T=s.year(),b=s.month(),d=s.day();var t=M.instance(),i=0,r=b,n=T;this._createMissingCalendarData(T);var o=T-(r>9||r===9&&d>=this.NEPALI_CALENDAR_DATA[n][0]?56:57);for(b!==9&&(i=d,r--);r!==9;)r<=0&&(r=12,n--),i+=this.NEPALI_CALENDAR_DATA[n][r],r--;return b===9?(i+=d-this.NEPALI_CALENDAR_DATA[n][0])<0&&(i+=t.daysInYear(o)):i+=this.NEPALI_CALENDAR_DATA[n][9]-this.NEPALI_CALENDAR_DATA[n][0],t.newDate(o,1,1).add(i,"d").toJD()},fromJD:function(T){var b=M.instance().fromJD(T),d=b.year(),s=b.dayOfYear(),t=d+56;this._createMissingCalendarData(t);for(var i=9,r=this.NEPALI_CALENDAR_DATA[t][0],n=this.NEPALI_CALENDAR_DATA[t][i]-r+1;s>n;)++i>12&&(i=1,t++),n+=this.NEPALI_CALENDAR_DATA[t][i];var o=this.NEPALI_CALENDAR_DATA[t][i]-(n-s);return this.newDate(t,i,o)},_createMissingCalendarData:function(T){var b=this.daysPerMonth.slice(0);b.unshift(17);for(var d=T-1;d0?474:473))%2820+474+38)%2816<682},weekOfYear:function(b,d,s){var t=this.newDate(b,d,s);return t.add(-(t.dayOfWeek()+1)%7,"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInMonth:function(b,d){var s=this._validate(b,d,this.minDay,M.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===12&&this.leapYear(s.year())?1:0)},weekDay:function(b,d,s){return this.dayOfWeek(b,d,s)!==5},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);b=t.year(),d=t.month(),s=t.day();var i=b-(b>=0?474:473),r=474+T(i,2820);return s+(d<=7?31*(d-1):30*(d-1)+6)+Math.floor((682*r-110)/2816)+365*(r-1)+1029983*Math.floor(i/2820)+this.jdEpoch-1},fromJD:function(b){var d=(b=Math.floor(b)+.5)-this.toJD(475,1,1),s=Math.floor(d/1029983),t=T(d,1029983),i=2820;if(t!==1029982){var r=Math.floor(t/366),n=T(t,366);i=Math.floor((2134*r+2816*n+2815)/1028522)+r+1}var o=i+2820*s+474;o=o<=0?o-1:o;var a=b-this.toJD(o,1,1)+1,u=a<=186?Math.ceil(a/31):Math.ceil((a-6)/30),p=b-this.toJD(o,u,1)+1;return this.newDate(o,u,p)}}),M.calendars.persian=l,M.calendars.jalali=l},31320:function(ee,z,e){var M=e(63489),k=e(56131),l=M.instance();function T(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}T.prototype=new M.baseCalendar,k(T.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(b){var d=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear);return b=this._t2gYear(d.year()),l.leapYear(b)},weekOfYear:function(b,d,s){var t=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear);return b=this._t2gYear(t.year()),l.weekOfYear(b,t.month(),t.day())},daysInMonth:function(b,d){var s=this._validate(b,d,this.minDay,M.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===2&&this.leapYear(s.year())?1:0)},weekDay:function(b,d,s){return(this.dayOfWeek(b,d,s)||7)<6},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);return b=this._t2gYear(t.year()),l.toJD(b,t.month(),t.day())},fromJD:function(b){var d=l.fromJD(b),s=this._g2tYear(d.year());return this.newDate(s,d.month(),d.day())},_t2gYear:function(b){return b+this.yearsOffset+(b>=-this.yearsOffset&&b<=-1?1:0)},_g2tYear:function(b){return b-this.yearsOffset-(b>=1&&b<=this.yearsOffset?1:0)}}),M.calendars.taiwan=T},51367:function(ee,z,e){var M=e(63489),k=e(56131),l=M.instance();function T(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}T.prototype=new M.baseCalendar,k(T.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var d=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear);return b=this._t2gYear(d.year()),l.leapYear(b)},weekOfYear:function(b,d,s){var t=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear);return b=this._t2gYear(t.year()),l.weekOfYear(b,t.month(),t.day())},daysInMonth:function(b,d){var s=this._validate(b,d,this.minDay,M.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===2&&this.leapYear(s.year())?1:0)},weekDay:function(b,d,s){return(this.dayOfWeek(b,d,s)||7)<6},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate);return b=this._t2gYear(t.year()),l.toJD(b,t.month(),t.day())},fromJD:function(b){var d=l.fromJD(b),s=this._g2tYear(d.year());return this.newDate(s,d.month(),d.day())},_t2gYear:function(b){return b-this.yearsOffset-(b>=1&&b<=this.yearsOffset?1:0)},_g2tYear:function(b){return b+this.yearsOffset+(b>=-this.yearsOffset&&b<=-1?1:0)}}),M.calendars.thai=T},21457:function(ee,z,e){var M=e(63489),k=e(56131);function l(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}l.prototype=new M.baseCalendar,k(l.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thal\u0101th\u0101\u2019","Yawm al-Arba\u2018\u0101\u2019","Yawm al-Kham\u012Bs","Yawm al-Jum\u2018a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(b){var d=this._validate(b,this.minMonth,this.minDay,M.local.invalidYear);return this.daysInYear(d.year())===355},weekOfYear:function(b,d,s){var t=this.newDate(b,d,s);return t.add(-t.dayOfWeek(),"d"),Math.floor((t.dayOfYear()-1)/7)+1},daysInYear:function(b){for(var d=0,s=1;s<=12;s++)d+=this.daysInMonth(b,s);return d},daysInMonth:function(b,d){for(var s=this._validate(b,d,this.minDay,M.local.invalidMonth).toJD()-24e5+.5,t=0,i=0;is)return T[t]-T[t-1];t++}return 30},weekDay:function(b,d,s){return this.dayOfWeek(b,d,s)!==5},toJD:function(b,d,s){var t=this._validate(b,d,s,M.local.invalidDate),i=12*(t.year()-1)+t.month()-15292;return t.day()+T[i-1]-1+24e5-.5},fromJD:function(b){for(var d=b-24e5+.5,s=0,t=0;td);t++)s++;var i=s+15292,r=Math.floor((i-1)/12),n=r+1,o=i-12*r,a=d-T[s-1]+1;return this.newDate(n,o,a)},isValid:function(b,d,s){var t=M.baseCalendar.prototype.isValid.apply(this,arguments);return t&&(t=(b=b.year!=null?b.year:b)>=1276&&b<=1500),t},_validate:function(b,d,s,t){var i=M.baseCalendar.prototype._validate.apply(this,arguments);if(i.year<1276||i.year>1500)throw t.replace(/\{0\}/,this.local.name);return i}}),M.calendars.ummalqura=l;var T=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(ee,z,e){var M=e(56131);function k(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function l(t,i,r,n){if(this._calendar=t,this._year=i,this._month=r,this._day=n,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(s.local.invalidDate||s.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function T(t,i){return"000000".substring(0,i-(t=""+t).length)+t}function b(){this.shortYearCutoff="+10"}function d(t){this.local=this.regionalOptions[t]||this.regionalOptions[""]}M(k.prototype,{instance:function(t,i){t=(t||"gregorian").toLowerCase(),i=i||"";var r=this._localCals[t+"-"+i];if(!r&&this.calendars[t]&&(r=new this.calendars[t](i),this._localCals[t+"-"+i]=r),!r)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,t);return r},newDate:function(t,i,r,n,o){return(n=(t!=null&&t.year?t.calendar():typeof n=="string"?this.instance(n,o):n)||this.instance()).newDate(t,i,r)},substituteDigits:function(t){return function(i){return(i+"").replace(/[0-9]/g,function(r){return t[r]})}},substituteChineseDigits:function(t,i){return function(r){for(var n="",o=0;r>0;){var a=r%10;n=(a===0?"":t[a]+i[o])+n,o++,r=Math.floor(r/10)}return n.indexOf(t[1]+i[1])===0&&(n=n.substr(1)),n||t[0]}}}),M(l.prototype,{newDate:function(t,i,r){return this._calendar.newDate(t==null?this:t,i,r)},year:function(t){return arguments.length===0?this._year:this.set(t,"y")},month:function(t){return arguments.length===0?this._month:this.set(t,"m")},day:function(t){return arguments.length===0?this._day:this.set(t,"d")},date:function(t,i,r){if(!this._calendar.isValid(t,i,r))throw(s.local.invalidDate||s.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=t,this._month=i,this._day=r,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(t,i){return this._calendar.add(this,t,i)},set:function(t,i){return this._calendar.set(this,t,i)},compareTo:function(t){if(this._calendar.name!==t._calendar.name)throw(s.local.differentCalendars||s.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,t._calendar.local.name);var i=this._year!==t._year?this._year-t._year:this._month!==t._month?this.monthOfYear()-t.monthOfYear():this._day-t._day;return i===0?0:i<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(t){return this._calendar.fromJD(t)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(t){return this._calendar.fromJSDate(t)},toString:function(){return(this.year()<0?"-":"")+T(Math.abs(this.year()),4)+"-"+T(this.month(),2)+"-"+T(this.day(),2)}}),M(b.prototype,{_validateLevel:0,newDate:function(t,i,r){return t==null?this.today():(t.year&&(this._validate(t,i,r,s.local.invalidDate||s.regionalOptions[""].invalidDate),r=t.day(),i=t.month(),t=t.year()),new l(this,t,i,r))},today:function(){return this.fromJSDate(new Date)},epoch:function(t){return this._validate(t,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(t){var i=this._validate(t,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return(i.year()<0?"-":"")+T(Math.abs(i.year()),4)},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear),12},monthOfYear:function(t,i){var r=this._validate(t,i,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth);return(r.month()+this.monthsInYear(r)-this.firstMonth)%this.monthsInYear(r)+this.minMonth},fromMonthOfYear:function(t,i){var r=(i+this.firstMonth-2*this.minMonth)%this.monthsInYear(t)+this.minMonth;return this._validate(t,r,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth),r},daysInYear:function(t){var i=this._validate(t,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return this.leapYear(i)?366:365},dayOfYear:function(t,i,r){var n=this._validate(t,i,r,s.local.invalidDate||s.regionalOptions[""].invalidDate);return n.toJD()-this.newDate(n.year(),this.fromMonthOfYear(n.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(t,i,r){var n=this._validate(t,i,r,s.local.invalidDate||s.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(n))+2)%this.daysInWeek()},extraInfo:function(t,i,r){return this._validate(t,i,r,s.local.invalidDate||s.regionalOptions[""].invalidDate),{}},add:function(t,i,r){return this._validate(t,this.minMonth,this.minDay,s.local.invalidDate||s.regionalOptions[""].invalidDate),this._correctAdd(t,this._add(t,i,r),i,r)},_add:function(t,i,r){if(this._validateLevel++,r==="d"||r==="w"){var n=t.toJD()+i*(r==="w"?this.daysInWeek():1),o=t.calendar().fromJD(n);return this._validateLevel--,[o.year(),o.month(),o.day()]}try{var a=t.year()+(r==="y"?i:0),u=t.monthOfYear()+(r==="m"?i:0);o=t.day(),r==="y"?(t.month()!==this.fromMonthOfYear(a,u)&&(u=this.newDate(a,t.month(),this.minDay).monthOfYear()),u=Math.min(u,this.monthsInYear(a)),o=Math.min(o,this.daysInMonth(a,this.fromMonthOfYear(a,u)))):r==="m"&&(function(c){for(;ux-1+c.minMonth;)a++,u-=x,x=c.monthsInYear(a)}(this),o=Math.min(o,this.daysInMonth(a,this.fromMonthOfYear(a,u))));var p=[a,this.fromMonthOfYear(a,u),o];return this._validateLevel--,p}catch(c){throw this._validateLevel--,c}},_correctAdd:function(t,i,r,n){if(!(this.hasYearZero||n!=="y"&&n!=="m"||i[0]!==0&&t.year()>0==i[0]>0)){var o={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[n],a=r<0?-1:1;i=this._add(t,r*o[0]+a*o[1],o[2])}return t.date(i[0],i[1],i[2])},set:function(t,i,r){this._validate(t,this.minMonth,this.minDay,s.local.invalidDate||s.regionalOptions[""].invalidDate);var n=r==="y"?i:t.year(),o=r==="m"?i:t.month(),a=r==="d"?i:t.day();return r!=="y"&&r!=="m"||(a=Math.min(a,this.daysInMonth(n,o))),t.date(n,o,a)},isValid:function(t,i,r){this._validateLevel++;var n=this.hasYearZero||t!==0;if(n){var o=this.newDate(t,i,this.minDay);n=i>=this.minMonth&&i-this.minMonth=this.minDay&&r-this.minDay13.5?13:1),x=o-(c>2.5?4716:4715);return x<=0&&x--,this.newDate(x,c,p)},toJSDate:function(t,i,r){var n=this._validate(t,i,r,s.local.invalidDate||s.regionalOptions[""].invalidDate),o=new Date(n.year(),n.month()-1,n.day());return o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0),o.setHours(o.getHours()>12?o.getHours()+2:0),o},fromJSDate:function(t){return this.newDate(t.getFullYear(),t.getMonth()+1,t.getDate())}});var s=ee.exports=new k;s.cdate=l,s.baseCalendar=b,s.calendars.gregorian=d},94338:function(ee,z,e){var M=e(56131),k=e(63489);M(k.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),k.local=k.regionalOptions[""],M(k.cdate.prototype,{formatDate:function(l,T){return typeof l!="string"&&(T=l,l=""),this._calendar.formatDate(l||"",this,T)}}),M(k.baseCalendar.prototype,{UNIX_EPOCH:k.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:k.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(l,T,b){if(typeof l!="string"&&(b=T,T=l,l=""),!T)return"";if(T.calendar()!==this)throw k.local.invalidFormat||k.regionalOptions[""].invalidFormat;l=l||this.local.dateFormat;for(var d,s,t,i=(b=b||{}).dayNamesShort||this.local.dayNamesShort,r=b.dayNames||this.local.dayNames,n=b.monthNumbers||this.local.monthNumbers,o=b.monthNamesShort||this.local.monthNamesShort,a=b.monthNames||this.local.monthNames,u=(b.calculateWeek||this.local.calculateWeek,function(f,S){for(var w=1;_+w1}),p=function(f,S,w,E){var L=""+S;if(u(f,E))for(;L.length1},v=function(R,G){var O=m(R,G),V=[2,3,O?4:2,O?4:2,10,11,20]["oyYJ@!".indexOf(R)+1],N=new RegExp("^-?\\d{1,"+V+"}"),B=T.substring(E).match(N);if(!B)throw(k.local.missingNumberAt||k.regionalOptions[""].missingNumberAt).replace(/\{0\}/,E);return E+=B[0].length,parseInt(B[0],10)},y=this,_=function(){if(typeof r=="function"){m("m");var R=r.call(y,T.substring(E));return E+=R.length,R}return v("m")},f=function(R,G,O,V){for(var N=m(R,V)?O:G,B=0;B-1){p=1,c=x;for(var P=this.daysInMonth(u,p);c>P;P=this.daysInMonth(u,p))p++,c-=P}return a>-1?this.fromJD(a):this.newDate(u,p,c)},determineDate:function(l,T,b,d,s){b&&typeof b!="object"&&(s=d,d=b,b=null),typeof d!="string"&&(s=d,d="");var t=this;return T=T?T.newDate():null,l==null?T:typeof l=="string"?function(i){try{return t.parseDate(d,i,s)}catch{}for(var r=((i=i.toLowerCase()).match(/^c/)&&b?b.newDate():null)||t.today(),n=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,o=n.exec(i);o;)r.add(parseInt(o[1],10),o[2]||"d"),o=n.exec(i);return r}(l):typeof l=="number"?isNaN(l)||l===1/0||l===-1/0?T:t.today().add(l,"d"):t.newDate(l)}})},69862:function(){},40964:function(){},72077:function(ee,z,e){var M=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],k=typeof globalThis>"u"?e.g:globalThis;ee.exports=function(){for(var l=[],T=0;T>8&15|ge>>4&240,ge>>4&15|240&ge,(15&ge)<<4|15&ge,1):we===8?v(ge>>24&255,ge>>16&255,ge>>8&255,(255&ge)/255):we===4?v(ge>>12&15|ge>>8&240,ge>>8&15|ge>>4&240,ge>>4&15|240&ge,((15&ge)<<4|15&ge)/255):null):(ge=r.exec(pe))?new _(ge[1],ge[2],ge[3],1):(ge=n.exec(pe))?new _(255*ge[1]/100,255*ge[2]/100,255*ge[3]/100,1):(ge=o.exec(pe))?v(ge[1],ge[2],ge[3],ge[4]):(ge=a.exec(pe))?v(255*ge[1]/100,255*ge[2]/100,255*ge[3]/100,ge[4]):(ge=u.exec(pe))?C(ge[1],ge[2]/100,ge[3]/100,1):(ge=p.exec(pe))?C(ge[1],ge[2]/100,ge[3]/100,ge[4]):c.hasOwnProperty(pe)?m(c[pe]):pe==="transparent"?new _(NaN,NaN,NaN,0):null}function m(pe){return new _(pe>>16&255,pe>>8&255,255&pe,1)}function v(pe,ge,we,ye){return ye<=0&&(pe=ge=we=NaN),new _(pe,ge,we,ye)}function y(pe,ge,we,ye){return arguments.length===1?((me=pe)instanceof l||(me=h(me)),me?new _((me=me.rgb()).r,me.g,me.b,me.opacity):new _):new _(pe,ge,we,ye==null?1:ye);var me}function _(pe,ge,we,ye){this.r=+pe,this.g=+ge,this.b=+we,this.opacity=+ye}function f(){return"#".concat(L(this.r)).concat(L(this.g)).concat(L(this.b))}function S(){var pe=w(this.opacity);return"".concat(pe===1?"rgb(":"rgba(").concat(E(this.r),", ").concat(E(this.g),", ").concat(E(this.b)).concat(pe===1?")":", ".concat(pe,")"))}function w(pe){return isNaN(pe)?1:Math.max(0,Math.min(1,pe))}function E(pe){return Math.max(0,Math.min(255,Math.round(pe)||0))}function L(pe){return((pe=E(pe))<16?"0":"")+pe.toString(16)}function C(pe,ge,we,ye){return ye<=0?pe=ge=we=NaN:we<=0||we>=1?pe=ge=NaN:ge<=0&&(pe=NaN),new R(pe,ge,we,ye)}function P(pe){if(pe instanceof R)return new R(pe.h,pe.s,pe.l,pe.opacity);if(pe instanceof l||(pe=h(pe)),!pe)return new R;if(pe instanceof R)return pe;var ge=(pe=pe.rgb()).r/255,we=pe.g/255,ye=pe.b/255,me=Math.min(ge,we,ye),Oe=Math.max(ge,we,ye),ke=NaN,Te=Oe-me,le=(Oe+me)/2;return Te?(ke=ge===Oe?(we-ye)/Te+6*(we0&&le<1?0:ke,new R(ke,Te,le,pe.opacity)}function R(pe,ge,we,ye){this.h=+pe,this.s=+ge,this.l=+we,this.opacity=+ye}function G(pe){return(pe=(pe||0)%360)<0?pe+360:pe}function O(pe){return Math.max(0,Math.min(1,pe||0))}function V(pe,ge,we){return 255*(pe<60?ge+(we-ge)*pe/60:pe<180?we:pe<240?ge+(we-ge)*(240-pe)/60:ge)}M(l,h,{copy:function(pe){return Object.assign(new this.constructor,this,pe)},displayable:function(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return P(this).formatHsl()},formatRgb:g,toString:g}),M(_,y,k(l,{brighter:function(pe){return pe=pe==null?b:Math.pow(b,pe),new _(this.r*pe,this.g*pe,this.b*pe,this.opacity)},darker:function(pe){return pe=pe==null?T:Math.pow(T,pe),new _(this.r*pe,this.g*pe,this.b*pe,this.opacity)},rgb:function(){return this},clamp:function(){return new _(E(this.r),E(this.g),E(this.b),w(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:f,formatHex:f,formatHex8:function(){return"#".concat(L(this.r)).concat(L(this.g)).concat(L(this.b)).concat(L(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:S,toString:S})),M(R,function(pe,ge,we,ye){return arguments.length===1?P(pe):new R(pe,ge,we,ye==null?1:ye)},k(l,{brighter:function(pe){return pe=pe==null?b:Math.pow(b,pe),new R(this.h,this.s,this.l*pe,this.opacity)},darker:function(pe){return pe=pe==null?T:Math.pow(T,pe),new R(this.h,this.s,this.l*pe,this.opacity)},rgb:function(){var pe=this.h%360+360*(this.h<0),ge=isNaN(pe)||isNaN(this.s)?0:this.s,we=this.l,ye=we+(we<.5?we:1-we)*ge,me=2*we-ye;return new _(V(pe>=240?pe-240:pe+120,me,ye),V(pe,me,ye),V(pe<120?pe+240:pe-120,me,ye),this.opacity)},clamp:function(){return new R(G(this.h),O(this.s),O(this.l),w(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var pe=w(this.opacity);return"".concat(pe===1?"hsl(":"hsla(").concat(G(this.h),", ").concat(100*O(this.s),"%, ").concat(100*O(this.l),"%").concat(pe===1?")":", ".concat(pe,")"))}}));var N=function(pe){return function(){return pe}};function B(pe,ge){var we=ge-pe;return we?function(ye,me){return function(Oe){return ye+Oe*me}}(pe,we):N(isNaN(pe)?ge:pe)}var H=function pe(ge){var we=function(me){return(me=+me)==1?B:function(Oe,ke){return ke-Oe?function(Te,le,se){return Te=Math.pow(Te,se),le=Math.pow(le,se)-Te,se=1/se,function(ne){return Math.pow(Te+ne*le,se)}}(Oe,ke,me):N(isNaN(Oe)?ke:Oe)}}(ge);function ye(me,Oe){var ke=we((me=y(me)).r,(Oe=y(Oe)).r),Te=we(me.g,Oe.g),le=we(me.b,Oe.b),se=B(me.opacity,Oe.opacity);return function(ne){return me.r=ke(ne),me.g=Te(ne),me.b=le(ne),me.opacity=se(ne),me+""}}return ye.gamma=pe,ye}(1);function q(pe,ge){var we,ye=ge?ge.length:0,me=pe?Math.min(ye,pe.length):0,Oe=new Array(me),ke=new Array(ye);for(we=0;weOe&&(me=ge.slice(Oe,me),Te[ke]?Te[ke]+=me:Te[++ke]=me),(we=we[0])===(ye=ye[0])?Te[ke]?Te[ke]+=ye:Te[++ke]=ye:(Te[++ke]=null,le.push({i:ke,x:K(we,ye)})),Oe=Q.lastIndex;return Oe{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:d)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{f as u}; -//# sourceMappingURL=polling.3587342a.js.map diff --git a/abstra_statics/dist/assets/polling.72e5a2f8.js b/abstra_statics/dist/assets/polling.72e5a2f8.js new file mode 100644 index 0000000000..bdb1e4e48d --- /dev/null +++ b/abstra_statics/dist/assets/polling.72e5a2f8.js @@ -0,0 +1,2 @@ +import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="49987020-f73e-4857-9ec0-e828516b4817",e._sentryDebugIdIdentifier="sentry-dbid-49987020-f73e-4857-9ec0-e828516b4817")}catch{}})();const i=1e3,r=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{r as u}; +//# sourceMappingURL=polling.72e5a2f8.js.map diff --git a/abstra_statics/dist/assets/popupNotifcation.5a82bc93.js b/abstra_statics/dist/assets/popupNotifcation.5a82bc93.js new file mode 100644 index 0000000000..1137742074 --- /dev/null +++ b/abstra_statics/dist/assets/popupNotifcation.5a82bc93.js @@ -0,0 +1,2 @@ +import{cI as n}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4633826d-01e3-4027-87ad-bc0c267e8c15",e._sentryDebugIdIdentifier="sentry-dbid-4633826d-01e3-4027-87ad-bc0c267e8c15")}catch{}})();const t=(e,r,d)=>{n.error({message:e,description:r,onClick:d})};export{t as p}; +//# sourceMappingURL=popupNotifcation.5a82bc93.js.map diff --git a/abstra_statics/dist/assets/popupNotifcation.7fc1aee0.js b/abstra_statics/dist/assets/popupNotifcation.7fc1aee0.js deleted file mode 100644 index 4a214cf866..0000000000 --- a/abstra_statics/dist/assets/popupNotifcation.7fc1aee0.js +++ /dev/null @@ -1,2 +0,0 @@ -import{cI as n}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="a469764a-d0ed-4412-a59e-34dd7920a936",e._sentryDebugIdIdentifier="sentry-dbid-a469764a-d0ed-4412-a59e-34dd7920a936")}catch{}})();const t=(e,d,r)=>{n.error({message:e,description:d,onClick:r})};export{t as p}; -//# sourceMappingURL=popupNotifcation.7fc1aee0.js.map diff --git a/abstra_statics/dist/assets/project.0040997f.js b/abstra_statics/dist/assets/project.a5f62f99.js similarity index 88% rename from abstra_statics/dist/assets/project.0040997f.js rename to abstra_statics/dist/assets/project.a5f62f99.js index ef7168e406..f2241c27ae 100644 --- a/abstra_statics/dist/assets/project.0040997f.js +++ b/abstra_statics/dist/assets/project.a5f62f99.js @@ -1,2 +1,2 @@ -var h=Object.defineProperty;var l=(r,t,e)=>t in r?h(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var o=(r,t,e)=>(l(r,typeof t!="symbol"?t+"":t,e),e);import{A as y}from"./record.075b7d45.js";import{C as n}from"./gateway.a5388860.js";import"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="a56f9d0f-b9da-443d-b32c-90242d22fa80",r._sentryDebugIdIdentifier="sentry-dbid-a56f9d0f-b9da-443d-b32c-90242d22fa80")}catch{}})();class g extends Error{constructor(){super("Subdomain already in use")}}class m{constructor(){o(this,"urlPath","projects")}async create({name:t,organizationId:e}){return n.post(`organizations/${e}/${this.urlPath}`,{name:t})}async delete(t){await n.delete(`/${this.urlPath}/${t}`)}async duplicate(t){return await new Promise(e=>setTimeout(e,5e3)),n.post(`/${this.urlPath}/${t}/duplicate`,{})}async list(t){return n.get(`organizations/${t}/${this.urlPath}`)}async get(t){return n.get(`${this.urlPath}/${t}`)}async update(t,e){const a=await n.patch(`${this.urlPath}/${t}`,e);if("error"in a&&a.error==="subdomain-already-in-use")throw new g;if("error"in a)throw new Error("Unknown error");return a}async checkSubdomain(t,e){return n.get(`${this.urlPath}/${t}/check-subdomain/${e}`)}async getStatus(t){return n.get(`${this.urlPath}/${t}/deploy-status`)}async startWebEditor(t){return n.post(`${this.urlPath}/${t}/web-editor/start`,{})}async executeQuery(t,e,a){return n.post(`projects/${t}/execute`,{query:e,params:a})}}const s=new m;class i{constructor(t){o(this,"record");this.record=y.create(s,t)}static formatSubdomain(t){const a=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=/[a-z0-9]+/g,u=a.matchAll(c);return Array.from(u).map(d=>d[0]).join("-")}static async list(t){return(await s.list(t)).map(a=>new i(a))}static async create(t){const e=await s.create(t);return new i(e)}static async get(t){const e=await s.get(t);return new i(e)}static async getStatus(t){return await s.getStatus(t)}async delete(){await s.delete(this.id)}async duplicate(){const t=await s.duplicate(this.id);return new i(t)}static async executeQuery(t,e,a){return s.executeQuery(t,e,a)}async save(){return this.record.save()}resetChanges(){this.record.resetChanges()}hasChanges(){return this.record.hasChanges()}hasChangesDeep(t){return this.record.hasChangesDeep(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(t){this.record.set("name",t)}get organizationId(){return this.record.get("organizationId")}get subdomain(){return this.record.get("subdomain")}set subdomain(t){this.record.set("subdomain",t)}async checkSubdomain(){return await s.checkSubdomain(this.id,this.subdomain)}static async startWebEditor(t){return await s.startWebEditor(t)}getUrl(t=""){const e=t.startsWith("/")?t.slice(1):t;return`https://${this.subdomain}.abstra.app/${e}`}static async rename(t,e){await s.update(t,{name:e})}}export{i as P}; -//# sourceMappingURL=project.0040997f.js.map +var h=Object.defineProperty;var l=(r,t,e)=>t in r?h(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var o=(r,t,e)=>(l(r,typeof t!="symbol"?t+"":t,e),e);import{A as y}from"./record.cff1707c.js";import{C as n}from"./gateway.edd4374b.js";import"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="59efb910-528f-412f-a4b2-1f61d122c9d0",r._sentryDebugIdIdentifier="sentry-dbid-59efb910-528f-412f-a4b2-1f61d122c9d0")}catch{}})();class g extends Error{constructor(){super("Subdomain already in use")}}class m{constructor(){o(this,"urlPath","projects")}async create({name:t,organizationId:e}){return n.post(`organizations/${e}/${this.urlPath}`,{name:t})}async delete(t){await n.delete(`/${this.urlPath}/${t}`)}async duplicate(t){return await new Promise(e=>setTimeout(e,5e3)),n.post(`/${this.urlPath}/${t}/duplicate`,{})}async list(t){return n.get(`organizations/${t}/${this.urlPath}`)}async get(t){return n.get(`${this.urlPath}/${t}`)}async update(t,e){const a=await n.patch(`${this.urlPath}/${t}`,e);if("error"in a&&a.error==="subdomain-already-in-use")throw new g;if("error"in a)throw new Error("Unknown error");return a}async checkSubdomain(t,e){return n.get(`${this.urlPath}/${t}/check-subdomain/${e}`)}async getStatus(t){return n.get(`${this.urlPath}/${t}/deploy-status`)}async startWebEditor(t){return n.post(`${this.urlPath}/${t}/web-editor/start`,{})}async executeQuery(t,e,a){return n.post(`projects/${t}/execute`,{query:e,params:a})}}const s=new m;class i{constructor(t){o(this,"record");this.record=y.create(s,t)}static formatSubdomain(t){const a=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=/[a-z0-9]+/g,u=a.matchAll(c);return Array.from(u).map(d=>d[0]).join("-")}static async list(t){return(await s.list(t)).map(a=>new i(a))}static async create(t){const e=await s.create(t);return new i(e)}static async get(t){const e=await s.get(t);return new i(e)}static async getStatus(t){return await s.getStatus(t)}async delete(){await s.delete(this.id)}async duplicate(){const t=await s.duplicate(this.id);return new i(t)}static async executeQuery(t,e,a){return s.executeQuery(t,e,a)}async save(){return this.record.save()}resetChanges(){this.record.resetChanges()}hasChanges(){return this.record.hasChanges()}hasChangesDeep(t){return this.record.hasChangesDeep(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(t){this.record.set("name",t)}get organizationId(){return this.record.get("organizationId")}get subdomain(){return this.record.get("subdomain")}set subdomain(t){this.record.set("subdomain",t)}async checkSubdomain(){return await s.checkSubdomain(this.id,this.subdomain)}static async startWebEditor(t){return await s.startWebEditor(t)}getUrl(t=""){const e=t.startsWith("/")?t.slice(1):t;return`https://${this.subdomain}.abstra.app/${e}`}static async rename(t,e){await s.update(t,{name:e})}}export{i as P}; +//# sourceMappingURL=project.a5f62f99.js.map diff --git a/abstra_statics/dist/assets/python.b56a2a92.js b/abstra_statics/dist/assets/python.bc846284.js similarity index 89% rename from abstra_statics/dist/assets/python.b56a2a92.js rename to abstra_statics/dist/assets/python.bc846284.js index bccd6e80e5..3b7ac8adf3 100644 --- a/abstra_statics/dist/assets/python.b56a2a92.js +++ b/abstra_statics/dist/assets/python.bc846284.js @@ -1,7 +1,7 @@ -import{m as a}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="317c1158-92c7-484e-96ec-d4ef11cf9f50",t._sentryDebugIdIdentifier="sentry-dbid-317c1158-92c7-484e-96ec-d4ef11cf9f50")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as a}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e9880fe6-14f3-48e6-af7b-7cd8f411323a",t._sentryDebugIdIdentifier="sentry-dbid-e9880fe6-14f3-48e6-af7b-7cd8f411323a")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!d.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return t},g=(t,e,n)=>(o(t,e,"default"),n&&o(n,e,"default")),i={};g(i,a);var m={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},b={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};export{m as conf,b as language}; -//# sourceMappingURL=python.b56a2a92.js.map + *-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!d.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return t},g=(t,e,n)=>(o(t,e,"default"),n&&o(n,e,"default")),i={};g(i,a);var b={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},m={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};export{b as conf,m as language}; +//# sourceMappingURL=python.bc846284.js.map diff --git a/abstra_statics/dist/assets/razor.d86fd242.js b/abstra_statics/dist/assets/razor.b92481a2.js similarity index 95% rename from abstra_statics/dist/assets/razor.d86fd242.js rename to abstra_statics/dist/assets/razor.b92481a2.js index cb61106afa..ff4a7541cc 100644 --- a/abstra_statics/dist/assets/razor.d86fd242.js +++ b/abstra_statics/dist/assets/razor.b92481a2.js @@ -1,7 +1,7 @@ -import{m as s}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="06a69634-ff2f-4849-ab16-8e47db5e2892",t._sentryDebugIdIdentifier="sentry-dbid-06a69634-ff2f-4849-ab16-8e47db5e2892")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as s}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9a929212-f1f2-459f-9d22-059efacf3f0d",t._sentryDebugIdIdentifier="sentry-dbid-9a929212-f1f2-459f-9d22-059efacf3f0d")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!p.call(t,o)&&o!==r&&c(t,o,{get:()=>e[o],enumerable:!(a=l(e,o))||a.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),n={};h(n,s);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},k={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{y as conf,k as language}; -//# sourceMappingURL=razor.d86fd242.js.map + *-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!p.call(t,o)&&o!==r&&c(t,o,{get:()=>e[o],enumerable:!(a=l(e,o))||a.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),n={};h(n,s);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},f={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{y as conf,f as language}; +//# sourceMappingURL=razor.b92481a2.js.map diff --git a/abstra_statics/dist/assets/record.075b7d45.js b/abstra_statics/dist/assets/record.cff1707c.js similarity index 75% rename from abstra_statics/dist/assets/record.075b7d45.js rename to abstra_statics/dist/assets/record.cff1707c.js index d1baca5326..7ed8a8c48e 100644 --- a/abstra_statics/dist/assets/record.075b7d45.js +++ b/abstra_statics/dist/assets/record.cff1707c.js @@ -1,2 +1,2 @@ -var l=Object.defineProperty;var o=(e,t,s)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var n=(e,t,s)=>(o(e,typeof t!="symbol"?t+"":t,s),s);import{y as r,Q as g,ej as d}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54875e58-15d7-49ad-8aa6-e8cc3edde078",e._sentryDebugIdIdentifier="sentry-dbid-54875e58-15d7-49ad-8aa6-e8cc3edde078")}catch{}})();class p{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(t,s){const i=(++this.subUid).toString();return this.topics[t]||(this.topics[t]=[]),this.topics[t].push({token:i,func:s}),i}async wait(t){return new Promise(s=>{const i=this.subscribe(t,a=>{this.unsubscribe(i),s(a)})})}async publish(t,...s){if(!this.topics[t])return!1;const i=this.topics[t];let a=i?i.length:0;for(;a--;)await i[a].func(s[0]);return!0}unsubscribe(t){for(const s in this.topics)if(this.topics[s]){for(let i=0,a=this.topics[s].length;i0}hasChangesDeep(t){return t in this.changes&&!d.exports.isEqual(this.initialState[t],this.changes[t])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const t={...this.changes};this._changes.value={},this.pubsub.publish("update",t)}onUpdate(t){this.pubsub.subscribe("update",t)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(t){this._changes.value={...this.changes,...t}}}class c extends h{constructor(s,i){super(i);n(this,"api");this.api=s}static create(s,i){return r(new c(s,i))}getInitialState(s){return this.initialState[s]}updateInitialState(s,i){this.initialState[s]=i,delete this._changes.value[s]}async save(s){if(Object.keys(this.changes).length===0||s&&!(s in this.changes))return;if(s){const a={[s]:this.changes[s]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[s];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{c as A,h as E}; -//# sourceMappingURL=record.075b7d45.js.map +var l=Object.defineProperty;var o=(e,t,s)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var n=(e,t,s)=>(o(e,typeof t!="symbol"?t+"":t,s),s);import{y as r,Q as g,ej as b}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="25bbf161-2e1f-445f-9640-8eeabf23c735",e._sentryDebugIdIdentifier="sentry-dbid-25bbf161-2e1f-445f-9640-8eeabf23c735")}catch{}})();class p{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(t,s){const i=(++this.subUid).toString();return this.topics[t]||(this.topics[t]=[]),this.topics[t].push({token:i,func:s}),i}async wait(t){return new Promise(s=>{const i=this.subscribe(t,a=>{this.unsubscribe(i),s(a)})})}async publish(t,...s){if(!this.topics[t])return!1;const i=this.topics[t];let a=i?i.length:0;for(;a--;)await i[a].func(s[0]);return!0}unsubscribe(t){for(const s in this.topics)if(this.topics[s]){for(let i=0,a=this.topics[s].length;i0}hasChangesDeep(t){return t in this.changes&&!b.exports.isEqual(this.initialState[t],this.changes[t])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const t={...this.changes};this._changes.value={},this.pubsub.publish("update",t)}onUpdate(t){this.pubsub.subscribe("update",t)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(t){this._changes.value={...this.changes,...t}}}class u extends h{constructor(s,i){super(i);n(this,"api");this.api=s}static create(s,i){return r(new u(s,i))}getInitialState(s){return this.initialState[s]}updateInitialState(s,i){this.initialState[s]=i,delete this._changes.value[s]}async save(s){if(Object.keys(this.changes).length===0||s&&!(s in this.changes))return;if(s){const a={[s]:this.changes[s]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},delete this._changes.value[s];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{u as A,h as E}; +//# sourceMappingURL=record.cff1707c.js.map diff --git a/abstra_statics/dist/assets/repository.fc6e5621.js b/abstra_statics/dist/assets/repository.61a8d769.js similarity index 77% rename from abstra_statics/dist/assets/repository.fc6e5621.js rename to abstra_statics/dist/assets/repository.61a8d769.js index aa17e9a065..7a3d7312a1 100644 --- a/abstra_statics/dist/assets/repository.fc6e5621.js +++ b/abstra_statics/dist/assets/repository.61a8d769.js @@ -1,2 +1,2 @@ -var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{C as a}from"./gateway.a5388860.js";import{l as u}from"./fetch.3971ea84.js";import{E as l}from"./record.075b7d45.js";import"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="82705657-377d-4e2e-9be2-29e68bc1f5c7",r._sentryDebugIdIdentifier="sentry-dbid-82705657-377d-4e2e-9be2-29e68bc1f5c7")}catch{}})();class c{constructor(t){i(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new c(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class g{constructor(){i(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new g;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(c.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(c.from)}}export{I as C,$ as E}; -//# sourceMappingURL=repository.fc6e5621.js.map +var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{C as a}from"./gateway.edd4374b.js";import{l as u}from"./fetch.42a41b34.js";import{E as l}from"./record.cff1707c.js";import"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="c7c113c0-7b54-460a-bf5f-93b414eb5889",r._sentryDebugIdIdentifier="sentry-dbid-c7c113c0-7b54-460a-bf5f-93b414eb5889")}catch{}})();class c{constructor(t){i(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new c(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class f{constructor(){i(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new f;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(c.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(c.from)}}export{I as C,$ as E}; +//# sourceMappingURL=repository.61a8d769.js.map diff --git a/abstra_statics/dist/assets/router.0c18ec5d.js b/abstra_statics/dist/assets/router.0c18ec5d.js new file mode 100644 index 0000000000..149735afb1 --- /dev/null +++ b/abstra_statics/dist/assets/router.0c18ec5d.js @@ -0,0 +1,2 @@ +var d=Object.defineProperty;var _=(t,e,a)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var l=(t,e,a)=>(_(t,typeof e!="symbol"?e+"":e,a),a);import{ae as p,dg as h,dh as u,cI as b,di as E,h as A,i as g,_ as o,j as w}from"./vue-router.324eaed2.js";import{C as c,a as v}from"./gateway.edd4374b.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="aa8ee45d-d127-4fd6-8188-bb0176c55145",t._sentryDebugIdIdentifier="sentry-dbid-aa8ee45d-d127-4fd6-8188-bb0176c55145")}catch{}})();const R=p(h),T=p(u);class f{static async getInfo(){return await c.get("authors/info")}}const r=class{static dispatch(e,a,n=0){window.Intercom?window.Intercom(e,a):n<10?setTimeout(()=>r.dispatch(e,a),100):b.error({message:"Unable to Load Support Chat",description:"It looks like some browser extensions, such as ad blockers, may be preventing the support chat from loading. Please try disabling them or reach out to us at help@abstra.app"})}static boot(){r.booted||f.getInfo().then(e=>{r.dispatch("boot",{api_base:"https://api-iam.intercom.io",app_id:"h97k86ks",name:e.email,email:e.email,user_hash:e.intercomHash,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),r.booted=!0}).catch(e=>{console.error(e),E(e)})}static show(){r.dispatch("show")}static hide(){r.dispatch("hide")}static showNewMessage(e){r.dispatch("showNewMessage",e)}static shutdown(){r.dispatch("shutdown"),r.booted=!1}};let i=r;l(i,"booted",!1);class I{async createSession(e){await c.post("usage/sessions",e)}async trackBrowserEvent(e){await c.post("usage/browser",e)}}const s=new I;class P{static trackSession(){const e=Object.fromEntries(document.cookie.split("; ").map(n=>n.split(/=(.*)/s).map(decodeURIComponent))),a=new URLSearchParams(window.location.search).get("session")||e.abstra_session;s.createSession({query:Object.fromEntries(new URLSearchParams(location.search)),referrer:document.referrer,href:location.href,previousSessionId:a}).catch(console.error)}static trackPageView(){s.trackBrowserEvent({event:"PageView",payload:{queryParams:Object.fromEntries(new URLSearchParams(location.search)),referrer:document.referrer,href:location.href}}).catch(console.error)}static billingAlertCtaClicked(e,a){s.trackBrowserEvent({event:"BillingAlertCtaClicked",payload:{cta:a,organizationId:e,href:location.href}}).catch(console.error)}static billingPlanUpgradeClicked(e){s.trackBrowserEvent({event:"BillingPlanUpgradeClicked",payload:{organizationId:e,href:location.href}}).catch(console.error)}}const m=A({history:g("/"),routes:[{path:"/widget-preview",name:"widget-preview",component:()=>o(()=>import("./WidgetPreview.d4229321.js"),["assets/WidgetPreview.d4229321.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/Steps.f9a5ddf6.js","assets/index.0b1755c2.js","assets/Steps.4d03c6c1.css","assets/PlayerConfigProvider.8618ed20.js","assets/colorHelpers.78fae216.js","assets/index.40f13cf1.js","assets/PlayerConfigProvider.8864c905.css","assets/WidgetPreview.0208942c.css"]),meta:{allowUnauthenticated:!0,title:"Preview - Abstra Console"}},{path:"/login",name:"login",component:()=>o(()=>import("./Login.f75fa921.js"),["assets/Login.f75fa921.js","assets/CircularLoading.08cb4e45.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/CircularLoading.1a558a0d.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/string.d698465c.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/Login.daddff0b.css"]),meta:{allowUnauthenticated:!0,title:"Login - Abstra Console"}},{path:"/api-key",name:"api-key",component:()=>o(()=>import("./EditorLogin.2d3ab2ca.js"),["assets/EditorLogin.2d3ab2ca.js","assets/Navbar.b51dae48.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.3916dfed.js","assets/PhChats.vue.42699894.js","assets/PhSignOut.vue.d965d159.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/index.7d758831.js","assets/Avatar.4c029798.js","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/BookOutlined.789cce39.js","assets/Navbar.a899b0d6.css","assets/url.1a1c4e74.js","assets/apiKey.084f4c6e.js","assets/organization.0ae7dfed.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/EditorLogin.7e0ad5ed.css"]),meta:{title:"Api Keys - Abstra Console"}},{path:"/",name:"home",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}},{path:"/organizations",name:"organizations",component:()=>o(()=>import("./Organizations.c5b7c80c.js"),["assets/Organizations.c5b7c80c.js","assets/Navbar.b51dae48.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.3916dfed.js","assets/PhChats.vue.42699894.js","assets/PhSignOut.vue.d965d159.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/index.7d758831.js","assets/Avatar.4c029798.js","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/BookOutlined.789cce39.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.577165c3.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/CrudView.57fcf015.css","assets/ant-design.48401d91.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/PhPencil.vue.91f72c2e.js","assets/organization.0ae7dfed.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/string.d698465c.js"]),meta:{title:"Organizations - Abstra Console"}},{path:"/organizations/:organizationId",name:"organization",component:()=>o(()=>import("./Organization.6b4c3407.js"),["assets/Organization.6b4c3407.js","assets/Navbar.b51dae48.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.3916dfed.js","assets/PhChats.vue.42699894.js","assets/PhSignOut.vue.d965d159.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/index.7d758831.js","assets/Avatar.4c029798.js","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/BookOutlined.789cce39.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.577165c3.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/organization.0ae7dfed.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/string.d698465c.js","assets/Sidebar.e2719686.js","assets/index.0887bacc.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/Sidebar.c9538fe0.css"]),redirect:{name:"projects"},children:[{path:"projects",name:"projects",component:()=>o(()=>import("./Projects.1ceb3a6f.js"),["assets/Projects.1ceb3a6f.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.3916dfed.js","assets/ant-design.48401d91.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/organization.0ae7dfed.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/PhCopy.vue.b2238e41.js","assets/PhPencil.vue.91f72c2e.js"]),meta:{title:"Projects - Abstra Console"}},{path:"editors",name:"editors",component:()=>o(()=>import("./Editors.8a53904a.js"),["assets/Editors.8a53904a.js","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/ant-design.48401d91.js","assets/asyncComputed.3916dfed.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/member.972d243d.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/string.d698465c.js"]),meta:{title:"Editors - Abstra Console"}},{path:"members",redirect:{name:"editors"}},{path:"billing",name:"billing",component:()=>o(()=>import("./Billing.e9284aff.js"),["assets/Billing.e9284aff.js","assets/asyncComputed.3916dfed.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/organization.0ae7dfed.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/string.d698465c.js","assets/LoadingContainer.57756ccb.js","assets/LoadingContainer.56fa997a.css","assets/index.341662d4.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js"]),meta:{title:"Billing - Abstra Console"}}]},{path:"/projects/:projectId",name:"project",component:()=>o(()=>import("./Project.83f68038.js"),["assets/Project.83f68038.js","assets/Navbar.b51dae48.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.3916dfed.js","assets/PhChats.vue.42699894.js","assets/PhSignOut.vue.d965d159.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/index.7d758831.js","assets/Avatar.4c029798.js","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/BookOutlined.789cce39.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.577165c3.js","assets/BaseLayout.b7a1f19a.css","assets/organization.0ae7dfed.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/Sidebar.e2719686.js","assets/index.0887bacc.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/Sidebar.c9538fe0.css","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/PhArrowCounterClockwise.vue.1fa0c440.js","assets/PhIdentificationBadge.vue.c9ecd119.js","assets/PhCube.vue.38b62bfa.js","assets/PhGlobe.vue.8ad99031.js"]),redirect:{name:"live"},children:[{path:"live",name:"live",component:()=>o(()=>import("./Live.84e0b389.js"),["assets/Live.84e0b389.js","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/asyncComputed.3916dfed.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/datetime.0827e1b6.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/polling.72e5a2f8.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.2f7085a2.js","assets/LoadingOutlined.09a06334.js","assets/PhArrowCounterClockwise.vue.1fa0c440.js","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/PhChats.vue.42699894.js","assets/PhCopySimple.vue.d9faf509.js","assets/index.71c22de0.js","assets/Live.c4388f9c.css"]),meta:{title:"Project - Abstra Console"}},{path:"builds",name:"builds",component:()=>o(()=>import("./Builds.e79ce050.js"),["assets/Builds.e79ce050.js","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/asyncComputed.3916dfed.js","assets/datetime.0827e1b6.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/polling.72e5a2f8.js","assets/PhArrowCounterClockwise.vue.1fa0c440.js","assets/PhCube.vue.38b62bfa.js","assets/PhDownloadSimple.vue.7ab7df2c.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/PhWebhooksLogo.vue.96003388.js","assets/index.5cae8761.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/CloseCircleOutlined.6d0d12eb.js","assets/LoadingOutlined.09a06334.js","assets/Builds.8dab7d81.css"]),meta:{title:"Builds - Abstra Console"}},{path:"connectors",name:"connectors",component:()=>o(()=>import("./ConnectorsView.5ec3c0b4.js"),["assets/ConnectorsView.5ec3c0b4.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/Avatar.4c029798.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/index.7d758831.js","assets/ConnectorsView.464982fb.css"]),meta:{title:"Connectors - Abstra Console"}},{path:"tables",name:"tables",component:()=>o(()=>import("./Tables.30db1e07.js"),["assets/Tables.30db1e07.js","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/asyncComputed.3916dfed.js","assets/string.d698465c.js","assets/PhPencil.vue.91f72c2e.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/ant-design.48401d91.js"]),meta:{title:"Tables - Abstra Console"}},{path:"sql",name:"sql",component:()=>o(()=>import("./Sql.3456efbe.js"),["assets/Sql.3456efbe.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/utils.6b974807.js","assets/PhDownloadSimple.vue.7ab7df2c.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/Sql.8ce6a064.css"]),meta:{title:"SQL Editor - Abstra Console"}},{path:"api-keys",name:"api-keys",component:()=>o(()=>import("./ApiKeys.82582ccf.js"),["assets/ApiKeys.82582ccf.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.3916dfed.js","assets/apiKey.084f4c6e.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/member.972d243d.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css"]),meta:{title:"API Keys - Abstra Console"}},{path:"logs",name:"logs",component:()=>o(()=>import("./Logs.3d0e63a6.js"),["assets/Logs.3d0e63a6.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/datetime.0827e1b6.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.2f7085a2.js","assets/LoadingOutlined.09a06334.js","assets/string.d698465c.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/ant-design.48401d91.js","assets/index.7d758831.js","assets/dayjs.31352634.js","assets/CollapsePanel.ce95f921.js","assets/Logs.862ab706.css"]),meta:{title:"Logs - Abstra Console"}},{path:"settings",name:"project-settings",component:()=>o(()=>import("./ProjectSettings.66d29ed1.js"),["assets/ProjectSettings.66d29ed1.js","assets/asyncComputed.3916dfed.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.7d758831.js"]),meta:{title:"Project Settings - Abstra Console"}},{path:"env-vars",name:"env-vars",component:()=>o(()=>import("./EnvVars.f9b39c83.js"),["assets/EnvVars.f9b39c83.js","assets/View.vue_vue_type_script_setup_true_lang.4883471d.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/fetch.42a41b34.js","assets/record.cff1707c.js","assets/SaveButton.17e88f21.js","assets/UnsavedChangesHandler.d2b18117.js","assets/ExclamationCircleOutlined.6541b8d4.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.0b1b90a7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/Badge.9808092c.js","assets/index.7d758831.js","assets/CrudView.57fcf015.css","assets/asyncComputed.3916dfed.js","assets/polling.72e5a2f8.js","assets/PhPencil.vue.91f72c2e.js","assets/index.0887bacc.js"]),meta:{title:"Environment Variables - Abstra Console"}},{path:"web-editor",name:"web-editor",component:()=>o(()=>import("./WebEditor.2c0cf334.js"),["assets/WebEditor.2c0cf334.js","assets/ContentLayout.5465dc16.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.ee57a545.css","assets/fetch.42a41b34.js","assets/CircularLoading.08cb4e45.js","assets/CircularLoading.1a558a0d.css","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/WebEditor.d5fe6ad0.css"]),meta:{title:"Web Editor - Abstra Console"}},{path:"files",name:"files",component:()=>o(()=>import("./Files.710036f9.js"),["assets/Files.710036f9.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/popupNotifcation.5a82bc93.js","assets/ant-design.48401d91.js","assets/asyncComputed.3916dfed.js","assets/gateway.edd4374b.js","assets/tables.842b993f.js","assets/record.cff1707c.js","assets/string.d698465c.js","assets/DeleteOutlined.618a8e2f.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/Files.06562802.css"]),meta:{title:"Files - Abstra Console"}},{path:"access-control",name:"access-control",component:()=>o(()=>import("./View.249963d0.js"),["assets/View.249963d0.js","assets/asyncComputed.3916dfed.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/index.7d758831.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.88c092e9.js","assets/BookOutlined.789cce39.js","assets/index.fe1d28be.js","assets/Badge.9808092c.js","assets/CrudView.0b1b90a7.js","assets/url.1a1c4e74.js","assets/PhDotsThreeVertical.vue.766b7c1d.js","assets/CrudView.57fcf015.css","assets/PhPencil.vue.91f72c2e.js","assets/repository.61a8d769.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/fetch.42a41b34.js","assets/record.cff1707c.js","assets/ant-design.48401d91.js","assets/TabPane.caed57de.js"]),meta:{title:"Access Control - Abstra Console"}}]},{path:"/projects/:projectId/tables/:tableId",name:"tableEditor",component:()=>o(()=>import("./TableEditor.b7e85598.js"),["assets/TableEditor.b7e85598.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.691418fd.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.577165c3.js","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.3916dfed.js","assets/gateway.edd4374b.js","assets/popupNotifcation.5a82bc93.js","assets/organization.0ae7dfed.js","assets/project.a5f62f99.js","assets/record.cff1707c.js","assets/tables.842b993f.js","assets/string.d698465c.js","assets/ContentLayout.5465dc16.js","assets/ContentLayout.ee57a545.css","assets/index.7d758831.js","assets/index.fe1d28be.js","assets/Badge.9808092c.js","assets/PhCheckCircle.vue.b905d38f.js","assets/index.b0999c8c.js","assets/PhArrowDown.vue.8953407d.js","assets/ant-design.48401d91.js","assets/PhCaretRight.vue.70c5f54b.js","assets/LoadingOutlined.09a06334.js","assets/index.51467614.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/TableEditor.1e680eaf.css"]),meta:{title:"Tables - Abstra Console"}},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}}],scrollBehavior(t){if(t.hash)return{el:t.hash}}});m.beforeEach(async(t,e)=>{w(t,e);const a=v.getAuthor();if(!t.meta.allowUnauthenticated&&!a){await m.push({name:"login",query:{...t.query,redirect:t.path,"prev-redirect":t.query.redirect}});return}a&&(P.trackPageView(),i.boot())});export{R as A,i as C,P as T,T as a,f as b,m as r}; +//# sourceMappingURL=router.0c18ec5d.js.map diff --git a/abstra_statics/dist/assets/router.cbdfe37b.js b/abstra_statics/dist/assets/router.cbdfe37b.js deleted file mode 100644 index b50f7da781..0000000000 --- a/abstra_statics/dist/assets/router.cbdfe37b.js +++ /dev/null @@ -1,2 +0,0 @@ -var _=Object.defineProperty;var d=(t,e,a)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var l=(t,e,a)=>(d(t,typeof e!="symbol"?e+"":e,a),a);import{ae as p,dg as h,dh as u,cI as b,di as E,h as A,i as g,_ as o,j as w}from"./vue-router.33f35a18.js";import{C as c,a as f}from"./gateway.a5388860.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="15ca4f3c-f9b1-46a1-8389-97cb84800e57",t._sentryDebugIdIdentifier="sentry-dbid-15ca4f3c-f9b1-46a1-8389-97cb84800e57")}catch{}})();const R=p(h),T=p(u);class v{static async getInfo(){return await c.get("authors/info")}}const r=class{static dispatch(e,a,n=0){window.Intercom?window.Intercom(e,a):n<10?setTimeout(()=>r.dispatch(e,a),100):b.error({message:"Unable to Load Support Chat",description:"It looks like some browser extensions, such as ad blockers, may be preventing the support chat from loading. Please try disabling them or reach out to us at help@abstra.app"})}static boot(){r.booted||v.getInfo().then(e=>{r.dispatch("boot",{api_base:"https://api-iam.intercom.io",app_id:"h97k86ks",name:e.email,email:e.email,user_hash:e.intercomHash,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),r.booted=!0}).catch(e=>{console.error(e),E(e)})}static show(){r.dispatch("show")}static hide(){r.dispatch("hide")}static showNewMessage(e){r.dispatch("showNewMessage",e)}static shutdown(){r.dispatch("shutdown"),r.booted=!1}};let i=r;l(i,"booted",!1);class I{async createSession(e){await c.post("usage/sessions",e)}async trackBrowserEvent(e){await c.post("usage/browser",e)}}const s=new I;class P{static trackSession(){const e=Object.fromEntries(document.cookie.split("; ").map(n=>n.split(/=(.*)/s).map(decodeURIComponent))),a=new URLSearchParams(window.location.search).get("session")||e.abstra_session;s.createSession({query:Object.fromEntries(new URLSearchParams(location.search)),referrer:document.referrer,href:location.href,previousSessionId:a}).catch(console.error)}static trackPageView(){s.trackBrowserEvent({event:"PageView",payload:{queryParams:Object.fromEntries(new URLSearchParams(location.search)),referrer:document.referrer,href:location.href}}).catch(console.error)}static billingAlertCtaClicked(e,a){s.trackBrowserEvent({event:"BillingAlertCtaClicked",payload:{cta:a,organizationId:e,href:location.href}}).catch(console.error)}static billingPlanUpgradeClicked(e){s.trackBrowserEvent({event:"BillingPlanUpgradeClicked",payload:{organizationId:e,href:location.href}}).catch(console.error)}}const m=A({history:g("/"),routes:[{path:"/widget-preview",name:"widget-preview",component:()=>o(()=>import("./WidgetPreview.3da8c1f3.js"),["assets/WidgetPreview.3da8c1f3.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/Steps.677c01d2.js","assets/index.b3a210ed.js","assets/Steps.4d03c6c1.css","assets/PlayerConfigProvider.90e436c2.js","assets/colorHelpers.aaea81c6.js","assets/index.dec2a631.js","assets/PlayerConfigProvider.8864c905.css","assets/WidgetPreview.0208942c.css"]),meta:{allowUnauthenticated:!0,title:"Preview - Abstra Console"}},{path:"/login",name:"login",component:()=>o(()=>import("./Login.f5bae42f.js"),["assets/Login.f5bae42f.js","assets/CircularLoading.1c6a1f61.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/CircularLoading.1a558a0d.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/string.44188c83.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/Login.daddff0b.css"]),meta:{allowUnauthenticated:!0,title:"Login - Abstra Console"}},{path:"/api-key",name:"api-key",component:()=>o(()=>import("./EditorLogin.c4b4f37d.js"),["assets/EditorLogin.c4b4f37d.js","assets/Navbar.ccb4b57b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.c677c545.js","assets/PhChats.vue.b6dd7b5a.js","assets/PhSignOut.vue.b806976f.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/index.241ee38a.js","assets/Avatar.dcb46dd7.js","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/BookOutlined.767e0e7a.js","assets/Navbar.a899b0d6.css","assets/url.b6644346.js","assets/apiKey.c5bb4529.js","assets/organization.efcc2606.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/EditorLogin.7e0ad5ed.css"]),meta:{title:"Api Keys - Abstra Console"}},{path:"/",name:"home",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}},{path:"/organizations",name:"organizations",component:()=>o(()=>import("./Organizations.d3cffe0c.js"),["assets/Organizations.d3cffe0c.js","assets/Navbar.ccb4b57b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.c677c545.js","assets/PhChats.vue.b6dd7b5a.js","assets/PhSignOut.vue.b806976f.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/index.241ee38a.js","assets/Avatar.dcb46dd7.js","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/BookOutlined.767e0e7a.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.4967fc3d.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/CrudView.57fcf015.css","assets/ant-design.51753590.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/PhPencil.vue.2def7849.js","assets/organization.efcc2606.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/string.44188c83.js"]),meta:{title:"Organizations - Abstra Console"}},{path:"/organizations/:organizationId",name:"organization",component:()=>o(()=>import("./Organization.bd4dcbcb.js"),["assets/Organization.bd4dcbcb.js","assets/Navbar.ccb4b57b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.c677c545.js","assets/PhChats.vue.b6dd7b5a.js","assets/PhSignOut.vue.b806976f.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/index.241ee38a.js","assets/Avatar.dcb46dd7.js","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/BookOutlined.767e0e7a.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.4967fc3d.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/organization.efcc2606.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/string.44188c83.js","assets/Sidebar.715517e4.js","assets/index.f014adef.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/Sidebar.c9538fe0.css"]),redirect:{name:"projects"},children:[{path:"projects",name:"projects",component:()=>o(()=>import("./Projects.8eff7fab.js"),["assets/Projects.8eff7fab.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.c677c545.js","assets/ant-design.51753590.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/organization.efcc2606.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/PhArrowSquareOut.vue.03bd374b.js","assets/PhCopy.vue.edaabc1e.js","assets/PhPencil.vue.2def7849.js"]),meta:{title:"Projects - Abstra Console"}},{path:"editors",name:"editors",component:()=>o(()=>import("./Editors.4b67db49.js"),["assets/Editors.4b67db49.js","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/ant-design.51753590.js","assets/asyncComputed.c677c545.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/member.65b6f588.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/string.44188c83.js"]),meta:{title:"Editors - Abstra Console"}},{path:"members",redirect:{name:"editors"}},{path:"billing",name:"billing",component:()=>o(()=>import("./Billing.0e7f5307.js"),["assets/Billing.0e7f5307.js","assets/asyncComputed.c677c545.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/organization.efcc2606.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/string.44188c83.js","assets/LoadingContainer.4ab818eb.js","assets/LoadingContainer.56fa997a.css","assets/index.2fc2bb22.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js"]),meta:{title:"Billing - Abstra Console"}}]},{path:"/projects/:projectId",name:"project",component:()=>o(()=>import("./Project.8dd333e0.js"),["assets/Project.8dd333e0.js","assets/Navbar.ccb4b57b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.c677c545.js","assets/PhChats.vue.b6dd7b5a.js","assets/PhSignOut.vue.b806976f.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/index.241ee38a.js","assets/Avatar.dcb46dd7.js","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/BookOutlined.767e0e7a.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.4967fc3d.js","assets/BaseLayout.b7a1f19a.css","assets/organization.efcc2606.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/Sidebar.715517e4.js","assets/index.f014adef.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/Sidebar.c9538fe0.css","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/PhArrowCounterClockwise.vue.4a7ab991.js","assets/PhIdentificationBadge.vue.45493857.js","assets/PhCube.vue.9942e1ba.js","assets/PhGlobe.vue.5d1ae5ae.js"]),redirect:{name:"live"},children:[{path:"live",name:"live",component:()=>o(()=>import("./Live.bbe6ff62.js"),["assets/Live.bbe6ff62.js","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/asyncComputed.c677c545.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/datetime.2a4e2aaa.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/polling.3587342a.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js","assets/LoadingOutlined.64419cb9.js","assets/PhArrowCounterClockwise.vue.4a7ab991.js","assets/PhArrowSquareOut.vue.03bd374b.js","assets/PhChats.vue.b6dd7b5a.js","assets/PhCopySimple.vue.b5d1b25b.js","assets/index.db3c211c.js","assets/Live.c4388f9c.css"]),meta:{title:"Project - Abstra Console"}},{path:"builds",name:"builds",component:()=>o(()=>import("./Builds.e212bca7.js"),["assets/Builds.e212bca7.js","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/asyncComputed.c677c545.js","assets/datetime.2a4e2aaa.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/polling.3587342a.js","assets/PhArrowCounterClockwise.vue.4a7ab991.js","assets/PhCube.vue.9942e1ba.js","assets/PhDownloadSimple.vue.b11b5d9f.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/index.f9edb8af.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/CloseCircleOutlined.1d6fe2b1.js","assets/LoadingOutlined.64419cb9.js","assets/Builds.8dab7d81.css"]),meta:{title:"Builds - Abstra Console"}},{path:"connectors",name:"connectors",component:()=>o(()=>import("./ConnectorsView.d2fcad20.js"),["assets/ConnectorsView.d2fcad20.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/Avatar.dcb46dd7.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/index.241ee38a.js","assets/ConnectorsView.464982fb.css"]),meta:{title:"Connectors - Abstra Console"}},{path:"tables",name:"tables",component:()=>o(()=>import("./Tables.b3156a21.js"),["assets/Tables.b3156a21.js","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/asyncComputed.c677c545.js","assets/string.44188c83.js","assets/PhPencil.vue.2def7849.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/ant-design.51753590.js"]),meta:{title:"Tables - Abstra Console"}},{path:"sql",name:"sql",component:()=>o(()=>import("./Sql.23406959.js"),["assets/Sql.23406959.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/utils.3ec7e4d1.js","assets/PhDownloadSimple.vue.b11b5d9f.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/Sql.8ce6a064.css"]),meta:{title:"SQL Editor - Abstra Console"}},{path:"api-keys",name:"api-keys",component:()=>o(()=>import("./ApiKeys.c8e0c349.js"),["assets/ApiKeys.c8e0c349.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/asyncComputed.c677c545.js","assets/apiKey.c5bb4529.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/member.65b6f588.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css"]),meta:{title:"API Keys - Abstra Console"}},{path:"logs",name:"logs",component:()=>o(()=>import("./Logs.20ee4b75.js"),["assets/Logs.20ee4b75.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/datetime.2a4e2aaa.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.3ec7ec82.js","assets/LoadingOutlined.64419cb9.js","assets/string.44188c83.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/ant-design.51753590.js","assets/index.241ee38a.js","assets/dayjs.1e9ba65b.js","assets/CollapsePanel.56bdec23.js","assets/Logs.862ab706.css"]),meta:{title:"Logs - Abstra Console"}},{path:"settings",name:"project-settings",component:()=>o(()=>import("./ProjectSettings.a3766a88.js"),["assets/ProjectSettings.a3766a88.js","assets/asyncComputed.c677c545.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.241ee38a.js"]),meta:{title:"Project Settings - Abstra Console"}},{path:"env-vars",name:"env-vars",component:()=>o(()=>import("./EnvVars.20bbef6f.js"),["assets/EnvVars.20bbef6f.js","assets/View.vue_vue_type_script_setup_true_lang.bbce7f6a.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/fetch.3971ea84.js","assets/record.075b7d45.js","assets/SaveButton.dae129ff.js","assets/UnsavedChangesHandler.5637c452.js","assets/ExclamationCircleOutlined.d41cf1d8.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.3c2a3663.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/Badge.71fee936.js","assets/index.241ee38a.js","assets/CrudView.57fcf015.css","assets/asyncComputed.c677c545.js","assets/polling.3587342a.js","assets/PhPencil.vue.2def7849.js","assets/index.f014adef.js"]),meta:{title:"Environment Variables - Abstra Console"}},{path:"web-editor",name:"web-editor",component:()=>o(()=>import("./WebEditor.9ae41674.js"),["assets/WebEditor.9ae41674.js","assets/ContentLayout.d691ad7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.ee57a545.css","assets/fetch.3971ea84.js","assets/CircularLoading.1c6a1f61.js","assets/CircularLoading.1a558a0d.css","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/WebEditor.d5fe6ad0.css"]),meta:{title:"Web Editor - Abstra Console"}},{path:"files",name:"files",component:()=>o(()=>import("./Files.4b7a0c53.js"),["assets/Files.4b7a0c53.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/popupNotifcation.7fc1aee0.js","assets/ant-design.51753590.js","assets/asyncComputed.c677c545.js","assets/gateway.a5388860.js","assets/tables.8d6766f6.js","assets/record.075b7d45.js","assets/string.44188c83.js","assets/DeleteOutlined.d8e8cfb3.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/Files.06562802.css"]),meta:{title:"Files - Abstra Console"}},{path:"access-control",name:"access-control",component:()=>o(()=>import("./View.fc7f10d6.js"),["assets/View.fc7f10d6.js","assets/asyncComputed.c677c545.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/index.241ee38a.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.5cd13bdf.js","assets/BookOutlined.767e0e7a.js","assets/index.fa9b4e97.js","assets/Badge.71fee936.js","assets/CrudView.3c2a3663.js","assets/url.b6644346.js","assets/PhDotsThreeVertical.vue.756b56ff.js","assets/CrudView.57fcf015.css","assets/PhPencil.vue.2def7849.js","assets/repository.fc6e5621.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/fetch.3971ea84.js","assets/record.075b7d45.js","assets/ant-design.51753590.js","assets/TabPane.1080fde7.js"]),meta:{title:"Access Control - Abstra Console"}}]},{path:"/projects/:projectId/tables/:tableId",name:"tableEditor",component:()=>o(()=>import("./TableEditor.fe3fe79a.js"),["assets/TableEditor.fe3fe79a.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.f3ac9724.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/BaseLayout.4967fc3d.js","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.c677c545.js","assets/gateway.a5388860.js","assets/popupNotifcation.7fc1aee0.js","assets/organization.efcc2606.js","assets/project.0040997f.js","assets/record.075b7d45.js","assets/tables.8d6766f6.js","assets/string.44188c83.js","assets/ContentLayout.d691ad7a.js","assets/ContentLayout.ee57a545.css","assets/index.241ee38a.js","assets/index.fa9b4e97.js","assets/Badge.71fee936.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/index.00d46a24.js","assets/PhArrowDown.vue.ba4eea7b.js","assets/ant-design.51753590.js","assets/PhCaretRight.vue.d23111f3.js","assets/LoadingOutlined.64419cb9.js","assets/index.6db53852.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/TableEditor.1e680eaf.css"]),meta:{title:"Tables - Abstra Console"}},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}}],scrollBehavior(t){if(t.hash)return{el:t.hash}}});m.beforeEach(async(t,e)=>{w(t,e);const a=f.getAuthor();if(!t.meta.allowUnauthenticated&&!a){await m.push({name:"login",query:{...t.query,redirect:t.path,"prev-redirect":t.query.redirect}});return}a&&(P.trackPageView(),i.boot())});export{R as A,i as C,P as T,T as a,v as b,m as r}; -//# sourceMappingURL=router.cbdfe37b.js.map diff --git a/abstra_statics/dist/assets/scripts.cc2cce9b.js b/abstra_statics/dist/assets/scripts.c1b9be98.js similarity index 95% rename from abstra_statics/dist/assets/scripts.cc2cce9b.js rename to abstra_statics/dist/assets/scripts.c1b9be98.js index e99db67079..31d8ff50f4 100644 --- a/abstra_statics/dist/assets/scripts.cc2cce9b.js +++ b/abstra_statics/dist/assets/scripts.c1b9be98.js @@ -1,2 +1,2 @@ -var f=Object.defineProperty;var b=(a,t,e)=>t in a?f(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var p=(a,t,e)=>(b(a,typeof t!="symbol"?t+"":t,e),e);import"./vue-router.33f35a18.js";import{A as w}from"./record.075b7d45.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="2af5d637-3ded-4d44-b4e9-fc0138d9fec2",a._sentryDebugIdIdentifier="sentry-dbid-2af5d637-3ded-4d44-b4e9-fc0138d9fec2")}catch{}})();class I{static async*sendMessage(t,e,s,r){var h;const n=await fetch("/_editor/api/ai/message",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:t,runtime:e,threadId:s})});if(!n.ok)throw new Error("Failed to send message");const d=(h=n.body)==null?void 0:h.getReader();if(!d)throw new Error("No response body");for(;!r();){const g=await d.read();if(g.done)break;yield new TextDecoder().decode(g.value)}}static async createThread(){return(await fetch("/_editor/api/ai/thread",{method:"POST"})).json()}static async cancelAllRuns(t){return(await fetch("/_editor/api/ai/cancel-all",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({threadId:t})})).ok}static async generateProject(t){const e=await fetch("/_editor/api/ai/generate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:t})});if(!e.ok){const s=await e.text();throw new Error(s)}}static async vote(t,e,s,r){await fetch("/_editor/api/ai/vote",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({vote:t,question:e,answer:s,context:r})})}}class m{async list(){return await(await fetch("/_editor/api/hooks")).json()}async create(t,e,s){return await(await fetch("/_editor/api/hooks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/hooks/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/hooks/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",r=`/_editor/api/hooks/${t}`+s;await fetch(r,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t,e){const s=new URLSearchParams(e.query),r=await fetch(`/_editor/api/hooks/${t}/run?${s.toString()}`,{method:e.method,headers:{"Content-Type":"application/json",...e.headers},body:e.method==="GET"?void 0:e.body}),{status:n,headers:d,body:h}=await r.json();return{status:n,headers:d,body:h}}async test(t,e){const s=new URLSearchParams(e.query),r=await fetch(`/_editor/api/hooks/${t}/test?${s.toString()}`,{method:e.method,headers:{"Content-Type":"application/json",...e.headers},body:e.method==="GET"?void 0:e.body}),{status:n,headers:d,body:h}=await r.json();return{status:n,headers:d,body:h}}}const i=new m;class u{constructor(t){p(this,"record");this.record=w.create(i,t)}static async list(){return(await i.list()).map(e=>new u(e))}static async create(t,e,s){const r=await i.create(t,e,s);return new u(r)}static async get(t){const e=await i.get(t);return new u(e)}async delete(t){await i.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get id(){return this.record.get("id")}get type(){return"hook"}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}async run(t){return i.run(this.id,t)}async test(t){return i.test(this.id,t)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return this.record.get("is_initial")}static from(t){return new u(t)}}class j{async list(){return await(await fetch("/_editor/api/jobs")).json()}async create(t,e,s){return await(await fetch("/_editor/api/jobs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/jobs/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/jobs/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",r=`/_editor/api/jobs/${t}`+s;await fetch(r,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t){return(await fetch(`/_editor/api/jobs/${t}/run`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}async test(t){return(await fetch(`/_editor/api/jobs/${t}/test`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}}const o=new j;class y{constructor(t){p(this,"record");p(this,"isInitial",!0);this.record=w.create(o,t)}static async list(){return(await o.list()).map(e=>new y(e))}static async create(t,e,s){const r=await o.create(t,e,s);return new y(r)}static async get(t){const e=await o.get(t);return new y(e)}async delete(t){await o.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get schedule(){return this.record.get("schedule")}set schedule(t){this.record.set("schedule",t)}get type(){return"job"}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get id(){return this.record.get("id")}async test(){return o.test(this.id)}async run(){return o.run(this.id)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}static from(t){return new y(t)}hasChangesDeep(t){return this.record.hasChangesDeep(t)}}class S{async list(){return await(await fetch("/_editor/api/scripts")).json()}async create(t,e,s){return await(await fetch("/_editor/api/scripts",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/scripts/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/scripts/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",r=`/_editor/api/scripts/${t}`+s;await fetch(r,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t,e){return(await fetch(`/_editor/api/scripts/${t}/run`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({stage_run_id:e})})).ok}async test(t){return(await fetch(`/_editor/api/scripts/${t}/test`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}}const c=new S;class l{constructor(t){p(this,"record");this.record=w.create(c,t)}static async list(){return(await c.list()).map(e=>new l(e))}static async create(t,e,s){const r=await c.create(t,e,s);return new l(r)}static async get(t){const e=await c.get(t);return new l(e)}async delete(t){await c.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get id(){return this.record.get("id")}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get type(){return"script"}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}async test(){return c.test(this.id)}async run(t){return c.run(this.id,t)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return!1}static from(t){return new l(t)}}export{I as A,u as H,y as J,l as S}; -//# sourceMappingURL=scripts.cc2cce9b.js.map +var f=Object.defineProperty;var b=(a,t,e)=>t in a?f(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var p=(a,t,e)=>(b(a,typeof t!="symbol"?t+"":t,e),e);import"./vue-router.324eaed2.js";import{A as w}from"./record.cff1707c.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="f4a8cbed-6683-4f76-8888-ebb2e3a2d1e5",a._sentryDebugIdIdentifier="sentry-dbid-f4a8cbed-6683-4f76-8888-ebb2e3a2d1e5")}catch{}})();class I{static async*sendMessage(t,e,s,r){var h;const n=await fetch("/_editor/api/ai/message",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:t,runtime:e,threadId:s})});if(!n.ok)throw new Error("Failed to send message");const d=(h=n.body)==null?void 0:h.getReader();if(!d)throw new Error("No response body");for(;!r();){const g=await d.read();if(g.done)break;yield new TextDecoder().decode(g.value)}}static async createThread(){return(await fetch("/_editor/api/ai/thread",{method:"POST"})).json()}static async cancelAllRuns(t){return(await fetch("/_editor/api/ai/cancel-all",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({threadId:t})})).ok}static async generateProject(t){const e=await fetch("/_editor/api/ai/generate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:t})});if(!e.ok){const s=await e.text();throw new Error(s)}}static async vote(t,e,s,r){await fetch("/_editor/api/ai/vote",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({vote:t,question:e,answer:s,context:r})})}}class m{async list(){return await(await fetch("/_editor/api/hooks")).json()}async create(t,e,s){return await(await fetch("/_editor/api/hooks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/hooks/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/hooks/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",r=`/_editor/api/hooks/${t}`+s;await fetch(r,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t,e){const s=new URLSearchParams(e.query),r=await fetch(`/_editor/api/hooks/${t}/run?${s.toString()}`,{method:e.method,headers:{"Content-Type":"application/json",...e.headers},body:e.method==="GET"?void 0:e.body}),{status:n,headers:d,body:h}=await r.json();return{status:n,headers:d,body:h}}async test(t,e){const s=new URLSearchParams(e.query),r=await fetch(`/_editor/api/hooks/${t}/test?${s.toString()}`,{method:e.method,headers:{"Content-Type":"application/json",...e.headers},body:e.method==="GET"?void 0:e.body}),{status:n,headers:d,body:h}=await r.json();return{status:n,headers:d,body:h}}}const i=new m;class u{constructor(t){p(this,"record");this.record=w.create(i,t)}static async list(){return(await i.list()).map(e=>new u(e))}static async create(t,e,s){const r=await i.create(t,e,s);return new u(r)}static async get(t){const e=await i.get(t);return new u(e)}async delete(t){await i.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get id(){return this.record.get("id")}get type(){return"hook"}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}async run(t){return i.run(this.id,t)}async test(t){return i.test(this.id,t)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return this.record.get("is_initial")}static from(t){return new u(t)}}class j{async list(){return await(await fetch("/_editor/api/jobs")).json()}async create(t,e,s){return await(await fetch("/_editor/api/jobs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/jobs/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/jobs/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",r=`/_editor/api/jobs/${t}`+s;await fetch(r,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t){return(await fetch(`/_editor/api/jobs/${t}/run`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}async test(t){return(await fetch(`/_editor/api/jobs/${t}/test`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}}const o=new j;class y{constructor(t){p(this,"record");p(this,"isInitial",!0);this.record=w.create(o,t)}static async list(){return(await o.list()).map(e=>new y(e))}static async create(t,e,s){const r=await o.create(t,e,s);return new y(r)}static async get(t){const e=await o.get(t);return new y(e)}async delete(t){await o.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get schedule(){return this.record.get("schedule")}set schedule(t){this.record.set("schedule",t)}get type(){return"job"}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get id(){return this.record.get("id")}async test(){return o.test(this.id)}async run(){return o.run(this.id)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}static from(t){return new y(t)}hasChangesDeep(t){return this.record.hasChangesDeep(t)}}class S{async list(){return await(await fetch("/_editor/api/scripts")).json()}async create(t,e,s){return await(await fetch("/_editor/api/scripts",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:s})})).json()}async get(t){return await(await fetch(`/_editor/api/scripts/${t}`)).json()}async update(t,e){return await(await fetch(`/_editor/api/scripts/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const s=e?"?remove_file=true":"",r=`/_editor/api/scripts/${t}`+s;await fetch(r,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t,e){return(await fetch(`/_editor/api/scripts/${t}/run`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({stage_run_id:e})})).ok}async test(t){return(await fetch(`/_editor/api/scripts/${t}/test`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}}const c=new S;class l{constructor(t){p(this,"record");this.record=w.create(c,t)}static async list(){return(await c.list()).map(e=>new l(e))}static async create(t,e,s){const r=await c.create(t,e,s);return new l(r)}static async get(t){const e=await c.get(t);return new l(e)}async delete(t){await c.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get id(){return this.record.get("id")}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get type(){return"script"}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}async test(){return c.test(this.id)}async run(t){return c.run(this.id,t)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return!1}static from(t){return new l(t)}}export{I as A,u as H,y as J,l as S}; +//# sourceMappingURL=scripts.c1b9be98.js.map diff --git a/abstra_statics/dist/assets/string.44188c83.js b/abstra_statics/dist/assets/string.d698465c.js similarity index 62% rename from abstra_statics/dist/assets/string.44188c83.js rename to abstra_statics/dist/assets/string.d698465c.js index 2316578bfe..f0c27f350c 100644 --- a/abstra_statics/dist/assets/string.44188c83.js +++ b/abstra_statics/dist/assets/string.d698465c.js @@ -1,2 +1,2 @@ -import{N as l}from"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8b73a6b4-ad6a-4596-a7d9-610ff57c519d",e._sentryDebugIdIdentifier="sentry-dbid-8b73a6b4-ad6a-4596-a7d9-610ff57c519d")}catch{}})();function u(e){return l.string().email().safeParse(e).success}function f(e){return e.charAt(0).toUpperCase()+e.slice(1)}function g(e,a,n=!1,t=!0,r=!1){const o=(t?e.toLocaleLowerCase():e).normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=r?o.replace(/[^a-zA-Z0-9/]/g,"_"):o.replace(/[^a-zA-Z0-9]/g,"_"),i=n?c:c.replace(/_+/g,"_");return a?i:i.replace(/_$/,"")}function p(e){var s;const n=e.toLocaleLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,""),t=/[a-z0-9]+/g,r=n.match(t);return(s=r==null?void 0:r.join("-"))!=null?s:""}function b(e){try{return{valid:!0,parsed:JSON.parse(e)}}catch(a){return{valid:!1,message:a instanceof Error?a.message:"Unknown error"}}}export{p as a,f as c,u as i,g as n,b as v}; -//# sourceMappingURL=string.44188c83.js.map +import{N as l}from"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="0692ec8f-ced5-434a-91b2-b873099a4c4f",e._sentryDebugIdIdentifier="sentry-dbid-0692ec8f-ced5-434a-91b2-b873099a4c4f")}catch{}})();function f(e){return l.string().email().safeParse(e).success}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function g(e,a,n=!1,t=!0,r=!1){const o=(t?e.toLocaleLowerCase():e).normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=r?o.replace(/[^a-zA-Z0-9/]/g,"_"):o.replace(/[^a-zA-Z0-9]/g,"_"),i=n?c:c.replace(/_+/g,"_");return a?i:i.replace(/_$/,"")}function p(e){var s;const n=e.toLocaleLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,""),t=/[a-z0-9]+/g,r=n.match(t);return(s=r==null?void 0:r.join("-"))!=null?s:""}function b(e){try{return{valid:!0,parsed:JSON.parse(e)}}catch(a){return{valid:!1,message:a instanceof Error?a.message:"Unknown error"}}}export{p as a,d as c,f as i,g as n,b as v}; +//# sourceMappingURL=string.d698465c.js.map diff --git a/abstra_statics/dist/assets/tables.8d6766f6.js b/abstra_statics/dist/assets/tables.842b993f.js similarity index 90% rename from abstra_statics/dist/assets/tables.8d6766f6.js rename to abstra_statics/dist/assets/tables.842b993f.js index fcafabab28..93cc78aed6 100644 --- a/abstra_statics/dist/assets/tables.8d6766f6.js +++ b/abstra_statics/dist/assets/tables.842b993f.js @@ -1,2 +1,2 @@ -var j=Object.defineProperty;var w=(s,e,t)=>e in s?j(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var l=(s,e,t)=>(w(s,typeof e!="symbol"?e+"":e,t),t);import{C as n}from"./gateway.a5388860.js";import{E as I}from"./record.075b7d45.js";import{n as g}from"./string.44188c83.js";import{N as o}from"./vue-router.33f35a18.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="d099ea0e-3da7-4198-9c3c-a686305086f2",s._sentryDebugIdIdentifier="sentry-dbid-d099ea0e-3da7-4198-9c3c-a686305086f2")}catch{}})();o.object({name:o.string().optional(),unique:o.boolean().optional(),nullable:o.boolean().optional(),type:o.object({newType:o.string(),using:o.string()}).optional(),default:o.string().optional(),foreignKey:o.object({columnId:o.string()}).nullish().optional()});const $={boolean:["boolean","bool"],int:["int","integer","int4"],varchar:["varchar","character varying","text"],json:["json"],date:["date"],timestamp:["timestamp"],uuid:["uuid"],real:["real","float4"]},T=s=>{for(const e of C)if($[e].includes(s))return e;throw new Error(`Unknown type: ${s}`)};class D{async create(e){return n.post(`projects/${e.projectId}/tables/${e.tableId}/columns`,e)}async delete(e){return n.delete(`projects/${e.projectId}/tables/${e.tableId}/columns/${e.id}`)}async update(e,t){return n.patch(`projects/${e.projectId}/tables/${e.tableId}/columns/${e.id}`,t)}async getById(e){return n.get(`projects/${e.projectId}/columns/${e.id}`)}}const y=new D,h=class{constructor(e){l(this,"record");this.record=I.from(e)}static async create(e,t,r,c,d,p,b,f){const m=await y.create({name:e,type:t,default:r,nullable:c,unique:d,tableId:p,projectId:b,foreignKey:f});return"error"in m?m:new h(m)}async update(e){const t={...this.record.changes,type:this.record.changes.type&&e?{newType:this.record.changes.type,using:e}:void 0};return Object.keys(t).length===0||!this.id?{success:!0,error:""}:(await y.update({id:this.id,tableId:this.tableId,projectId:this.projectId},t),{success:!0,error:""})}toDTO(){return this.record.state}get id(){return this.record.get("id")}get tableId(){return this.record.get("tableId")}get projectId(){return this.record.get("projectId")}get protected(){return this.record.get("protected")}get type(){return T(this.record.get("type"))}set type(e){this.record.set("type",e)}get name(){return this.record.get("name")}set name(e){this.record.set("name",e)}get nullable(){return this.record.get("nullable")}set nullable(e){this.record.set("nullable",e)}get unique(){return this.record.get("unique")}set unique(e){this.record.set("unique",e)}get primaryKey(){return this.record.get("primaryKey")}get default(){var e;return(e=this.record.get("default"))==null?void 0:e.split("::")[0]}set default(e){this.record.set("default",e)}get foreignKey(){return this.record.get("foreignKey")}set foreignKey(e){this.record.set("foreignKey",e)}async delete(){this.id&&await y.delete({id:this.id,tableId:this.tableId,projectId:this.projectId})}};let i=h;l(i,"fromDTO",e=>new h(e)),l(i,"fromID",async(e,t)=>{const r=await y.getById({projectId:e,id:t});return h.fromDTO(r.column)});const C=["varchar","int","boolean","json","date","timestamp","uuid","real"],N={varchar:"'DEFAULT_VALUE'",int:"42",boolean:"false",json:"'{}'::json",date:"now()",timestamp:"now()",uuid:"gen_random_uuid()",real:"0.0"};class R{async list(e){return n.get(`projects/${e}/tables`)}async create(e,t){return await n.post(`projects/${e.projectId}/tables`,t)}async get(e){return n.get(`projects/${e.projectId}/tables/${e.tableId}`)}async delete(e){return n.delete(`projects/${e.projectId}/tables/${e.tableId}`)}async selectRows(e){return n.get(`projects/${e.projectId}/tables/${e.tableId}/rows`,{limit:e.limit.toString(),offset:e.offset.toString(),search:e.search,where:JSON.stringify(e.where),orderBy:JSON.stringify(e.orderBy)})}async update(e,t){return n.patch(`projects/${e.projectId}/tables/${e.tableId}`,t)}async insertRow(e,t){return n.post(`projects/${e.projectId}/tables/${e.tableId}/rows`,t)}async updateRow(e,t){return n.patch(`projects/${e.projectId}/tables/${e.tableId}/rows/${e.rowId}`,t)}async deleteRow(e){return n.delete(`projects/${e.projectId}/tables/${e.tableId}/rows/${e.rowId}`)}async getByColumnID(e){return n.get(`projects/${e.projectId}/columns/${e.columnId}`)}}const a=new R;class u{constructor(e,t=null){l(this,"record");l(this,"columns");this.record=I.from(e),this.columns=t}static async list(e){return(await a.list(e)).map(r=>new u(r))}static async fromColumnId(e,t){const r=await a.getByColumnID({projectId:e,columnId:t});return u.get(e,r.table.id)}static async create(e,t){const r=g(t,!1),c=await a.create({projectId:e},{name:r});return new u(c.table,c.columns.map(p=>i.fromDTO(p)))}static async get(e,t){const r=await a.get({projectId:e,tableId:t}),c=r.table,d=r.columns.map(p=>i.fromDTO({...p,projectId:c.projectId}));return new u(c,d)}async delete(e,t){return a.delete({projectId:e,tableId:t})}fixTraillingName(){this.name=g(this.name,!1)}async save(){if(Object.keys(this.record.changes).length!==0){this.record.changes.name&&this.fixTraillingName();try{await a.update({id:this.id,tableId:this.id,projectId:this.projectId},this.record.changes)}finally{this.record.resetChanges()}}}resetChanges(){this.record.resetChanges()}onUpdate(e){this.record.pubsub.subscribe("update",e)}hasChanges(){return this.record.hasChanges()}hasChangesDeep(e){return this.record.hasChangesDeep(e)&&g(this.name,!1)!==this.record.initialState.name}getColumns(){var e;return(e=this.columns)!=null?e:[]}getUnprotectedColumns(){var e,t;return(t=(e=this.columns)==null?void 0:e.filter(r=>!r.protected).map(r=>r.toDTO()))!=null?t:[]}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(e){const t=g(e,!0);this.record.set("name",t)}get projectId(){return this.record.get("projectId")}async addColumn(e){const t=await i.create(e.name,e.type,e.default,e.nullable,e.unique,this.id,this.projectId,e.foreignKey);return"error"in t?{success:!1,error:t.error}:this.columns?(this.columns.push(t),{success:!0,error:""}):(this.columns=[t],{success:!0,error:""})}getColumn(e){var t;return(t=this.columns)==null?void 0:t.find(r=>r.id&&r.id===e)}async select(e={},t,r,c,d){return a.selectRows({name:this.name,where:e,tableId:this.id,projectId:this.projectId,limit:r,offset:t,search:c,orderBy:d})}async insertRow(e){return a.insertRow({tableId:this.id,projectId:this.projectId},e)}async updateRow(e,t){return a.updateRow({tableId:this.id,projectId:this.projectId,rowId:e},t)}async deleteRow(e){return a.deleteRow({tableId:this.id,projectId:this.projectId,rowId:e})}}export{u as T,N as d,C as p}; -//# sourceMappingURL=tables.8d6766f6.js.map +var j=Object.defineProperty;var w=(s,e,t)=>e in s?j(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var l=(s,e,t)=>(w(s,typeof e!="symbol"?e+"":e,t),t);import{C as n}from"./gateway.edd4374b.js";import{E as b}from"./record.cff1707c.js";import{n as g}from"./string.d698465c.js";import{N as o}from"./vue-router.324eaed2.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="9e5ceee3-a846-4afc-8500-036e478fb5d9",s._sentryDebugIdIdentifier="sentry-dbid-9e5ceee3-a846-4afc-8500-036e478fb5d9")}catch{}})();o.object({name:o.string().optional(),unique:o.boolean().optional(),nullable:o.boolean().optional(),type:o.object({newType:o.string(),using:o.string()}).optional(),default:o.string().optional(),foreignKey:o.object({columnId:o.string()}).nullish().optional()});const $={boolean:["boolean","bool"],int:["int","integer","int4"],varchar:["varchar","character varying","text"],json:["json"],date:["date"],timestamp:["timestamp"],uuid:["uuid"],real:["real","float4"]},T=s=>{for(const e of C)if($[e].includes(s))return e;throw new Error(`Unknown type: ${s}`)};class D{async create(e){return n.post(`projects/${e.projectId}/tables/${e.tableId}/columns`,e)}async delete(e){return n.delete(`projects/${e.projectId}/tables/${e.tableId}/columns/${e.id}`)}async update(e,t){return n.patch(`projects/${e.projectId}/tables/${e.tableId}/columns/${e.id}`,t)}async getById(e){return n.get(`projects/${e.projectId}/columns/${e.id}`)}}const y=new D,h=class{constructor(e){l(this,"record");this.record=b.from(e)}static async create(e,t,r,c,d,p,I,f){const m=await y.create({name:e,type:t,default:r,nullable:c,unique:d,tableId:p,projectId:I,foreignKey:f});return"error"in m?m:new h(m)}async update(e){const t={...this.record.changes,type:this.record.changes.type&&e?{newType:this.record.changes.type,using:e}:void 0};return Object.keys(t).length===0||!this.id?{success:!0,error:""}:(await y.update({id:this.id,tableId:this.tableId,projectId:this.projectId},t),{success:!0,error:""})}toDTO(){return this.record.state}get id(){return this.record.get("id")}get tableId(){return this.record.get("tableId")}get projectId(){return this.record.get("projectId")}get protected(){return this.record.get("protected")}get type(){return T(this.record.get("type"))}set type(e){this.record.set("type",e)}get name(){return this.record.get("name")}set name(e){this.record.set("name",e)}get nullable(){return this.record.get("nullable")}set nullable(e){this.record.set("nullable",e)}get unique(){return this.record.get("unique")}set unique(e){this.record.set("unique",e)}get primaryKey(){return this.record.get("primaryKey")}get default(){var e;return(e=this.record.get("default"))==null?void 0:e.split("::")[0]}set default(e){this.record.set("default",e)}get foreignKey(){return this.record.get("foreignKey")}set foreignKey(e){this.record.set("foreignKey",e)}async delete(){this.id&&await y.delete({id:this.id,tableId:this.tableId,projectId:this.projectId})}};let i=h;l(i,"fromDTO",e=>new h(e)),l(i,"fromID",async(e,t)=>{const r=await y.getById({projectId:e,id:t});return h.fromDTO(r.column)});const C=["varchar","int","boolean","json","date","timestamp","uuid","real"],N={varchar:"'DEFAULT_VALUE'",int:"42",boolean:"false",json:"'{}'::json",date:"now()",timestamp:"now()",uuid:"gen_random_uuid()",real:"0.0"};class R{async list(e){return n.get(`projects/${e}/tables`)}async create(e,t){return await n.post(`projects/${e.projectId}/tables`,t)}async get(e){return n.get(`projects/${e.projectId}/tables/${e.tableId}`)}async delete(e){return n.delete(`projects/${e.projectId}/tables/${e.tableId}`)}async selectRows(e){return n.get(`projects/${e.projectId}/tables/${e.tableId}/rows`,{limit:e.limit.toString(),offset:e.offset.toString(),search:e.search,where:JSON.stringify(e.where),orderBy:JSON.stringify(e.orderBy)})}async update(e,t){return n.patch(`projects/${e.projectId}/tables/${e.tableId}`,t)}async insertRow(e,t){return n.post(`projects/${e.projectId}/tables/${e.tableId}/rows`,t)}async updateRow(e,t){return n.patch(`projects/${e.projectId}/tables/${e.tableId}/rows/${e.rowId}`,t)}async deleteRow(e){return n.delete(`projects/${e.projectId}/tables/${e.tableId}/rows/${e.rowId}`)}async getByColumnID(e){return n.get(`projects/${e.projectId}/columns/${e.columnId}`)}}const a=new R;class u{constructor(e,t=null){l(this,"record");l(this,"columns");this.record=b.from(e),this.columns=t}static async list(e){return(await a.list(e)).map(r=>new u(r))}static async fromColumnId(e,t){const r=await a.getByColumnID({projectId:e,columnId:t});return u.get(e,r.table.id)}static async create(e,t){const r=g(t,!1),c=await a.create({projectId:e},{name:r});return new u(c.table,c.columns.map(p=>i.fromDTO(p)))}static async get(e,t){const r=await a.get({projectId:e,tableId:t}),c=r.table,d=r.columns.map(p=>i.fromDTO({...p,projectId:c.projectId}));return new u(c,d)}async delete(e,t){return a.delete({projectId:e,tableId:t})}fixTraillingName(){this.name=g(this.name,!1)}async save(){if(Object.keys(this.record.changes).length!==0){this.record.changes.name&&this.fixTraillingName();try{await a.update({id:this.id,tableId:this.id,projectId:this.projectId},this.record.changes)}finally{this.record.resetChanges()}}}resetChanges(){this.record.resetChanges()}onUpdate(e){this.record.pubsub.subscribe("update",e)}hasChanges(){return this.record.hasChanges()}hasChangesDeep(e){return this.record.hasChangesDeep(e)&&g(this.name,!1)!==this.record.initialState.name}getColumns(){var e;return(e=this.columns)!=null?e:[]}getUnprotectedColumns(){var e,t;return(t=(e=this.columns)==null?void 0:e.filter(r=>!r.protected).map(r=>r.toDTO()))!=null?t:[]}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(e){const t=g(e,!0);this.record.set("name",t)}get projectId(){return this.record.get("projectId")}async addColumn(e){const t=await i.create(e.name,e.type,e.default,e.nullable,e.unique,this.id,this.projectId,e.foreignKey);return"error"in t?{success:!1,error:t.error}:this.columns?(this.columns.push(t),{success:!0,error:""}):(this.columns=[t],{success:!0,error:""})}getColumn(e){var t;return(t=this.columns)==null?void 0:t.find(r=>r.id&&r.id===e)}async select(e={},t,r,c,d){return a.selectRows({name:this.name,where:e,tableId:this.id,projectId:this.projectId,limit:r,offset:t,search:c,orderBy:d})}async insertRow(e){return a.insertRow({tableId:this.id,projectId:this.projectId},e)}async updateRow(e,t){return a.updateRow({tableId:this.id,projectId:this.projectId,rowId:e},t)}async deleteRow(e){return a.deleteRow({tableId:this.id,projectId:this.projectId,rowId:e})}}export{u as T,N as d,C as p}; +//# sourceMappingURL=tables.842b993f.js.map diff --git a/abstra_statics/dist/assets/toggleHighContrast.aa328f74.js b/abstra_statics/dist/assets/toggleHighContrast.4c55b574.js similarity index 99% rename from abstra_statics/dist/assets/toggleHighContrast.aa328f74.js rename to abstra_statics/dist/assets/toggleHighContrast.4c55b574.js index 429b6cb11e..9aa4263f36 100644 --- a/abstra_statics/dist/assets/toggleHighContrast.aa328f74.js +++ b/abstra_statics/dist/assets/toggleHighContrast.4c55b574.js @@ -1,4 +1,4 @@ -var p8=Object.defineProperty;var m8=(o,e,t)=>e in o?p8(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var qt=(o,e,t)=>(m8(o,typeof e!="symbol"?e+"":e,t),t);import{_ as ue}from"./vue-router.33f35a18.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="44f2dd19-5746-4e13-a65f-209376fea6e5",o._sentryDebugIdIdentifier="sentry-dbid-44f2dd19-5746-4e13-a65f-209376fea6e5")}catch{}})();globalThis&&globalThis.__awaiter;let _8=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function b8(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),_8&&(t="\uFF3B"+t.replace(/[aouei]/g,"$&$&")+"\uFF3D"),t}function p(o,e,...t){return b8(e,t)}var Ow;const Vf="en";let U0=!1,$0=!1,h0=!1,TO=!1,sI=!1,oI=!1,q_,u0=Vf,v8,Cl;const ni=typeof self=="object"?self:typeof global=="object"?global:{};let Sn;typeof ni.vscode<"u"&&typeof ni.vscode.process<"u"?Sn=ni.vscode.process:typeof process<"u"&&(Sn=process);const C8=typeof((Ow=Sn==null?void 0:Sn.versions)===null||Ow===void 0?void 0:Ow.electron)=="string",w8=C8&&(Sn==null?void 0:Sn.type)==="renderer";if(typeof navigator=="object"&&!w8)Cl=navigator.userAgent,U0=Cl.indexOf("Windows")>=0,$0=Cl.indexOf("Macintosh")>=0,oI=(Cl.indexOf("Macintosh")>=0||Cl.indexOf("iPad")>=0||Cl.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h0=Cl.indexOf("Linux")>=0,sI=!0,p({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),q_=Vf,u0=q_;else if(typeof Sn=="object"){U0=Sn.platform==="win32",$0=Sn.platform==="darwin",h0=Sn.platform==="linux",h0&&!!Sn.env.SNAP&&Sn.env.SNAP_REVISION,Sn.env.CI||Sn.env.BUILD_ARTIFACTSTAGINGDIRECTORY,q_=Vf,u0=Vf;const o=Sn.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages["*"];q_=e.locale,u0=t||Vf,v8=e._translationsConfigFile}catch{}TO=!0}else console.error("Unable to resolve platform.");const Yi=U0,Ge=$0,dn=h0,jo=TO,Sc=sI,S8=sI&&typeof ni.importScripts=="function",Ur=oI,$r=Cl,y8=u0,L8=typeof ni.postMessage=="function"&&!ni.importScripts,AO=(()=>{if(L8){const o=[];ni.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),ni.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),Os=$0||oI?2:U0?1:3;let yT=!0,LT=!1;function MO(){if(!LT){LT=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,yT=new Uint16Array(o.buffer)[0]===(2<<8)+1}return yT}const RO=!!($r&&$r.indexOf("Chrome")>=0),D8=!!($r&&$r.indexOf("Firefox")>=0),k8=!!(!RO&&$r&&$r.indexOf("Safari")>=0),x8=!!($r&&$r.indexOf("Edg/")>=0);$r&&$r.indexOf("Android")>=0;var je;(function(o){function e(S){return S&&typeof S=="object"&&typeof S[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(S){yield S}o.single=n;function s(S){return S||t}o.from=s;function r(S){return!S||S[Symbol.iterator]().next().done===!0}o.isEmpty=r;function a(S){return S[Symbol.iterator]().next().value}o.first=a;function l(S,k){for(const x of S)if(k(x))return!0;return!1}o.some=l;function c(S,k){for(const x of S)if(k(x))return x}o.find=c;function*d(S,k){for(const x of S)k(x)&&(yield x)}o.filter=d;function*h(S,k){let x=0;for(const y of S)yield k(y,x++)}o.map=h;function*u(...S){for(const k of S)for(const x of k)yield x}o.concat=u;function*g(S){for(const k of S)for(const x of k)yield x}o.concatNested=g;function f(S,k,x){let y=x;for(const D of S)y=k(y,D);return y}o.reduce=f;function _(S,k){let x=0;for(const y of S)k(y,x++)}o.forEach=_;function*b(S,k,x=S.length){for(k<0&&(k+=S.length),x<0?x+=S.length:x>S.length&&(x=S.length);ky===D){const y=S[Symbol.iterator](),D=k[Symbol.iterator]();for(;;){const I=y.next(),O=D.next();if(I.done!==O.done)return!1;if(I.done)return!0;if(!x(I.value,O.value))return!1}}o.equals=w})(je||(je={}));class Gt{constructor(e){this.element=e,this.next=Gt.Undefined,this.prev=Gt.Undefined}}Gt.Undefined=new Gt(void 0);class Dn{constructor(){this._first=Gt.Undefined,this._last=Gt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Gt.Undefined}clear(){let e=this._first;for(;e!==Gt.Undefined;){const t=e.next;e.prev=Gt.Undefined,e.next=Gt.Undefined,e=t}this._first=Gt.Undefined,this._last=Gt.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new Gt(e);if(this._first===Gt.Undefined)this._first=i,this._last=i;else if(t){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Gt.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Gt.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Gt.Undefined&&e.next!==Gt.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Gt.Undefined&&e.next===Gt.Undefined?(this._first=Gt.Undefined,this._last=Gt.Undefined):e.next===Gt.Undefined?(this._last=this._last.prev,this._last.next=Gt.Undefined):e.prev===Gt.Undefined&&(this._first=this._first.next,this._first.prev=Gt.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Gt.Undefined;)yield e.element,e=e.next}}const OO="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function I8(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of OO)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const rI=I8();function PO(o){let e=rI;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const FO=new Dn;FO.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Mp(o,e,t,i,n){if(n||(n=je.first(FO)),t.length>n.maxLen){let c=o-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,o+n.maxLen/2),Mp(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-s>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=E8(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function E8(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}function Ts(o,e=0){return o[o.length-(1+e)]}function N8(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function Ss(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function A8(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function BO(o,e){let t=0,i=o.length;if(i===0)return 0;for(;t=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function WO(o){return!Array.isArray(o)||o.length===0}function rn(o){return Array.isArray(o)&&o.length>0}function Qa(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function j0(o,e){const t=M8(o,e);if(t!==-1)return o[t]}function M8(o,e){for(let t=o.length-1;t>=0;t--){const i=o[t];if(e(i))return t}return-1}function VO(o,e){return o.length>0?o[0]:e}function Cn(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function RC(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function Pw(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function G_(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function kT(o,e){for(const t of e)o.push(t)}function lI(o){return Array.isArray(o)?o:[o]}function R8(o,e,t){const i=HO(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=t;function i(n){return n===0}o.isNeitherLessOrGreaterThan=i,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(IT||(IT={}));function op(o,e){return(t,i)=>e(o(t),o(i))}const O8=(o,e)=>o-e;function zO(o,e){if(o.length===0)return;let t=o[0];for(let i=1;i0&&(t=n)}return t}function UO(o,e){if(o.length===0)return;let t=o[0];for(let i=1;i=0&&(t=n)}return t}function P8(o,e){return zO(o,(t,i)=>-e(t,i))}class Rp{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}function $O(o){return Array.isArray(o)}function Un(o){return typeof o=="string"}function Hn(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function F8(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function tc(o){return typeof o=="number"&&!isNaN(o)}function ET(o){return!!o&&typeof o[Symbol.iterator]=="function"}function jO(o){return o===!0||o===!1}function Xn(o){return typeof o>"u"}function B8(o){return!ms(o)}function ms(o){return Xn(o)||o===null}function pt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function Z_(o){if(ms(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function K0(o){return typeof o=="function"}function W8(o,e){const t=Math.min(o.length,e.length);for(let i=0;ifunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}function Wn(o){return o===null?void 0:o}function OC(o,e="Unreachable"){throw new Error(e)}function La(o){if(!o||typeof o!="object"||o instanceof RegExp)return o;const e=Array.isArray(o)?[]:{};return Object.keys(o).forEach(t=>{o[t]&&typeof o[t]=="object"?e[t]=La(o[t]):e[t]=o[t]}),e}function U8(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(KO.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!F8(n)&&e.push(n)}}return o}const KO=Object.prototype.hasOwnProperty;function qO(o,e){return $y(o,e,new Set)}function $y(o,e,t){if(ms(o))return o;const i=e(o);if(typeof i<"u")return i;if($O(o)){const n=[];for(const s of o)n.push($y(s,e,t));return n}if(Hn(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)KO.call(o,s)&&(n[s]=$y(o[s],e,t));return t.delete(o),n}return o}function Jr(o,e,t=!0){return Hn(o)?(Hn(e)&&Object.keys(e).forEach(i=>{i in o?t&&(Hn(o[i])&&Hn(e[i])?Jr(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function $s(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;t"u"?this.defaultValue:e}compute(e,t,i){return i}}function we(o,e){return typeof o>"u"?e:o==="false"?!1:Boolean(o)}class Qe extends uh{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return we(e,this.defaultValue)}}function jy(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Tt extends uh{constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}static clampedInt(e,t,i,n){return jy(e,t,i,n)}validate(e){return Tt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class Ar extends uh{constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}validate(e){return this.validationFn(Ar.float(e,this.defaultValue))}}class Yn extends uh{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Yn.string(e,this.defaultValue)}}function Ki(o,e,t){return typeof o!="string"||t.indexOf(o)===-1?e:o}class vi extends uh{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return Ki(e,this.defaultValue,this._allowedValues)}}class ff extends fi{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function $8(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class j8 extends fi{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),p("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:p("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class K8 extends fi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:we(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:we(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function q8(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var Hi;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(Hi||(Hi={}));function G8(o){switch(o){case"line":return Hi.Line;case"block":return Hi.Block;case"underline":return Hi.Underline;case"line-thin":return Hi.LineThin;case"block-outline":return Hi.BlockOutline;case"underline-thin":return Hi.UnderlineThin}}class Z8 extends Vg{constructor(){super(130)}compute(e,t,i){const n=["monaco-editor"];return t.get(35)&&n.push(t.get(35)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(68)==="default"?n.push("mouse-default"):t.get(68)==="copy"&&n.push("mouse-copy"),t.get(102)&&n.push("showUnused"),t.get(128)&&n.push("showDeprecated"),n.join(" ")}}class Y8 extends Qe{constructor(){super(33,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class Q8 extends fi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(37,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:p("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Ge},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:p("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:we(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":Ki(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":Ki(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:we(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:we(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:we(t.loop,this.defaultValue.loop)}}}class _s extends fi{constructor(){super(47,"fontLigatures",_s.OFF,{anyOf:[{type:"boolean",description:p("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?_s.OFF:e==="true"?_s.ON:e:Boolean(e)?_s.ON:_s.OFF}}_s.OFF='"liga" off, "calt" off';_s.ON='"liga" on, "calt" on';class X8 extends Vg{constructor(){super(46)}compute(e,t,i){return e.fontInfo}}class J8 extends uh{constructor(){super(48,"fontSize",ts.fontSize,{type:"number",minimum:6,maximum:100,default:ts.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=Ar.float(e,this.defaultValue);return t===0?ts.fontSize:Ar.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class kr extends fi{constructor(){super(49,"fontWeight",ts.fontWeight,{anyOf:[{type:"number",minimum:kr.MINIMUM_VALUE,maximum:kr.MAXIMUM_VALUE,errorMessage:p("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:kr.SUGGESTION_VALUES}],default:ts.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Tt.clampedInt(e,ts.fontWeight,kr.MINIMUM_VALUE,kr.MAXIMUM_VALUE))}}kr.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];kr.MINIMUM_VALUE=1;kr.MAXIMUM_VALUE=1e3;class e6 extends fi{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(53,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:p("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:p("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:p("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:p("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:p("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:p("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,s,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:Ki(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:Ki(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:Ki(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:Ki(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(s=a.multipleImplementations)!==null&&s!==void 0?s:Ki(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:Ki(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Yn.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Yn.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Yn.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Yn.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Yn.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class t6 extends fi{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(55,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),delay:Tt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:we(t.sticky,this.defaultValue.sticky),above:we(t.above,this.defaultValue.above)}}}class Eu extends Vg{constructor(){super(133)}compute(e,t,i){return Eu.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=e.scrollBeyondLastLine?t-1:0,n=(e.viewLineCount+i)/(e.pixelRatio*e.height),s=Math.floor(e.viewLineCount/n);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:s}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,_=e.minimap.side,b=e.verticalScrollbarWidth,v=e.viewLineCount,C=e.remainingWidth,w=e.isViewportWrapping,S=h?2:3;let k=Math.floor(s*n);const x=k/s;let y=!1,D=!1,I=S*u,O=u/s,F=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:xe,extraLinesBeyondLastLine:He,desiredRatio:Mt,minimapLineCount:yt}=Eu.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:d,height:n,lineHeight:l,pixelRatio:s});if(v/yt>1)y=!0,D=!0,u=1,I=1,O=u/s;else{let me=!1,Nt=u+1;if(f==="fit"){const Fi=Math.ceil((v+He)*I);w&&a&&C<=t.stableFitRemainingWidth?(me=!0,Nt=t.stableFitMaxMinimapScale):me=Fi>k}if(f==="fill"||me){y=!0;const Fi=u;I=Math.min(l*s,Math.max(1,Math.floor(1/Mt))),w&&a&&C<=t.stableFitRemainingWidth&&(Nt=t.stableFitMaxMinimapScale),u=Math.min(Nt,Math.max(1,Math.floor(I/S))),u>Fi&&(F=Math.min(2,u/Fi)),O=u/s/F,k=Math.ceil(Math.max(xe,v+He)*I),w?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const z=Math.floor(g*O),j=Math.min(z,Math.max(0,Math.floor((C-b-2)*O/(c+O)))+wl);let re=Math.floor(s*j);const he=re/s;re=Math.floor(re*F);const Se=h?1:2,ye=_==="left"?0:i-j-b;return{renderMinimap:Se,minimapLeft:ye,minimapWidth:j,minimapHeightIsEditorHeight:y,minimapIsSampling:D,minimapScale:u,minimapLineHeight:I,minimapCanvasInnerWidth:re,minimapCanvasInnerHeight:k,minimapCanvasOuterWidth:he,minimapCanvasOuterHeight:x}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(125),u=h==="inherit"?e.get(124):h,g=u==="inherit"?e.get(120):u,f=e.get(123),_=e.get(2),b=t.isDominatedByLongLines,v=e.get(52),C=e.get(62).renderType!==0,w=e.get(63),S=e.get(96),k=e.get(67),x=e.get(94),y=x.verticalScrollbarSize,D=x.verticalHasArrows,I=x.arrowSize,O=x.horizontalScrollbarSize,F=e.get(60),z=e.get(39),j=e.get(101)!=="never";let re;if(typeof F=="string"&&/^\d+(\.\d+)?ch$/.test(F)){const xo=parseFloat(F.substr(0,F.length-2));re=Tt.clampedInt(xo*a,0,0,1e3)}else re=Tt.clampedInt(F,0,0,1e3);z&&j&&(re+=16);let he=0;if(C){const xo=Math.max(r,w);he=Math.round(xo*l)}let Se=0;v&&(Se=s);let ye=0,xe=ye+Se,He=xe+he,Mt=He+re;const yt=i-Se-he-re;let ve=!1,me=!1,Nt=-1;_!==2&&(u==="inherit"&&b?(ve=!0,me=!0):g==="on"||g==="bounded"?me=!0:g==="wordWrapColumn"&&(Nt=f));const Fi=Eu._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:S,minimap:k,verticalScrollbarWidth:y,viewLineCount:d,remainingWidth:yt,isViewportWrapping:me},t.memory||new ZO);Fi.renderMinimap!==0&&Fi.minimapLeft===0&&(ye+=Fi.minimapWidth,xe+=Fi.minimapWidth,He+=Fi.minimapWidth,Mt+=Fi.minimapWidth);const In=yt-Fi.minimapWidth,ko=Math.max(1,Math.floor((In-y-2)/a)),oa=D?I:0;return me&&(Nt=Math.max(1,ko),g==="bounded"&&(Nt=Math.min(Nt,f))),{width:i,height:n,glyphMarginLeft:ye,glyphMarginWidth:Se,lineNumbersLeft:xe,lineNumbersWidth:he,decorationsLeft:He,decorationsWidth:re,contentLeft:Mt,contentWidth:In,minimap:Fi,viewportColumn:ko,isWordWrapMinified:ve,isViewportWrapping:me,wrappingColumn:Nt,verticalScrollbarWidth:y,horizontalScrollbarHeight:O,overviewRuler:{top:oa,width:y,height:n-2*oa,right:0}}}}class i6 extends fi{constructor(){const e={enabled:!0};super(59,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:p("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:we(e.enabled,this.defaultValue.enabled)}}}class n6 extends fi{constructor(){const e={stickyScroll:{enabled:!1}};super(34,"experimental",e,{"editor.experimental.stickyScroll.enabled":{type:"boolean",default:e.stickyScroll.enabled,description:p("editor.experimental.stickyScroll","Shows the nested current scopes during the scroll at the top of the editor.")}})}validate(e){var t;return!e||typeof e!="object"?this.defaultValue:{stickyScroll:{enabled:we((t=e.stickyScroll)===null||t===void 0?void 0:t.enabled,this.defaultValue.stickyScroll.enabled)}}}}class s6 extends fi{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(129,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:p("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:p("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:Ki(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Tt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Yn.string(t.fontFamily,this.defaultValue.fontFamily),padding:we(t.padding,this.defaultValue.padding)}}}class o6 extends Ar{constructor(){super(61,"lineHeight",ts.lineHeight,e=>Ar.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height. +var p8=Object.defineProperty;var m8=(o,e,t)=>e in o?p8(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var qt=(o,e,t)=>(m8(o,typeof e!="symbol"?e+"":e,t),t);import{_ as ue}from"./vue-router.324eaed2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="2783a978-3737-4d1c-bb3e-14328e1e5091",o._sentryDebugIdIdentifier="sentry-dbid-2783a978-3737-4d1c-bb3e-14328e1e5091")}catch{}})();globalThis&&globalThis.__awaiter;let _8=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function b8(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),_8&&(t="\uFF3B"+t.replace(/[aouei]/g,"$&$&")+"\uFF3D"),t}function p(o,e,...t){return b8(e,t)}var Ow;const Vf="en";let U0=!1,$0=!1,h0=!1,TO=!1,sI=!1,oI=!1,q_,u0=Vf,v8,Cl;const ni=typeof self=="object"?self:typeof global=="object"?global:{};let Sn;typeof ni.vscode<"u"&&typeof ni.vscode.process<"u"?Sn=ni.vscode.process:typeof process<"u"&&(Sn=process);const C8=typeof((Ow=Sn==null?void 0:Sn.versions)===null||Ow===void 0?void 0:Ow.electron)=="string",w8=C8&&(Sn==null?void 0:Sn.type)==="renderer";if(typeof navigator=="object"&&!w8)Cl=navigator.userAgent,U0=Cl.indexOf("Windows")>=0,$0=Cl.indexOf("Macintosh")>=0,oI=(Cl.indexOf("Macintosh")>=0||Cl.indexOf("iPad")>=0||Cl.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h0=Cl.indexOf("Linux")>=0,sI=!0,p({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),q_=Vf,u0=q_;else if(typeof Sn=="object"){U0=Sn.platform==="win32",$0=Sn.platform==="darwin",h0=Sn.platform==="linux",h0&&!!Sn.env.SNAP&&Sn.env.SNAP_REVISION,Sn.env.CI||Sn.env.BUILD_ARTIFACTSTAGINGDIRECTORY,q_=Vf,u0=Vf;const o=Sn.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages["*"];q_=e.locale,u0=t||Vf,v8=e._translationsConfigFile}catch{}TO=!0}else console.error("Unable to resolve platform.");const Yi=U0,Ge=$0,dn=h0,jo=TO,Sc=sI,S8=sI&&typeof ni.importScripts=="function",Ur=oI,$r=Cl,y8=u0,L8=typeof ni.postMessage=="function"&&!ni.importScripts,AO=(()=>{if(L8){const o=[];ni.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),ni.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),Os=$0||oI?2:U0?1:3;let yT=!0,LT=!1;function MO(){if(!LT){LT=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,yT=new Uint16Array(o.buffer)[0]===(2<<8)+1}return yT}const RO=!!($r&&$r.indexOf("Chrome")>=0),D8=!!($r&&$r.indexOf("Firefox")>=0),k8=!!(!RO&&$r&&$r.indexOf("Safari")>=0),x8=!!($r&&$r.indexOf("Edg/")>=0);$r&&$r.indexOf("Android")>=0;var je;(function(o){function e(S){return S&&typeof S=="object"&&typeof S[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(S){yield S}o.single=n;function s(S){return S||t}o.from=s;function r(S){return!S||S[Symbol.iterator]().next().done===!0}o.isEmpty=r;function a(S){return S[Symbol.iterator]().next().value}o.first=a;function l(S,k){for(const x of S)if(k(x))return!0;return!1}o.some=l;function c(S,k){for(const x of S)if(k(x))return x}o.find=c;function*d(S,k){for(const x of S)k(x)&&(yield x)}o.filter=d;function*h(S,k){let x=0;for(const y of S)yield k(y,x++)}o.map=h;function*u(...S){for(const k of S)for(const x of k)yield x}o.concat=u;function*g(S){for(const k of S)for(const x of k)yield x}o.concatNested=g;function f(S,k,x){let y=x;for(const D of S)y=k(y,D);return y}o.reduce=f;function _(S,k){let x=0;for(const y of S)k(y,x++)}o.forEach=_;function*b(S,k,x=S.length){for(k<0&&(k+=S.length),x<0?x+=S.length:x>S.length&&(x=S.length);ky===D){const y=S[Symbol.iterator](),D=k[Symbol.iterator]();for(;;){const I=y.next(),O=D.next();if(I.done!==O.done)return!1;if(I.done)return!0;if(!x(I.value,O.value))return!1}}o.equals=w})(je||(je={}));class Gt{constructor(e){this.element=e,this.next=Gt.Undefined,this.prev=Gt.Undefined}}Gt.Undefined=new Gt(void 0);class Dn{constructor(){this._first=Gt.Undefined,this._last=Gt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Gt.Undefined}clear(){let e=this._first;for(;e!==Gt.Undefined;){const t=e.next;e.prev=Gt.Undefined,e.next=Gt.Undefined,e=t}this._first=Gt.Undefined,this._last=Gt.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new Gt(e);if(this._first===Gt.Undefined)this._first=i,this._last=i;else if(t){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Gt.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Gt.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Gt.Undefined&&e.next!==Gt.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Gt.Undefined&&e.next===Gt.Undefined?(this._first=Gt.Undefined,this._last=Gt.Undefined):e.next===Gt.Undefined?(this._last=this._last.prev,this._last.next=Gt.Undefined):e.prev===Gt.Undefined&&(this._first=this._first.next,this._first.prev=Gt.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Gt.Undefined;)yield e.element,e=e.next}}const OO="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function I8(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of OO)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const rI=I8();function PO(o){let e=rI;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const FO=new Dn;FO.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Mp(o,e,t,i,n){if(n||(n=je.first(FO)),t.length>n.maxLen){let c=o-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,o+n.maxLen/2),Mp(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-s>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=E8(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function E8(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}function Ts(o,e=0){return o[o.length-(1+e)]}function N8(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function Ss(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function A8(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function BO(o,e){let t=0,i=o.length;if(i===0)return 0;for(;t=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function WO(o){return!Array.isArray(o)||o.length===0}function rn(o){return Array.isArray(o)&&o.length>0}function Qa(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function j0(o,e){const t=M8(o,e);if(t!==-1)return o[t]}function M8(o,e){for(let t=o.length-1;t>=0;t--){const i=o[t];if(e(i))return t}return-1}function VO(o,e){return o.length>0?o[0]:e}function Cn(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function RC(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function Pw(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function G_(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function kT(o,e){for(const t of e)o.push(t)}function lI(o){return Array.isArray(o)?o:[o]}function R8(o,e,t){const i=HO(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=t;function i(n){return n===0}o.isNeitherLessOrGreaterThan=i,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(IT||(IT={}));function op(o,e){return(t,i)=>e(o(t),o(i))}const O8=(o,e)=>o-e;function zO(o,e){if(o.length===0)return;let t=o[0];for(let i=1;i0&&(t=n)}return t}function UO(o,e){if(o.length===0)return;let t=o[0];for(let i=1;i=0&&(t=n)}return t}function P8(o,e){return zO(o,(t,i)=>-e(t,i))}class Rp{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}function $O(o){return Array.isArray(o)}function Un(o){return typeof o=="string"}function Hn(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function F8(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function tc(o){return typeof o=="number"&&!isNaN(o)}function ET(o){return!!o&&typeof o[Symbol.iterator]=="function"}function jO(o){return o===!0||o===!1}function Xn(o){return typeof o>"u"}function B8(o){return!ms(o)}function ms(o){return Xn(o)||o===null}function pt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function Z_(o){if(ms(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function K0(o){return typeof o=="function"}function W8(o,e){const t=Math.min(o.length,e.length);for(let i=0;ifunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}function Wn(o){return o===null?void 0:o}function OC(o,e="Unreachable"){throw new Error(e)}function La(o){if(!o||typeof o!="object"||o instanceof RegExp)return o;const e=Array.isArray(o)?[]:{};return Object.keys(o).forEach(t=>{o[t]&&typeof o[t]=="object"?e[t]=La(o[t]):e[t]=o[t]}),e}function U8(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(KO.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!F8(n)&&e.push(n)}}return o}const KO=Object.prototype.hasOwnProperty;function qO(o,e){return $y(o,e,new Set)}function $y(o,e,t){if(ms(o))return o;const i=e(o);if(typeof i<"u")return i;if($O(o)){const n=[];for(const s of o)n.push($y(s,e,t));return n}if(Hn(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)KO.call(o,s)&&(n[s]=$y(o[s],e,t));return t.delete(o),n}return o}function Jr(o,e,t=!0){return Hn(o)?(Hn(e)&&Object.keys(e).forEach(i=>{i in o?t&&(Hn(o[i])&&Hn(e[i])?Jr(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function $s(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;t"u"?this.defaultValue:e}compute(e,t,i){return i}}function we(o,e){return typeof o>"u"?e:o==="false"?!1:Boolean(o)}class Qe extends uh{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return we(e,this.defaultValue)}}function jy(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Tt extends uh{constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}static clampedInt(e,t,i,n){return jy(e,t,i,n)}validate(e){return Tt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class Ar extends uh{constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}validate(e){return this.validationFn(Ar.float(e,this.defaultValue))}}class Yn extends uh{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Yn.string(e,this.defaultValue)}}function Ki(o,e,t){return typeof o!="string"||t.indexOf(o)===-1?e:o}class vi extends uh{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return Ki(e,this.defaultValue,this._allowedValues)}}class ff extends fi{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function $8(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class j8 extends fi{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),p("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:p("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class K8 extends fi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:we(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:we(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function q8(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var Hi;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(Hi||(Hi={}));function G8(o){switch(o){case"line":return Hi.Line;case"block":return Hi.Block;case"underline":return Hi.Underline;case"line-thin":return Hi.LineThin;case"block-outline":return Hi.BlockOutline;case"underline-thin":return Hi.UnderlineThin}}class Z8 extends Vg{constructor(){super(130)}compute(e,t,i){const n=["monaco-editor"];return t.get(35)&&n.push(t.get(35)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(68)==="default"?n.push("mouse-default"):t.get(68)==="copy"&&n.push("mouse-copy"),t.get(102)&&n.push("showUnused"),t.get(128)&&n.push("showDeprecated"),n.join(" ")}}class Y8 extends Qe{constructor(){super(33,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class Q8 extends fi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(37,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:p("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Ge},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:p("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:we(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":Ki(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":Ki(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:we(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:we(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:we(t.loop,this.defaultValue.loop)}}}class _s extends fi{constructor(){super(47,"fontLigatures",_s.OFF,{anyOf:[{type:"boolean",description:p("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?_s.OFF:e==="true"?_s.ON:e:Boolean(e)?_s.ON:_s.OFF}}_s.OFF='"liga" off, "calt" off';_s.ON='"liga" on, "calt" on';class X8 extends Vg{constructor(){super(46)}compute(e,t,i){return e.fontInfo}}class J8 extends uh{constructor(){super(48,"fontSize",ts.fontSize,{type:"number",minimum:6,maximum:100,default:ts.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=Ar.float(e,this.defaultValue);return t===0?ts.fontSize:Ar.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class kr extends fi{constructor(){super(49,"fontWeight",ts.fontWeight,{anyOf:[{type:"number",minimum:kr.MINIMUM_VALUE,maximum:kr.MAXIMUM_VALUE,errorMessage:p("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:kr.SUGGESTION_VALUES}],default:ts.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Tt.clampedInt(e,ts.fontWeight,kr.MINIMUM_VALUE,kr.MAXIMUM_VALUE))}}kr.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];kr.MINIMUM_VALUE=1;kr.MAXIMUM_VALUE=1e3;class e6 extends fi{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(53,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:p("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:p("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:p("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:p("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:p("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:p("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,s,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:Ki(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:Ki(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:Ki(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:Ki(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(s=a.multipleImplementations)!==null&&s!==void 0?s:Ki(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:Ki(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Yn.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Yn.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Yn.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Yn.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Yn.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class t6 extends fi{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(55,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),delay:Tt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:we(t.sticky,this.defaultValue.sticky),above:we(t.above,this.defaultValue.above)}}}class Eu extends Vg{constructor(){super(133)}compute(e,t,i){return Eu.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=e.scrollBeyondLastLine?t-1:0,n=(e.viewLineCount+i)/(e.pixelRatio*e.height),s=Math.floor(e.viewLineCount/n);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:s}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,_=e.minimap.side,b=e.verticalScrollbarWidth,v=e.viewLineCount,C=e.remainingWidth,w=e.isViewportWrapping,S=h?2:3;let k=Math.floor(s*n);const x=k/s;let y=!1,D=!1,I=S*u,O=u/s,F=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:xe,extraLinesBeyondLastLine:He,desiredRatio:Mt,minimapLineCount:yt}=Eu.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:d,height:n,lineHeight:l,pixelRatio:s});if(v/yt>1)y=!0,D=!0,u=1,I=1,O=u/s;else{let me=!1,Nt=u+1;if(f==="fit"){const Fi=Math.ceil((v+He)*I);w&&a&&C<=t.stableFitRemainingWidth?(me=!0,Nt=t.stableFitMaxMinimapScale):me=Fi>k}if(f==="fill"||me){y=!0;const Fi=u;I=Math.min(l*s,Math.max(1,Math.floor(1/Mt))),w&&a&&C<=t.stableFitRemainingWidth&&(Nt=t.stableFitMaxMinimapScale),u=Math.min(Nt,Math.max(1,Math.floor(I/S))),u>Fi&&(F=Math.min(2,u/Fi)),O=u/s/F,k=Math.ceil(Math.max(xe,v+He)*I),w?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const z=Math.floor(g*O),j=Math.min(z,Math.max(0,Math.floor((C-b-2)*O/(c+O)))+wl);let re=Math.floor(s*j);const he=re/s;re=Math.floor(re*F);const Se=h?1:2,ye=_==="left"?0:i-j-b;return{renderMinimap:Se,minimapLeft:ye,minimapWidth:j,minimapHeightIsEditorHeight:y,minimapIsSampling:D,minimapScale:u,minimapLineHeight:I,minimapCanvasInnerWidth:re,minimapCanvasInnerHeight:k,minimapCanvasOuterWidth:he,minimapCanvasOuterHeight:x}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(125),u=h==="inherit"?e.get(124):h,g=u==="inherit"?e.get(120):u,f=e.get(123),_=e.get(2),b=t.isDominatedByLongLines,v=e.get(52),C=e.get(62).renderType!==0,w=e.get(63),S=e.get(96),k=e.get(67),x=e.get(94),y=x.verticalScrollbarSize,D=x.verticalHasArrows,I=x.arrowSize,O=x.horizontalScrollbarSize,F=e.get(60),z=e.get(39),j=e.get(101)!=="never";let re;if(typeof F=="string"&&/^\d+(\.\d+)?ch$/.test(F)){const xo=parseFloat(F.substr(0,F.length-2));re=Tt.clampedInt(xo*a,0,0,1e3)}else re=Tt.clampedInt(F,0,0,1e3);z&&j&&(re+=16);let he=0;if(C){const xo=Math.max(r,w);he=Math.round(xo*l)}let Se=0;v&&(Se=s);let ye=0,xe=ye+Se,He=xe+he,Mt=He+re;const yt=i-Se-he-re;let ve=!1,me=!1,Nt=-1;_!==2&&(u==="inherit"&&b?(ve=!0,me=!0):g==="on"||g==="bounded"?me=!0:g==="wordWrapColumn"&&(Nt=f));const Fi=Eu._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:S,minimap:k,verticalScrollbarWidth:y,viewLineCount:d,remainingWidth:yt,isViewportWrapping:me},t.memory||new ZO);Fi.renderMinimap!==0&&Fi.minimapLeft===0&&(ye+=Fi.minimapWidth,xe+=Fi.minimapWidth,He+=Fi.minimapWidth,Mt+=Fi.minimapWidth);const In=yt-Fi.minimapWidth,ko=Math.max(1,Math.floor((In-y-2)/a)),oa=D?I:0;return me&&(Nt=Math.max(1,ko),g==="bounded"&&(Nt=Math.min(Nt,f))),{width:i,height:n,glyphMarginLeft:ye,glyphMarginWidth:Se,lineNumbersLeft:xe,lineNumbersWidth:he,decorationsLeft:He,decorationsWidth:re,contentLeft:Mt,contentWidth:In,minimap:Fi,viewportColumn:ko,isWordWrapMinified:ve,isViewportWrapping:me,wrappingColumn:Nt,verticalScrollbarWidth:y,horizontalScrollbarHeight:O,overviewRuler:{top:oa,width:y,height:n-2*oa,right:0}}}}class i6 extends fi{constructor(){const e={enabled:!0};super(59,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:p("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:we(e.enabled,this.defaultValue.enabled)}}}class n6 extends fi{constructor(){const e={stickyScroll:{enabled:!1}};super(34,"experimental",e,{"editor.experimental.stickyScroll.enabled":{type:"boolean",default:e.stickyScroll.enabled,description:p("editor.experimental.stickyScroll","Shows the nested current scopes during the scroll at the top of the editor.")}})}validate(e){var t;return!e||typeof e!="object"?this.defaultValue:{stickyScroll:{enabled:we((t=e.stickyScroll)===null||t===void 0?void 0:t.enabled,this.defaultValue.stickyScroll.enabled)}}}}class s6 extends fi{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(129,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:p("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:p("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:Ki(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Tt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Yn.string(t.fontFamily,this.defaultValue.fontFamily),padding:we(t.padding,this.defaultValue.padding)}}}class o6 extends Ar{constructor(){super(61,"lineHeight",ts.lineHeight,e=>Ar.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height. - Use 0 to automatically compute the line height from the font size. - Values between 0 and 8 will be used as a multiplier with the font size. - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class r6 extends fi{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(67,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:p("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:p("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[p("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),p("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),p("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:p("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:p("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:p("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:p("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:p("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:p("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),autohide:we(t.autohide,this.defaultValue.autohide),size:Ki(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:Ki(t.side,this.defaultValue.side,["right","left"]),showSlider:Ki(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:we(t.renderCharacters,this.defaultValue.renderCharacters),scale:Tt.clampedInt(t.scale,1,1,3),maxColumn:Tt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function a6(o){return o==="ctrlCmd"?Ge?"metaKey":"ctrlKey":"altKey"}class l6 extends fi{constructor(){super(77,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:p("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:p("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:Tt.clampedInt(t.top,0,0,1e3),bottom:Tt.clampedInt(t.bottom,0,0,1e3)}}}class c6 extends fi{constructor(){const e={enabled:!0,cycle:!1};super(78,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:p("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:p("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),cycle:we(t.cycle,this.defaultValue.cycle)}}}class d6 extends Vg{constructor(){super(131)}compute(e,t,i){return e.pixelRatio}}class h6 extends fi{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[p("on","Quick suggestions show inside the suggest widget"),p("inline","Quick suggestions show as ghost text"),p("off","Quick suggestions are disabled")]}];super(81,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:p("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:p("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:p("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:p("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const c=e?"on":"off";return{comments:c,strings:c,other:c}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,s=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=Ki(t,this.defaultValue.other,s),typeof i=="boolean"?a=i?"on":"off":a=Ki(i,this.defaultValue.comments,s),typeof n=="boolean"?l=n?"on":"off":l=Ki(n,this.defaultValue.strings,s),{other:r,comments:a,strings:l}}}class u6 extends fi{constructor(){super(62,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[p("lineNumbers.off","Line numbers are not rendered."),p("lineNumbers.on","Line numbers are rendered as absolute number."),p("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),p("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:p("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function q0(o){const e=o.get(89);return e==="editable"?o.get(83):e!=="on"}class g6 extends fi{constructor(){const e=[],t={type:"number",description:p("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(93,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:p("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:p("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:Tt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:Tt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}function NT(o,e){if(typeof o!="string")return e;switch(o){case"hidden":return 2;case"visible":return 3;default:return 1}}class f6 extends fi{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(94,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),p("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),p("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),p("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),p("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:p("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:p("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:p("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=Tt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=Tt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Tt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:NT(t.vertical,this.defaultValue.vertical),horizontal:NT(t.horizontal,this.defaultValue.horizontal),useShadows:we(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:we(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:we(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:we(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:we(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:Tt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:Tt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:we(t.scrollByPage,this.defaultValue.scrollByPage)}}}const gs="inUntrustedWorkspace",On={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class p6 extends fi{constructor(){const e={nonBasicASCII:gs,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:gs,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(115,"unicodeHighlight",e,{[On.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,gs],default:e.nonBasicASCII,description:p("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[On.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:p("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[On.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:p("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[On.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,gs],default:e.includeComments,description:p("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")},[On.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,gs],default:e.includeStrings,description:p("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to unicode highlighting.")},[On.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:p("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[On.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:p("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&($s(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),i=!0)),t.allowedLocales&&e&&($s(e.allowedLocales,t.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),i=!0));const n=super.applyUpdate(e,t);return i?new rp(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:Nu(t.nonBasicASCII,gs,[!0,!1,gs]),invisibleCharacters:we(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:we(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Nu(t.includeComments,gs,[!0,!1,gs]),includeStrings:Nu(t.includeStrings,gs,[!0,!1,gs]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,s]of Object.entries(e))s===!0&&(i[n]=!0);return i}}class m6 extends fi{constructor(){const e={enabled:!0,mode:"subwordSmart"};super(57,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:p("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),mode:Ki(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}}}class _6 extends fi{constructor(){const e={enabled:sn.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:sn.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:p("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:we(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class b6 extends fi{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairs.true","Enables bracket pair guides."),p("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),p("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:p("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),p("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),p("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:p("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:p("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:p("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[p("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),p("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),p("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:p("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:Nu(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:Nu(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:we(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:we(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Nu(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function Nu(o,e,t){const i=t.indexOf(o);return i===-1?e:t[i]}class v6 extends fi{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(108,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[p("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),p("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:p("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:p("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:p("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:p("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:p("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:p("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:p("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:p("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:p("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:p("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:p("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:Ki(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:we(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:we(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:we(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:we(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:we(t.showIcons,this.defaultValue.showIcons),showStatusBar:we(t.showStatusBar,this.defaultValue.showStatusBar),preview:we(t.preview,this.defaultValue.preview),previewMode:Ki(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:we(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:we(t.showMethods,this.defaultValue.showMethods),showFunctions:we(t.showFunctions,this.defaultValue.showFunctions),showConstructors:we(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:we(t.showDeprecated,this.defaultValue.showDeprecated),showFields:we(t.showFields,this.defaultValue.showFields),showVariables:we(t.showVariables,this.defaultValue.showVariables),showClasses:we(t.showClasses,this.defaultValue.showClasses),showStructs:we(t.showStructs,this.defaultValue.showStructs),showInterfaces:we(t.showInterfaces,this.defaultValue.showInterfaces),showModules:we(t.showModules,this.defaultValue.showModules),showProperties:we(t.showProperties,this.defaultValue.showProperties),showEvents:we(t.showEvents,this.defaultValue.showEvents),showOperators:we(t.showOperators,this.defaultValue.showOperators),showUnits:we(t.showUnits,this.defaultValue.showUnits),showValues:we(t.showValues,this.defaultValue.showValues),showConstants:we(t.showConstants,this.defaultValue.showConstants),showEnums:we(t.showEnums,this.defaultValue.showEnums),showEnumMembers:we(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:we(t.showKeywords,this.defaultValue.showKeywords),showWords:we(t.showWords,this.defaultValue.showWords),showColors:we(t.showColors,this.defaultValue.showColors),showFiles:we(t.showFiles,this.defaultValue.showFiles),showReferences:we(t.showReferences,this.defaultValue.showReferences),showFolders:we(t.showFolders,this.defaultValue.showFolders),showTypeParameters:we(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:we(t.showSnippets,this.defaultValue.showSnippets),showUsers:we(t.showUsers,this.defaultValue.showUsers),showIssues:we(t.showIssues,this.defaultValue.showIssues)}}}class C6 extends fi{constructor(){super(104,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:p("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:we(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class w6 extends Vg{constructor(){super(132)}compute(e,t,i){return t.get(83)?!0:e.tabFocusMode}}function S6(o){switch(o){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}class y6 extends Vg{constructor(){super(134)}compute(e,t,i){const n=t.get(133);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class L6 extends fi{constructor(){const e={enabled:!0};super(32,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:we(e.enabled,this.defaultValue.enabled)}}}const D6="Consolas, 'Courier New', monospace",k6="Menlo, Monaco, 'Courier New', monospace",x6="'Droid Sans Mono', 'monospace', monospace",ts={fontFamily:Ge?k6:dn?x6:D6,fontWeight:"normal",fontSize:Ge?12:14,lineHeight:0,letterSpacing:0},ru=[];function te(o){return ru[o.id]=o,o}const nr={acceptSuggestionOnCommitCharacter:te(new Qe(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:p("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`; `) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:te(new vi(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",p("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:p("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:te(new j8),accessibilityPageSize:te(new Tt(3,"accessibilityPageSize",10,1,1073741824,{description:p("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:te(new Yn(4,"ariaLabel",p("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:te(new vi(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),p("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:p("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:te(new vi(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:te(new vi(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:te(new vi(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),p("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:p("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:te(new ff(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],$8,{enumDescriptions:[p("editor.autoIndent.none","The editor will not insert indentation automatically."),p("editor.autoIndent.keep","The editor will keep the current line's indentation."),p("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),p("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),p("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:p("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:te(new Qe(10,"automaticLayout",!1)),autoSurround:te(new vi(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[p("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),p("editor.autoSurround.quotes","Surround with quotes but not brackets."),p("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:p("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:te(new _6),bracketPairGuides:te(new b6),stickyTabStops:te(new Qe(106,"stickyTabStops",!1,{description:p("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:te(new Qe(14,"codeLens",!0,{description:p("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:te(new Yn(15,"codeLensFontFamily","",{description:p("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:te(new Tt(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:p("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.")})),colorDecorators:te(new Qe(17,"colorDecorators",!0,{description:p("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:te(new Qe(18,"columnSelection",!1,{description:p("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:te(new K8),contextmenu:te(new Qe(20,"contextmenu",!0)),copyWithSyntaxHighlighting:te(new Qe(21,"copyWithSyntaxHighlighting",!0,{description:p("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:te(new ff(22,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],q8,{description:p("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:te(new Qe(23,"cursorSmoothCaretAnimation",!1,{description:p("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:te(new ff(24,"cursorStyle",Hi.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],G8,{description:p("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:te(new Tt(25,"cursorSurroundingLines",0,0,1073741824,{description:p("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:te(new vi(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[p("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),p("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:p("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:te(new Tt(27,"cursorWidth",0,0,1073741824,{markdownDescription:p("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:te(new Qe(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:te(new Qe(29,"disableMonospaceOptimizations",!1)),domReadOnly:te(new Qe(30,"domReadOnly",!1)),dragAndDrop:te(new Qe(31,"dragAndDrop",!0,{description:p("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:te(new Y8),dropIntoEditor:te(new L6),experimental:te(new n6),extraEditorClassName:te(new Yn(35,"extraEditorClassName","")),fastScrollSensitivity:te(new Ar(36,"fastScrollSensitivity",5,o=>o<=0?5:o,{markdownDescription:p("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:te(new Q8),fixedOverflowWidgets:te(new Qe(38,"fixedOverflowWidgets",!1)),folding:te(new Qe(39,"folding",!0,{description:p("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:te(new vi(40,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[p("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),p("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:p("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:te(new Qe(41,"foldingHighlight",!0,{description:p("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:te(new Qe(42,"foldingImportsByDefault",!1,{description:p("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:te(new Tt(43,"foldingMaximumRegions",5e3,10,65e3,{description:p("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:te(new Qe(44,"unfoldOnClickAfterEndOfLine",!1,{description:p("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:te(new Yn(45,"fontFamily",ts.fontFamily,{description:p("fontFamily","Controls the font family.")})),fontInfo:te(new X8),fontLigatures2:te(new _s),fontSize:te(new J8),fontWeight:te(new kr),formatOnPaste:te(new Qe(50,"formatOnPaste",!1,{description:p("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:te(new Qe(51,"formatOnType",!1,{description:p("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:te(new Qe(52,"glyphMargin",!0,{description:p("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:te(new e6),hideCursorInOverviewRuler:te(new Qe(54,"hideCursorInOverviewRuler",!1,{description:p("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:te(new t6),inDiffEditor:te(new Qe(56,"inDiffEditor",!1)),letterSpacing:te(new Ar(58,"letterSpacing",ts.letterSpacing,o=>Ar.clamp(o,-5,20),{description:p("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:te(new i6),lineDecorationsWidth:te(new uh(60,"lineDecorationsWidth",10)),lineHeight:te(new o6),lineNumbers:te(new u6),lineNumbersMinChars:te(new Tt(63,"lineNumbersMinChars",5,1,300)),linkedEditing:te(new Qe(64,"linkedEditing",!1,{description:p("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:te(new Qe(65,"links",!0,{description:p("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:te(new vi(66,"matchBrackets","always",["always","near","never"],{description:p("matchBrackets","Highlight matching brackets.")})),minimap:te(new r6),mouseStyle:te(new vi(68,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:te(new Ar(69,"mouseWheelScrollSensitivity",1,o=>o===0?1:o,{markdownDescription:p("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:te(new Qe(70,"mouseWheelZoom",!1,{markdownDescription:p("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:te(new Qe(71,"multiCursorMergeOverlapping",!0,{description:p("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:te(new ff(72,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],a6,{markdownEnumDescriptions:[p("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),p("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:p({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:te(new vi(73,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[p("multiCursorPaste.spread","Each cursor pastes a single line of the text."),p("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:p("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:te(new Qe(74,"occurrencesHighlight",!0,{description:p("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:te(new Qe(75,"overviewRulerBorder",!0,{description:p("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:te(new Tt(76,"overviewRulerLanes",3,0,3)),padding:te(new l6),parameterHints:te(new c6),peekWidgetDefaultFocus:te(new vi(79,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[p("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),p("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:p("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:te(new Qe(80,"definitionLinkOpensInPeek",!1,{description:p("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:te(new h6),quickSuggestionsDelay:te(new Tt(82,"quickSuggestionsDelay",10,0,1073741824,{description:p("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:te(new Qe(83,"readOnly",!1)),renameOnType:te(new Qe(84,"renameOnType",!1,{description:p("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:p("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:te(new Qe(85,"renderControlCharacters",!0,{description:p("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:te(new Qe(86,"renderFinalNewline",!0,{description:p("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:te(new vi(87,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",p("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:p("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:te(new Qe(88,"renderLineHighlightOnlyWhenFocus",!1,{description:p("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:te(new vi(89,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:te(new vi(90,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",p("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),p("renderWhitespace.selection","Render whitespace characters only on selected text."),p("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:p("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:te(new Tt(91,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:te(new Qe(92,"roundedSelection",!0,{description:p("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:te(new g6),scrollbar:te(new f6),scrollBeyondLastColumn:te(new Tt(95,"scrollBeyondLastColumn",4,0,1073741824,{description:p("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:te(new Qe(96,"scrollBeyondLastLine",!0,{description:p("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:te(new Qe(97,"scrollPredominantAxis",!0,{description:p("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:te(new Qe(98,"selectionClipboard",!0,{description:p("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:dn})),selectionHighlight:te(new Qe(99,"selectionHighlight",!0,{description:p("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:te(new Qe(100,"selectOnLineNumbers",!0)),showFoldingControls:te(new vi(101,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[p("showFoldingControls.always","Always show the folding controls."),p("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),p("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:p("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:te(new Qe(102,"showUnused",!0,{description:p("showUnused","Controls fading out of unused code.")})),showDeprecated:te(new Qe(128,"showDeprecated",!0,{description:p("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:te(new s6),snippetSuggestions:te(new vi(103,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[p("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),p("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),p("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),p("snippetSuggestions.none","Do not show snippet suggestions.")],description:p("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:te(new C6),smoothScrolling:te(new Qe(105,"smoothScrolling",!1,{description:p("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:te(new Tt(107,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:te(new v6),inlineSuggest:te(new m6),suggestFontSize:te(new Tt(109,"suggestFontSize",0,0,1e3,{markdownDescription:p("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:te(new Tt(110,"suggestLineHeight",0,0,1e3,{markdownDescription:p("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:te(new Qe(111,"suggestOnTriggerCharacters",!0,{description:p("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:te(new vi(112,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[p("suggestSelection.first","Always select the first suggestion."),p("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),p("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:p("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:te(new vi(113,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[p("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),p("tabCompletion.off","Disable tab completions."),p("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:p("tabCompletion","Enables tab completions.")})),tabIndex:te(new Tt(114,"tabIndex",0,-1,1073741824)),unicodeHighlight:te(new p6),unusualLineTerminators:te(new vi(116,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[p("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),p("unusualLineTerminators.off","Unusual line terminators are ignored."),p("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:p("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:te(new Qe(117,"useShadowDOM",!0)),useTabStops:te(new Qe(118,"useTabStops",!0,{description:p("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:te(new Yn(119,"wordSeparators",OO,{description:p("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:te(new vi(120,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[p("wordWrap.off","Lines will never wrap."),p("wordWrap.on","Lines will wrap at the viewport width."),p({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),p({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:p({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:te(new Yn(121,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:te(new Yn(122,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:te(new Tt(123,"wordWrapColumn",80,1,1073741824,{markdownDescription:p({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:te(new vi(124,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:te(new vi(125,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:te(new ff(126,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],S6,{enumDescriptions:[p("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),p("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),p("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),p("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:p("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:te(new vi(127,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[p("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),p("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:p("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:te(new Z8),pixelRatio:te(new d6),tabFocusMode:te(new w6),layoutInfo:te(new Eu),wrappingInfo:te(new y6)};class I6{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?Xu.isErrorNoTelemetry(e)?new Xu(e.message+` @@ -608,27 +608,27 @@ ${e.toString()}`}}class xN{constructor(e=new k1,t=!1,i){this._activeInstantiatio * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Fte=Object.defineProperty,Bte=Object.getOwnPropertyDescriptor,Wte=Object.getOwnPropertyNames,Vte=Object.prototype.hasOwnProperty,sR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Wte(e))!Vte.call(o,n)&&n!==t&&Fte(o,n,{get:()=>e[n],enumerable:!(i=Bte(e,n))||i.enumerable});return o},Hte=(o,e,t)=>(sR(o,e,"default"),t&&sR(t,e,"default")),tp={};Hte(tp,D_);var m3={},ny={},_3=class{constructor(o){qt(this,"_languageId");qt(this,"_loadingTriggered");qt(this,"_lazyLoadPromise");qt(this,"_lazyLoadPromiseResolve");qt(this,"_lazyLoadPromiseReject");this._languageId=o,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}static getOrCreate(o){return ny[o]||(ny[o]=new _3(o)),ny[o]}load(){return this._loadingTriggered||(this._loadingTriggered=!0,m3[this._languageId].loader().then(o=>this._lazyLoadPromiseResolve(o),o=>this._lazyLoadPromiseReject(o))),this._lazyLoadPromise}};function pe(o){const e=o.id;m3[e]=o,tp.languages.register(o);const t=_3.getOrCreate(e);tp.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),tp.languages.onLanguage(e,async()=>{const i=await t.load();tp.languages.setLanguageConfiguration(e,i.conf)})}pe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>ue(()=>import("./abap.15cc56c3.js"),[])});pe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>ue(()=>import("./apex.3097bfba.js"),[])});pe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>ue(()=>import("./azcli.b70fb9b3.js"),[])});pe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>ue(()=>import("./bat.4e83862e.js"),[])});pe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>ue(()=>import("./bicep.107c4876.js"),[])});pe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>ue(()=>import("./cameligo.9b7ef084.js"),[])});pe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>ue(()=>import("./clojure.9b9ce362.js"),[])});pe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>ue(()=>import("./coffee.3343db4b.js"),[])});pe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>ue(()=>import("./cpp.5842f29e.js"),[])});pe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>ue(()=>import("./cpp.5842f29e.js"),[])});pe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>ue(()=>import("./csharp.711e6ef5.js"),[])});pe({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>ue(()=>import("./csp.1454e635.js"),[])});pe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>ue(()=>import("./css.0f39058b.js"),[])});pe({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>ue(()=>import("./cypher.8b877bda.js"),[])});pe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>ue(()=>import("./dart.d9ca4827.js"),[])});pe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>ue(()=>import("./dockerfile.b12c8d75.js"),[])});pe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>ue(()=>import("./ecl.5841a83e.js"),[])});pe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>ue(()=>import("./elixir.837d31f3.js"),[])});pe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>ue(()=>import("./flow9.02cb4afd.js"),[])});pe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>ue(()=>import("./fsharp.c6cc3d99.js"),[])});pe({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAngleInterpolationDollar)});pe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagBracketInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAngleInterpolationBracket)});pe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagBracketInterpolationBracket)});pe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>ue(()=>import("./freemarker2.3cde3953.js"),["assets/freemarker2.3cde3953.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAutoInterpolationBracket)});pe({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>ue(()=>import("./go.e18cc8fd.js"),[])});pe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>ue(()=>import("./graphql.91865f29.js"),[])});pe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>ue(()=>import("./handlebars.9182b7ac.js"),["assets/handlebars.9182b7ac.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>ue(()=>import("./hcl.89542f1d.js"),[])});pe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>ue(()=>import("./html.b5ed3ae5.js"),["assets/html.b5ed3ae5.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>ue(()=>import("./ini.927d4958.js"),[])});pe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>ue(()=>import("./java.cae92986.js"),[])});pe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>ue(()=>import("./javascript.d17642d6.js"),["assets/javascript.d17642d6.js","assets/typescript.a997000e.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>ue(()=>import("./julia.1ab2c6a6.js"),[])});pe({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>ue(()=>import("./kotlin.567012b4.js"),[])});pe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>ue(()=>import("./less.8ff15de1.js"),[])});pe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>ue(()=>import("./lexon.892ac9e8.js"),[])});pe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>ue(()=>import("./lua.84919ba3.js"),[])});pe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>ue(()=>import("./liquid.a86576be.js"),["assets/liquid.a86576be.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>ue(()=>import("./m3.dbd6d890.js"),[])});pe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>ue(()=>import("./markdown.0bd269fb.js"),[])});pe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>ue(()=>import("./mips.5b57214f.js"),[])});pe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>ue(()=>import("./msdax.664f04d4.js"),[])});pe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>ue(()=>import("./mysql.b3be80b5.js"),[])});pe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>ue(()=>import("./objective-c.f61689b5.js"),[])});pe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>ue(()=>import("./pascal.63810ab2.js"),[])});pe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>ue(()=>import("./pascaligo.f3c373fd.js"),[])});pe({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:()=>ue(()=>import("./perl.7a13b920.js"),[])});pe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>ue(()=>import("./pgsql.231377e2.js"),[])});pe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>ue(()=>import("./php.f75fab85.js"),[])});pe({id:"pla",extensions:[".pla"],loader:()=>ue(()=>import("./pla.53add393.js"),[])});pe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>ue(()=>import("./postiats.b78836c4.js"),[])});pe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>ue(()=>import("./powerquery.40e0a8e5.js"),[])});pe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>ue(()=>import("./powershell.b2dc53b1.js"),[])});pe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>ue(()=>import("./protobuf.bce7ad87.js"),[])});pe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>ue(()=>import("./pug.e7bd8f2e.js"),[])});pe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>ue(()=>import("./python.b56a2a92.js"),["assets/python.b56a2a92.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>ue(()=>import("./qsharp.9d22faff.js"),[])});pe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>ue(()=>import("./r.77bb7e19.js"),[])});pe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>ue(()=>import("./razor.d86fd242.js"),["assets/razor.d86fd242.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>ue(()=>import("./redis.d60fd379.js"),[])});pe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>ue(()=>import("./redshift.3c32617e.js"),[])});pe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>ue(()=>import("./restructuredtext.6d30740a.js"),[])});pe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>ue(()=>import("./ruby.10c929d1.js"),[])});pe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>ue(()=>import("./rust.abc56d3e.js"),[])});pe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>ue(()=>import("./sb.4973b57f.js"),[])});pe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>ue(()=>import("./scala.2026dee1.js"),[])});pe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>ue(()=>import("./scheme.fe55144d.js"),[])});pe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>ue(()=>import("./scss.4ba8f803.js"),[])});pe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>ue(()=>import("./shell.2643570b.js"),[])});pe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>ue(()=>import("./solidity.9a85e4e7.js"),[])});pe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>ue(()=>import("./sophia.ae3e217e.js"),[])});pe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>ue(()=>import("./sparql.6944fd44.js"),[])});pe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>ue(()=>import("./sql.4f48b9c1.js"),[])});pe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:()=>ue(()=>import("./st.7c961594.js"),[])});pe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>ue(()=>import("./swift.23da7225.js"),[])});pe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>ue(()=>import("./systemverilog.0eef8e45.js"),[])});pe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>ue(()=>import("./systemverilog.0eef8e45.js"),[])});pe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>ue(()=>import("./tcl.236460f4.js"),[])});pe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>ue(()=>import("./twig.b70b7ae1.js"),[])});pe({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>ue(()=>import("./typescript.a997000e.js"),["assets/typescript.a997000e.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>ue(()=>import("./vb.5502a104.js"),[])});pe({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\ue(()=>import("./xml.fd6ca959.js"),["assets/xml.fd6ca959.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});pe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>ue(()=>import("./yaml.e12a4c0f.js"),["assets/yaml.e12a4c0f.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Fte=Object.defineProperty,Bte=Object.getOwnPropertyDescriptor,Wte=Object.getOwnPropertyNames,Vte=Object.prototype.hasOwnProperty,sR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Wte(e))!Vte.call(o,n)&&n!==t&&Fte(o,n,{get:()=>e[n],enumerable:!(i=Bte(e,n))||i.enumerable});return o},Hte=(o,e,t)=>(sR(o,e,"default"),t&&sR(t,e,"default")),tp={};Hte(tp,D_);var m3={},ny={},_3=class{constructor(o){qt(this,"_languageId");qt(this,"_loadingTriggered");qt(this,"_lazyLoadPromise");qt(this,"_lazyLoadPromiseResolve");qt(this,"_lazyLoadPromiseReject");this._languageId=o,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}static getOrCreate(o){return ny[o]||(ny[o]=new _3(o)),ny[o]}load(){return this._loadingTriggered||(this._loadingTriggered=!0,m3[this._languageId].loader().then(o=>this._lazyLoadPromiseResolve(o),o=>this._lazyLoadPromiseReject(o))),this._lazyLoadPromise}};function pe(o){const e=o.id;m3[e]=o,tp.languages.register(o);const t=_3.getOrCreate(e);tp.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),tp.languages.onLanguage(e,async()=>{const i=await t.load();tp.languages.setLanguageConfiguration(e,i.conf)})}pe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>ue(()=>import("./abap.15cc56c3.js"),[])});pe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>ue(()=>import("./apex.3097bfba.js"),[])});pe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>ue(()=>import("./azcli.b70fb9b3.js"),[])});pe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>ue(()=>import("./bat.4e83862e.js"),[])});pe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>ue(()=>import("./bicep.107c4876.js"),[])});pe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>ue(()=>import("./cameligo.9b7ef084.js"),[])});pe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>ue(()=>import("./clojure.9b9ce362.js"),[])});pe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>ue(()=>import("./coffee.3343db4b.js"),[])});pe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>ue(()=>import("./cpp.5842f29e.js"),[])});pe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>ue(()=>import("./cpp.5842f29e.js"),[])});pe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>ue(()=>import("./csharp.711e6ef5.js"),[])});pe({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>ue(()=>import("./csp.1454e635.js"),[])});pe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>ue(()=>import("./css.0f39058b.js"),[])});pe({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>ue(()=>import("./cypher.8b877bda.js"),[])});pe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>ue(()=>import("./dart.d9ca4827.js"),[])});pe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>ue(()=>import("./dockerfile.b12c8d75.js"),[])});pe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>ue(()=>import("./ecl.5841a83e.js"),[])});pe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>ue(()=>import("./elixir.837d31f3.js"),[])});pe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>ue(()=>import("./flow9.02cb4afd.js"),[])});pe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>ue(()=>import("./fsharp.c6cc3d99.js"),[])});pe({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAngleInterpolationDollar)});pe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagBracketInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAngleInterpolationBracket)});pe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagBracketInterpolationBracket)});pe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>ue(()=>import("./freemarker2.14d8ecd5.js"),["assets/freemarker2.14d8ecd5.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"]).then(o=>o.TagAutoInterpolationBracket)});pe({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>ue(()=>import("./go.e18cc8fd.js"),[])});pe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>ue(()=>import("./graphql.91865f29.js"),[])});pe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>ue(()=>import("./handlebars.bd7796ff.js"),["assets/handlebars.bd7796ff.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>ue(()=>import("./hcl.89542f1d.js"),[])});pe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>ue(()=>import("./html.848af5c8.js"),["assets/html.848af5c8.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>ue(()=>import("./ini.927d4958.js"),[])});pe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>ue(()=>import("./java.cae92986.js"),[])});pe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>ue(()=>import("./javascript.3f052047.js"),["assets/javascript.3f052047.js","assets/typescript.538140e2.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>ue(()=>import("./julia.1ab2c6a6.js"),[])});pe({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>ue(()=>import("./kotlin.567012b4.js"),[])});pe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>ue(()=>import("./less.8ff15de1.js"),[])});pe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>ue(()=>import("./lexon.892ac9e8.js"),[])});pe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>ue(()=>import("./lua.84919ba3.js"),[])});pe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>ue(()=>import("./liquid.638dacec.js"),["assets/liquid.638dacec.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>ue(()=>import("./m3.dbd6d890.js"),[])});pe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>ue(()=>import("./markdown.0bd269fb.js"),[])});pe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>ue(()=>import("./mips.5b57214f.js"),[])});pe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>ue(()=>import("./msdax.664f04d4.js"),[])});pe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>ue(()=>import("./mysql.b3be80b5.js"),[])});pe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>ue(()=>import("./objective-c.f61689b5.js"),[])});pe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>ue(()=>import("./pascal.63810ab2.js"),[])});pe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>ue(()=>import("./pascaligo.f3c373fd.js"),[])});pe({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:()=>ue(()=>import("./perl.7a13b920.js"),[])});pe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>ue(()=>import("./pgsql.231377e2.js"),[])});pe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>ue(()=>import("./php.f75fab85.js"),[])});pe({id:"pla",extensions:[".pla"],loader:()=>ue(()=>import("./pla.53add393.js"),[])});pe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>ue(()=>import("./postiats.b78836c4.js"),[])});pe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>ue(()=>import("./powerquery.40e0a8e5.js"),[])});pe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>ue(()=>import("./powershell.b2dc53b1.js"),[])});pe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>ue(()=>import("./protobuf.bce7ad87.js"),[])});pe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>ue(()=>import("./pug.e7bd8f2e.js"),[])});pe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>ue(()=>import("./python.bc846284.js"),["assets/python.bc846284.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>ue(()=>import("./qsharp.9d22faff.js"),[])});pe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>ue(()=>import("./r.77bb7e19.js"),[])});pe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>ue(()=>import("./razor.b92481a2.js"),["assets/razor.b92481a2.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>ue(()=>import("./redis.d60fd379.js"),[])});pe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>ue(()=>import("./redshift.3c32617e.js"),[])});pe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>ue(()=>import("./restructuredtext.6d30740a.js"),[])});pe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>ue(()=>import("./ruby.10c929d1.js"),[])});pe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>ue(()=>import("./rust.abc56d3e.js"),[])});pe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>ue(()=>import("./sb.4973b57f.js"),[])});pe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>ue(()=>import("./scala.2026dee1.js"),[])});pe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>ue(()=>import("./scheme.fe55144d.js"),[])});pe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>ue(()=>import("./scss.4ba8f803.js"),[])});pe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>ue(()=>import("./shell.2643570b.js"),[])});pe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>ue(()=>import("./solidity.9a85e4e7.js"),[])});pe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>ue(()=>import("./sophia.ae3e217e.js"),[])});pe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>ue(()=>import("./sparql.6944fd44.js"),[])});pe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>ue(()=>import("./sql.4f48b9c1.js"),[])});pe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:()=>ue(()=>import("./st.7c961594.js"),[])});pe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>ue(()=>import("./swift.23da7225.js"),[])});pe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>ue(()=>import("./systemverilog.0eef8e45.js"),[])});pe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>ue(()=>import("./systemverilog.0eef8e45.js"),[])});pe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>ue(()=>import("./tcl.236460f4.js"),[])});pe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>ue(()=>import("./twig.b70b7ae1.js"),[])});pe({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>ue(()=>import("./typescript.538140e2.js"),["assets/typescript.538140e2.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>ue(()=>import("./vb.5502a104.js"),[])});pe({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\ue(()=>import("./xml.8e3c6f84.js"),["assets/xml.8e3c6f84.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});pe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>ue(()=>import("./yaml.344f9c17.js"),["assets/yaml.344f9c17.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var zte=Object.defineProperty,Ute=Object.getOwnPropertyDescriptor,$te=Object.getOwnPropertyNames,jte=Object.prototype.hasOwnProperty,oR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $te(e))!jte.call(o,n)&&n!==t&&zte(o,n,{get:()=>e[n],enumerable:!(i=Ute(e,n))||i.enumerable});return o},Kte=(o,e,t)=>(oR(o,e,"default"),t&&oR(t,e,"default")),Xg={};Kte(Xg,D_);var MN=class{constructor(o,e,t){qt(this,"_onDidChange",new Xg.Emitter);qt(this,"_options");qt(this,"_modeConfiguration");qt(this,"_languageId");this._languageId=o,this.setOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(o){this._options=o||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(o){this.setOptions(o)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},RN={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},ON={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},b3=new MN("css",RN,ON),v3=new MN("scss",RN,ON),C3=new MN("less",RN,ON);Xg.languages.css={cssDefaults:b3,lessDefaults:C3,scssDefaults:v3};function PN(){return ue(()=>import("./cssMode.69a04801.js"),["assets/cssMode.69a04801.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])}Xg.languages.onLanguage("less",()=>{PN().then(o=>o.setupMode(C3))});Xg.languages.onLanguage("scss",()=>{PN().then(o=>o.setupMode(v3))});Xg.languages.onLanguage("css",()=>{PN().then(o=>o.setupMode(b3))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var zte=Object.defineProperty,Ute=Object.getOwnPropertyDescriptor,$te=Object.getOwnPropertyNames,jte=Object.prototype.hasOwnProperty,oR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $te(e))!jte.call(o,n)&&n!==t&&zte(o,n,{get:()=>e[n],enumerable:!(i=Ute(e,n))||i.enumerable});return o},Kte=(o,e,t)=>(oR(o,e,"default"),t&&oR(t,e,"default")),Xg={};Kte(Xg,D_);var MN=class{constructor(o,e,t){qt(this,"_onDidChange",new Xg.Emitter);qt(this,"_options");qt(this,"_modeConfiguration");qt(this,"_languageId");this._languageId=o,this.setOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(o){this._options=o||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(o){this.setOptions(o)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},RN={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},ON={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},b3=new MN("css",RN,ON),v3=new MN("scss",RN,ON),C3=new MN("less",RN,ON);Xg.languages.css={cssDefaults:b3,lessDefaults:C3,scssDefaults:v3};function PN(){return ue(()=>import("./cssMode.7e4d67cb.js"),["assets/cssMode.7e4d67cb.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])}Xg.languages.onLanguage("less",()=>{PN().then(o=>o.setupMode(C3))});Xg.languages.onLanguage("scss",()=>{PN().then(o=>o.setupMode(v3))});Xg.languages.onLanguage("css",()=>{PN().then(o=>o.setupMode(b3))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var qte=Object.defineProperty,Gte=Object.getOwnPropertyDescriptor,Zte=Object.getOwnPropertyNames,Yte=Object.prototype.hasOwnProperty,rR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Zte(e))!Yte.call(o,n)&&n!==t&&qte(o,n,{get:()=>e[n],enumerable:!(i=Gte(e,n))||i.enumerable});return o},Qte=(o,e,t)=>(rR(o,e,"default"),t&&rR(t,e,"default")),q1={};Qte(q1,D_);var Xte=class{constructor(o,e,t){qt(this,"_onDidChange",new q1.Emitter);qt(this,"_options");qt(this,"_modeConfiguration");qt(this,"_languageId");this._languageId=o,this.setOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(o){this._options=o||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},Jte={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},G1={format:Jte,suggest:{},data:{useDefaultDataProvider:!0}};function Z1(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===xp,documentFormattingEdits:o===xp,documentRangeFormattingEdits:o===xp}}var xp="html",aR="handlebars",lR="razor",w3=Y1(xp,G1,Z1(xp)),eie=w3.defaults,S3=Y1(aR,G1,Z1(aR)),tie=S3.defaults,y3=Y1(lR,G1,Z1(lR)),iie=y3.defaults;q1.languages.html={htmlDefaults:eie,razorDefaults:iie,handlebarDefaults:tie,htmlLanguageService:w3,handlebarLanguageService:S3,razorLanguageService:y3,registerHTMLLanguageService:Y1};function nie(){return ue(()=>import("./htmlMode.37dd7b54.js"),["assets/htmlMode.37dd7b54.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])}function Y1(o,e=G1,t=Z1(o)){const i=new Xte(o,e,t);let n;const s=q1.languages.onLanguage(o,async()=>{n=(await nie()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var qte=Object.defineProperty,Gte=Object.getOwnPropertyDescriptor,Zte=Object.getOwnPropertyNames,Yte=Object.prototype.hasOwnProperty,rR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Zte(e))!Yte.call(o,n)&&n!==t&&qte(o,n,{get:()=>e[n],enumerable:!(i=Gte(e,n))||i.enumerable});return o},Qte=(o,e,t)=>(rR(o,e,"default"),t&&rR(t,e,"default")),q1={};Qte(q1,D_);var Xte=class{constructor(o,e,t){qt(this,"_onDidChange",new q1.Emitter);qt(this,"_options");qt(this,"_modeConfiguration");qt(this,"_languageId");this._languageId=o,this.setOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(o){this._options=o||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},Jte={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},G1={format:Jte,suggest:{},data:{useDefaultDataProvider:!0}};function Z1(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===xp,documentFormattingEdits:o===xp,documentRangeFormattingEdits:o===xp}}var xp="html",aR="handlebars",lR="razor",w3=Y1(xp,G1,Z1(xp)),eie=w3.defaults,S3=Y1(aR,G1,Z1(aR)),tie=S3.defaults,y3=Y1(lR,G1,Z1(lR)),iie=y3.defaults;q1.languages.html={htmlDefaults:eie,razorDefaults:iie,handlebarDefaults:tie,htmlLanguageService:w3,handlebarLanguageService:S3,razorLanguageService:y3,registerHTMLLanguageService:Y1};function nie(){return ue(()=>import("./htmlMode.ef55035c.js"),["assets/htmlMode.ef55035c.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])}function Y1(o,e=G1,t=Z1(o)){const i=new Xte(o,e,t);let n;const s=q1.languages.onLanguage(o,async()=>{n=(await nie()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var sie=Object.defineProperty,oie=Object.getOwnPropertyDescriptor,rie=Object.getOwnPropertyNames,aie=Object.prototype.hasOwnProperty,cR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of rie(e))!aie.call(o,n)&&n!==t&&sie(o,n,{get:()=>e[n],enumerable:!(i=oie(e,n))||i.enumerable});return o},lie=(o,e,t)=>(cR(o,e,"default"),t&&cR(t,e,"default")),k_={};lie(k_,D_);var cie=class{constructor(o,e,t){qt(this,"_onDidChange",new k_.Emitter);qt(this,"_diagnosticsOptions");qt(this,"_modeConfiguration");qt(this,"_languageId");this._languageId=o,this.setDiagnosticsOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},die={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},hie={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},L3=new cie("json",die,hie);k_.languages.json={jsonDefaults:L3};function uie(){return ue(()=>import("./jsonMode.8bd5d843.js"),["assets/jsonMode.8bd5d843.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])}k_.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});k_.languages.onLanguage("json",()=>{uie().then(o=>o.setupMode(L3))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var sie=Object.defineProperty,oie=Object.getOwnPropertyDescriptor,rie=Object.getOwnPropertyNames,aie=Object.prototype.hasOwnProperty,cR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of rie(e))!aie.call(o,n)&&n!==t&&sie(o,n,{get:()=>e[n],enumerable:!(i=oie(e,n))||i.enumerable});return o},lie=(o,e,t)=>(cR(o,e,"default"),t&&cR(t,e,"default")),k_={};lie(k_,D_);var cie=class{constructor(o,e,t){qt(this,"_onDidChange",new k_.Emitter);qt(this,"_diagnosticsOptions");qt(this,"_modeConfiguration");qt(this,"_languageId");this._languageId=o,this.setDiagnosticsOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},die={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},hie={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},L3=new cie("json",die,hie);k_.languages.json={jsonDefaults:L3};function uie(){return ue(()=>import("./jsonMode.36397bc1.js"),["assets/jsonMode.36397bc1.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])}k_.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});k_.languages.onLanguage("json",()=>{uie().then(o=>o.setupMode(L3))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var gie=Object.defineProperty,fie=Object.getOwnPropertyDescriptor,pie=Object.getOwnPropertyNames,mie=Object.prototype.hasOwnProperty,dR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of pie(e))!mie.call(o,n)&&n!==t&&gie(o,n,{get:()=>e[n],enumerable:!(i=fie(e,n))||i.enumerable});return o},_ie=(o,e,t)=>(dR(o,e,"default"),t&&dR(t,e,"default")),bie="4.5.5",Dg={};_ie(Dg,D_);var D3=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(D3||{}),k3=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(k3||{}),x3=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(x3||{}),I3=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(I3||{}),E3=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(E3||{}),N3=class{constructor(o,e,t,i){qt(this,"_onDidChange",new Dg.Emitter);qt(this,"_onDidExtraLibsChange",new Dg.Emitter);qt(this,"_extraLibs");qt(this,"_removedExtraLibs");qt(this,"_eagerModelSync");qt(this,"_compilerOptions");qt(this,"_diagnosticsOptions");qt(this,"_workerOptions");qt(this,"_onDidExtraLibsChangeTimeout");qt(this,"_inlayHintsOptions");this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];!n||n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}},vie=bie,T3=new N3({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),A3=new N3({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{}),Cie=()=>Q1().then(o=>o.getTypeScriptWorker()),wie=()=>Q1().then(o=>o.getJavaScriptWorker());Dg.languages.typescript={ModuleKind:D3,JsxEmit:k3,NewLineKind:x3,ScriptTarget:I3,ModuleResolutionKind:E3,typescriptVersion:vie,typescriptDefaults:T3,javascriptDefaults:A3,getTypeScriptWorker:Cie,getJavaScriptWorker:wie};function Q1(){return ue(()=>import("./tsMode.9024c232.js"),["assets/tsMode.9024c232.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css"])}Dg.languages.onLanguage("typescript",()=>Q1().then(o=>o.setupTypeScript(T3)));Dg.languages.onLanguage("javascript",()=>Q1().then(o=>o.setupJavaScript(A3)));var Sie=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},yie=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},X1=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const J1=new le("selectionAnchorSet",!1);let sl=class M3{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=J1.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(M3.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(oe.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Fn().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),Gi(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(oe.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};sl.ID="editor.contrib.selectionAnchorController";sl=Sie([yie(1,Ee)],sl);class Lie extends ce{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:N.editorTextFocus,primary:yi(2089,2080),weight:100}})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.setSelectionAnchor()})}}class Die extends ce{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:J1})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.goToSelectionAnchor()})}}class kie extends ce{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:J1,kbOpts:{kbExpr:N.editorTextFocus,primary:yi(2089,2089),weight:100}})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.selectFromAnchorToCursor()})}}class xie extends ce{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:J1,kbOpts:{kbExpr:N.editorTextFocus,primary:9,weight:100}})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.cancelSelectionAnchor()})}}tt(sl.ID,sl);ie(Lie);ie(Die);ie(kie);ie(xie);const Iie=T("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Eie extends ce{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:N.editorTextFocus,primary:3160,weight:100}})}run(e,t){var i;(i=Yo.get(t))===null||i===void 0||i.jumpToBracket()}}class Nie extends ce{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&i.selectBrackets===!1&&(s=!1),(n=Yo.get(t))===null||n===void 0||n.selectToBracket(s)}}class Tie{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class Yo extends H{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new mt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(66),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(66)&&(this._matchBrackets=this._editor.getOption(66),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(Yo.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new oe(r.lineNumber,r.column,r.lineNumber,r.column):new oe(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const c=t.bracketPairs.findNextBracket(s);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(L.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new oe(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(B.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=s.length;h{const t=o.getColor(b$);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const i=o.getColor(z4);i&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)});qs.appendMenuItem(M.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class Aie{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,s=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&s===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new L(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new L(i,s,i,s),a)}else{const r=new L(i,s,i,s+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new L(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new oe(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new oe(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class R3 extends ce{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const s of n)i.push(new Aie(s,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Mie extends R3{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:N.writable})}}class Rie extends R3{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:N.writable})}}ie(Mie);ie(Rie);class Oie extends ce{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:N.writable,kbOpts:{kbExpr:N.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],s=t.getSelections();for(const r of s){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;const d=l===c?r.getPosition():lt.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),h=lt.leftPosition(i,d),u=lt.leftPosition(i,h),g=i.getValueInRange(L.fromPositions(u,h)),f=i.getValueInRange(L.fromPositions(h,d)),_=L.fromPositions(u,d);n.push(new zi(_,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}ie(Oie);var Pie=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const Zd="9_cutcopypaste",Fie=jo||document.queryCommandSupported("cut"),O3=jo||document.queryCommandSupported("copy"),Bie=typeof navigator.clipboard>"u"||Ls?document.queryCommandSupported("paste"):!0;function FN(o){return o.register(),o}const Wie=Fie?FN(new Ug({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:jo?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:M.EditorContext,group:Zd,title:p("actions.clipboard.cutLabel","Cut"),when:N.writable,order:1},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.cutLabel","Cut"),order:1},{menuId:M.SimpleEditorContext,group:Zd,title:p("actions.clipboard.cutLabel","Cut"),when:N.writable,order:1}]})):void 0,Vie=O3?FN(new Ug({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:jo?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:M.EditorContext,group:Zd,title:p("actions.clipboard.copyLabel","Copy"),order:2},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.copyLabel","Copy"),order:1},{menuId:M.SimpleEditorContext,group:Zd,title:p("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;qs.appendMenuItem(M.MenubarEditMenu,{submenu:M.MenubarCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3});qs.appendMenuItem(M.EditorContext,{submenu:M.EditorContextCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:Zd,order:3});qs.appendMenuItem(M.EditorContext,{submenu:M.EditorContextShare,title:{value:p("share","Share"),original:"Share"},group:"11_share",order:-1});const sy=Bie?FN(new Ug({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:jo?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:M.EditorContext,group:Zd,title:p("actions.clipboard.pasteLabel","Paste"),when:N.writable,order:4},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:M.SimpleEditorContext,group:Zd,title:p("actions.clipboard.pasteLabel","Paste"),when:N.writable,order:4}]})):void 0;class Hie extends ce{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:p("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:N.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(33)&&t.getSelection().isEmpty()||(gD.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),gD.forceCopyWithSyntaxHighlighting=!1)}}function P3(o,e){!o||(o.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(ct).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const s=n.getOption(33),r=n.getSelection();return r&&r.isEmpty()&&!s||document.execCommand(e),!0}return!1}),o.addImplementation(0,"generic-dom",(t,i)=>(document.execCommand(e),!0)))}P3(Wie,"cut");P3(Vie,"copy");sy&&(sy.addImplementation(1e4,"code-editor",(o,e)=>{const t=o.get(ct),i=o.get(cl),n=t.getFocusedCodeEditor();return n&&n.hasTextFocus()?!document.execCommand("paste")&&Sc?(()=>Pie(void 0,void 0,void 0,function*(){const r=yield i.readText();if(r!==""){const a=im.INSTANCE.get(r);let l=!1,c=null,d=null;a&&(l=n.getOption(33)&&!!a.isFromEmptySelection,c=typeof a.multicursorText<"u"?a.multicursorText:null,d=a.mode),n.trigger("keyboard","paste",{text:r,pasteOnNewLine:l,multicursorText:c,mode:d})}}))():!0:!1}),sy.addImplementation(0,"generic-dom",(o,e)=>(document.execCommand("paste"),!0)));O3&&ie(Hie);class Ze{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+Ze.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new Ze(this.value+Ze.sep+e)}}Ze.sep=".";Ze.None=new Ze("@@none@@");Ze.Empty=new Ze("");Ze.QuickFix=new Ze("quickfix");Ze.Refactor=new Ze("refactor");Ze.Source=new Ze("source");Ze.SourceOrganizeImports=Ze.Source.append("organizeImports");Ze.SourceFixAll=Ze.Source.append("fixAll");var bn;(function(o){o.Refactor="refactor",o.RefactorPreview="refactor preview",o.Lightbulb="lightbulb",o.Default="other (default)",o.SourceAction="source action",o.QuickFix="quick fix action",o.FixAll="fix all",o.OrganizeImports="organize imports",o.AutoFix="auto fix",o.QuickFixHover="quick fix hover window",o.OnSave="save participants",o.ProblemsView="problems view"})(bn||(bn={}));function zie(o,e){return!(o.include&&!o.include.intersects(e)||o.excludes&&o.excludes.some(t=>F3(e,t,o.include))||!o.includeSourceActions&&Ze.Source.contains(e))}function Uie(o,e){const t=e.kind?new Ze(e.kind):void 0;return!(o.include&&(!t||!o.include.contains(t))||o.excludes&&t&&o.excludes.some(i=>F3(t,i,o.include))||!o.includeSourceActions&&t&&Ze.Source.contains(t)||o.onlyIncludePreferredActions&&!e.isPreferred)}function F3(o,e,t){return!(!e.contains(o)||t&&e.contains(t))}class Nr{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return!e||typeof e!="object"?new Nr(t.kind,t.apply,!1):new Nr(Nr.getKindFromUser(e,t.kind),Nr.getApplyFromUser(e,t.apply),Nr.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new Ze(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}}var BN=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const B3="editor.action.codeAction",W3="editor.action.refactor",$ie="editor.action.refactor.preview",V3="editor.action.sourceAction",WN="editor.action.organizeImports",VN="editor.action.fixAll";class H3{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return BN(this,void 0,void 0,function*(){if(((t=this.provider)===null||t===void 0?void 0:t.resolveCodeAction)&&!this.action.edit){let i;try{i=yield this.provider.resolveCodeAction(this.action,e)}catch(n){Pi(n)}i&&(this.action.edit=i.edit)}return this})}}class HN extends H{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(HN.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:rn(e.diagnostics)?rn(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:rn(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&Ze.QuickFix.contains(new Ze(e.kind))&&!!e.isPreferred)}}const hR={actions:[],documentation:void 0};function zN(o,e,t,i,n,s){var r;const a=i.filter||{},l={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new TN(e,s),d=jie(o,e,a),h=new Q,u=d.map(f=>BN(this,void 0,void 0,function*(){try{n.report(f);const _=yield f.provideCodeActions(e,t,l,c.token);if(_&&h.add(_),c.token.isCancellationRequested)return hR;const b=((_==null?void 0:_.actions)||[]).filter(C=>C&&Uie(a,C)),v=Kie(f,b,a.include);return{actions:b.map(C=>new H3(C,f)),documentation:v}}catch(_){if(ea(_))throw _;return Pi(_),hR}})),g=o.onDidChange(()=>{const f=o.all(e);Ss(f,d)||c.cancel()});return Promise.all(u).then(f=>{const _=f.map(v=>v.actions).flat(),b=i_(f.map(v=>v.documentation));return new HN(_,b,h)}).finally(()=>{g.dispose(),c.dispose()})}function jie(o,e,t){return o.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>zie(t,new Ze(n))):!0)}function Kie(o,e,t){if(!o.documentation)return;const i=o.documentation.map(n=>({kind:new Ze(n.kind),command:n.command}));if(t){let n;for(const s of i)s.kind.contains(t)&&(n?n.kind.contains(s.kind)&&(n=s):n=s);if(n)return n==null?void 0:n.command}for(const n of e)if(!!n.kind){for(const s of i)if(s.kind.contains(new Ze(n.kind)))return s.command}}Xe.registerCommand("_executeCodeActionProvider",function(o,e,t,i,n){return BN(this,void 0,void 0,function*(){if(!(e instanceof _e))throw Ko();const{codeActionProvider:s}=o.get(de),r=o.get(Ut).getModel(e);if(!r)throw Ko();const a=oe.isISelection(t)?oe.liftSelection(t):L.isIRange(t)?r.validateRange(t):void 0;if(!a)throw Ko();const l=typeof i=="string"?new Ze(i):void 0,c=yield zN(s,r,a,{type:1,triggerAction:bn.Default,filter:{includeSourceActions:!0,include:l}},Ch.None,ze.None),d=[],h=Math.min(c.validActions.length,typeof n=="number"?n:0);for(let u=0;uu.action)}finally{setTimeout(()=>c.dispose(),100)}})});var qie=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Gie=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let os=class Wk{constructor(e,t){this._messageWidget=new _n,this._messageListeners=new Q,this._editor=e,this._visible=Wk.MESSAGE_VISIBLE.bindTo(t)}static get(e){return e.getContribution(Wk.ID)}dispose(){this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Gi(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new uR(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new xs(()=>this.closeMessage(),3e3));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{!n.target.position||(i?i.containsPosition(n.target.position)||this.closeMessage():i=new L(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(uR.fadeOut(this._messageWidget.value))}};os.ID="editor.contrib.messageController";os.MESSAGE_VISIBLE=new le("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message"));os=qie([Gie(1,Ee)],os);const Zie=xi.bindToContribution(os.get);ee(new Zie({id:"leaveEditorMessage",precondition:os.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class uR{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}}tt(os.ID,os);var z3=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},_a=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},Yie=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const Jg={Visible:new le("CodeActionMenuVisible",!1,p("CodeActionMenuVisible","Whether the code action list widget is visible"))};class oy extends is{constructor(e,t){super(e.command?e.command.id:e.title,Qie(e.title),void 0,!e.disabled,t),this.action=e}}function Qie(o){return o.replace(/\r\n|\r|\n/g," ")}const Xie="codeActionWidget",ry=26;let Vk=class{constructor(e,t){this.acceptKeybindings=e,this.keybindingService=t}get templateId(){return Xie}renderTemplate(e){const t=Object.create(null);return t.disposables=[],t.root=e,t.text=document.createElement("span"),e.append(t.text),t}renderElement(e,t,i){const n=i,s=e.title,r=e.isEnabled,a=e.isSeparator,l=e.isDocumentation;n.text.textContent=s,r?n.root.classList.remove("option-disabled"):(n.root.classList.add("option-disabled"),n.root.style.backgroundColor="transparent !important"),a&&(n.root.classList.add("separator"),n.root.style.height="10px"),l||(()=>{var d,h;const[u,g]=this.acceptKeybindings;n.root.title=p({key:"label",comment:['placeholders are keybindings, e.g "F2 to Refactor, Shift+F2 to Preview"']},"{0} to Refactor, {1} to Preview",(d=this.keybindingService.lookupKeybinding(u))===null||d===void 0?void 0:d.getLabel(),(h=this.keybindingService.lookupKeybinding(g))===null||h===void 0?void 0:h.getLabel())})()}disposeTemplate(e){e.disposables=nt(e.disposables)}};Vk=z3([_a(1,_i)],Vk);let uC=class Hk extends H{constructor(e,t,i,n,s,r,a,l,c,d){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._languageFeaturesService=s,this._telemetryService=r,this._configurationService=l,this._contextViewService=c,this._contextKeyService=d,this._showingActions=this._register(new _n),this.codeActionList=this._register(new _n),this.options=[],this._visible=!1,this.viewItems=[],this.hasSeperator=!1,this._keybindingResolver=new ew({getKeybindings:()=>n.getKeybindings()}),this._ctxMenuWidgetVisible=Jg.Visible.bindTo(this._contextKeyService),this.listRenderer=new Vk(["onEnterSelectCodeAction","onEnterSelectCodeActionWithPreview"],n)}get isVisible(){return this._visible}isCodeActionWidgetEnabled(e){return this._configurationService.getValue("editor.experimental.useCustomCodeActionMenu",{resource:e.uri})}_onListSelection(e){e.elements.length&&e.elements.forEach(t=>{t.isEnabled&&(t.action.run(),this.hideCodeActionWidget())})}_onListHover(e){var t,i,n,s;e.element?!((i=e.element)===null||i===void 0)&&i.isEnabled?((n=this.codeActionList.value)===null||n===void 0||n.setFocus([e.element.index]),this.focusedEnabledItem=this.viewItems.indexOf(e.element),this.currSelectedItem=e.element.index):(this.currSelectedItem=void 0,(s=this.codeActionList.value)===null||s===void 0||s.setFocus([e.element.index])):(this.currSelectedItem=void 0,(t=this.codeActionList.value)===null||t===void 0||t.setFocus([]))}renderCodeActionMenuList(e,t){var i;const n=new Q,s=document.createElement("div"),r=document.createElement("div");this.block=e.appendChild(r),this.block.classList.add("context-view-block"),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",n.add(G(this.block,ae.MOUSE_DOWN,u=>u.stopPropagation())),s.id="codeActionMenuWidget",s.classList.add("codeActionMenuWidget"),e.appendChild(s),this.codeActionList.value=new rr("codeActionWidget",s,{getHeight(u){return u.isSeparator?10:ry},getTemplateId(u){return"codeActionWidget"}},[this.listRenderer],{keyboardSupport:!1}),n.add(this.codeActionList.value.onMouseOver(u=>this._onListHover(u))),n.add(this.codeActionList.value.onDidChangeFocus(u=>{var g;return(g=this.codeActionList.value)===null||g===void 0?void 0:g.domFocus()})),n.add(this.codeActionList.value.onDidChangeSelection(u=>this._onListSelection(u))),n.add(this._editor.onDidLayoutChange(u=>this.hideCodeActionWidget())),t.forEach((u,g)=>{const f=u.class==="separator";let _=!1;u instanceof oy&&(_=u.action.kind===Hk.documentationID),f&&(this.hasSeperator=!0);const b={title:u.label,detail:u.tooltip,action:t[g],isEnabled:u.enabled,isSeparator:f,index:g,isDocumentation:_};u.enabled&&this.viewItems.push(b),this.options.push(b)}),this.codeActionList.value.splice(0,this.codeActionList.value.length,this.options);const a=this.hasSeperator?(t.length-1)*ry+10:t.length*ry;s.style.height=String(a)+"px",this.codeActionList.value.layout(a);const l=[];this.options.forEach((u,g)=>{var f,_;if(!this.codeActionList.value)return;const b=(_=document.getElementById((f=this.codeActionList.value)===null||f===void 0?void 0:f.getElementID(g)))===null||_===void 0?void 0:_.getElementsByTagName("span")[0].offsetWidth;l.push(Number(b))});const c=Math.max(...l);s.style.width=c+52+"px",(i=this.codeActionList.value)===null||i===void 0||i.layout(a,c),this.viewItems.length<1||this.viewItems.every(u=>u.isDocumentation)?this.currSelectedItem=void 0:(this.focusedEnabledItem=0,this.currSelectedItem=this.viewItems[0].index,this.codeActionList.value.setFocus([this.currSelectedItem])),this.codeActionList.value.domFocus();const d=Od(e),h=d.onDidBlur(()=>{this.hideCodeActionWidget()});return n.add(h),n.add(d),this._ctxMenuWidgetVisible.set(!0),n}focusPrevious(){var e;if(typeof this.focusedEnabledItem>"u")this.focusedEnabledItem=this.viewItems[0].index;else if(this.viewItems.length<1)return!1;const t=this.focusedEnabledItem;let i;do this.focusedEnabledItem=this.focusedEnabledItem-1,this.focusedEnabledItem<0&&(this.focusedEnabledItem=this.viewItems.length-1),i=this.viewItems[this.focusedEnabledItem],(e=this.codeActionList.value)===null||e===void 0||e.setFocus([i.index]),this.currSelectedItem=i.index;while(this.focusedEnabledItem!==t&&(!i.isEnabled||i.action.id===ln.ID));return!0}focusNext(){var e;if(typeof this.focusedEnabledItem>"u")this.focusedEnabledItem=this.viewItems.length-1;else if(this.viewItems.length<1)return!1;const t=this.focusedEnabledItem;let i;do this.focusedEnabledItem=(this.focusedEnabledItem+1)%this.viewItems.length,i=this.viewItems[this.focusedEnabledItem],(e=this.codeActionList.value)===null||e===void 0||e.setFocus([i.index]),this.currSelectedItem=i.index;while(this.focusedEnabledItem!==t&&(!i.isEnabled||i.action.id===ln.ID));return!0}navigateListWithKeysUp(){this.focusPrevious()}navigateListWithKeysDown(){this.focusNext()}onEnterSet(){var e;typeof this.currSelectedItem=="number"&&((e=this.codeActionList.value)===null||e===void 0||e.setSelection([this.currSelectedItem]))}dispose(){super.dispose()}hideCodeActionWidget(){this._ctxMenuWidgetVisible.reset(),this.options=[],this.viewItems=[],this.focusedEnabledItem=0,this.currSelectedItem=void 0,this.hasSeperator=!1,this._contextViewService.hideContextView({source:this})}codeActionTelemetry(e,t,i){this._telemetryService.publicLog2("codeAction.applyCodeAction",{codeActionFrom:e,validCodeActions:i.validActions.length,cancelled:t})}show(e,t,i,n){return Yie(this,void 0,void 0,function*(){const s=this._editor.getModel();if(!s)return;const r=n.includeDisabledActions?t.allActions:t.validActions;if(!r.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,QO();this._visible=!0,this._showingActions.value=t;const a=this.getMenuActions(e,r,t.documentation),l=B.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},c=this._keybindingResolver.getResolver(),d=this._editor.getOption(117);this.isCodeActionWidgetEnabled(s)?this._contextViewService.showContextView({getAnchor:()=>l,render:h=>this.renderCodeActionMenuList(h,a),onHide:h=>{const u=n.fromLightbulb?bn.Lightbulb:e.triggerAction;this.codeActionTelemetry(u,h,t),this._visible=!1,this._editor.focus()}},this._editor.getDomNode(),!1):this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>l,getActions:()=>a,onHide:h=>{const u=n.fromLightbulb?bn.Lightbulb:e.triggerAction;this.codeActionTelemetry(u,h,t),this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:h=>h instanceof oy?c(h.action):void 0})})}getMenuActions(e,t,i){var n,s;const r=d=>new oy(d.action,()=>this._delegate.onSelectCodeAction(d,e)),a=t.map(r),l=[...i],c=this._editor.getModel();if(c&&a.length)for(const d of this._languageFeaturesService.codeActionProvider.all(c))d._getAdditionalMenuItems&&l.push(...d._getAdditionalMenuItems({trigger:e.type,only:(s=(n=e.filter)===null||n===void 0?void 0:n.include)===null||s===void 0?void 0:s.value},t.map(h=>h.action)));return l.length&&a.push(new ln,...l.map(d=>r(new H3({title:d.title,command:d,kind:Hk.documentationID},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=on(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}};uC.documentationID="_documentation";uC=z3([_a(2,ll),_a(3,_i),_a(4,de),_a(5,sr),_a(6,Ct),_a(7,ot),_a(8,vh),_a(9,Ee)],uC);class ew{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Ju(()=>this._keybindingProvider.getKeybindings().filter(t=>ew.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===WN?i={kind:Ze.SourceOrganizeImports.value}:t.command===VN&&(i={kind:Ze.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},Nr.fromUser(i,{kind:Ze.None,apply:"never"}))}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.getValue());return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new Ze(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,s)=>n?n.kind.contains(s.kind)?s:n:s,void 0)}}ew.codeActionCommands=[W3,B3,V3,WN,VN];var Jie=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ene=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},Ip;(function(o){o.Hidden={type:0};class e{constructor(i,n,s,r){this.actions=i,this.trigger=n,this.editorPosition=s,this.widgetPosition=r,this.type=1}}o.Showing=e})(Ip||(Ip={}));let gC=class U3 extends H{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new R),this.onClick=this._onClick.event,this._state=Ip.Hidden,this._domNode=document.createElement("div"),this._domNode.className=m.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(s=>{const r=this._editor.getModel();(this.state.type!==1||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),ft.ignoreTarget(this._domNode),this._register(IH(this._domNode,s=>{if(this.state.type!==1)return;this._editor.focus(),s.preventDefault();const{top:r,height:a}=on(this._domNode),l=this._editor.getOption(61);let c=Math.floor(l/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(s.buttons&1)===1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(s=>{s.hasChanged(59)&&!this._editor.getOption(59).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(59).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();const{lineNumber:r,column:a}=s.validatePosition(i),l=s.getOptions().tabSize,c=n.get(46),d=s.getLineContent(r),h=S1(d,l),u=c.spaceWidth*h>22,g=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let f=r;if(!u){if(r>1&&!g(r-1))f-=1;else if(!g(r+1))f+=1;else if(a*c.spaceWidth<22)return this.hide()}this.state=new Ip.Showing(e,t,i,{position:{lineNumber:f,column:1},preference:U3._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=Ip.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...m.lightBulb.classNamesArray),this._domNode.classList.add(...m.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=p("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",t.getLabel());return}}this._domNode.classList.remove(...m.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...m.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=p("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=p("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};gC._posPref=[0];gC=Jie([ene(3,_i)],gC);Et((o,e)=>{var t;const i=(t=o.getColor(wi))===null||t===void 0?void 0:t.transparent(.7),n=o.getColor(Uz);n&&e.addRule(` + *-----------------------------------------------------------------------------*/var gie=Object.defineProperty,fie=Object.getOwnPropertyDescriptor,pie=Object.getOwnPropertyNames,mie=Object.prototype.hasOwnProperty,dR=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of pie(e))!mie.call(o,n)&&n!==t&&gie(o,n,{get:()=>e[n],enumerable:!(i=fie(e,n))||i.enumerable});return o},_ie=(o,e,t)=>(dR(o,e,"default"),t&&dR(t,e,"default")),bie="4.5.5",Dg={};_ie(Dg,D_);var D3=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(D3||{}),k3=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(k3||{}),x3=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(x3||{}),I3=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(I3||{}),E3=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(E3||{}),N3=class{constructor(o,e,t,i){qt(this,"_onDidChange",new Dg.Emitter);qt(this,"_onDidExtraLibsChange",new Dg.Emitter);qt(this,"_extraLibs");qt(this,"_removedExtraLibs");qt(this,"_eagerModelSync");qt(this,"_compilerOptions");qt(this,"_diagnosticsOptions");qt(this,"_workerOptions");qt(this,"_onDidExtraLibsChangeTimeout");qt(this,"_inlayHintsOptions");this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];!n||n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}},vie=bie,T3=new N3({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),A3=new N3({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{}),Cie=()=>Q1().then(o=>o.getTypeScriptWorker()),wie=()=>Q1().then(o=>o.getJavaScriptWorker());Dg.languages.typescript={ModuleKind:D3,JsxEmit:k3,NewLineKind:x3,ScriptTarget:I3,ModuleResolutionKind:E3,typescriptVersion:vie,typescriptDefaults:T3,javascriptDefaults:A3,getTypeScriptWorker:Cie,getJavaScriptWorker:wie};function Q1(){return ue(()=>import("./tsMode.63a1c911.js"),["assets/tsMode.63a1c911.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css"])}Dg.languages.onLanguage("typescript",()=>Q1().then(o=>o.setupTypeScript(T3)));Dg.languages.onLanguage("javascript",()=>Q1().then(o=>o.setupJavaScript(A3)));var Sie=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},yie=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},X1=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const J1=new le("selectionAnchorSet",!1);let sl=class M3{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=J1.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(M3.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(oe.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Fn().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),Gi(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(oe.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};sl.ID="editor.contrib.selectionAnchorController";sl=Sie([yie(1,Ee)],sl);class Lie extends ce{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:N.editorTextFocus,primary:yi(2089,2080),weight:100}})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.setSelectionAnchor()})}}class Die extends ce{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:J1})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.goToSelectionAnchor()})}}class kie extends ce{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:J1,kbOpts:{kbExpr:N.editorTextFocus,primary:yi(2089,2089),weight:100}})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.selectFromAnchorToCursor()})}}class xie extends ce{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:J1,kbOpts:{kbExpr:N.editorTextFocus,primary:9,weight:100}})}run(e,t){var i;return X1(this,void 0,void 0,function*(){(i=sl.get(t))===null||i===void 0||i.cancelSelectionAnchor()})}}tt(sl.ID,sl);ie(Lie);ie(Die);ie(kie);ie(xie);const Iie=T("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Eie extends ce{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:N.editorTextFocus,primary:3160,weight:100}})}run(e,t){var i;(i=Yo.get(t))===null||i===void 0||i.jumpToBracket()}}class Nie extends ce{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&i.selectBrackets===!1&&(s=!1),(n=Yo.get(t))===null||n===void 0||n.selectToBracket(s)}}class Tie{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class Yo extends H{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new mt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(66),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(66)&&(this._matchBrackets=this._editor.getOption(66),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(Yo.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new oe(r.lineNumber,r.column,r.lineNumber,r.column):new oe(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const c=t.bracketPairs.findNextBracket(s);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(L.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new oe(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(B.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=s.length;h{const t=o.getColor(b$);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const i=o.getColor(z4);i&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)});qs.appendMenuItem(M.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class Aie{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,s=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&s===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new L(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new L(i,s,i,s),a)}else{const r=new L(i,s,i,s+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new L(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new oe(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new oe(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class R3 extends ce{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const s of n)i.push(new Aie(s,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Mie extends R3{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:N.writable})}}class Rie extends R3{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:N.writable})}}ie(Mie);ie(Rie);class Oie extends ce{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:N.writable,kbOpts:{kbExpr:N.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],s=t.getSelections();for(const r of s){if(!r.isEmpty())continue;const a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;const d=l===c?r.getPosition():lt.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),h=lt.leftPosition(i,d),u=lt.leftPosition(i,h),g=i.getValueInRange(L.fromPositions(u,h)),f=i.getValueInRange(L.fromPositions(h,d)),_=L.fromPositions(u,d);n.push(new zi(_,f+g))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}ie(Oie);var Pie=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const Zd="9_cutcopypaste",Fie=jo||document.queryCommandSupported("cut"),O3=jo||document.queryCommandSupported("copy"),Bie=typeof navigator.clipboard>"u"||Ls?document.queryCommandSupported("paste"):!0;function FN(o){return o.register(),o}const Wie=Fie?FN(new Ug({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:jo?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:M.EditorContext,group:Zd,title:p("actions.clipboard.cutLabel","Cut"),when:N.writable,order:1},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.cutLabel","Cut"),order:1},{menuId:M.SimpleEditorContext,group:Zd,title:p("actions.clipboard.cutLabel","Cut"),when:N.writable,order:1}]})):void 0,Vie=O3?FN(new Ug({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:jo?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:M.EditorContext,group:Zd,title:p("actions.clipboard.copyLabel","Copy"),order:2},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.copyLabel","Copy"),order:1},{menuId:M.SimpleEditorContext,group:Zd,title:p("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;qs.appendMenuItem(M.MenubarEditMenu,{submenu:M.MenubarCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3});qs.appendMenuItem(M.EditorContext,{submenu:M.EditorContextCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:Zd,order:3});qs.appendMenuItem(M.EditorContext,{submenu:M.EditorContextShare,title:{value:p("share","Share"),original:"Share"},group:"11_share",order:-1});const sy=Bie?FN(new Ug({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:jo?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:M.EditorContext,group:Zd,title:p("actions.clipboard.pasteLabel","Paste"),when:N.writable,order:4},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:M.SimpleEditorContext,group:Zd,title:p("actions.clipboard.pasteLabel","Paste"),when:N.writable,order:4}]})):void 0;class Hie extends ce{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:p("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:N.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(33)&&t.getSelection().isEmpty()||(gD.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),gD.forceCopyWithSyntaxHighlighting=!1)}}function P3(o,e){!o||(o.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(ct).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const s=n.getOption(33),r=n.getSelection();return r&&r.isEmpty()&&!s||document.execCommand(e),!0}return!1}),o.addImplementation(0,"generic-dom",(t,i)=>(document.execCommand(e),!0)))}P3(Wie,"cut");P3(Vie,"copy");sy&&(sy.addImplementation(1e4,"code-editor",(o,e)=>{const t=o.get(ct),i=o.get(cl),n=t.getFocusedCodeEditor();return n&&n.hasTextFocus()?!document.execCommand("paste")&&Sc?(()=>Pie(void 0,void 0,void 0,function*(){const r=yield i.readText();if(r!==""){const a=im.INSTANCE.get(r);let l=!1,c=null,d=null;a&&(l=n.getOption(33)&&!!a.isFromEmptySelection,c=typeof a.multicursorText<"u"?a.multicursorText:null,d=a.mode),n.trigger("keyboard","paste",{text:r,pasteOnNewLine:l,multicursorText:c,mode:d})}}))():!0:!1}),sy.addImplementation(0,"generic-dom",(o,e)=>(document.execCommand("paste"),!0)));O3&&ie(Hie);class Ze{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+Ze.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new Ze(this.value+Ze.sep+e)}}Ze.sep=".";Ze.None=new Ze("@@none@@");Ze.Empty=new Ze("");Ze.QuickFix=new Ze("quickfix");Ze.Refactor=new Ze("refactor");Ze.Source=new Ze("source");Ze.SourceOrganizeImports=Ze.Source.append("organizeImports");Ze.SourceFixAll=Ze.Source.append("fixAll");var bn;(function(o){o.Refactor="refactor",o.RefactorPreview="refactor preview",o.Lightbulb="lightbulb",o.Default="other (default)",o.SourceAction="source action",o.QuickFix="quick fix action",o.FixAll="fix all",o.OrganizeImports="organize imports",o.AutoFix="auto fix",o.QuickFixHover="quick fix hover window",o.OnSave="save participants",o.ProblemsView="problems view"})(bn||(bn={}));function zie(o,e){return!(o.include&&!o.include.intersects(e)||o.excludes&&o.excludes.some(t=>F3(e,t,o.include))||!o.includeSourceActions&&Ze.Source.contains(e))}function Uie(o,e){const t=e.kind?new Ze(e.kind):void 0;return!(o.include&&(!t||!o.include.contains(t))||o.excludes&&t&&o.excludes.some(i=>F3(t,i,o.include))||!o.includeSourceActions&&t&&Ze.Source.contains(t)||o.onlyIncludePreferredActions&&!e.isPreferred)}function F3(o,e,t){return!(!e.contains(o)||t&&e.contains(t))}class Nr{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return!e||typeof e!="object"?new Nr(t.kind,t.apply,!1):new Nr(Nr.getKindFromUser(e,t.kind),Nr.getApplyFromUser(e,t.apply),Nr.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new Ze(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}}var BN=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const B3="editor.action.codeAction",W3="editor.action.refactor",$ie="editor.action.refactor.preview",V3="editor.action.sourceAction",WN="editor.action.organizeImports",VN="editor.action.fixAll";class H3{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return BN(this,void 0,void 0,function*(){if(((t=this.provider)===null||t===void 0?void 0:t.resolveCodeAction)&&!this.action.edit){let i;try{i=yield this.provider.resolveCodeAction(this.action,e)}catch(n){Pi(n)}i&&(this.action.edit=i.edit)}return this})}}class HN extends H{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(HN.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:rn(e.diagnostics)?rn(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:rn(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&Ze.QuickFix.contains(new Ze(e.kind))&&!!e.isPreferred)}}const hR={actions:[],documentation:void 0};function zN(o,e,t,i,n,s){var r;const a=i.filter||{},l={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new TN(e,s),d=jie(o,e,a),h=new Q,u=d.map(f=>BN(this,void 0,void 0,function*(){try{n.report(f);const _=yield f.provideCodeActions(e,t,l,c.token);if(_&&h.add(_),c.token.isCancellationRequested)return hR;const b=((_==null?void 0:_.actions)||[]).filter(C=>C&&Uie(a,C)),v=Kie(f,b,a.include);return{actions:b.map(C=>new H3(C,f)),documentation:v}}catch(_){if(ea(_))throw _;return Pi(_),hR}})),g=o.onDidChange(()=>{const f=o.all(e);Ss(f,d)||c.cancel()});return Promise.all(u).then(f=>{const _=f.map(v=>v.actions).flat(),b=i_(f.map(v=>v.documentation));return new HN(_,b,h)}).finally(()=>{g.dispose(),c.dispose()})}function jie(o,e,t){return o.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>zie(t,new Ze(n))):!0)}function Kie(o,e,t){if(!o.documentation)return;const i=o.documentation.map(n=>({kind:new Ze(n.kind),command:n.command}));if(t){let n;for(const s of i)s.kind.contains(t)&&(n?n.kind.contains(s.kind)&&(n=s):n=s);if(n)return n==null?void 0:n.command}for(const n of e)if(!!n.kind){for(const s of i)if(s.kind.contains(new Ze(n.kind)))return s.command}}Xe.registerCommand("_executeCodeActionProvider",function(o,e,t,i,n){return BN(this,void 0,void 0,function*(){if(!(e instanceof _e))throw Ko();const{codeActionProvider:s}=o.get(de),r=o.get(Ut).getModel(e);if(!r)throw Ko();const a=oe.isISelection(t)?oe.liftSelection(t):L.isIRange(t)?r.validateRange(t):void 0;if(!a)throw Ko();const l=typeof i=="string"?new Ze(i):void 0,c=yield zN(s,r,a,{type:1,triggerAction:bn.Default,filter:{includeSourceActions:!0,include:l}},Ch.None,ze.None),d=[],h=Math.min(c.validActions.length,typeof n=="number"?n:0);for(let u=0;uu.action)}finally{setTimeout(()=>c.dispose(),100)}})});var qie=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Gie=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let os=class Wk{constructor(e,t){this._messageWidget=new _n,this._messageListeners=new Q,this._editor=e,this._visible=Wk.MESSAGE_VISIBLE.bindTo(t)}static get(e){return e.getContribution(Wk.ID)}dispose(){this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Gi(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new uR(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new xs(()=>this.closeMessage(),3e3));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{!n.target.position||(i?i.containsPosition(n.target.position)||this.closeMessage():i=new L(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(uR.fadeOut(this._messageWidget.value))}};os.ID="editor.contrib.messageController";os.MESSAGE_VISIBLE=new le("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message"));os=qie([Gie(1,Ee)],os);const Zie=xi.bindToContribution(os.get);ee(new Zie({id:"leaveEditorMessage",precondition:os.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class uR{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}}tt(os.ID,os);var z3=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},_a=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},Yie=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};const Jg={Visible:new le("CodeActionMenuVisible",!1,p("CodeActionMenuVisible","Whether the code action list widget is visible"))};class oy extends is{constructor(e,t){super(e.command?e.command.id:e.title,Qie(e.title),void 0,!e.disabled,t),this.action=e}}function Qie(o){return o.replace(/\r\n|\r|\n/g," ")}const Xie="codeActionWidget",ry=26;let Vk=class{constructor(e,t){this.acceptKeybindings=e,this.keybindingService=t}get templateId(){return Xie}renderTemplate(e){const t=Object.create(null);return t.disposables=[],t.root=e,t.text=document.createElement("span"),e.append(t.text),t}renderElement(e,t,i){const n=i,s=e.title,r=e.isEnabled,a=e.isSeparator,l=e.isDocumentation;n.text.textContent=s,r?n.root.classList.remove("option-disabled"):(n.root.classList.add("option-disabled"),n.root.style.backgroundColor="transparent !important"),a&&(n.root.classList.add("separator"),n.root.style.height="10px"),l||(()=>{var d,h;const[u,g]=this.acceptKeybindings;n.root.title=p({key:"label",comment:['placeholders are keybindings, e.g "F2 to Refactor, Shift+F2 to Preview"']},"{0} to Refactor, {1} to Preview",(d=this.keybindingService.lookupKeybinding(u))===null||d===void 0?void 0:d.getLabel(),(h=this.keybindingService.lookupKeybinding(g))===null||h===void 0?void 0:h.getLabel())})()}disposeTemplate(e){e.disposables=nt(e.disposables)}};Vk=z3([_a(1,_i)],Vk);let uC=class Hk extends H{constructor(e,t,i,n,s,r,a,l,c,d){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._languageFeaturesService=s,this._telemetryService=r,this._configurationService=l,this._contextViewService=c,this._contextKeyService=d,this._showingActions=this._register(new _n),this.codeActionList=this._register(new _n),this.options=[],this._visible=!1,this.viewItems=[],this.hasSeperator=!1,this._keybindingResolver=new ew({getKeybindings:()=>n.getKeybindings()}),this._ctxMenuWidgetVisible=Jg.Visible.bindTo(this._contextKeyService),this.listRenderer=new Vk(["onEnterSelectCodeAction","onEnterSelectCodeActionWithPreview"],n)}get isVisible(){return this._visible}isCodeActionWidgetEnabled(e){return this._configurationService.getValue("editor.experimental.useCustomCodeActionMenu",{resource:e.uri})}_onListSelection(e){e.elements.length&&e.elements.forEach(t=>{t.isEnabled&&(t.action.run(),this.hideCodeActionWidget())})}_onListHover(e){var t,i,n,s;e.element?!((i=e.element)===null||i===void 0)&&i.isEnabled?((n=this.codeActionList.value)===null||n===void 0||n.setFocus([e.element.index]),this.focusedEnabledItem=this.viewItems.indexOf(e.element),this.currSelectedItem=e.element.index):(this.currSelectedItem=void 0,(s=this.codeActionList.value)===null||s===void 0||s.setFocus([e.element.index])):(this.currSelectedItem=void 0,(t=this.codeActionList.value)===null||t===void 0||t.setFocus([]))}renderCodeActionMenuList(e,t){var i;const n=new Q,s=document.createElement("div"),r=document.createElement("div");this.block=e.appendChild(r),this.block.classList.add("context-view-block"),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",n.add(G(this.block,ae.MOUSE_DOWN,u=>u.stopPropagation())),s.id="codeActionMenuWidget",s.classList.add("codeActionMenuWidget"),e.appendChild(s),this.codeActionList.value=new rr("codeActionWidget",s,{getHeight(u){return u.isSeparator?10:ry},getTemplateId(u){return"codeActionWidget"}},[this.listRenderer],{keyboardSupport:!1}),n.add(this.codeActionList.value.onMouseOver(u=>this._onListHover(u))),n.add(this.codeActionList.value.onDidChangeFocus(u=>{var g;return(g=this.codeActionList.value)===null||g===void 0?void 0:g.domFocus()})),n.add(this.codeActionList.value.onDidChangeSelection(u=>this._onListSelection(u))),n.add(this._editor.onDidLayoutChange(u=>this.hideCodeActionWidget())),t.forEach((u,g)=>{const f=u.class==="separator";let _=!1;u instanceof oy&&(_=u.action.kind===Hk.documentationID),f&&(this.hasSeperator=!0);const b={title:u.label,detail:u.tooltip,action:t[g],isEnabled:u.enabled,isSeparator:f,index:g,isDocumentation:_};u.enabled&&this.viewItems.push(b),this.options.push(b)}),this.codeActionList.value.splice(0,this.codeActionList.value.length,this.options);const a=this.hasSeperator?(t.length-1)*ry+10:t.length*ry;s.style.height=String(a)+"px",this.codeActionList.value.layout(a);const l=[];this.options.forEach((u,g)=>{var f,_;if(!this.codeActionList.value)return;const b=(_=document.getElementById((f=this.codeActionList.value)===null||f===void 0?void 0:f.getElementID(g)))===null||_===void 0?void 0:_.getElementsByTagName("span")[0].offsetWidth;l.push(Number(b))});const c=Math.max(...l);s.style.width=c+52+"px",(i=this.codeActionList.value)===null||i===void 0||i.layout(a,c),this.viewItems.length<1||this.viewItems.every(u=>u.isDocumentation)?this.currSelectedItem=void 0:(this.focusedEnabledItem=0,this.currSelectedItem=this.viewItems[0].index,this.codeActionList.value.setFocus([this.currSelectedItem])),this.codeActionList.value.domFocus();const d=Od(e),h=d.onDidBlur(()=>{this.hideCodeActionWidget()});return n.add(h),n.add(d),this._ctxMenuWidgetVisible.set(!0),n}focusPrevious(){var e;if(typeof this.focusedEnabledItem>"u")this.focusedEnabledItem=this.viewItems[0].index;else if(this.viewItems.length<1)return!1;const t=this.focusedEnabledItem;let i;do this.focusedEnabledItem=this.focusedEnabledItem-1,this.focusedEnabledItem<0&&(this.focusedEnabledItem=this.viewItems.length-1),i=this.viewItems[this.focusedEnabledItem],(e=this.codeActionList.value)===null||e===void 0||e.setFocus([i.index]),this.currSelectedItem=i.index;while(this.focusedEnabledItem!==t&&(!i.isEnabled||i.action.id===ln.ID));return!0}focusNext(){var e;if(typeof this.focusedEnabledItem>"u")this.focusedEnabledItem=this.viewItems.length-1;else if(this.viewItems.length<1)return!1;const t=this.focusedEnabledItem;let i;do this.focusedEnabledItem=(this.focusedEnabledItem+1)%this.viewItems.length,i=this.viewItems[this.focusedEnabledItem],(e=this.codeActionList.value)===null||e===void 0||e.setFocus([i.index]),this.currSelectedItem=i.index;while(this.focusedEnabledItem!==t&&(!i.isEnabled||i.action.id===ln.ID));return!0}navigateListWithKeysUp(){this.focusPrevious()}navigateListWithKeysDown(){this.focusNext()}onEnterSet(){var e;typeof this.currSelectedItem=="number"&&((e=this.codeActionList.value)===null||e===void 0||e.setSelection([this.currSelectedItem]))}dispose(){super.dispose()}hideCodeActionWidget(){this._ctxMenuWidgetVisible.reset(),this.options=[],this.viewItems=[],this.focusedEnabledItem=0,this.currSelectedItem=void 0,this.hasSeperator=!1,this._contextViewService.hideContextView({source:this})}codeActionTelemetry(e,t,i){this._telemetryService.publicLog2("codeAction.applyCodeAction",{codeActionFrom:e,validCodeActions:i.validActions.length,cancelled:t})}show(e,t,i,n){return Yie(this,void 0,void 0,function*(){const s=this._editor.getModel();if(!s)return;const r=n.includeDisabledActions?t.allActions:t.validActions;if(!r.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,QO();this._visible=!0,this._showingActions.value=t;const a=this.getMenuActions(e,r,t.documentation),l=B.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},c=this._keybindingResolver.getResolver(),d=this._editor.getOption(117);this.isCodeActionWidgetEnabled(s)?this._contextViewService.showContextView({getAnchor:()=>l,render:h=>this.renderCodeActionMenuList(h,a),onHide:h=>{const u=n.fromLightbulb?bn.Lightbulb:e.triggerAction;this.codeActionTelemetry(u,h,t),this._visible=!1,this._editor.focus()}},this._editor.getDomNode(),!1):this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>l,getActions:()=>a,onHide:h=>{const u=n.fromLightbulb?bn.Lightbulb:e.triggerAction;this.codeActionTelemetry(u,h,t),this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:h=>h instanceof oy?c(h.action):void 0})})}getMenuActions(e,t,i){var n,s;const r=d=>new oy(d.action,()=>this._delegate.onSelectCodeAction(d,e)),a=t.map(r),l=[...i],c=this._editor.getModel();if(c&&a.length)for(const d of this._languageFeaturesService.codeActionProvider.all(c))d._getAdditionalMenuItems&&l.push(...d._getAdditionalMenuItems({trigger:e.type,only:(s=(n=e.filter)===null||n===void 0?void 0:n.include)===null||s===void 0?void 0:s.value},t.map(h=>h.action)));return l.length&&a.push(new ln,...l.map(d=>r(new H3({title:d.title,command:d,kind:Hk.documentationID},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=on(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}};uC.documentationID="_documentation";uC=z3([_a(2,ll),_a(3,_i),_a(4,de),_a(5,sr),_a(6,Ct),_a(7,ot),_a(8,vh),_a(9,Ee)],uC);class ew{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Ju(()=>this._keybindingProvider.getKeybindings().filter(t=>ew.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===WN?i={kind:Ze.SourceOrganizeImports.value}:t.command===VN&&(i={kind:Ze.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},Nr.fromUser(i,{kind:Ze.None,apply:"never"}))}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.getValue());return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new Ze(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,s)=>n?n.kind.contains(s.kind)?s:n:s,void 0)}}ew.codeActionCommands=[W3,B3,V3,WN,VN];var Jie=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ene=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},Ip;(function(o){o.Hidden={type:0};class e{constructor(i,n,s,r){this.actions=i,this.trigger=n,this.editorPosition=s,this.widgetPosition=r,this.type=1}}o.Showing=e})(Ip||(Ip={}));let gC=class U3 extends H{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new R),this.onClick=this._onClick.event,this._state=Ip.Hidden,this._domNode=document.createElement("div"),this._domNode.className=m.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(s=>{const r=this._editor.getModel();(this.state.type!==1||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),ft.ignoreTarget(this._domNode),this._register(IH(this._domNode,s=>{if(this.state.type!==1)return;this._editor.focus(),s.preventDefault();const{top:r,height:a}=on(this._domNode),l=this._editor.getOption(61);let c=Math.floor(l/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(s.buttons&1)===1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(s=>{s.hasChanged(59)&&!this._editor.getOption(59).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(59).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();const{lineNumber:r,column:a}=s.validatePosition(i),l=s.getOptions().tabSize,c=n.get(46),d=s.getLineContent(r),h=S1(d,l),u=c.spaceWidth*h>22,g=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let f=r;if(!u){if(r>1&&!g(r-1))f-=1;else if(!g(r+1))f+=1;else if(a*c.spaceWidth<22)return this.hide()}this.state=new Ip.Showing(e,t,i,{position:{lineNumber:f,column:1},preference:U3._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=Ip.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...m.lightBulb.classNamesArray),this._domNode.classList.add(...m.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=p("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",t.getLabel());return}}this._domNode.classList.remove(...m.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...m.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=p("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=p("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};gC._posPref=[0];gC=Jie([ene(3,_i)],gC);Et((o,e)=>{var t;const i=(t=o.getColor(wi))===null||t===void 0?void 0:t.transparent(.7),n=o.getColor(Uz);n&&e.addRule(` .monaco-editor .contentWidgets ${m.lightBulb.cssSelector} { color: ${n}; background-color: ${i}; @@ -795,4 +795,4 @@ The flag will not be saved for the future. `+hi.outroMsg,this._contentDomNode.domNode.appendChild(CF(n)),this._contentDomNode.domNode.setAttribute("aria-label",n)}hide(){!this._isVisible||(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,Si(this._contentDomNode.domNode),this._editor.focus())}_layout(){const e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(V0.WIDTH,e.width-40)),i=Math.max(5,Math.min(V0.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(i);const n=Math.round((e.height-i)/2);this._domNode.setTop(n);const s=Math.round((e.width-t)/2);this._domNode.setLeft(s)}};Bg.ID="editor.contrib.accessibilityHelpWidget";Bg.WIDTH=500;Bg.HEIGHT=300;Bg=n8([W0(1,Ee),W0(2,_i),W0(3,io)],Bg);class Vhe extends ce{constructor(){super({id:"editor.action.showAccessibilityHelp",label:hi.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){const i=dh.get(t);i&&i.show()}}tt(dh.ID,dh);ie(Vhe);const Hhe=xi.bindToContribution(dh.get);ee(new Hhe({id:"closeAccessibilityHelp",precondition:s8,handler:o=>o.hide(),kbOpts:{weight:100+100,kbExpr:N.focus,primary:9,secondary:[1033]}}));Et((o,e)=>{const t=o.getColor(li);t&&e.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${t}; }`);const i=o.getColor(zo);i&&e.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`);const n=o.getColor(Ho);n&&e.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${n}; }`);const s=o.getColor(We);s&&e.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${s}; }`)});class Jx extends H{constructor(e){super(),this.editor=e,this.widget=null,Ur&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const e=!this.editor.getOption(83);!this.widget&&e?this.widget=new Tw(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}Jx.ID="editor.contrib.iPadShowKeyboard";class Tw extends H{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(G(this._domNode,"touchstart",t=>{this.editor.focus()})),this._register(G(this._domNode,"focus",t=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return Tw.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}Tw.ID="editor.contrib.ShowKeyboardWidget";tt(Jx.ID,Jx);var zhe=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},SO=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let Wg=class r8 extends H{constructor(e,t,i){super(),this._editor=e,this._languageService=i,this._widget=null,this._register(this._editor.onDidChangeModel(n=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(n=>this.stop())),this._register(Wt.onDidChange(n=>this.stop())),this._register(this._editor.onKeyUp(n=>n.keyCode===9&&this.stop()))}static get(e){return e.getContribution(r8.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||!this._editor.hasModel()||(this._widget=new Aw(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};Wg.ID="editor.contrib.inspectTokens";Wg=zhe([SO(1,Es),SO(2,Ht)],Wg);class Uhe extends ce{constructor(){super({id:"editor.action.inspectTokens",label:zD.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){const i=Wg.get(t);i&&i.launch()}}function $he(o){let e="";for(let t=0,i=o.length;tng,tokenize:(n,s,r)=>AI(e,r),tokenizeEncoded:(n,s,r)=>qC(i,r)}}class Aw extends H{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=jhe(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(i=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return Aw._ID}_compute(e){const t=this._getTokensAtLine(e.lineNumber);let i=0;for(let l=t.tokens1.length-1;l>=0;l--){const c=t.tokens1[l];if(e.column-1>=c.offset){i=l;break}}let n=0;for(let l=t.tokens2.length>>>1;l>=0;l--)if(e.column-1>=t.tokens2[l<<1]){n=l;break}const s=this._model.getLineContent(e.lineNumber);let r="";if(i{const t=o.getColor(aE);if(t){const s=cn(o.type)?2:1;e.addRule(`.monaco-editor .tokens-inspect-widget { border: ${s}px solid ${t}; }`),e.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${t}; }`)}const i=o.getColor(Bd);i&&e.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${i}; }`);const n=o.getColor(rE);n&&e.addRule(`.monaco-editor .tokens-inspect-widget { color: ${n}; }`)});var Khe=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},yO=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let MC=class H0{constructor(e,t){this.quickInputService=e,this.keybindingService=t,this.registry=zt.as(yh.Quickaccess)}provide(e){const t=new Q;return t.add(e.onDidAccept(()=>{const[i]=e.selectedItems;i&&this.quickInputService.quickAccess.show(i.prefix,{preserveValue:!0})})),t.add(e.onDidChangeValue(i=>{const n=this.registry.getQuickAccessProvider(i.substr(H0.PREFIX.length));n&&n.prefix&&n.prefix!==H0.PREFIX&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})})),e.items=this.getQuickAccessProviders(),t}getQuickAccessProviders(){const e=[];for(const t of this.registry.getQuickAccessProviders().sort((i,n)=>i.prefix.localeCompare(n.prefix)))if(t.prefix!==H0.PREFIX)for(const i of t.helpEntries){const n=i.prefix||t.prefix,s=n||"\u2026";e.push({prefix:n,label:s,keybinding:i.commandId?this.keybindingService.lookupKeybinding(i.commandId):void 0,ariaLabel:p("helpPickAriaLabel","{0}, {1}",s,i.description),description:i.description})}return e}};MC.PREFIX="?";MC=Khe([yO(0,dl),yO(1,_i)],MC);zt.as(yh.Quickaccess).registerQuickAccessProvider({ctor:MC,prefix:"",helpEntries:[{description:UD.helpQuickAccessActionLabel}]});class a8{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var i;const n=new Q;e.canAcceptInBackground=!!(!((i=this.options)===null||i===void 0)&&i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const s=n.add(new _n);return s.value=this.doProvide(e,t),n.add(this.onDidActiveTextEditorControlChange(()=>{s.value=void 0,s.value=this.doProvide(e,t)})),n}doProvide(e,t){const i=new Q,n=this.activeTextEditorControl;if(n&&this.canProvideWithTextEditor(n)){const s={editor:n},r=u3(n);if(r){let a=Wn(n.saveViewState());i.add(r.onDidChangeCursorPosition(()=>{a=Wn(n.saveViewState())})),s.restoreViewState=()=>{a&&n===this.activeTextEditorControl&&n.restoreViewState(a)},i.add(Xa(t.onCancellationRequested)(()=>{var l;return(l=s.restoreViewState)===null||l===void 0?void 0:l.call(s)}))}i.add(Be(()=>this.clearDecorations(n))),i.add(this.provideWithTextEditor(s,e,t))}else i.add(this.provideWithoutTextEditor(e,t));return i}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return h3(e)?(t=e.getModel())===null||t===void 0?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(i=>{const n=[];this.rangeHighlightDecorationId&&(n.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),n.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const s=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:Qt(x$),position:Zs.Full}}}],[r,a]=i.deltaDecorations(n,s);this.rangeHighlightDecorationId={rangeHighlightId:r,overviewRulerDecorationId:a}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(i=>{i.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class Mw extends a8{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=p("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,H.None}provideWithTextEditor(e,t,i){const n=e.editor,s=new Q;s.add(t.onDidAccept(l=>{const[c]=t.selectedItems;if(c){if(!this.isValidLineNumber(n,c.lineNumber))return;this.gotoLocation(e,{range:this.toRange(c.lineNumber,c.column),keyMods:t.keyMods,preserveFocus:l.inBackground}),l.inBackground||t.hide()}}));const r=()=>{const l=this.parsePosition(n,t.value.trim().substr(Mw.PREFIX.length)),c=this.getPickLabel(n,l.lineNumber,l.column);if(t.items=[{lineNumber:l.lineNumber,column:l.column,label:c}],t.ariaLabel=c,!this.isValidLineNumber(n,l.lineNumber)){this.clearDecorations(n);return}const d=this.toRange(l.lineNumber,l.column);n.revealRangeInCenter(d,0),this.addDecorations(n,d)};r(),s.add(t.onDidChangeValue(()=>r()));const a=u3(n);return a&&a.getOptions().get(62).renderType===2&&(a.updateOptions({lineNumbers:"on"}),s.add(Be(()=>a.updateOptions({lineNumbers:"relative"})))),s}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const i=t.split(/,|:|#/).map(s=>parseInt(s,10)).filter(s=>!isNaN(s)),n=this.lineCount(e)+1;return{lineNumber:i[0]>0?i[0]:n+i[0],column:i[1]}}getPickLabel(e,t,i){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,i)?p("gotoLineColumnLabel","Go to line {0} and character {1}.",t,i):p("gotoLineLabel","Go to line {0}.",t);const n=e.getPosition()||{lineNumber:1,column:1},s=this.lineCount(e);return s>1?p("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",n.lineNumber,n.column,s):p("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",n.lineNumber,n.column)}isValidLineNumber(e,t){return!t||typeof t!="number"?!1:t>0&&t<=this.lineCount(e)}isValidColumn(e,t,i){if(!i||typeof i!="number")return!1;const n=this.getModel(e);if(!n)return!1;const s={lineNumber:t,column:i};return n.validatePosition(s).equals(s)}lineCount(e){var t,i;return(i=(t=this.getModel(e))===null||t===void 0?void 0:t.getLineCount())!==null&&i!==void 0?i:0}}Mw.PREFIX=":";var qhe=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Ghe=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let Jm=class extends Mw{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=ge.None}get activeTextEditorControl(){return Wn(this.editorService.getFocusedCodeEditor())}};Jm=qhe([Ghe(0,ct)],Jm);class V_ extends ce{constructor(){super({id:V_.ID,label:qv.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:N.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(dl).quickAccess.show(Jm.PREFIX)}}V_.ID="editor.action.gotoLine";ie(V_);zt.as(yh.Quickaccess).registerQuickAccessProvider({ctor:Jm,prefix:Jm.PREFIX,helpEntries:[{description:qv.gotoLineActionLabel,commandId:V_.ID}]});const l8=[void 0,[]];function Fy(o,e,t=0,i=0){const n=e;return n.values&&n.values.length>1?Zhe(o,n.values,t,i):c8(o,e,t,i)}function Zhe(o,e,t,i){let n=0;const s=[];for(const r of e){const[a,l]=c8(o,r,t,i);if(typeof a!="number")return l8;n+=a,s.push(...l)}return[n,Yhe(s)]}function c8(o,e,t,i){const n=mg(e.original,e.originalLowercase,t,o,o.toLowerCase(),i,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return n?[n[0],E1(n)]:l8}Object.freeze({score:0});function Yhe(o){const e=o.sort((n,s)=>n.start-s.start),t=[];let i;for(const n of e)!i||!Qhe(i,n)?(i=n,t.push(n)):(i.start=Math.min(i.start,n.start),i.end=Math.max(i.end,n.end));return t}function Qhe(o,e){return!(o.end=0,r=LO(o);let a;const l=o.split(d8);if(l.length>1)for(const c of l){const d=LO(c),{pathNormalized:h,normalized:u,normalizedLowercase:g}=DO(c);u&&(a||(a=[]),a.push({original:c,originalLowercase:c.toLowerCase(),pathNormalized:h,normalized:u,normalizedLowercase:g,expectContiguousMatch:d}))}return{original:o,originalLowercase:e,pathNormalized:t,normalized:i,normalizedLowercase:n,values:a,containsPathSeparator:s,expectContiguousMatch:r}}function DO(o){let e;Yi?e=o.replace(/\//g,Br):e=o.replace(/\\/g,Br);const t=uB(e).replace(/\s|"/g,"");return{pathNormalized:e,normalized:t,normalizedLowercase:t.toLowerCase()}}function kO(o){return Array.isArray(o)?eI(o.map(e=>e.original).join(d8)):eI(o.original)}var Xhe=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},xO=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},Wf=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};let Co=class tI extends a8{constructor(e,t,i=Object.create(null)){super(i),this._languageFeaturesService=e,this._outlineModelService=t,this.options=i,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,p("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),H.None}provideWithTextEditor(e,t,i){const n=e.editor,s=this.getModel(n);return s?this._languageFeaturesService.documentSymbolProvider.has(s)?this.doProvideWithEditorSymbols(e,s,t,i):this.doProvideWithoutEditorSymbols(e,s,t,i):H.None}doProvideWithoutEditorSymbols(e,t,i,n){const s=new Q;return this.provideLabelPick(i,p("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),Wf(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(t,s))||n.isCancellationRequested||s.add(this.doProvideWithEditorSymbols(e,t,i,n))}),s}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return Wf(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(e))return!0;const i=new RI,n=t.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(e)&&(n.dispose(),i.complete(!0))}));return t.add(Be(()=>i.complete(!1))),i.p})}doProvideWithEditorSymbols(e,t,i,n){var s;const r=e.editor,a=new Q;a.add(i.onDidAccept(u=>{const[g]=i.selectedItems;g&&g.range&&(this.gotoLocation(e,{range:g.range.selection,keyMods:i.keyMods,preserveFocus:u.inBackground}),u.inBackground||i.hide())})),a.add(i.onDidTriggerItemButton(({item:u})=>{u&&u.range&&(this.gotoLocation(e,{range:u.range.selection,keyMods:i.keyMods,forceSideBySide:!0}),i.hide())}));const l=this.getDocumentSymbols(t,n);let c;const d=u=>Wf(this,void 0,void 0,function*(){c==null||c.dispose(!0),i.busy=!1,c=new Qi(n),i.busy=!0;try{const g=eI(i.value.substr(tI.PREFIX.length).trim()),f=yield this.doGetSymbolPicks(l,g,void 0,c.token);if(n.isCancellationRequested)return;if(f.length>0){if(i.items=f,u&&g.original.length===0){const _=j0(f,b=>Boolean(b.type!=="separator"&&b.range&&L.containsPosition(b.range.decoration,u)));_&&(i.activeItems=[_])}}else g.original.length>0?this.provideLabelPick(i,p("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(i,p("noSymbolResults","No editor symbols"))}finally{n.isCancellationRequested||(i.busy=!1)}});a.add(i.onDidChangeValue(()=>d(void 0))),d((s=r.getSelection())===null||s===void 0?void 0:s.getPosition());let h=2;return a.add(i.onDidChangeActive(()=>{const[u]=i.activeItems;if(u&&u.range){if(h-- >0)return;r.revealRangeInCenter(u.range.selection,0),this.addDecorations(r,u.range.decoration)}})),a}doGetSymbolPicks(e,t,i,n){return Wf(this,void 0,void 0,function*(){const s=yield e;if(n.isCancellationRequested)return[];const r=t.original.indexOf(tI.SCOPE_PREFIX)===0,a=r?1:0;let l,c;t.values&&t.values.length>1?(l=kO(t.values[0]),c=kO(t.values.slice(1))):l=t;const d=[];for(let g=0;ga){let D=!1;if(l!==t&&([w,S]=Fy(b,Object.assign(Object.assign({},t),{values:void 0}),a,v),typeof w=="number"&&(D=!0)),typeof w!="number"&&([w,S]=Fy(b,l,a,v),typeof w!="number"))continue;if(!D&&c){if(C&&c.original.length>0&&([k,x]=Fy(C,c)),typeof k!="number")continue;typeof w=="number"&&(w+=k)}}const y=f.tags&&f.tags.indexOf(1)>=0;d.push({index:g,kind:f.kind,score:w,label:b,ariaLabel:_,description:C,highlights:y?void 0:{label:S,description:x},range:{selection:L.collapseToStart(f.selectionRange),decoration:f.range},strikethrough:y,buttons:(()=>{var D,I;const O=!((D=this.options)===null||D===void 0)&&D.openSideBySideDirection?(I=this.options)===null||I===void 0?void 0:I.openSideBySideDirection():void 0;if(!!O)return[{iconClass:O==="right"?m.splitHorizontal.classNames:m.splitVertical.classNames,tooltip:O==="right"?p("openToSide","Open to the Side"):p("openToBottom","Open to the Bottom")}]})()})}const h=d.sort((g,f)=>r?this.compareByKindAndScore(g,f):this.compareByScore(g,f));let u=[];if(r){let b=function(){f&&typeof g=="number"&&_>0&&(f.label=Vs(Wy[g]||By,_))},g,f,_=0;for(const v of h)g!==v.kind?(b(),g=v.kind,_=1,f={type:"separator"},u.push(f)):_++,u.push(v);b()}else h.length>0&&(u=[{label:p("symbols","symbols ({0})",d.length),type:"separator"},...h]);return u})}compareByScore(e,t){if(typeof e.score!="number"&&typeof t.score=="number")return 1;if(typeof e.score=="number"&&typeof t.score!="number")return-1;if(typeof e.score=="number"&&typeof t.score=="number"){if(e.score>t.score)return-1;if(e.scoret.index?1:0}compareByKindAndScore(e,t){const i=Wy[e.kind]||By,n=Wy[t.kind]||By,s=i.localeCompare(n);return s===0?this.compareByScore(e,t):s}getDocumentSymbols(e,t){return Wf(this,void 0,void 0,function*(){const i=yield this._outlineModelService.getOrCreate(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()})}};Co.PREFIX="@";Co.SCOPE_PREFIX=":";Co.PREFIX_BY_CATEGORY=`${Co.PREFIX}${Co.SCOPE_PREFIX}`;Co=Xhe([xO(0,de),xO(1,pw)],Co);const By=p("property","properties ({0})"),Wy={[5]:p("method","methods ({0})"),[11]:p("function","functions ({0})"),[8]:p("_constructor","constructors ({0})"),[12]:p("variable","variables ({0})"),[4]:p("class","classes ({0})"),[22]:p("struct","structs ({0})"),[23]:p("event","events ({0})"),[24]:p("operator","operators ({0})"),[10]:p("interface","interfaces ({0})"),[2]:p("namespace","namespaces ({0})"),[3]:p("package","packages ({0})"),[25]:p("typeParameter","type parameters ({0})"),[1]:p("modules","modules ({0})"),[6]:p("property","properties ({0})"),[9]:p("enum","enumerations ({0})"),[21]:p("enumMember","enumeration members ({0})"),[14]:p("string","strings ({0})"),[0]:p("file","files ({0})"),[17]:p("array","arrays ({0})"),[15]:p("number","numbers ({0})"),[16]:p("boolean","booleans ({0})"),[18]:p("object","objects ({0})"),[19]:p("key","keys ({0})"),[7]:p("field","fields ({0})"),[13]:p("constant","constants ({0})")};var Jhe=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Vy=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let iI=class extends Co{constructor(e,t,i){super(t,i),this.editorService=e,this.onDidActiveTextEditorControlChange=ge.None}get activeTextEditorControl(){return Wn(this.editorService.getFocusedCodeEditor())}};iI=Jhe([Vy(0,ct),Vy(1,de),Vy(2,pw)],iI);class H_ extends ce{constructor(){super({id:H_.ID,label:bm.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:N.hasDocumentSymbolProvider,kbOpts:{kbExpr:N.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(dl).quickAccess.show(Co.PREFIX)}}H_.ID="editor.action.quickOutline";ie(H_);zt.as(yh.Quickaccess).registerQuickAccessProvider({ctor:iI,prefix:Co.PREFIX,helpEntries:[{description:bm.quickOutlineActionLabel,prefix:Co.PREFIX,commandId:H_.ID},{description:bm.quickOutlineByCategoryActionLabel,prefix:Co.PREFIX_BY_CATEGORY}]});function Hy(o,e){return e&&(o.stack||o.stacktrace)?p("stackTrace.format","{0}: {1}",EO(o),IO(o.stack)||IO(o.stacktrace)):EO(o)}function IO(o){return Array.isArray(o)?o.join(` `):o}function EO(o){return typeof o.code=="string"&&typeof o.errno=="number"&&typeof o.syscall=="string"?p("nodeExceptionMessage","A system error occurred ({0})",o.message):o.message||p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function h8(o=null,e=!1){if(!o)return p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(o)){const t=i_(o),i=h8(t[0],e);return t.length>1?p("error.moreErrors","{0} ({1} errors in total)",i,t.length):i}if(Un(o))return o;if(o.detail){const t=o.detail;if(t.error)return Hy(t.error,e);if(t.exception)return Hy(t.exception,e)}return o.stack?Hy(o,e):o.message?o.message:p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var d0=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})},Iu;(function(o){o[o.NO_ACTION=0]="NO_ACTION",o[o.CLOSE_PICKER=1]="CLOSE_PICKER",o[o.REFRESH_PICKER=2]="REFRESH_PICKER",o[o.REMOVE_ITEM=3]="REMOVE_ITEM"})(Iu||(Iu={}));function zy(o){const e=o;return Array.isArray(e.items)}function eue(o){const e=o;return!!e.picks&&e.additionalPicks instanceof Promise}class Rw extends H{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const n=new Q;e.canAcceptInBackground=!!(!((i=this.options)===null||i===void 0)&&i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let s;const r=n.add(new _n),a=()=>d0(this,void 0,void 0,function*(){const l=r.value=new Q;s==null||s.dispose(!0),e.busy=!1,s=new Qi(t);const c=s.token,d=e.value.substr(this.prefix.length).trim(),h=this._getPicks(d,l,c),u=(g,f)=>{var _;let b,v;if(zy(g)?(b=g.items,v=g.active):b=g,b.length===0){if(f)return!1;d.length>0&&((_=this.options)===null||_===void 0?void 0:_.noResultsPick)&&(b=[this.options.noResultsPick])}return e.items=b,v&&(e.activeItems=[v]),!0};if(h!==null)if(eue(h)){let g=!1,f=!1;yield Promise.all([(()=>d0(this,void 0,void 0,function*(){yield sc(Rw.FAST_PICKS_RACE_DELAY),!c.isCancellationRequested&&(f||(g=u(h.picks,!0)))}))(),(()=>d0(this,void 0,void 0,function*(){e.busy=!0;try{const _=yield h.additionalPicks;if(c.isCancellationRequested)return;let b,v;zy(h.picks)?(b=h.picks.items,v=h.picks.active):b=h.picks;let C,w;if(zy(_)?(C=_.items,w=_.active):C=_,C.length>0||!g){let S;if(!v&&!w){const k=e.activeItems[0];k&&b.indexOf(k)!==-1&&(S=k)}u({items:[...b,...C],active:v||w||S})}}finally{c.isCancellationRequested||(e.busy=!1),f=!0}}))()])}else if(!(h instanceof Promise))u(h);else{e.busy=!0;try{const g=yield h;if(c.isCancellationRequested)return;u(g)}finally{c.isCancellationRequested||(e.busy=!1)}}});return n.add(e.onDidChangeValue(()=>a())),a(),n.add(e.onDidAccept(l=>{const[c]=e.selectedItems;typeof(c==null?void 0:c.accept)=="function"&&(l.inBackground||e.hide(),c.accept(e.keyMods,l))})),n.add(e.onDidTriggerItemButton(({button:l,item:c})=>d0(this,void 0,void 0,function*(){var d,h;if(typeof c.trigger=="function"){const u=(h=(d=c.buttons)===null||d===void 0?void 0:d.indexOf(l))!==null&&h!==void 0?h:-1;if(u>=0){const g=c.trigger(u,e.keyMods),f=typeof g=="number"?g:yield g;if(t.isCancellationRequested)return;switch(f){case Iu.NO_ACTION:break;case Iu.CLOSE_PICKER:e.hide();break;case Iu.REFRESH_PICKER:a();break;case Iu.REMOVE_ITEM:{const _=e.items.indexOf(c);if(_!==-1){const b=e.items.slice(),v=b.splice(_,1),C=e.activeItems.filter(S=>S!==v[0]),w=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=b,C&&(e.activeItems=C),e.keepScrollPosition=w}break}}}}}))),n}}Rw.FAST_PICKS_RACE_DELAY=200;var u8=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},nd=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},NO=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};let e_=class z0 extends Rw{constructor(e,t,i,n,s,r){super(z0.PREFIX,e),this.instantiationService=t,this.keybindingService=i,this.commandService=n,this.telemetryService=s,this.dialogService=r,this.commandsHistory=this._register(this.instantiationService.createInstance(hh)),this.options=e}_getPicks(e,t,i){return NO(this,void 0,void 0,function*(){const n=yield this.getCommandPicks(t,i);if(i.isCancellationRequested)return[];const s=[];for(const c of n){const d=Wn(z0.WORD_FILTER(e,c.label)),h=c.commandAlias?Wn(z0.WORD_FILTER(e,c.commandAlias)):void 0;d||h?(c.highlights={label:d,detail:this.options.showAlias?h:void 0},s.push(c)):e===c.commandId&&s.push(c)}const r=new Map;for(const c of s){const d=r.get(c.label);d?(c.description=c.commandId,d.description=d.commandId):r.set(c.label,c)}s.sort((c,d)=>{const h=this.commandsHistory.peek(c.commandId),u=this.commandsHistory.peek(d.commandId);return h&&u?h>u?-1:1:h?-1:u?1:c.label.localeCompare(d.label)});const a=[];let l=!1;for(let c=0;cNO(this,void 0,void 0,function*(){this.commandsHistory.push(d.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:"quick open"});try{yield this.commandService.executeCommand(d.commandId)}catch(g){ea(g)||this.dialogService.show(Bt.Error,p("canNotRun","Command '{0}' resulted in an error ({1})",d.label,h8(g)))}})}))}return a})}};e_.PREFIX=">";e_.WORD_FILTER=WE(x1,JG,T5);e_=u8([nd(1,Ae),nd(2,_i),nd(3,ci),nd(4,sr),nd(5,b_)],e_);let hh=class Ii extends H{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=Ii.getConfiguredCommandHistoryLength(this.configurationService),Ii.cache&&Ii.cache.limit!==this.configuredCommandsHistoryLength&&(Ii.cache.limit=this.configuredCommandsHistoryLength,Ii.saveState(this.storageService))}load(){const e=this.storageService.get(Ii.PREF_KEY_CACHE,0);let t;if(e)try{t=JSON.parse(e)}catch{}const i=Ii.cache=new Dc(this.configuredCommandsHistoryLength,1);if(t){let n;t.usesLRU?n=t.entries:n=t.entries.sort((s,r)=>s.value-r.value),n.forEach(s=>i.set(s.key,s.value))}Ii.counter=this.storageService.getNumber(Ii.PREF_KEY_COUNTER,0,Ii.counter)}push(e){!Ii.cache||(Ii.cache.set(e,Ii.counter++),Ii.saveState(this.storageService))}peek(e){var t;return(t=Ii.cache)===null||t===void 0?void 0:t.peek(e)}static saveState(e){if(!Ii.cache)return;const t={usesLRU:!0,entries:[]};Ii.cache.forEach((i,n)=>t.entries.push({key:n,value:i})),e.store(Ii.PREF_KEY_CACHE,JSON.stringify(t),0,0),e.store(Ii.PREF_KEY_COUNTER,Ii.counter,0,0)}static getConfiguredCommandHistoryLength(e){var t,i;const s=(i=(t=e.getValue().workbench)===null||t===void 0?void 0:t.commandPalette)===null||i===void 0?void 0:i.history;return typeof s=="number"?s:Ii.DEFAULT_COMMANDS_HISTORY_LENGTH}};hh.DEFAULT_COMMANDS_HISTORY_LENGTH=50;hh.PREF_KEY_CACHE="commandPalette.mru.cache";hh.PREF_KEY_COUNTER="commandPalette.mru.counter";hh.counter=1;hh=u8([nd(0,Do),nd(1,ot)],hh);class tue extends e_{constructor(e,t,i,n,s,r){super(e,t,i,n,s,r)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:KE(i.label)||i.id});return t}}var iue=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Qh=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}},nue=globalThis&&globalThis.__awaiter||function(o,e,t,i){function n(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function a(d){try{c(i.next(d))}catch(h){r(h)}}function l(d){try{c(i.throw(d))}catch(h){r(h)}}function c(d){d.done?s(d.value):n(d.value).then(a,l)}c((i=i.apply(o,e||[])).next())})};let t_=class extends tue{constructor(e,t,i,n,s,r){super({showAlias:!1},e,i,n,s,r),this.codeEditorService=t}get activeTextEditorControl(){return Wn(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return nue(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};t_=iue([Qh(0,Ae),Qh(1,ct),Qh(2,_i),Qh(3,ci),Qh(4,sr),Qh(5,b_)],t_);class z_ extends ce{constructor(){super({id:z_.ID,label:Gv.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:N.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(dl).quickAccess.show(t_.PREFIX)}}z_.ID="editor.action.quickCommand";ie(z_);zt.as(yh.Quickaccess).registerQuickAccessProvider({ctor:t_,prefix:t_.PREFIX,helpEntries:[{description:Gv.quickCommandHelp,commandId:z_.ID}]});var sue=globalThis&&globalThis.__decorate||function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Xh=globalThis&&globalThis.__param||function(o,e){return function(t,i){e(t,i,o)}};let nI=class extends mc{constructor(e,t,i,n,s,r,a){super(!0,e,t,i,n,s,r,a)}};nI=sue([Xh(1,Ee),Xh(2,ct),Xh(3,di),Xh(4,Ae),Xh(5,Do),Xh(6,ot)],nI);tt(mc.ID,nI);class oue extends ce{constructor(){super({id:"editor.action.toggleHighContrast",label:$D.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const i=e.get(Es),n=i.getColorTheme();cn(n.type)?(i.setTheme(this._originalThemeName||(Xp(n.type)?Ku:Ra)),this._originalThemeName=null):(i.setTheme(Xp(n.type)?Sd:yd),this._originalThemeName=n.themeName)}}ie(oue);export{yte as C,Lte as E,Dte as K,Tte as M,xte as P,Ite as R,Ete as S,Rte as T,Mte as U,kte as a,Nte as b,Ate as c,Ote as e,Pte as l,D_ as m,T3 as t}; -//# sourceMappingURL=toggleHighContrast.aa328f74.js.map +//# sourceMappingURL=toggleHighContrast.4c55b574.js.map diff --git a/abstra_statics/dist/assets/tsMode.9024c232.js b/abstra_statics/dist/assets/tsMode.63a1c911.js similarity index 98% rename from abstra_statics/dist/assets/tsMode.9024c232.js rename to abstra_statics/dist/assets/tsMode.63a1c911.js index 9931cda51a..2a194ebf39 100644 --- a/abstra_statics/dist/assets/tsMode.9024c232.js +++ b/abstra_statics/dist/assets/tsMode.63a1c911.js @@ -1,4 +1,4 @@ -var M=Object.defineProperty;var K=(e,t,r)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(K(e,typeof t!="symbol"?t+"":t,r),r);import{t as R,m as E}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="20d12316-fa28-4bc9-afdd-86f24482536d",e._sentryDebugIdIdentifier="sentry-dbid-20d12316-fa28-4bc9-afdd-86f24482536d")}catch{}})();/*!----------------------------------------------------------------------------- +var M=Object.defineProperty;var K=(e,t,r)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(K(e,typeof t!="symbol"?t+"":t,r),r);import{t as R,m as E}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7f2a5dec-2cf5-448e-8f1e-bc37c3cc8ea3",e._sentryDebugIdIdentifier="sentry-dbid-7f2a5dec-2cf5-448e-8f1e-bc37c3cc8ea3")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license @@ -14,4 +14,4 @@ ${O(r)}`;return t}};function O(e){let t=`*@${e.name}*`;if(e.name==="param"&&e.te `+n:"")}]}}},J=class extends w{async provideDocumentHighlights(e,t,r){const s=e.uri,a=e.getOffsetAt(t),u=await this._worker(s);if(e.isDisposed())return;const c=await u.getOccurrencesAtPosition(s.toString(),a);if(!(!c||e.isDisposed()))return c.map(g=>({range:this._textSpanToRange(e,g.textSpan),kind:g.isWriteAccess?i.languages.DocumentHighlightKind.Write:i.languages.DocumentHighlightKind.Text}))}},Q=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,r){const s=e.uri,a=e.getOffsetAt(t),u=await this._worker(s);if(e.isDisposed())return;const c=await u.getDefinitionAtPosition(s.toString(),a);if(!c||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(c.map(n=>i.Uri.parse(n.fileName))),e.isDisposed()))return;const g=[];for(let n of c){const p=this._libFiles.getOrCreateModel(n.fileName);p&&g.push({uri:p.uri,range:this._textSpanToRange(p,n.textSpan)})}return g}},q=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,r,s){const a=e.uri,u=e.getOffsetAt(t),c=await this._worker(a);if(e.isDisposed())return;const g=await c.getReferencesAtPosition(a.toString(),u);if(!g||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(g.map(p=>i.Uri.parse(p.fileName))),e.isDisposed()))return;const n=[];for(let p of g){const d=this._libFiles.getOrCreateModel(p.fileName);d&&n.push({uri:d.uri,range:this._textSpanToRange(d,p.textSpan)})}return n}},X=class extends w{async provideDocumentSymbols(e,t){const r=e.uri,s=await this._worker(r);if(e.isDisposed())return;const a=await s.getNavigationBarItems(r.toString());if(!a||e.isDisposed())return;const u=(g,n,p)=>{let d={name:n.text,detail:"",kind:m[n.kind]||i.languages.SymbolKind.Variable,range:this._textSpanToRange(e,n.spans[0]),selectionRange:this._textSpanToRange(e,n.spans[0]),tags:[]};if(p&&(d.containerName=p),n.childItems&&n.childItems.length>0)for(let f of n.childItems)u(g,f,d.name);g.push(d)};let c=[];return a.forEach(g=>u(c,g)),c}},l=class{};b(l,"unknown","");b(l,"keyword","keyword");b(l,"script","script");b(l,"module","module");b(l,"class","class");b(l,"interface","interface");b(l,"type","type");b(l,"enum","enum");b(l,"variable","var");b(l,"localVariable","local var");b(l,"function","function");b(l,"localFunction","local function");b(l,"memberFunction","method");b(l,"memberGetAccessor","getter");b(l,"memberSetAccessor","setter");b(l,"memberVariable","property");b(l,"constructorImplementation","constructor");b(l,"callSignature","call");b(l,"indexSignature","index");b(l,"constructSignature","construct");b(l,"parameter","parameter");b(l,"typeParameter","type parameter");b(l,"primitiveType","primitive type");b(l,"label","label");b(l,"alias","alias");b(l,"const","const");b(l,"let","let");b(l,"warning","warning");var m=Object.create(null);m[l.module]=i.languages.SymbolKind.Module;m[l.class]=i.languages.SymbolKind.Class;m[l.enum]=i.languages.SymbolKind.Enum;m[l.interface]=i.languages.SymbolKind.Interface;m[l.memberFunction]=i.languages.SymbolKind.Method;m[l.memberVariable]=i.languages.SymbolKind.Property;m[l.memberGetAccessor]=i.languages.SymbolKind.Property;m[l.memberSetAccessor]=i.languages.SymbolKind.Property;m[l.variable]=i.languages.SymbolKind.Variable;m[l.const]=i.languages.SymbolKind.Variable;m[l.localVariable]=i.languages.SymbolKind.Variable;m[l.variable]=i.languages.SymbolKind.Variable;m[l.function]=i.languages.SymbolKind.Function;m[l.localFunction]=i.languages.SymbolKind.Function;var S=class extends w{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:` `,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},Y=class extends S{async provideDocumentRangeFormattingEdits(e,t,r,s){const a=e.uri,u=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),g=await this._worker(a);if(e.isDisposed())return;const n=await g.getFormattingEditsForRange(a.toString(),u,c,S._convertOptions(r));if(!(!n||e.isDisposed()))return n.map(p=>this._convertTextChanges(e,p))}},Z=class extends S{get autoFormatTriggerCharacters(){return[";","}",` `]}async provideOnTypeFormattingEdits(e,t,r,s,a){const u=e.uri,c=e.getOffsetAt(t),g=await this._worker(u);if(e.isDisposed())return;const n=await g.getFormattingEditsAfterKeystroke(u.toString(),c,r,S._convertOptions(s));if(!(!n||e.isDisposed()))return n.map(p=>this._convertTextChanges(e,p))}},ee=class extends S{async provideCodeActions(e,t,r,s){const a=e.uri,u=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),g=S._convertOptions(e.getOptions()),n=r.markers.filter(h=>h.code).map(h=>h.code).map(Number),p=await this._worker(a);if(e.isDisposed())return;const d=await p.getCodeFixesAtPosition(a.toString(),u,c,n,g);return!d||e.isDisposed()?{actions:[],dispose:()=>{}}:{actions:d.filter(h=>h.changes.filter(y=>y.isNewFile).length===0).map(h=>this._tsCodeFixActionToMonacoCodeAction(e,r,h)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,r){const s=[];for(const u of r.changes)for(const c of u.textChanges)s.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,c.span),text:c.newText}});return{title:r.description,edit:{edits:s},diagnostics:t.markers,kind:"quickfix"}}},te=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,r,s){const a=e.uri,u=a.toString(),c=e.getOffsetAt(t),g=await this._worker(a);if(e.isDisposed())return;const n=await g.getRenameInfo(u,c,{allowRenameOfImportPath:!1});if(n.canRename===!1)return{edits:[],rejectReason:n.localizedErrorMessage};if(n.fileToRename!==void 0)throw new Error("Renaming files is not supported.");const p=await g.findRenameLocations(u,c,!1,!1,!1);if(!p||e.isDisposed())return;const d=[];for(const f of p){const h=this._libFiles.getOrCreateModel(f.fileName);if(h)d.push({resource:h.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(h,f.textSpan),text:r}});else throw new Error(`Unknown file ${f.fileName}.`)}return{edits:d}}},re=class extends w{async provideInlayHints(e,t,r){const s=e.uri,a=s.toString(),u=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),g=await this._worker(s);return e.isDisposed()?null:{hints:(await g.provideInlayHints(a,u,c)).map(d=>({...d,label:d.text,position:e.getPositionAt(d.position),kind:this._convertHintKind(d.kind)})),dispose:()=>{}}}_convertHintKind(e){switch(e){case"Parameter":return i.languages.InlayHintKind.Parameter;case"Type":return i.languages.InlayHintKind.Type;default:return i.languages.InlayHintKind.Type}}},A,L;function ae(e){L=N(e,"typescript")}function oe(e){A=N(e,"javascript")}function le(){return new Promise((e,t)=>{if(!A)return t("JavaScript not registered!");e(A)})}function ce(){return new Promise((e,t)=>{if(!L)return t("TypeScript not registered!");e(L)})}function N(e,t){const r=new U(t,e),s=(...u)=>r.getLanguageServiceWorker(...u),a=new $(s);return i.languages.registerCompletionItemProvider(t,new D(s)),i.languages.registerSignatureHelpProvider(t,new I(s)),i.languages.registerHoverProvider(t,new G(s)),i.languages.registerDocumentHighlightProvider(t,new J(s)),i.languages.registerDefinitionProvider(t,new Q(a,s)),i.languages.registerReferenceProvider(t,new q(a,s)),i.languages.registerDocumentSymbolProvider(t,new X(s)),i.languages.registerDocumentRangeFormattingEditProvider(t,new Y(s)),i.languages.registerOnTypeFormattingEditProvider(t,new Z(s)),i.languages.registerCodeActionProvider(t,new ee(s)),i.languages.registerRenameProvider(t,new te(a,s)),i.languages.registerInlayHintsProvider(t,new re(s)),new z(a,e,t,s),s}export{w as Adapter,ee as CodeActionAdaptor,Q as DefinitionAdapter,z as DiagnosticsAdapter,Y as FormatAdapter,S as FormatHelper,Z as FormatOnTypeAdapter,re as InlayHintsAdapter,l as Kind,$ as LibFiles,J as OccurrencesAdapter,X as OutlineAdapter,G as QuickInfoAdapter,q as ReferenceAdapter,te as RenameAdapter,I as SignatureHelpAdapter,D as SuggestAdapter,U as WorkerManager,F as flattenDiagnosticMessageText,le as getJavaScriptWorker,ce as getTypeScriptWorker,oe as setupJavaScript,ae as setupTypeScript}; -//# sourceMappingURL=tsMode.9024c232.js.map +//# sourceMappingURL=tsMode.63a1c911.js.map diff --git a/abstra_statics/dist/assets/typescript.a997000e.js b/abstra_statics/dist/assets/typescript.538140e2.js similarity index 91% rename from abstra_statics/dist/assets/typescript.a997000e.js rename to abstra_statics/dist/assets/typescript.538140e2.js index f5e2d0ca92..9f91913a13 100644 --- a/abstra_statics/dist/assets/typescript.a997000e.js +++ b/abstra_statics/dist/assets/typescript.538140e2.js @@ -1,7 +1,7 @@ -import{m as a}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ee089682-500b-4b94-8f60-26a7e61108e6",t._sentryDebugIdIdentifier="sentry-dbid-ee089682-500b-4b94-8f60-26a7e61108e6")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as c}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="1caa1dcc-c1c0-47b7-81b6-0f02741047c1",t._sentryDebugIdIdentifier="sentry-dbid-1caa1dcc-c1c0-47b7-81b6-0f02741047c1")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,s=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of g(e))!d.call(t,r)&&r!==n&&c(t,r,{get:()=>e[r],enumerable:!(i=p(e,r))||i.enumerable});return t},l=(t,e,n)=>(s(t,e,"default"),n&&s(n,e,"default")),o={};l(o,a);var u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},f={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};export{u as conf,f as language}; -//# sourceMappingURL=typescript.a997000e.js.map + *-----------------------------------------------------------------------------*/var a=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,s=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of g(e))!d.call(t,r)&&r!==n&&a(t,r,{get:()=>e[r],enumerable:!(i=p(e,r))||i.enumerable});return t},l=(t,e,n)=>(s(t,e,"default"),n&&s(n,e,"default")),o={};l(o,c);var u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},f={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};export{u as conf,f as language}; +//# sourceMappingURL=typescript.538140e2.js.map diff --git a/abstra_statics/dist/assets/url.1a1c4e74.js b/abstra_statics/dist/assets/url.1a1c4e74.js new file mode 100644 index 0000000000..046eef083a --- /dev/null +++ b/abstra_statics/dist/assets/url.1a1c4e74.js @@ -0,0 +1,2 @@ +import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="594fddf8-4904-4246-b1c3-88aff117ac8b",e._sentryDebugIdIdentifier="sentry-dbid-594fddf8-4904-4246-b1c3-88aff117ac8b")}catch{}})();const f=e=>{try{return new URL(e),!0}catch{return!1}},d=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([s,a])=>{t.searchParams.delete(s),n.set(s,a)}),`${t.origin}${t.pathname}?${n.toString()}`};export{f as i,d as m}; +//# sourceMappingURL=url.1a1c4e74.js.map diff --git a/abstra_statics/dist/assets/url.b6644346.js b/abstra_statics/dist/assets/url.b6644346.js deleted file mode 100644 index aced48468b..0000000000 --- a/abstra_statics/dist/assets/url.b6644346.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0647d1e7-ca0b-4fe7-9c49-e1ee8b458a01",e._sentryDebugIdIdentifier="sentry-dbid-0647d1e7-ca0b-4fe7-9c49-e1ee8b458a01")}catch{}})();const d=e=>{try{return new URL(e),!0}catch{return!1}},o=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([s,a])=>{t.searchParams.delete(s),n.set(s,a)}),`${t.origin}${t.pathname}?${n.toString()}`};export{d as i,o as m}; -//# sourceMappingURL=url.b6644346.js.map diff --git a/abstra_statics/dist/assets/utils.3ec7e4d1.js b/abstra_statics/dist/assets/utils.3ec7e4d1.js deleted file mode 100644 index 1defe57cd1..0000000000 --- a/abstra_statics/dist/assets/utils.3ec7e4d1.js +++ /dev/null @@ -1,4 +0,0 @@ -import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="f8c01b80-d3e6-4d1d-aaaa-bf1b6c4d2daf",e._sentryDebugIdIdentifier="sentry-dbid-f8c01b80-d3e6-4d1d-aaaa-bf1b6c4d2daf")}catch{}})();const t=e=>{let d=e.columns.join(",")+` -`;e.rows.forEach(a=>{d+=a.join(","),d+=` -`});const n=document.createElement("a");n.href="data:text/csv;charset=utf-8,"+encodeURIComponent(d),n.target="_blank",n.download=`${e.fileName}.csv`,n.click()};export{t as d}; -//# sourceMappingURL=utils.3ec7e4d1.js.map diff --git a/abstra_statics/dist/assets/utils.6b974807.js b/abstra_statics/dist/assets/utils.6b974807.js new file mode 100644 index 0000000000..1a8ef0322e --- /dev/null +++ b/abstra_statics/dist/assets/utils.6b974807.js @@ -0,0 +1,4 @@ +import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2f700910-e304-45f2-a54b-cdf88e8b1724",e._sentryDebugIdIdentifier="sentry-dbid-2f700910-e304-45f2-a54b-cdf88e8b1724")}catch{}})();const a=e=>{let n=e.columns.join(",")+` +`;e.rows.forEach(t=>{n+=t.join(","),n+=` +`});const o=document.createElement("a");o.href="data:text/csv;charset=utf-8,"+encodeURIComponent(n),o.target="_blank",o.download=`${e.fileName}.csv`,o.click()};export{a as d}; +//# sourceMappingURL=utils.6b974807.js.map diff --git a/abstra_statics/dist/assets/uuid.0acc5368.js b/abstra_statics/dist/assets/uuid.0acc5368.js deleted file mode 100644 index 7aba7e54a2..0000000000 --- a/abstra_statics/dist/assets/uuid.0acc5368.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.33f35a18.js";(function(){try{var x=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[e]="d9265826-1b73-454f-86e1-5b46239771e2",x._sentryDebugIdIdentifier="sentry-dbid-d9265826-1b73-454f-86e1-5b46239771e2")}catch{}})();const d=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(x){const e=Math.random()*16|0;return(x=="x"?e:e&3|8).toString(16)});export{d as u}; -//# sourceMappingURL=uuid.0acc5368.js.map diff --git a/abstra_statics/dist/assets/uuid.a06fb10a.js b/abstra_statics/dist/assets/uuid.a06fb10a.js new file mode 100644 index 0000000000..e039e9d1a5 --- /dev/null +++ b/abstra_statics/dist/assets/uuid.a06fb10a.js @@ -0,0 +1,2 @@ +import"./vue-router.324eaed2.js";(function(){try{var x=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[e]="b203e4f3-248c-46d7-b2df-c69e6ffb6f9f",x._sentryDebugIdIdentifier="sentry-dbid-b203e4f3-248c-46d7-b2df-c69e6ffb6f9f")}catch{}})();const t=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(x){const e=Math.random()*16|0;return(x=="x"?e:e&3|8).toString(16)});export{t as u}; +//# sourceMappingURL=uuid.a06fb10a.js.map diff --git a/abstra_statics/dist/assets/validations.64a1fba7.js b/abstra_statics/dist/assets/validations.339bcb94.js similarity index 72% rename from abstra_statics/dist/assets/validations.64a1fba7.js rename to abstra_statics/dist/assets/validations.339bcb94.js index b20c0f8ce8..7bd836fb11 100644 --- a/abstra_statics/dist/assets/validations.64a1fba7.js +++ b/abstra_statics/dist/assets/validations.339bcb94.js @@ -1,2 +1,2 @@ -import{n as t,a as s}from"./string.44188c83.js";import"./vue-router.33f35a18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f6799a88-a2f5-427f-a90c-6edf137fbd84",e._sentryDebugIdIdentifier="sentry-dbid-f6799a88-a2f5-427f-a90c-6edf137fbd84")}catch{}})();const o=["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","raise","return","try","while","with","yield"];function l(e){return e.replace(/\.py$/,"").trim().length===0?{valid:!1,reason:"File name cannot be empty"}:e.length>255?{valid:!1,reason:"File name cannot be longer than 255 characters"}:e.endsWith(".py")?{valid:!0}:{valid:!1,reason:"File name must end with .py"}}function m(e){if(!l(e).valid)throw new Error("Invalid filename");const a=e.slice(0,-3);return t(a,!0,!0,!0,!0)+".py"}function b(e){return t(e,!0,!0,!0,!0)+".py"}function d(e){return e.trim().length===0?{valid:!1,reason:"Variable name cannot be empty"}:/^[a-zA-Z_]/.test(e)?o.includes(e)?{valid:!1,reason:"Variable name cannot be a Python keyword"}:{valid:!0}:{valid:!1,reason:"Variable name must start with a letter or underscore"}}function p(e){const a=d(e);if(!a.valid)throw new Error(a.reason);return e.split(".").map(i=>t(i,!1,!0,!1)).join(".")}function f(e){return e.trim().length===0?{valid:!1,reason:"Path cannot be empty"}:{valid:!0}}function y(e){if(!f(e).valid)throw new Error("Invalid path");return e.split("/").filter(Boolean).map(r=>s(r)).join("/")}export{d as a,b,f as c,y as d,m as e,p as n,l as v}; -//# sourceMappingURL=validations.64a1fba7.js.map +import{n as t,a as s}from"./string.d698465c.js";import"./vue-router.324eaed2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3868220f-0082-4676-a87c-15be284b15bc",e._sentryDebugIdIdentifier="sentry-dbid-3868220f-0082-4676-a87c-15be284b15bc")}catch{}})();const o=["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","raise","return","try","while","with","yield"];function l(e){return e.replace(/\.py$/,"").trim().length===0?{valid:!1,reason:"File name cannot be empty"}:e.length>255?{valid:!1,reason:"File name cannot be longer than 255 characters"}:e.endsWith(".py")?{valid:!0}:{valid:!1,reason:"File name must end with .py"}}function m(e){if(!l(e).valid)throw new Error("Invalid filename");const a=e.slice(0,-3);return t(a,!0,!0,!0,!0)+".py"}function b(e){return t(e,!0,!0,!0,!0)+".py"}function d(e){return e.trim().length===0?{valid:!1,reason:"Variable name cannot be empty"}:/^[a-zA-Z_]/.test(e)?o.includes(e)?{valid:!1,reason:"Variable name cannot be a Python keyword"}:{valid:!0}:{valid:!1,reason:"Variable name must start with a letter or underscore"}}function p(e){const a=d(e);if(!a.valid)throw new Error(a.reason);return e.split(".").map(i=>t(i,!1,!0,!1)).join(".")}function u(e){return e.trim().length===0?{valid:!1,reason:"Path cannot be empty"}:{valid:!0}}function y(e){if(!u(e).valid)throw new Error("Invalid path");return e.split("/").filter(Boolean).map(r=>s(r)).join("/")}export{d as a,b,u as c,y as d,m as e,p as n,l as v}; +//# sourceMappingURL=validations.339bcb94.js.map diff --git a/abstra_statics/dist/assets/vue-quill.esm-bundler.53d1533d.js b/abstra_statics/dist/assets/vue-quill.esm-bundler.12350e13.js similarity index 99% rename from abstra_statics/dist/assets/vue-quill.esm-bundler.53d1533d.js rename to abstra_statics/dist/assets/vue-quill.esm-bundler.12350e13.js index b0a402caa5..72d7c98bae 100644 --- a/abstra_statics/dist/assets/vue-quill.esm-bundler.53d1533d.js +++ b/abstra_statics/dist/assets/vue-quill.esm-bundler.12350e13.js @@ -1,4 +1,4 @@ -import{eH as tr,eG as Tt,d as er,W as nr,aq as rr,e as Fn,g as Ln,p as ir,J as Un}from"./vue-router.33f35a18.js";(function(){try{var R=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},U=new Error().stack;U&&(R._sentryDebugIds=R._sentryDebugIds||{},R._sentryDebugIds[U]="916d9f77-5a0d-451f-bc2a-9e9408275dad",R._sentryDebugIdIdentifier="sentry-dbid-916d9f77-5a0d-451f-bc2a-9e9408275dad")}catch{}})();var Gn={exports:{}};/*! +import{eH as tr,eG as Tt,d as er,W as nr,aq as rr,e as Fn,g as Ln,p as ir,J as Un}from"./vue-router.324eaed2.js";(function(){try{var R=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},U=new Error().stack;U&&(R._sentryDebugIds=R._sentryDebugIds||{},R._sentryDebugIds[U]="3edc2a46-f8ae-4ce0-82dd-9a542c7ce64b",R._sentryDebugIdIdentifier="sentry-dbid-3edc2a46-f8ae-4ce0-82dd-9a542c7ce64b")}catch{}})();var Gn={exports:{}};/*! * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen @@ -52,4 +52,4 @@ import{eH as tr,eG as Tt,d as er,W as nr,aq as rr,e as Fn,g as Ln,p as ir,J as U */const $n={essential:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}],["blockquote","code-block","link"],[{color:[]},"clean"]],minimal:[[{header:1},{header:2}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}]],full:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["link","video","image"],["clean"]]},_r=er({name:"QuillEditor",inheritAttrs:!1,props:{content:{type:[String,Object]},contentType:{type:String,default:"delta",validator:R=>["delta","html","text"].includes(R)},enable:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},placeholder:{type:String,required:!1},theme:{type:String,default:"snow",validator:R=>["snow","bubble",""].includes(R)},toolbar:{type:[String,Array,Object],required:!1,validator:R=>typeof R=="string"&&R!==""?R.charAt(0)==="#"?!0:Object.keys($n).indexOf(R)!==-1:!0},modules:{type:Object,required:!1},options:{type:Object,required:!1},globalOptions:{type:Object,required:!1}},emits:["textChange","selectionChange","editorChange","update:content","focus","blur","ready"],setup:(R,U)=>{nr(()=>{E()}),rr(()=>{m=null});let m,p;const c=Fn(),E=()=>{var v;if(!!c.value){if(p=b(),R.modules)if(Array.isArray(R.modules))for(const O of R.modules)qn.register(`modules/${O.name}`,O.module);else qn.register(`modules/${R.modules.name}`,R.modules.module);m=new qn(c.value,p),f(R.content),m.on("text-change",o),m.on("selection-change",e),m.on("editor-change",s),R.theme!=="bubble"&&c.value.classList.remove("ql-bubble"),R.theme!=="snow"&&c.value.classList.remove("ql-snow"),(v=m.getModule("toolbar"))===null||v===void 0||v.container.addEventListener("mousedown",O=>{O.preventDefault()}),U.emit("ready",m)}},b=()=>{const v={};if(R.theme!==""&&(v.theme=R.theme),R.readOnly&&(v.readOnly=R.readOnly),R.placeholder&&(v.placeholder=R.placeholder),R.toolbar&&R.toolbar!==""&&(v.modules={toolbar:(()=>{if(typeof R.toolbar=="object")return R.toolbar;if(typeof R.toolbar=="string")return R.toolbar.charAt(0)==="#"?R.toolbar:$n[R.toolbar]})()}),R.modules){const O=(()=>{var k,L;const D={};if(Array.isArray(R.modules))for(const z of R.modules)D[z.name]=(k=z.options)!==null&&k!==void 0?k:{};else D[R.modules.name]=(L=R.modules.options)!==null&&L!==void 0?L:{};return D})();v.modules=Object.assign({},v.modules,O)}return Object.assign({},R.globalOptions,R.options,v)},_=v=>typeof v=="object"&&v?v.slice():v,y=v=>Object.values(v.ops).some(O=>!O.retain||Object.keys(O).length!==1);let g;const h=v=>{if(typeof g==typeof v){if(v===g)return!0;if(typeof v=="object"&&v&&typeof g=="object"&&g)return!y(g.diff(v))}return!1},o=(v,O,k)=>{g=_(i()),h(R.content)||U.emit("update:content",g),U.emit("textChange",{delta:v,oldContents:O,source:k})},t=Fn(),e=(v,O,k)=>{t.value=!!(m!=null&&m.hasFocus()),U.emit("selectionChange",{range:v,oldRange:O,source:k})};Ln(t,v=>{v?U.emit("focus",c):U.emit("blur",c)});const s=(...v)=>{v[0]==="text-change"&&U.emit("editorChange",{name:v[0],delta:v[1],oldContents:v[2],source:v[3]}),v[0]==="selection-change"&&U.emit("editorChange",{name:v[0],range:v[1],oldRange:v[2],source:v[3]})},l=()=>c.value,u=()=>{var v;return(v=m==null?void 0:m.getModule("toolbar"))===null||v===void 0?void 0:v.container},r=()=>{if(m)return m;throw`The quill editor hasn't been instantiated yet, make sure to call this method when the editor ready or use v-on:ready="onReady(quill)" event instead.`},i=(v,O)=>R.contentType==="html"?N():R.contentType==="text"?n(v,O):m==null?void 0:m.getContents(v,O),f=(v,O="api")=>{const k=v||(R.contentType==="delta"?new mr:"");R.contentType==="html"?w(k):R.contentType==="text"?d(k,O):m==null||m.setContents(k,O),g=_(k)},n=(v,O)=>{var k;return(k=m==null?void 0:m.getText(v,O))!==null&&k!==void 0?k:""},d=(v,O="api")=>{m==null||m.setText(v,O)},N=()=>{var v;return(v=m==null?void 0:m.root.innerHTML)!==null&&v!==void 0?v:""},w=v=>{m&&(m.root.innerHTML=v)},T=(v,O="api")=>{const k=m==null?void 0:m.clipboard.convert(v);k&&(m==null||m.setContents(k,O))},P=()=>{m==null||m.focus()},A=()=>{Un(()=>{var v;!U.slots.toolbar&&m&&((v=m.getModule("toolbar"))===null||v===void 0||v.container.remove()),E()})};return Ln(()=>R.content,v=>{if(!m||!v||h(v))return;const O=m.getSelection();O&&Un(()=>m==null?void 0:m.setSelection(O)),f(v)},{deep:!0}),Ln(()=>R.enable,v=>{m&&m.enable(v)}),{editor:c,getEditor:l,getToolbar:u,getQuill:r,getContents:i,setContents:f,getHTML:N,setHTML:w,pasteHTML:T,focus:P,getText:n,setText:d,reinit:A}},render(){var R,U;return[(U=(R=this.$slots).toolbar)===null||U===void 0?void 0:U.call(R),ir("div",{ref:"editor",...this.$attrs})]}});export{mr as Delta,qn as Quill,_r as QuillEditor}; -//# sourceMappingURL=vue-quill.esm-bundler.53d1533d.js.map +//# sourceMappingURL=vue-quill.esm-bundler.12350e13.js.map diff --git a/abstra_statics/dist/assets/vue-router.33f35a18.js b/abstra_statics/dist/assets/vue-router.324eaed2.js similarity index 99% rename from abstra_statics/dist/assets/vue-router.33f35a18.js rename to abstra_statics/dist/assets/vue-router.324eaed2.js index b23ff613cc..d7d95642ac 100644 --- a/abstra_statics/dist/assets/vue-router.33f35a18.js +++ b/abstra_statics/dist/assets/vue-router.324eaed2.js @@ -1,4 +1,4 @@ -var Vq=Object.defineProperty;var Gq=(e,t,n)=>t in e?Vq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var yn=(e,t,n)=>(Gq(e,typeof t!="symbol"?t+"":t,n),n);(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c65ae4ae-0b45-40ba-9fac-3dfd53f5191a",e._sentryDebugIdIdentifier="sentry-dbid-c65ae4ae-0b45-40ba-9fac-3dfd53f5191a")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();const C4=Object.prototype.toString;function T4(e){switch(C4.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Cu(e,Error)}}function Zp(e,t){return C4.call(e)===`[object ${t}]`}function gw(e){return Zp(e,"ErrorEvent")}function PN(e){return Zp(e,"DOMError")}function Yq(e){return Zp(e,"DOMException")}function Eu(e){return Zp(e,"String")}function w4(e){return e===null||typeof e!="object"&&typeof e!="function"}function cp(e){return Zp(e,"Object")}function Kv(e){return typeof Event<"u"&&Cu(e,Event)}function jq(e){return typeof Element<"u"&&Cu(e,Element)}function Wq(e){return Zp(e,"RegExp")}function hw(e){return Boolean(e&&e.then&&typeof e.then=="function")}function qq(e){return cp(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Kq(e){return typeof e=="number"&&e!==e}function Cu(e,t){try{return e instanceof t}catch{return!1}}function Fd(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function MN(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rZq(e,r,n))}function Qq(e,t,n=250,r,i,a,l){if(!a.exception||!a.exception.values||!l||!Cu(l.originalException,Error))return;const s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;s&&(a.exception.values=Xq(E1(e,t,i,l.originalException,r,a.exception.values,s,0),n))}function E1(e,t,n,r,i,a,l,s){if(a.length>=n+1)return a;let u=[...a];if(Cu(r[i],Error)){kN(l,s);const o=e(t,r[i]),c=u.length;$N(o,i,c,s),u=E1(e,t,n,r[i],i,[o,...u],o,c)}return Array.isArray(r.errors)&&r.errors.forEach((o,c)=>{if(Cu(o,Error)){kN(l,s);const d=e(t,o),p=u.length;$N(d,`errors[${c}]`,p,s),u=E1(e,t,n,o,i,[d,...u],d,p)}}),u}function kN(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function $N(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Xq(e,t){return e.map(n=>(n.value&&(n.value=Fd(n.value,t)),n))}function Kh(e){return e&&e.Math==Math?e:void 0}const oo=typeof globalThis=="object"&&Kh(globalThis)||typeof window=="object"&&Kh(window)||typeof self=="object"&&Kh(self)||typeof global=="object"&&Kh(global)||function(){return this}()||{};function xg(){return oo}function _w(e,t,n){const r=n||oo,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Jq=xg(),eK=80;function C1(e,t={}){try{let n=e;const r=5,i=[];let a=0,l=0;const s=" > ",u=s.length;let o;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||eK;for(;n&&a++1&&l+i.length*u+o.length>=d));)i.push(o),l+=o.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function tK(e,t){const n=e,r=[];let i,a,l,s,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(o&&o.length)o.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Eu(i))for(a=i.split(/\s+/),u=0;u{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function LN(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?z0.forEach(n=>{t[n]=(...r)=>{e&&x4(()=>{oo.console[n](`${rK}[${n}]:`,...r)})}}):z0.forEach(n=>{t[n]=()=>{}}),t}let on;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?on=_w("logger",LN):on=LN();const iK=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function aK(e){return e==="http"||e==="https"}function Qv(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:l,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r&&`${r}/`}${l}`}function oK(e){const t=iK.exec(e);if(!t){console.error(`Invalid Sentry Dsn: ${e}`);return}const[n,r,i="",a,l="",s]=t.slice(1);let u="",o=s;const c=o.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),o=c.pop()),o){const d=o.match(/^\d+/);d&&(o=d[0])}return O4({host:a,pass:i,path:u,projectId:o,port:l,protocol:n,publicKey:r})}function O4(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function sK(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(l=>e[l]?!1:(on.error(`Invalid Sentry Dsn: ${l} missing`),!0))?!1:n.match(/^\d+$/)?aK(r)?t&&isNaN(parseInt(t,10))?(on.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(on.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(on.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function lK(e){const t=typeof e=="string"?oK(e):O4(e);if(!(!t||!sK(t)))return t}class Oo extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function bi(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{R4(i,r)}catch{}e[t]=i}function vw(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function R4(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,vw(e,"__sentry_original__",t)}function bw(e){return e.__sentry_original__}function cK(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function I4(e){if(T4(e))return{message:e.message,name:e.name,stack:e.stack,...BN(e)};if(Kv(e)){const t={type:e.type,target:FN(e.target),currentTarget:FN(e.currentTarget),...BN(e)};return typeof CustomEvent<"u"&&Cu(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function FN(e){try{return jq(e)?C1(e):Object.prototype.toString.call(e)}catch{return""}}function BN(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function uK(e,t=40){const n=Object.keys(I4(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Fd(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:Fd(i,t)}return""}function Xv(e){return T1(e,new Map)}function T1(e,t){if(cp(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=T1(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(T1(i,t))}),r}return e}const A4=50,UN=/\(error: (.*)\)/;function N4(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],a=n.split(` +var Vq=Object.defineProperty;var Gq=(e,t,n)=>t in e?Vq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var yn=(e,t,n)=>(Gq(e,typeof t!="symbol"?t+"":t,n),n);(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7a38bc6c-7550-4442-8482-7bb559c105e2",e._sentryDebugIdIdentifier="sentry-dbid-7a38bc6c-7550-4442-8482-7bb559c105e2")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();const C4=Object.prototype.toString;function T4(e){switch(C4.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Cu(e,Error)}}function Zp(e,t){return C4.call(e)===`[object ${t}]`}function gw(e){return Zp(e,"ErrorEvent")}function PN(e){return Zp(e,"DOMError")}function Yq(e){return Zp(e,"DOMException")}function Eu(e){return Zp(e,"String")}function w4(e){return e===null||typeof e!="object"&&typeof e!="function"}function cp(e){return Zp(e,"Object")}function Kv(e){return typeof Event<"u"&&Cu(e,Event)}function jq(e){return typeof Element<"u"&&Cu(e,Element)}function Wq(e){return Zp(e,"RegExp")}function hw(e){return Boolean(e&&e.then&&typeof e.then=="function")}function qq(e){return cp(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Kq(e){return typeof e=="number"&&e!==e}function Cu(e,t){try{return e instanceof t}catch{return!1}}function Fd(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function MN(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rZq(e,r,n))}function Qq(e,t,n=250,r,i,a,l){if(!a.exception||!a.exception.values||!l||!Cu(l.originalException,Error))return;const s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;s&&(a.exception.values=Xq(E1(e,t,i,l.originalException,r,a.exception.values,s,0),n))}function E1(e,t,n,r,i,a,l,s){if(a.length>=n+1)return a;let u=[...a];if(Cu(r[i],Error)){kN(l,s);const o=e(t,r[i]),c=u.length;$N(o,i,c,s),u=E1(e,t,n,r[i],i,[o,...u],o,c)}return Array.isArray(r.errors)&&r.errors.forEach((o,c)=>{if(Cu(o,Error)){kN(l,s);const d=e(t,o),p=u.length;$N(d,`errors[${c}]`,p,s),u=E1(e,t,n,o,i,[d,...u],d,p)}}),u}function kN(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function $N(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Xq(e,t){return e.map(n=>(n.value&&(n.value=Fd(n.value,t)),n))}function Kh(e){return e&&e.Math==Math?e:void 0}const oo=typeof globalThis=="object"&&Kh(globalThis)||typeof window=="object"&&Kh(window)||typeof self=="object"&&Kh(self)||typeof global=="object"&&Kh(global)||function(){return this}()||{};function xg(){return oo}function _w(e,t,n){const r=n||oo,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Jq=xg(),eK=80;function C1(e,t={}){try{let n=e;const r=5,i=[];let a=0,l=0;const s=" > ",u=s.length;let o;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||eK;for(;n&&a++1&&l+i.length*u+o.length>=d));)i.push(o),l+=o.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function tK(e,t){const n=e,r=[];let i,a,l,s,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(o&&o.length)o.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Eu(i))for(a=i.split(/\s+/),u=0;u{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function LN(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?z0.forEach(n=>{t[n]=(...r)=>{e&&x4(()=>{oo.console[n](`${rK}[${n}]:`,...r)})}}):z0.forEach(n=>{t[n]=()=>{}}),t}let on;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?on=_w("logger",LN):on=LN();const iK=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function aK(e){return e==="http"||e==="https"}function Qv(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:l,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r&&`${r}/`}${l}`}function oK(e){const t=iK.exec(e);if(!t){console.error(`Invalid Sentry Dsn: ${e}`);return}const[n,r,i="",a,l="",s]=t.slice(1);let u="",o=s;const c=o.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),o=c.pop()),o){const d=o.match(/^\d+/);d&&(o=d[0])}return O4({host:a,pass:i,path:u,projectId:o,port:l,protocol:n,publicKey:r})}function O4(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function sK(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(l=>e[l]?!1:(on.error(`Invalid Sentry Dsn: ${l} missing`),!0))?!1:n.match(/^\d+$/)?aK(r)?t&&isNaN(parseInt(t,10))?(on.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(on.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(on.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function lK(e){const t=typeof e=="string"?oK(e):O4(e);if(!(!t||!sK(t)))return t}class Oo extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function bi(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{R4(i,r)}catch{}e[t]=i}function vw(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function R4(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,vw(e,"__sentry_original__",t)}function bw(e){return e.__sentry_original__}function cK(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function I4(e){if(T4(e))return{message:e.message,name:e.name,stack:e.stack,...BN(e)};if(Kv(e)){const t={type:e.type,target:FN(e.target),currentTarget:FN(e.currentTarget),...BN(e)};return typeof CustomEvent<"u"&&Cu(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function FN(e){try{return jq(e)?C1(e):Object.prototype.toString.call(e)}catch{return""}}function BN(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function uK(e,t=40){const n=Object.keys(I4(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Fd(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:Fd(i,t)}return""}function Xv(e){return T1(e,new Map)}function T1(e,t){if(cp(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=T1(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(T1(i,t))}),r}return e}const A4=50,UN=/\(error: (.*)\)/;function N4(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],a=n.split(` `);for(let l=r;l1024)continue;const u=UN.test(s)?s.replace(UN,"$1"):s;if(!u.match(/\S*Error: /)){for(const o of t){const c=o(u);if(c){i.push(c);break}}if(i.length>=A4)break}}return pK(i)}}function dK(e){return Array.isArray(e)?N4(...e):e}function pK(e){if(!e.length)return[];const t=e.slice(0,A4),n=t[t.length-1].function;n&&/sentryWrapped/.test(n)&&t.pop(),t.reverse();const r=t[t.length-1].function;return r&&/captureMessage|captureException/.test(r)&&t.pop(),t.map(i=>({...i,filename:i.filename||t[t.length-1].filename,function:i.function||"?"}))}const zS="";function mc(e){try{return!e||typeof e!="function"?zS:e.name||zS}catch{return zS}}const w1=xg();function D4(){if(!("fetch"in w1))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function x1(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function fK(){if(!D4())return!1;if(x1(w1.fetch))return!0;let e=!1;const t=w1.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=x1(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const Zh=xg();function mK(){const e=Zh.chrome,t=e&&e.app&&e.app.runtime,n="history"in Zh&&!!Zh.history.pushState&&!!Zh.history.replaceState;return!t&&n}const Sr=xg(),Vf="__sentry_xhr_v2__",em={},HN={};function gK(e){if(!HN[e])switch(HN[e]=!0,e){case"console":hK();break;case"dom":TK();break;case"xhr":bK();break;case"fetch":_K();break;case"history":yK();break;case"error":wK();break;case"unhandledrejection":xK();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("unknown instrumentation type:",e);return}}function Zl(e,t){em[e]=em[e]||[],em[e].push(t),gK(e)}function Po(e,t){if(!(!e||!em[e]))for(const n of em[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${mc(n)} @@ -15,41 +15,41 @@ Event: ${Ql(e)}`),!0):$Z(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_D Event: ${Ql(e)}. Url: ${Y0(e)}`),!0):LZ(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${Ql(e)}. -Url: ${Y0(e)}`),!0)}function MZ(e,t){return e.type||!t||!t.length?!1:FZ(e).some(n=>Zv(n,t))}function kZ(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?Zv(n,t):!1}function $Z(e,t){if(!t||!t.length)return!1;const n=Y0(e);return n?Zv(n,t):!1}function LZ(e,t){if(!t||!t.length)return!0;const n=Y0(e);return n?Zv(n,t):!0}function FZ(e){if(e.message)return[e.message];if(e.exception){const{values:t}=e.exception;try{const{type:n="",value:r=""}=t&&t[t.length-1]||{};return[`${r}`,`${n}: ${r}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.error(`Cannot extract message for event ${Ql(e)}`),[]}}return[]}function BZ(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function UZ(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function Y0(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?UZ(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.error(`Cannot extract url for event ${Ql(e)}`),null}}const Gn=oo;let P1=0;function K4(){return P1>0}function HZ(){P1++,setTimeout(()=>{P1--})}function dp(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(bw(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const a=i.map(l=>dp(l,t));return e.apply(this,a)}catch(a){throw HZ(),sZ(l=>{l.addEventProcessor(s=>(t.mechanism&&(R1(s,void 0,void 0),Nm(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),G4(a)}),a}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}R4(r,e),vw(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Z4(e,t){const n=Sw(e,t),r={type:t&&t.name,value:YZ(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function zZ(e,t,n,r){const a=ri().getClient(),l=a&&a.getOptions().normalizeDepth,s={exception:{values:[{type:Kv(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:qZ(t,{isUnhandledRejection:r})}]},extra:{__serialized__:k4(t,l)}};if(n){const u=Sw(e,n);u.length&&(s.exception.values[0].stacktrace={frames:u})}return s}function YS(e,t){return{exception:{values:[Z4(e,t)]}}}function Sw(e,t){const n=t.stacktrace||t.stack||"",r=GZ(t);try{return e(n,r)}catch{}return[]}const VZ=/Minified React error #\d+;/i;function GZ(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(VZ.test(e.message))return 1}return 0}function YZ(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function jZ(e,t,n,r){const i=n&&n.syntheticException||void 0,a=Ew(e,t,i,r);return Nm(a),a.level="error",n&&n.event_id&&(a.event_id=n.event_id),Tu(a)}function WZ(e,t,n="info",r,i){const a=r&&r.syntheticException||void 0,l=M1(e,t,a,i);return l.level=n,r&&r.event_id&&(l.event_id=r.event_id),Tu(l)}function Ew(e,t,n,r,i){let a;if(gw(t)&&t.error)return YS(e,t.error);if(PN(t)||Yq(t)){const l=t;if("stack"in t)a=YS(e,t);else{const s=l.name||(PN(l)?"DOMError":"DOMException"),u=l.message?`${s}: ${l.message}`:s;a=M1(e,u,n,r),R1(a,u)}return"code"in l&&(a.tags={...a.tags,"DOMException.code":`${l.code}`}),a}return T4(t)?YS(e,t):cp(t)||Kv(t)?(a=zZ(e,t,n,i),Nm(a,{synthetic:!0}),a):(a=M1(e,t,n,r),R1(a,`${t}`,void 0),Nm(a,{synthetic:!0}),a)}function M1(e,t,n,r){const i={message:t};if(r&&n){const a=Sw(e,n);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]})}return i}function qZ(e,{isUnhandledRejection:t}){const n=uK(e),r=t?"promise rejection":"exception";return gw(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Kv(e)?`Event \`${KZ(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function KZ(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}const n_=1024,Q4="Breadcrumbs";class Pm{static __initStatic(){this.id=Q4}__init(){this.name=Pm.id}constructor(t){Pm.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Zl("console",QZ),this.options.dom&&Zl("dom",ZZ(this.options.dom)),this.options.xhr&&Zl("xhr",XZ),this.options.fetch&&Zl("fetch",JZ),this.options.history&&Zl("history",eQ)}addSentryBreadcrumb(t){this.options.sentry&&ri().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Ql(t)},{event:t})}}Pm.__initStatic();function ZZ(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>n_&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn(`\`dom.maxStringLength\` cannot exceed ${n_}, but a value of ${a} was configured. Sentry will use ${n_} instead.`),a=n_),typeof i=="string"&&(i=[i]);try{const l=n.event;r=tQ(l)?C1(l.target,{keyAttrs:i,maxStringLength:a}):C1(l,{keyAttrs:i,maxStringLength:a})}catch{r=""}r.length!==0&&ri().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function QZ(e){for(let n=0;n{Gn.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return jZ(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return WZ(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){const r=this.getIntegrationById(Q4);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(t),super.sendEvent(t,n)}captureUserFeedback(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("SDK not enabled, will not capture user feedback.");return}const n=nQ(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log("Sending outcomes:",t);const n=WK(t,this._options.tunnel&&Qv(this._dsn));this._sendEnvelope(n)}}let Gf;function aQ(){if(Gf)return Gf;if(x1(Gn.fetch))return Gf=Gn.fetch.bind(Gn);const e=Gn.document;let t=Gn.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Gf=t.bind(Gn)}function oQ(){Gf=void 0}function sQ(e,t=aQ()){let n=0,r=0;function i(a){const l=a.body.length;n+=l,r++;const s={body:a.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then(u=>(n-=l,r--,{statusCode:u.status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}))}catch(u){return oQ(),n-=l,r--,V0(u)}}return q4(e,i)}const lQ=4;function cQ(e){function t(n){return new zi((r,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===lQ&&r({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",e.url);for(const l in e.headers)Object.prototype.hasOwnProperty.call(e.headers,l)&&a.setRequestHeader(l,e.headers[l]);a.send(n.body)})}return q4(e,t)}const tb="?",uQ=30,dQ=40,pQ=50;function Cw(e,t,n,r){const i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const fQ=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,mQ=/\((\S*)(?::(\d+))(?::(\d+))\)/,gQ=e=>{const t=fQ.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const a=mQ.exec(t[2]);a&&(t[2]=a[1],t[3]=a[2],t[4]=a[3])}const[r,i]=X4(t[1]||tb,t[2]);return Cw(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},hQ=[uQ,gQ],_Q=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,vQ=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,bQ=e=>{const t=_Q.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=vQ.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let r=t[3],i=t[1]||tb;return[i,r]=X4(i,r),Cw(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},yQ=[pQ,bQ],SQ=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,EQ=e=>{const t=SQ.exec(e);return t?Cw(t[2],t[1]||tb,+t[3],t[4]?+t[4]:void 0):void 0},CQ=[dQ,EQ],TQ=[hQ,yQ,CQ],wQ=N4(...TQ),X4=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:tb,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class sc{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=sc.id}__init2(){this._installFunc={onerror:xQ,onunhandledrejection:OQ}}constructor(t){sc.prototype.__init.call(this),sc.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(AQ(n),r(),this._installFunc[n]=void 0)}}}sc.__initStatic();function xQ(){Zl("error",e=>{const[t,n,r]=t6();if(!t.getIntegration(sc))return;const{msg:i,url:a,line:l,column:s,error:u}=e;if(K4()||u&&u.__sentry_own_request__)return;const o=u===void 0&&Eu(i)?IQ(i,a,l,s):J4(Ew(n,u||i,void 0,r,!1),a,l,s);o.level="error",e6(t,u,o,"onerror")})}function OQ(){Zl("unhandledrejection",e=>{const[t,n,r]=t6();if(!t.getIntegration(sc))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(K4()||i&&i.__sentry_own_request__)return!0;const a=w4(i)?RQ(i):Ew(n,i,void 0,r,!0);a.level="error",e6(t,i,a,"onunhandledrejection")})}function RQ(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function IQ(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=gw(e)?e.message:e,l="Error";const s=a.match(i);return s&&(l=s[1],a=s[2]),J4({exception:{values:[{type:l,value:a}]}},t,n,r)}function J4(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],l=a[0]=a[0]||{},s=l.stacktrace=l.stacktrace||{},u=s.frames=s.frames||[],o=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=Eu(t)&&t.length>0?t:nK();return u.length===0&&u.push({colno:o,filename:d,function:"?",in_app:!0,lineno:c}),e}function AQ(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log(`Global Handler attached: ${e}`)}function e6(e,t,n,r){Nm(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function t6(){const e=ri(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}const NQ=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Mm{static __initStatic(){this.id="TryCatch"}__init(){this.name=Mm.id}constructor(t){Mm.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&bi(Gn,"setTimeout",t2),this._options.setInterval&&bi(Gn,"setInterval",t2),this._options.requestAnimationFrame&&bi(Gn,"requestAnimationFrame",DQ),this._options.XMLHttpRequest&&"XMLHttpRequest"in Gn&&bi(XMLHttpRequest.prototype,"send",PQ);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:NQ).forEach(MQ)}}Mm.__initStatic();function t2(e){return function(...t){const n=t[0];return t[0]=dp(n,{mechanism:{data:{function:mc(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function DQ(e){return function(t){return e.apply(this,[dp(t,{mechanism:{data:{function:"requestAnimationFrame",handler:mc(e)},handled:!0,type:"instrument"}})])}}function PQ(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&bi(n,i,function(a){const l={mechanism:{data:{function:i,handler:mc(a)},handled:!0,type:"instrument"}},s=bw(a);return s&&(l.mechanism.data.handler=mc(s)),dp(a,l)})}),e.apply(this,t)}}function MQ(e){const t=Gn,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(bi(n,"addEventListener",function(r){return function(i,a,l){try{typeof a.handleEvent=="function"&&(a.handleEvent=dp(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:mc(a),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,dp(a,{mechanism:{data:{function:"addEventListener",handler:mc(a),target:e},handled:!0,type:"instrument"}}),l])}}),bi(n,"removeEventListener",function(r){return function(i,a,l){const s=a;try{const u=s&&s.__sentry_wrapped__;u&&r.call(this,i,u,l)}catch{}return r.call(this,i,s,l)}}))}const kQ="cause",$Q=5;class Ud{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Ud.id}constructor(t={}){Ud.prototype.__init.call(this),this._key=t.key||kQ,this._limit=t.limit||$Q}setupOnce(t,n){t((r,i)=>{const a=n(),l=a.getClient(),s=a.getIntegration(Ud);if(!l||!s)return r;const u=l.getOptions();return Qq(Z4,u.stackParser,u.maxValueLength,s._key,s._limit,r,i),r})}}Ud.__initStatic();class Hd{constructor(){Hd.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Hd.id}setupOnce(){U4(t=>{if(ri().getIntegration(Hd)){if(!Gn.navigator&&!Gn.location&&!Gn.document)return t;const n=t.request&&t.request.url||Gn.location&&Gn.location.href,{referrer:r}=Gn.document||{},{userAgent:i}=Gn.navigator||{},a={...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},l={...t.request,...n&&{url:n},headers:a};return{...t,request:l}}return t})}}Hd.__initStatic();class zd{constructor(){zd.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=zd.id}setupOnce(t,n){const r=i=>{if(i.type)return i;const a=n().getIntegration(zd);if(a){try{if(LQ(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};r.id=this.name,t(r)}}zd.__initStatic();function LQ(e,t){return t?!!(FQ(e,t)||BQ(e,t)):!1}function FQ(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!r6(e,t)||!n6(e,t))}function BQ(e,t){const n=n2(t),r=n2(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!r6(e,t)||!n6(e,t))}function n6(e,t){let n=r2(e),r=r2(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=ri();!e.captureSession||(i2(e),Zl("history",({from:t,to:n})=>{t===void 0||t===n||i2(ri())}))}const i6=Object.prototype.toString;function VQ(e){switch(i6.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return nb(e,Error)}}function Tw(e,t){return i6.call(e)===`[object ${t}]`}function km(e){return Tw(e,"String")}function ww(e){return Tw(e,"Object")}function GQ(e){return typeof Event<"u"&&nb(e,Event)}function YQ(e){return typeof Element<"u"&&nb(e,Element)}function jQ(e){return Tw(e,"RegExp")}function a6(e){return Boolean(e&&e.then&&typeof e.then=="function")}function WQ(e){return ww(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function qQ(e){return typeof e=="number"&&e!==e}function nb(e,t){try{return e instanceof t}catch{return!1}}function jS(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function KQ(e,t,n=!1){return km(e)?jQ(t)?t.test(e):km(t)?n?e===t:e.includes(t):!1:!1}function ZQ(e,t=[],n=!1){return t.some(r=>KQ(e,r,n))}function r_(e){return e&&e.Math==Math?e:void 0}const so=typeof globalThis=="object"&&r_(globalThis)||typeof window=="object"&&r_(window)||typeof self=="object"&&r_(self)||typeof global=="object"&&r_(global)||function(){return this}()||{};function rb(){return so}function xw(e,t,n){const r=n||so,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const QQ=80;function Ow(e,t={}){try{let n=e;const r=5,i=[];let a=0,l=0;const s=" > ",u=s.length;let o;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||QQ;for(;n&&a++1&&l+i.length*u+o.length>=d));)i.push(o),l+=o.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function XQ(e,t){const n=e,r=[];let i,a,l,s,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(o&&o.length)o.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&km(i))for(a=i.split(/\s+/),u=0;u{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function a2(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?j0.forEach(n=>{t[n]=(...r)=>{e&&o6(()=>{so.console[n](`${JQ}[${n}]:`,...r)})}}):j0.forEach(n=>{t[n]=()=>{}}),t}let On;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?On=xw("logger",a2):On=a2();function eX(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:l,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r&&`${r}/`}${l}`}function No(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{nX(i,r)}catch{}e[t]=i}function tX(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function nX(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,tX(e,"__sentry_original__",t)}function rX(e){if(VQ(e))return{message:e.message,name:e.name,stack:e.stack,...s2(e)};if(GQ(e)){const t={type:e.type,target:o2(e.target),currentTarget:o2(e.currentTarget),...s2(e)};return typeof CustomEvent<"u"&&nb(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function o2(e){try{return YQ(e)?Ow(e):Object.prototype.toString.call(e)}catch{return""}}function s2(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function ib(e){return k1(e,new Map)}function k1(e,t){if(ww(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=k1(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(k1(i,t))}),r}return e}const WS="";function s6(e){try{return!e||typeof e!="function"?WS:e.name||WS}catch{return WS}}const $1=rb();function iX(){if(!("fetch"in $1))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function l2(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function aX(){if(!iX())return!1;if(l2($1.fetch))return!0;let e=!1;const t=$1.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=l2(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const i_=rb();function oX(){const e=i_.chrome,t=e&&e.app&&e.app.runtime,n="history"in i_&&!!i_.history.pushState&&!!i_.history.replaceState;return!t&&n}const Er=rb(),Dd="__sentry_xhr_v2__",tm={},c2={};function sX(e){if(!c2[e])switch(c2[e]=!0,e){case"console":lX();break;case"dom":hX();break;case"xhr":dX();break;case"fetch":cX();break;case"history":pX();break;case"error":_X();break;case"unhandledrejection":vX();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("unknown instrumentation type:",e);return}}function W0(e,t){tm[e]=tm[e]||[],tm[e].push(t),sX(e)}function Mo(e,t){if(!(!e||!tm[e]))for(const n of tm[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error(`Error while triggering instrumentation handler. +Url: ${Y0(e)}`),!0)}function MZ(e,t){return e.type||!t||!t.length?!1:FZ(e).some(n=>Zv(n,t))}function kZ(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?Zv(n,t):!1}function $Z(e,t){if(!t||!t.length)return!1;const n=Y0(e);return n?Zv(n,t):!1}function LZ(e,t){if(!t||!t.length)return!0;const n=Y0(e);return n?Zv(n,t):!0}function FZ(e){if(e.message)return[e.message];if(e.exception){const{values:t}=e.exception;try{const{type:n="",value:r=""}=t&&t[t.length-1]||{};return[`${r}`,`${n}: ${r}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.error(`Cannot extract message for event ${Ql(e)}`),[]}}return[]}function BZ(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function UZ(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function Y0(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?UZ(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.error(`Cannot extract url for event ${Ql(e)}`),null}}const Gn=oo;let P1=0;function K4(){return P1>0}function HZ(){P1++,setTimeout(()=>{P1--})}function dp(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(bw(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const a=i.map(l=>dp(l,t));return e.apply(this,a)}catch(a){throw HZ(),sZ(l=>{l.addEventProcessor(s=>(t.mechanism&&(R1(s,void 0,void 0),Nm(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),G4(a)}),a}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}R4(r,e),vw(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Z4(e,t){const n=Sw(e,t),r={type:t&&t.name,value:YZ(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function zZ(e,t,n,r){const a=ri().getClient(),l=a&&a.getOptions().normalizeDepth,s={exception:{values:[{type:Kv(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:qZ(t,{isUnhandledRejection:r})}]},extra:{__serialized__:k4(t,l)}};if(n){const u=Sw(e,n);u.length&&(s.exception.values[0].stacktrace={frames:u})}return s}function YS(e,t){return{exception:{values:[Z4(e,t)]}}}function Sw(e,t){const n=t.stacktrace||t.stack||"",r=GZ(t);try{return e(n,r)}catch{}return[]}const VZ=/Minified React error #\d+;/i;function GZ(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(VZ.test(e.message))return 1}return 0}function YZ(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function jZ(e,t,n,r){const i=n&&n.syntheticException||void 0,a=Ew(e,t,i,r);return Nm(a),a.level="error",n&&n.event_id&&(a.event_id=n.event_id),Tu(a)}function WZ(e,t,n="info",r,i){const a=r&&r.syntheticException||void 0,l=M1(e,t,a,i);return l.level=n,r&&r.event_id&&(l.event_id=r.event_id),Tu(l)}function Ew(e,t,n,r,i){let a;if(gw(t)&&t.error)return YS(e,t.error);if(PN(t)||Yq(t)){const l=t;if("stack"in t)a=YS(e,t);else{const s=l.name||(PN(l)?"DOMError":"DOMException"),u=l.message?`${s}: ${l.message}`:s;a=M1(e,u,n,r),R1(a,u)}return"code"in l&&(a.tags={...a.tags,"DOMException.code":`${l.code}`}),a}return T4(t)?YS(e,t):cp(t)||Kv(t)?(a=zZ(e,t,n,i),Nm(a,{synthetic:!0}),a):(a=M1(e,t,n,r),R1(a,`${t}`,void 0),Nm(a,{synthetic:!0}),a)}function M1(e,t,n,r){const i={message:t};if(r&&n){const a=Sw(e,n);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]})}return i}function qZ(e,{isUnhandledRejection:t}){const n=uK(e),r=t?"promise rejection":"exception";return gw(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Kv(e)?`Event \`${KZ(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function KZ(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}const n_=1024,Q4="Breadcrumbs";class Pm{static __initStatic(){this.id=Q4}__init(){this.name=Pm.id}constructor(t){Pm.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Zl("console",QZ),this.options.dom&&Zl("dom",ZZ(this.options.dom)),this.options.xhr&&Zl("xhr",XZ),this.options.fetch&&Zl("fetch",JZ),this.options.history&&Zl("history",eQ)}addSentryBreadcrumb(t){this.options.sentry&&ri().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Ql(t)},{event:t})}}Pm.__initStatic();function ZZ(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>n_&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn(`\`dom.maxStringLength\` cannot exceed ${n_}, but a value of ${a} was configured. Sentry will use ${n_} instead.`),a=n_),typeof i=="string"&&(i=[i]);try{const l=n.event;r=tQ(l)?C1(l.target,{keyAttrs:i,maxStringLength:a}):C1(l,{keyAttrs:i,maxStringLength:a})}catch{r=""}r.length!==0&&ri().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function QZ(e){for(let n=0;n{Gn.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return jZ(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return WZ(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){const r=this.getIntegrationById(Q4);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(t),super.sendEvent(t,n)}captureUserFeedback(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("SDK not enabled, will not capture user feedback.");return}const n=nQ(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log("Sending outcomes:",t);const n=WK(t,this._options.tunnel&&Qv(this._dsn));this._sendEnvelope(n)}}let Gf;function aQ(){if(Gf)return Gf;if(x1(Gn.fetch))return Gf=Gn.fetch.bind(Gn);const e=Gn.document;let t=Gn.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Gf=t.bind(Gn)}function oQ(){Gf=void 0}function sQ(e,t=aQ()){let n=0,r=0;function i(a){const l=a.body.length;n+=l,r++;const s={body:a.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then(u=>(n-=l,r--,{statusCode:u.status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}))}catch(u){return oQ(),n-=l,r--,V0(u)}}return q4(e,i)}const lQ=4;function cQ(e){function t(n){return new zi((r,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===lQ&&r({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",e.url);for(const l in e.headers)Object.prototype.hasOwnProperty.call(e.headers,l)&&a.setRequestHeader(l,e.headers[l]);a.send(n.body)})}return q4(e,t)}const tb="?",uQ=30,dQ=40,pQ=50;function Cw(e,t,n,r){const i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const fQ=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,mQ=/\((\S*)(?::(\d+))(?::(\d+))\)/,gQ=e=>{const t=fQ.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const a=mQ.exec(t[2]);a&&(t[2]=a[1],t[3]=a[2],t[4]=a[3])}const[r,i]=X4(t[1]||tb,t[2]);return Cw(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},hQ=[uQ,gQ],_Q=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,vQ=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,bQ=e=>{const t=_Q.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=vQ.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let r=t[3],i=t[1]||tb;return[i,r]=X4(i,r),Cw(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},yQ=[pQ,bQ],SQ=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,EQ=e=>{const t=SQ.exec(e);return t?Cw(t[2],t[1]||tb,+t[3],t[4]?+t[4]:void 0):void 0},CQ=[dQ,EQ],TQ=[hQ,yQ,CQ],wQ=N4(...TQ),X4=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:tb,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class sc{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=sc.id}__init2(){this._installFunc={onerror:xQ,onunhandledrejection:OQ}}constructor(t){sc.prototype.__init.call(this),sc.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(AQ(n),r(),this._installFunc[n]=void 0)}}}sc.__initStatic();function xQ(){Zl("error",e=>{const[t,n,r]=t8();if(!t.getIntegration(sc))return;const{msg:i,url:a,line:l,column:s,error:u}=e;if(K4()||u&&u.__sentry_own_request__)return;const o=u===void 0&&Eu(i)?IQ(i,a,l,s):J4(Ew(n,u||i,void 0,r,!1),a,l,s);o.level="error",e8(t,u,o,"onerror")})}function OQ(){Zl("unhandledrejection",e=>{const[t,n,r]=t8();if(!t.getIntegration(sc))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(K4()||i&&i.__sentry_own_request__)return!0;const a=w4(i)?RQ(i):Ew(n,i,void 0,r,!0);a.level="error",e8(t,i,a,"onunhandledrejection")})}function RQ(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function IQ(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=gw(e)?e.message:e,l="Error";const s=a.match(i);return s&&(l=s[1],a=s[2]),J4({exception:{values:[{type:l,value:a}]}},t,n,r)}function J4(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],l=a[0]=a[0]||{},s=l.stacktrace=l.stacktrace||{},u=s.frames=s.frames||[],o=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=Eu(t)&&t.length>0?t:nK();return u.length===0&&u.push({colno:o,filename:d,function:"?",in_app:!0,lineno:c}),e}function AQ(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.log(`Global Handler attached: ${e}`)}function e8(e,t,n,r){Nm(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function t8(){const e=ri(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}const NQ=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Mm{static __initStatic(){this.id="TryCatch"}__init(){this.name=Mm.id}constructor(t){Mm.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&bi(Gn,"setTimeout",t2),this._options.setInterval&&bi(Gn,"setInterval",t2),this._options.requestAnimationFrame&&bi(Gn,"requestAnimationFrame",DQ),this._options.XMLHttpRequest&&"XMLHttpRequest"in Gn&&bi(XMLHttpRequest.prototype,"send",PQ);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:NQ).forEach(MQ)}}Mm.__initStatic();function t2(e){return function(...t){const n=t[0];return t[0]=dp(n,{mechanism:{data:{function:mc(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function DQ(e){return function(t){return e.apply(this,[dp(t,{mechanism:{data:{function:"requestAnimationFrame",handler:mc(e)},handled:!0,type:"instrument"}})])}}function PQ(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&bi(n,i,function(a){const l={mechanism:{data:{function:i,handler:mc(a)},handled:!0,type:"instrument"}},s=bw(a);return s&&(l.mechanism.data.handler=mc(s)),dp(a,l)})}),e.apply(this,t)}}function MQ(e){const t=Gn,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(bi(n,"addEventListener",function(r){return function(i,a,l){try{typeof a.handleEvent=="function"&&(a.handleEvent=dp(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:mc(a),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,dp(a,{mechanism:{data:{function:"addEventListener",handler:mc(a),target:e},handled:!0,type:"instrument"}}),l])}}),bi(n,"removeEventListener",function(r){return function(i,a,l){const s=a;try{const u=s&&s.__sentry_wrapped__;u&&r.call(this,i,u,l)}catch{}return r.call(this,i,s,l)}}))}const kQ="cause",$Q=5;class Ud{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Ud.id}constructor(t={}){Ud.prototype.__init.call(this),this._key=t.key||kQ,this._limit=t.limit||$Q}setupOnce(t,n){t((r,i)=>{const a=n(),l=a.getClient(),s=a.getIntegration(Ud);if(!l||!s)return r;const u=l.getOptions();return Qq(Z4,u.stackParser,u.maxValueLength,s._key,s._limit,r,i),r})}}Ud.__initStatic();class Hd{constructor(){Hd.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Hd.id}setupOnce(){U4(t=>{if(ri().getIntegration(Hd)){if(!Gn.navigator&&!Gn.location&&!Gn.document)return t;const n=t.request&&t.request.url||Gn.location&&Gn.location.href,{referrer:r}=Gn.document||{},{userAgent:i}=Gn.navigator||{},a={...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},l={...t.request,...n&&{url:n},headers:a};return{...t,request:l}}return t})}}Hd.__initStatic();class zd{constructor(){zd.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=zd.id}setupOnce(t,n){const r=i=>{if(i.type)return i;const a=n().getIntegration(zd);if(a){try{if(LQ(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};r.id=this.name,t(r)}}zd.__initStatic();function LQ(e,t){return t?!!(FQ(e,t)||BQ(e,t)):!1}function FQ(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!r8(e,t)||!n8(e,t))}function BQ(e,t){const n=n2(t),r=n2(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!r8(e,t)||!n8(e,t))}function n8(e,t){let n=r2(e),r=r2(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&on.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=ri();!e.captureSession||(i2(e),Zl("history",({from:t,to:n})=>{t===void 0||t===n||i2(ri())}))}const i8=Object.prototype.toString;function VQ(e){switch(i8.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return nb(e,Error)}}function Tw(e,t){return i8.call(e)===`[object ${t}]`}function km(e){return Tw(e,"String")}function ww(e){return Tw(e,"Object")}function GQ(e){return typeof Event<"u"&&nb(e,Event)}function YQ(e){return typeof Element<"u"&&nb(e,Element)}function jQ(e){return Tw(e,"RegExp")}function a8(e){return Boolean(e&&e.then&&typeof e.then=="function")}function WQ(e){return ww(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function qQ(e){return typeof e=="number"&&e!==e}function nb(e,t){try{return e instanceof t}catch{return!1}}function jS(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function KQ(e,t,n=!1){return km(e)?jQ(t)?t.test(e):km(t)?n?e===t:e.includes(t):!1:!1}function ZQ(e,t=[],n=!1){return t.some(r=>KQ(e,r,n))}function r_(e){return e&&e.Math==Math?e:void 0}const so=typeof globalThis=="object"&&r_(globalThis)||typeof window=="object"&&r_(window)||typeof self=="object"&&r_(self)||typeof global=="object"&&r_(global)||function(){return this}()||{};function rb(){return so}function xw(e,t,n){const r=n||so,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const QQ=80;function Ow(e,t={}){try{let n=e;const r=5,i=[];let a=0,l=0;const s=" > ",u=s.length;let o;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||QQ;for(;n&&a++1&&l+i.length*u+o.length>=d));)i.push(o),l+=o.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function XQ(e,t){const n=e,r=[];let i,a,l,s,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(o&&o.length)o.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&km(i))for(a=i.split(/\s+/),u=0;u{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function a2(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?j0.forEach(n=>{t[n]=(...r)=>{e&&o8(()=>{so.console[n](`${JQ}[${n}]:`,...r)})}}):j0.forEach(n=>{t[n]=()=>{}}),t}let On;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?On=xw("logger",a2):On=a2();function eX(e,t=!1){const{host:n,path:r,pass:i,port:a,projectId:l,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r&&`${r}/`}${l}`}function No(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{nX(i,r)}catch{}e[t]=i}function tX(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function nX(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,tX(e,"__sentry_original__",t)}function rX(e){if(VQ(e))return{message:e.message,name:e.name,stack:e.stack,...s2(e)};if(GQ(e)){const t={type:e.type,target:o2(e.target),currentTarget:o2(e.currentTarget),...s2(e)};return typeof CustomEvent<"u"&&nb(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function o2(e){try{return YQ(e)?Ow(e):Object.prototype.toString.call(e)}catch{return""}}function s2(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function ib(e){return k1(e,new Map)}function k1(e,t){if(ww(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=k1(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(k1(i,t))}),r}return e}const WS="";function s8(e){try{return!e||typeof e!="function"?WS:e.name||WS}catch{return WS}}const $1=rb();function iX(){if(!("fetch"in $1))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function l2(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function aX(){if(!iX())return!1;if(l2($1.fetch))return!0;let e=!1;const t=$1.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=l2(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const i_=rb();function oX(){const e=i_.chrome,t=e&&e.app&&e.app.runtime,n="history"in i_&&!!i_.history.pushState&&!!i_.history.replaceState;return!t&&n}const Er=rb(),Dd="__sentry_xhr_v2__",tm={},c2={};function sX(e){if(!c2[e])switch(c2[e]=!0,e){case"console":lX();break;case"dom":hX();break;case"xhr":dX();break;case"fetch":cX();break;case"history":pX();break;case"error":_X();break;case"unhandledrejection":vX();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("unknown instrumentation type:",e);return}}function W0(e,t){tm[e]=tm[e]||[],tm[e].push(t),sX(e)}function Mo(e,t){if(!(!e||!tm[e]))for(const n of tm[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error(`Error while triggering instrumentation handler. Type: ${e} -Name: ${s6(n)} -Error:`,r)}}function lX(){"console"in Er&&j0.forEach(function(e){e in Er.console&&No(Er.console,e,function(t){return function(...n){Mo("console",{args:n,level:e}),t&&t.apply(Er.console,n)}})})}function cX(){!aX()||No(Er,"fetch",function(e){return function(...t){const{method:n,url:r}=uX(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return Mo("fetch",{...i}),e.apply(Er,t).then(a=>(Mo("fetch",{...i,endTimestamp:Date.now(),response:a}),a),a=>{throw Mo("fetch",{...i,endTimestamp:Date.now(),error:a}),a})}})}function L1(e,t){return!!e&&typeof e=="object"&&!!e[t]}function u2(e){return typeof e=="string"?e:e?L1(e,"url")?e.url:e.toString?e.toString():"":""}function uX(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:u2(n),method:L1(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:u2(t),method:L1(t,"method")?String(t.method).toUpperCase():"GET"}}function dX(){if(!("XMLHttpRequest"in Er))return;const e=XMLHttpRequest.prototype;No(e,"open",function(t){return function(...n){const r=n[1],i=this[Dd]={method:km(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};km(r)&&i.method==="POST"&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const l=this[Dd];if(!!l&&this.readyState===4){try{l.status_code=this.status}catch{}Mo("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?No(this,"onreadystatechange",function(l){return function(...s){return a(),l.apply(this,s)}}):this.addEventListener("readystatechange",a),No(this,"setRequestHeader",function(l){return function(...s){const[u,o]=s,c=this[Dd];return c&&(c.request_headers[u.toLowerCase()]=o),l.apply(this,s)}}),t.apply(this,n)}}),No(e,"send",function(t){return function(...n){const r=this[Dd];return r&&n[0]!==void 0&&(r.body=n[0]),Mo("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let a_;function pX(){if(!oX())return;const e=Er.onpopstate;Er.onpopstate=function(...n){const r=Er.location.href,i=a_;if(a_=r,Mo("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const a=a_,l=String(i);a_=l,Mo("history",{from:a,to:l})}return n.apply(this,r)}}No(Er.history,"pushState",t),No(Er.history,"replaceState",t)}const fX=1e3;let o_,s_;function mX(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function gX(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function d2(e,t=!1){return n=>{if(!n||s_===n||gX(n))return;const r=n.type==="keypress"?"input":n.type;o_===void 0?(e({event:n,name:r,global:t}),s_=n):mX(s_,n)&&(e({event:n,name:r,global:t}),s_=n),clearTimeout(o_),o_=Er.setTimeout(()=>{o_=void 0},fX)}}function hX(){if(!("document"in Er))return;const e=Mo.bind(null,"dom"),t=d2(e,!0);Er.document.addEventListener("click",t,!1),Er.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Er[n]&&Er[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(No(r,"addEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=o[a]=o[a]||{refCount:0};if(!c.handler){const d=d2(e);c.handler=d,i.call(this,a,d,s)}c.refCount++}catch{}return i.call(this,a,l,s)}}),No(r,"removeEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__||{},c=o[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,s),c.handler=void 0,delete o[a]),Object.keys(o).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,l,s)}}))})}let l_=null;function _X(){l_=Er.onerror,Er.onerror=function(e,t,n,r,i){return Mo("error",{column:r,error:i,line:n,msg:e,url:t}),l_&&!l_.__SENTRY_LOADER__?l_.apply(this,arguments):!1},Er.onerror.__SENTRY_INSTRUMENTED__=!0}let c_=null;function vX(){c_=Er.onunhandledrejection,Er.onunhandledrejection=function(e){return Mo("unhandledrejection",e),c_&&!c_.__SENTRY_LOADER__?c_.apply(this,arguments):!0},Er.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function bX(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let a=0;at.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function yX(e){return Array.isArray(e)?e:[e]}function SX(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function l6(){return!SX()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function EX(e,t){return e.require(t)}function Gl(e,t=100,n=1/0){try{return F1("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function F1(e,t,n=1/0,r=1/0,i=bX()){const[a,l]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!qQ(t))return t;const s=CX(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const u=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(u===0)return s.replace("object ","");if(a(t))return"[Circular ~]";const o=t;if(o&&typeof o.toJSON=="function")try{const f=o.toJSON();return F1("",f,u-1,r,i)}catch{}const c=Array.isArray(t)?[]:{};let d=0;const p=rX(t);for(const f in p){if(!Object.prototype.hasOwnProperty.call(p,f))continue;if(d>=r){c[f]="[MaxProperties ~]";break}const g=p[f];c[f]=F1(f,g,u-1,r,i),d++}return l(t),c}function CX(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(WQ(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${s6(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=TX(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function TX(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}var js;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(js||(js={}));function wX(e){return new xo(t=>{t(e)})}class xo{__init(){this._state=js.PENDING}__init2(){this._handlers=[]}constructor(t){xo.prototype.__init.call(this),xo.prototype.__init2.call(this),xo.prototype.__init3.call(this),xo.prototype.__init4.call(this),xo.prototype.__init5.call(this),xo.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new xo((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(l){i(l)}},a=>{if(!n)i(a);else try{r(n(a))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new xo((n,r)=>{let i,a;return this.then(l=>{a=!1,i=l,t&&t()},l=>{a=!0,i=l,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(js.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(js.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===js.PENDING){if(a6(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===js.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===js.RESOLVED&&n[1](this._value),this._state===js.REJECTED&&n[2](this._value),n[0]=!0)})}}}const c6=rb(),B1={nowSeconds:()=>Date.now()/1e3};function xX(){const{performance:e}=c6;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function OX(){try{return EX(module,"perf_hooks").performance}catch{return}}const qS=l6()?OX():xX(),p2=qS===void 0?B1:{nowSeconds:()=>(qS.timeOrigin+qS.now())/1e3},Rw=B1.nowSeconds.bind(B1),u6=p2.nowSeconds.bind(p2),RX=(()=>{const{performance:e}=c6;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=iMX(n)};return e&&ab(n,e),n}function ab(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||u6(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ol()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function PX(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),ab(e,n)}function MX(e){return ib({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const kX=100;class du{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=f2()}static clone(t){const n=new du;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata},n._propagationContext={...t._propagationContext}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&ab(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof du?n:this}return t instanceof du?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):ww(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=f2(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:kX;if(r<=0)return this;const i={timestamp:Rw(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...p6(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,n,r,i=0){return new xo((a,l)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const u=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&u===null&&On.log(`Event processor "${s.id}" dropped event`),a6(u)?u.then(o=>this._notifyEventProcessors(t,o,r,i+1).then(a)).then(null,l):this._notifyEventProcessors(t,u,r,i+1).then(a).then(null,l)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?yX(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function p6(){return xw("globalEventProcessors",()=>[])}function $X(e){p6().push(e)}function f2(){return{traceId:ol(),spanId:ol().substring(16),sampled:!1}}const f6=4,LX=100;class m6{constructor(t,n=new du,r=f6){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},l)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:ol(),a=new Error(t);return this._withClient((l,s)=>{l.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:ol();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:l=LX}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:Rw(),...t},o=a?o6(()=>a(u,n)):u;o!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",o,n),r.addBreadcrumb(o,l))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=m2(this);try{t(this)}finally{m2(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +Name: ${s8(n)} +Error:`,r)}}function lX(){"console"in Er&&j0.forEach(function(e){e in Er.console&&No(Er.console,e,function(t){return function(...n){Mo("console",{args:n,level:e}),t&&t.apply(Er.console,n)}})})}function cX(){!aX()||No(Er,"fetch",function(e){return function(...t){const{method:n,url:r}=uX(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return Mo("fetch",{...i}),e.apply(Er,t).then(a=>(Mo("fetch",{...i,endTimestamp:Date.now(),response:a}),a),a=>{throw Mo("fetch",{...i,endTimestamp:Date.now(),error:a}),a})}})}function L1(e,t){return!!e&&typeof e=="object"&&!!e[t]}function u2(e){return typeof e=="string"?e:e?L1(e,"url")?e.url:e.toString?e.toString():"":""}function uX(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:u2(n),method:L1(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:u2(t),method:L1(t,"method")?String(t.method).toUpperCase():"GET"}}function dX(){if(!("XMLHttpRequest"in Er))return;const e=XMLHttpRequest.prototype;No(e,"open",function(t){return function(...n){const r=n[1],i=this[Dd]={method:km(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};km(r)&&i.method==="POST"&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const l=this[Dd];if(!!l&&this.readyState===4){try{l.status_code=this.status}catch{}Mo("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?No(this,"onreadystatechange",function(l){return function(...s){return a(),l.apply(this,s)}}):this.addEventListener("readystatechange",a),No(this,"setRequestHeader",function(l){return function(...s){const[u,o]=s,c=this[Dd];return c&&(c.request_headers[u.toLowerCase()]=o),l.apply(this,s)}}),t.apply(this,n)}}),No(e,"send",function(t){return function(...n){const r=this[Dd];return r&&n[0]!==void 0&&(r.body=n[0]),Mo("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let a_;function pX(){if(!oX())return;const e=Er.onpopstate;Er.onpopstate=function(...n){const r=Er.location.href,i=a_;if(a_=r,Mo("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const a=a_,l=String(i);a_=l,Mo("history",{from:a,to:l})}return n.apply(this,r)}}No(Er.history,"pushState",t),No(Er.history,"replaceState",t)}const fX=1e3;let o_,s_;function mX(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function gX(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function d2(e,t=!1){return n=>{if(!n||s_===n||gX(n))return;const r=n.type==="keypress"?"input":n.type;o_===void 0?(e({event:n,name:r,global:t}),s_=n):mX(s_,n)&&(e({event:n,name:r,global:t}),s_=n),clearTimeout(o_),o_=Er.setTimeout(()=>{o_=void 0},fX)}}function hX(){if(!("document"in Er))return;const e=Mo.bind(null,"dom"),t=d2(e,!0);Er.document.addEventListener("click",t,!1),Er.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Er[n]&&Er[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(No(r,"addEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=o[a]=o[a]||{refCount:0};if(!c.handler){const d=d2(e);c.handler=d,i.call(this,a,d,s)}c.refCount++}catch{}return i.call(this,a,l,s)}}),No(r,"removeEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__||{},c=o[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,s),c.handler=void 0,delete o[a]),Object.keys(o).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,l,s)}}))})}let l_=null;function _X(){l_=Er.onerror,Er.onerror=function(e,t,n,r,i){return Mo("error",{column:r,error:i,line:n,msg:e,url:t}),l_&&!l_.__SENTRY_LOADER__?l_.apply(this,arguments):!1},Er.onerror.__SENTRY_INSTRUMENTED__=!0}let c_=null;function vX(){c_=Er.onunhandledrejection,Er.onunhandledrejection=function(e){return Mo("unhandledrejection",e),c_&&!c_.__SENTRY_LOADER__?c_.apply(this,arguments):!0},Er.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function bX(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let a=0;at.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function yX(e){return Array.isArray(e)?e:[e]}function SX(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function l8(){return!SX()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function EX(e,t){return e.require(t)}function Gl(e,t=100,n=1/0){try{return F1("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function F1(e,t,n=1/0,r=1/0,i=bX()){const[a,l]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!qQ(t))return t;const s=CX(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const u=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(u===0)return s.replace("object ","");if(a(t))return"[Circular ~]";const o=t;if(o&&typeof o.toJSON=="function")try{const f=o.toJSON();return F1("",f,u-1,r,i)}catch{}const c=Array.isArray(t)?[]:{};let d=0;const p=rX(t);for(const f in p){if(!Object.prototype.hasOwnProperty.call(p,f))continue;if(d>=r){c[f]="[MaxProperties ~]";break}const g=p[f];c[f]=F1(f,g,u-1,r,i),d++}return l(t),c}function CX(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(WQ(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${s8(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=TX(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function TX(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}var js;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(js||(js={}));function wX(e){return new xo(t=>{t(e)})}class xo{__init(){this._state=js.PENDING}__init2(){this._handlers=[]}constructor(t){xo.prototype.__init.call(this),xo.prototype.__init2.call(this),xo.prototype.__init3.call(this),xo.prototype.__init4.call(this),xo.prototype.__init5.call(this),xo.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new xo((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(l){i(l)}},a=>{if(!n)i(a);else try{r(n(a))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new xo((n,r)=>{let i,a;return this.then(l=>{a=!1,i=l,t&&t()},l=>{a=!0,i=l,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(js.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(js.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===js.PENDING){if(a8(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===js.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===js.RESOLVED&&n[1](this._value),this._state===js.REJECTED&&n[2](this._value),n[0]=!0)})}}}const c8=rb(),B1={nowSeconds:()=>Date.now()/1e3};function xX(){const{performance:e}=c8;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function OX(){try{return EX(module,"perf_hooks").performance}catch{return}}const qS=l8()?OX():xX(),p2=qS===void 0?B1:{nowSeconds:()=>(qS.timeOrigin+qS.now())/1e3},Rw=B1.nowSeconds.bind(B1),u8=p2.nowSeconds.bind(p2),RX=(()=>{const{performance:e}=c8;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=iMX(n)};return e&&ab(n,e),n}function ab(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||u8(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ol()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function PX(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),ab(e,n)}function MX(e){return ib({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const kX=100;class du{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=f2()}static clone(t){const n=new du;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata},n._propagationContext={...t._propagationContext}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&ab(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof du?n:this}return t instanceof du?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):ww(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=f2(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:kX;if(r<=0)return this;const i={timestamp:Rw(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...p8(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,n,r,i=0){return new xo((a,l)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const u=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&u===null&&On.log(`Event processor "${s.id}" dropped event`),a8(u)?u.then(o=>this._notifyEventProcessors(t,o,r,i+1).then(a)).then(null,l):this._notifyEventProcessors(t,u,r,i+1).then(a).then(null,l)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?yX(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function p8(){return xw("globalEventProcessors",()=>[])}function $X(e){p8().push(e)}function f2(){return{traceId:ol(),spanId:ol().substring(16),sampled:!1}}const f8=4,LX=100;class m8{constructor(t,n=new du,r=f8){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},l)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:ol(),a=new Error(t);return this._withClient((l,s)=>{l.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:ol();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:l=LX}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:Rw(),...t},o=a?o8(()=>a(u,n)):u;o!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",o,n),r.addBreadcrumb(o,l))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=m2(this);try{t(this)}finally{m2(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); -`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&PX(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=d6}=r&&r.getOptions()||{},{userAgent:l}=so.navigator||{},s=DX({release:i,environment:a,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&ab(u,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=ob().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ob(){return so.__SENTRY__=so.__SENTRY__||{extensions:{},hub:void 0},so}function m2(e){const t=ob(),n=U1(t);return g6(t,e),n}function co(){const e=ob();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return FX(e)}function FX(e=ob()){return(!BX(e)||U1(e).isOlderThan(f6))&&g6(e,new m6),U1(e)}function BX(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function U1(e){return xw("hub",()=>new m6,e)}function g6(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function h6(e,t){return co().captureException(e,{captureContext:t})}function UX(e,t){co().setContext(e,t)}function HX(e,t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,l={...t,event_id:t.event_id||n.event_id||ol(),timestamp:t.timestamp||Rw()},s=n.integrations||e.integrations.map(c=>c.name);zX(l,e),YX(l,s),t.type===void 0&&VX(l,e.stackParser);let u=r;n.captureContext&&(u=du.clone(u).update(n.captureContext));let o=wX(l);if(u){if(u.getAttachments){const c=[...n.attachments||[],...u.getAttachments()];c.length&&(n.attachments=c)}o=u.applyToEvent(l,n)}return o.then(c=>(c&&GX(c),typeof i=="number"&&i>0?jX(c,i,a):c))}function zX(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:d6),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=jS(e.message,a));const l=e.exception&&e.exception.values&&e.exception.values[0];l&&l.value&&(l.value=jS(l.value,a));const s=e.request;s&&s.url&&(s.url=jS(s.url,a))}const g2=new WeakMap;function VX(e,t){const n=so._sentryDebugIds;if(!n)return;let r;const i=g2.get(t);i?r=i:(r=new Map,g2.set(t,r));const a=Object.keys(n).reduce((l,s)=>{let u;const o=r.get(s);o?u=o:(u=t(s),r.set(s,u));for(let c=u.length-1;c>=0;c--){const d=u[c];if(d.filename){l[d.filename]=n[s];break}}return l},{});try{e.exception.values.forEach(l=>{l.stacktrace.frames.forEach(s=>{s.filename&&(s.debug_id=a[s.filename])})})}catch{}}function GX(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function YX(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function jX(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:Gl(i.data,t,n)}}))},...e.user&&{user:Gl(e.user,t,n)},...e.contexts&&{contexts:Gl(e.contexts,t,n)},...e.extra&&{extra:Gl(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Gl(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>(i.data&&(i.data=Gl(i.data,t,n)),i))),r}const In=so,Iw="sentryReplaySession",WX="replay_event",Aw="Unable to send Replay",qX=3e5,KX=9e5,ZX=36e5,QX=5e3,XX=5500,JX=6e4,eJ=5e3,tJ=3,u_=15e4,d_=5e3,nJ=3e3,rJ=300,Nw=2e7,iJ=4999,aJ=15e3;var si;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(si||(si={}));function oJ(e){return e.nodeType===e.ELEMENT_NODE}function nm(e){const t=e==null?void 0:e.host;return Boolean(t&&t.shadowRoot&&t.shadowRoot===e)}function _6({maskInputOptions:e,tagName:t,type:n}){t.toLowerCase()==="option"&&(t="select");const r=typeof n=="string"?n.toLowerCase():void 0;return e[t.toLowerCase()]||r&&e[r]||r==="password"||t==="input"&&!n&&e.text}function sJ({tagName:e,type:t,maskInputOptions:n,maskInputSelector:r}){return r||_6({maskInputOptions:n,tagName:e,type:t})}function $m({input:e,maskInputSelector:t,unmaskInputSelector:n,maskInputOptions:r,tagName:i,type:a,value:l,maskInputFn:s}){let u=l||"";return n&&e.matches(n)||(e.hasAttribute("data-rr-is-password")&&(a="password"),(_6({maskInputOptions:r,tagName:i,type:a})||t&&e.matches(t))&&(s?u=s(u):u="*".repeat(u.length))),u}const h2="__rrweb_original__";function lJ(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;ru!==0))return!1}return!0}function v6(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?t.toLowerCase():null}function H1(e,t,n){return typeof n=="string"&&n.toLowerCase(),t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}let cJ=1;const uJ=new RegExp("[^a-z0-9-_:]"),Lm=-2;function b6(e){return e?e.replace(/[\S]/g,"*"):""}function dJ(){return cJ++}function pJ(e){if(e instanceof HTMLFormElement)return"form";const t=e.tagName.toLowerCase().trim();return uJ.test(t)?"div":t}function z1(e){try{const t=e.rules||e.cssRules;return t?Array.from(t).map(fJ).join(""):null}catch{return null}}function fJ(e){let t=e.cssText;if(mJ(e))try{t=z1(e.styleSheet)||t}catch{}return y6(t)}function y6(e){if(e.indexOf(":")>-1){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}return e}function mJ(e){return"styleSheet"in e}function gJ(e){return e.cssRules?Array.from(e.cssRules).map(t=>t.cssText?y6(t.cssText):"").join(""):""}function hJ(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let dd,_2;const _J=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,vJ=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,bJ=/^(data:)([^,]*),(.*)/i;function p0(e,t){return(e||"").replace(_J,(n,r,i,a,l,s)=>{const u=i||l||s,o=r||a||"";if(!u)return n;if(!vJ.test(u))return`url(${o}${u}${o})`;if(bJ.test(u))return`url(${o}${u}${o})`;if(u[0]==="/")return`url(${o}${hJ(t)+u}${o})`;const c=t.split("/"),d=u.split("/");c.pop();for(const p of d)p!=="."&&(p===".."?c.pop():c.push(p));return`url(${o}${c.join("/")}${o})`})}const yJ=/^[^ \t\n\r\u000c]+/,SJ=/^[, \t\n\r\u000c]+/;function EJ(e,t){if(t.trim()==="")return t;let n=0;function r(a){let l,s=a.exec(t.substring(n));return s?(l=s[0],n+=l.length,l):""}let i=[];for(;r(SJ),!(n>=t.length);){let a=r(yJ);if(a.slice(-1)===",")a=Pd(e,a.substring(0,a.length-1)),i.push(a);else{let l="";a=Pd(e,a);let s=!1;for(;;){let u=t.charAt(n);if(u===""){i.push((a+l).trim());break}else if(s)u===")"&&(s=!1);else if(u===","){n+=1,i.push((a+l).trim());break}else u==="("&&(s=!0);l+=u,n+=1}}}return i.join(", ")}function Pd(e,t){if(!t||t.trim()==="")return t;const n=e.createElement("a");return n.href=t,n.href}function CJ(e){return Boolean(e.tagName==="svg"||e.ownerSVGElement)}function V1(){const e=document.createElement("a");return e.href="",e.href}function S6(e,t,n,r,i,a,l,s){if(!i)return i;const u=r.toLowerCase(),o=n.toLowerCase();return u==="src"||u==="href"||u==="xlink:href"&&i[0]!=="#"||u==="background"&&(o==="table"||o==="td"||o==="th")?Pd(e,i):u==="srcset"?EJ(e,i):u==="style"?p0(i,V1()):o==="object"&&u==="data"?Pd(e,i):a&&TJ(t,u,o,l)?s?s(i):b6(i):i}function TJ(e,t,n,r){return r&&e.matches(r)?!1:["placeholder","title","aria-label"].indexOf(t)>-1||n==="input"&&t==="value"&&e.hasAttribute("type")&&["submit","button"].indexOf(e.getAttribute("type").toLowerCase())>-1}function wJ(e,t,n,r){if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let i=0;i{i||(t(),i=!0)},n);e.addEventListener("load",()=>{clearTimeout(s),i=!0,t()});return}const l="about:blank";if(r.location.href!==l||e.src===l||e.src===""){setTimeout(t,0);return}e.addEventListener("load",t)}function OJ(e,t){var n;const{doc:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,inlineStylesheet:c,maskInputSelector:d,unmaskInputSelector:p,maskAllText:f,maskInputOptions:g={},maskTextFn:m,maskInputFn:h,dataURLOptions:v={},inlineImages:b,recordCanvas:y,keepIframeSrcFn:S}=t;let C;if(r.__sn){const w=r.__sn.id;C=w===1?void 0:w}switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:si.Document,childNodes:[],compatMode:e.compatMode,rootId:C}:{type:si.Document,childNodes:[],rootId:C};case e.DOCUMENT_TYPE_NODE:return{type:si.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:const w=wJ(e,i,a,l),T=pJ(e);let O={};for(const{name:P,value:k}of Array.from(e.attributes))AJ(T,P)||(O[P]=S6(r,e,T,P,k,f,o,m));if(T==="link"&&c){const P=Array.from(r.styleSheets).find(D=>D.href===e.href);let k=null;P&&(k=z1(P)),k&&(delete O.rel,delete O.href,O._cssText=p0(k,P.href))}if(T==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const P=z1(e.sheet);P&&(O._cssText=p0(P,V1()))}if(T==="input"||T==="textarea"||T==="select"||T==="option"){const P=e,k=v6(P),D=H1(P,T.toUpperCase(),k),F=e.checked;k!=="submit"&&k!=="button"&&D&&(O.value=$m({input:P,type:k,tagName:T,value:D,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:g,maskInputFn:h})),F&&(O.checked=F)}if(T==="option"&&(e.selected&&!g.select?O.selected=!0:delete O.selected),T==="canvas"&&y){if(e.__context==="2d")lJ(e)||(O.rr_dataURL=e.toDataURL(v.type,v.quality));else if(!("__context"in e)){const P=e.toDataURL(v.type,v.quality),k=document.createElement("canvas");k.width=e.width,k.height=e.height;const D=k.toDataURL(v.type,v.quality);P!==D&&(O.rr_dataURL=P)}}if(T==="img"&&b){dd||(dd=r.createElement("canvas"),_2=dd.getContext("2d"));const P=e,k=P.crossOrigin;P.crossOrigin="anonymous";const D=()=>{try{dd.width=P.naturalWidth,dd.height=P.naturalHeight,_2.drawImage(P,0,0),O.rr_dataURL=dd.toDataURL(v.type,v.quality)}catch(F){console.warn(`Cannot inline img src=${P.currentSrc}! Error: ${F}`)}k?O.crossOrigin=k:delete O.crossOrigin};P.complete&&P.naturalWidth!==0?D():P.onload=D}if((T==="audio"||T==="video")&&(O.rr_mediaState=e.paused?"paused":"played",O.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(O.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(O.rr_scrollTop=e.scrollTop),w){const{width:P,height:k}=e.getBoundingClientRect();O={class:O.class,rr_width:`${P}px`,rr_height:`${k}px`}}return T==="iframe"&&!S(O.src)&&(e.contentDocument||(O.rr_src=O.src),delete O.src),{type:si.Element,tagName:T,attributes:O,childNodes:[],isSVG:CJ(e)||void 0,needBlock:w,rootId:C};case e.TEXT_NODE:const I=e.parentNode&&e.parentNode.tagName;let N=e.textContent;const M=I==="STYLE"?!0:void 0,B=I==="SCRIPT"?!0:void 0;if(M&&N){try{e.nextSibling||e.previousSibling||!((n=e.parentNode.sheet)===null||n===void 0)&&n.cssRules&&(N=gJ(e.parentNode.sheet))}catch(P){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${P}`,e)}N=p0(N,V1())}if(B&&(N="SCRIPT_PLACEHOLDER"),I==="TEXTAREA"&&N)N="";else if(I==="OPTION"&&N){const P=e.parentNode;N=$m({input:P,type:null,tagName:I,value:N,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:g,maskInputFn:h})}else!M&&!B&&q0(e,s,u,o,f)&&N&&(N=m?m(N):b6(N));return{type:si.Text,textContent:N||"",isStyle:M,rootId:C};case e.CDATA_SECTION_NODE:return{type:si.CDATA,textContent:"",rootId:C};case e.COMMENT_NODE:return{type:si.Comment,textContent:e.textContent||"",rootId:C};default:return!1}}function sr(e){return e==null?"":e.toLowerCase()}function RJ(e,t){if(t.comment&&e.type===si.Comment)return!0;if(e.type===si.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(sr(e.attributes.name).match(/^msapplication-tile(image|color)$/)||sr(e.attributes.name)==="application-name"||sr(e.attributes.rel)==="icon"||sr(e.attributes.rel)==="apple-touch-icon"||sr(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&sr(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(sr(e.attributes.property).match(/^(og|twitter|fb):/)||sr(e.attributes.name).match(/^(og|twitter):/)||sr(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(sr(e.attributes.name)==="robots"||sr(e.attributes.name)==="googlebot"||sr(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(sr(e.attributes.name)==="author"||sr(e.attributes.name)==="generator"||sr(e.attributes.name)==="framework"||sr(e.attributes.name)==="publisher"||sr(e.attributes.name)==="progid"||sr(e.attributes.property).match(/^article:/)||sr(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(sr(e.attributes.name)==="google-site-verification"||sr(e.attributes.name)==="yandex-verification"||sr(e.attributes.name)==="csrf-token"||sr(e.attributes.name)==="p:domain_verify"||sr(e.attributes.name)==="verify-v1"||sr(e.attributes.name)==="verification"||sr(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function rm(e,t){const{doc:n,map:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,skipChild:c=!1,inlineStylesheet:d=!0,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m={},maskTextFn:h,maskInputFn:v,slimDOMOptions:b,dataURLOptions:y={},inlineImages:S=!1,recordCanvas:C=!1,onSerialize:w,onIframeLoad:T,iframeLoadTimeout:O=5e3,keepIframeSrcFn:I=()=>!1}=t;let{preserveWhiteSpace:N=!0}=t;const M=OJ(e,{doc:n,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m,maskTextFn:h,maskInputFn:v,dataURLOptions:y,inlineImages:S,recordCanvas:C,keepIframeSrcFn:I});if(!M)return console.warn(e,"not serialized"),null;let B;"__sn"in e?B=e.__sn.id:RJ(M,b)||!N&&M.type===si.Text&&!M.isStyle&&!M.textContent.replace(/^\s+|\s+$/gm,"").length?B=Lm:B=dJ();const P=Object.assign(M,{id:B});if(e.__sn=P,B===Lm)return null;r[B]=e,w&&w(e);let k=!c;if(P.type===si.Element&&(k=k&&!P.needBlock,delete P.needBlock,e.shadowRoot&&(P.isShadowHost=!0)),(P.type===si.Document||P.type===si.Element)&&k){b.headWhitespace&&M.type===si.Element&&M.tagName==="head"&&(N=!1);const D={doc:n,map:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,skipChild:c,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m,maskTextFn:h,maskInputFn:v,slimDOMOptions:b,dataURLOptions:y,inlineImages:S,recordCanvas:C,preserveWhiteSpace:N,onSerialize:w,onIframeLoad:T,iframeLoadTimeout:O,keepIframeSrcFn:I};for(const F of Array.from(e.childNodes)){const U=rm(F,D);U&&P.childNodes.push(U)}if(oJ(e)&&e.shadowRoot)for(const F of Array.from(e.shadowRoot.childNodes)){const U=rm(F,D);U&&(U.isShadow=!0,P.childNodes.push(U))}}return e.parentNode&&nm(e.parentNode)&&(P.isShadow=!0),P.type===si.Element&&P.tagName==="iframe"&&xJ(e,()=>{const D=e.contentDocument;if(D&&T){const F=rm(D,{doc:D,map:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m,maskTextFn:h,maskInputFn:v,slimDOMOptions:b,dataURLOptions:y,inlineImages:S,recordCanvas:C,preserveWhiteSpace:N,onSerialize:w,onIframeLoad:T,iframeLoadTimeout:O,keepIframeSrcFn:I});F&&T(e,F)}},O),P}function IJ(e,t){const{blockClass:n="rr-block",blockSelector:r=null,unblockSelector:i=null,maskTextClass:a="rr-mask",maskTextSelector:l=null,unmaskTextSelector:s=null,inlineStylesheet:u=!0,inlineImages:o=!1,recordCanvas:c=!1,maskInputSelector:d=null,unmaskInputSelector:p=null,maskAllText:f=!1,maskAllInputs:g=!1,maskTextFn:m,maskInputFn:h,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:y,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,keepIframeSrcFn:T=()=>!1}=t||{},O={};return[rm(e,{doc:e,map:O,blockClass:n,blockSelector:r,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:s,skipChild:!1,inlineStylesheet:u,maskInputSelector:d,unmaskInputSelector:p,maskAllText:f,maskInputOptions:g===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:g===!1?{}:g,maskTextFn:m,maskInputFn:h,slimDOMOptions:v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:b,inlineImages:o,recordCanvas:c,preserveWhiteSpace:y,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,keepIframeSrcFn:T}),O]}function AJ(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}var qn;(function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"})(qn||(qn={}));var gi;(function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"})(gi||(gi={}));var K0;(function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"})(K0||(K0={}));var pp;(function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"})(pp||(pp={}));var v2;(function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"})(v2||(v2={}));var b2;(function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"})(b2||(b2={}));function wa(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}function NJ(){return{map:{},getId(e){return!e||!e.__sn?-1:e.__sn.id},getNode(e){return this.map[e]||null},removeNodeFromMap(e){const t=e.__sn&&e.__sn.id;delete this.map[t],e.childNodes&&e.childNodes.forEach(n=>this.removeNodeFromMap(n))},has(e){return this.map.hasOwnProperty(e)},reset(){this.map={}}}}const wd=`Please stop import mirror directly. Instead of that,\r +`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&PX(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=d8}=r&&r.getOptions()||{},{userAgent:l}=so.navigator||{},s=DX({release:i,environment:a,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&ab(u,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=ob().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ob(){return so.__SENTRY__=so.__SENTRY__||{extensions:{},hub:void 0},so}function m2(e){const t=ob(),n=U1(t);return g8(t,e),n}function co(){const e=ob();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return FX(e)}function FX(e=ob()){return(!BX(e)||U1(e).isOlderThan(f8))&&g8(e,new m8),U1(e)}function BX(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function U1(e){return xw("hub",()=>new m8,e)}function g8(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function h8(e,t){return co().captureException(e,{captureContext:t})}function UX(e,t){co().setContext(e,t)}function HX(e,t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,l={...t,event_id:t.event_id||n.event_id||ol(),timestamp:t.timestamp||Rw()},s=n.integrations||e.integrations.map(c=>c.name);zX(l,e),YX(l,s),t.type===void 0&&VX(l,e.stackParser);let u=r;n.captureContext&&(u=du.clone(u).update(n.captureContext));let o=wX(l);if(u){if(u.getAttachments){const c=[...n.attachments||[],...u.getAttachments()];c.length&&(n.attachments=c)}o=u.applyToEvent(l,n)}return o.then(c=>(c&&GX(c),typeof i=="number"&&i>0?jX(c,i,a):c))}function zX(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:d8),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=jS(e.message,a));const l=e.exception&&e.exception.values&&e.exception.values[0];l&&l.value&&(l.value=jS(l.value,a));const s=e.request;s&&s.url&&(s.url=jS(s.url,a))}const g2=new WeakMap;function VX(e,t){const n=so._sentryDebugIds;if(!n)return;let r;const i=g2.get(t);i?r=i:(r=new Map,g2.set(t,r));const a=Object.keys(n).reduce((l,s)=>{let u;const o=r.get(s);o?u=o:(u=t(s),r.set(s,u));for(let c=u.length-1;c>=0;c--){const d=u[c];if(d.filename){l[d.filename]=n[s];break}}return l},{});try{e.exception.values.forEach(l=>{l.stacktrace.frames.forEach(s=>{s.filename&&(s.debug_id=a[s.filename])})})}catch{}}function GX(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function YX(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function jX(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:Gl(i.data,t,n)}}))},...e.user&&{user:Gl(e.user,t,n)},...e.contexts&&{contexts:Gl(e.contexts,t,n)},...e.extra&&{extra:Gl(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Gl(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>(i.data&&(i.data=Gl(i.data,t,n)),i))),r}const In=so,Iw="sentryReplaySession",WX="replay_event",Aw="Unable to send Replay",qX=3e5,KX=9e5,ZX=36e5,QX=5e3,XX=5500,JX=6e4,eJ=5e3,tJ=3,u_=15e4,d_=5e3,nJ=3e3,rJ=300,Nw=2e7,iJ=4999,aJ=15e3;var si;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(si||(si={}));function oJ(e){return e.nodeType===e.ELEMENT_NODE}function nm(e){const t=e==null?void 0:e.host;return Boolean(t&&t.shadowRoot&&t.shadowRoot===e)}function _8({maskInputOptions:e,tagName:t,type:n}){t.toLowerCase()==="option"&&(t="select");const r=typeof n=="string"?n.toLowerCase():void 0;return e[t.toLowerCase()]||r&&e[r]||r==="password"||t==="input"&&!n&&e.text}function sJ({tagName:e,type:t,maskInputOptions:n,maskInputSelector:r}){return r||_8({maskInputOptions:n,tagName:e,type:t})}function $m({input:e,maskInputSelector:t,unmaskInputSelector:n,maskInputOptions:r,tagName:i,type:a,value:l,maskInputFn:s}){let u=l||"";return n&&e.matches(n)||(e.hasAttribute("data-rr-is-password")&&(a="password"),(_8({maskInputOptions:r,tagName:i,type:a})||t&&e.matches(t))&&(s?u=s(u):u="*".repeat(u.length))),u}const h2="__rrweb_original__";function lJ(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;ru!==0))return!1}return!0}function v8(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?t.toLowerCase():null}function H1(e,t,n){return typeof n=="string"&&n.toLowerCase(),t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}let cJ=1;const uJ=new RegExp("[^a-z0-9-_:]"),Lm=-2;function b8(e){return e?e.replace(/[\S]/g,"*"):""}function dJ(){return cJ++}function pJ(e){if(e instanceof HTMLFormElement)return"form";const t=e.tagName.toLowerCase().trim();return uJ.test(t)?"div":t}function z1(e){try{const t=e.rules||e.cssRules;return t?Array.from(t).map(fJ).join(""):null}catch{return null}}function fJ(e){let t=e.cssText;if(mJ(e))try{t=z1(e.styleSheet)||t}catch{}return y8(t)}function y8(e){if(e.indexOf(":")>-1){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}return e}function mJ(e){return"styleSheet"in e}function gJ(e){return e.cssRules?Array.from(e.cssRules).map(t=>t.cssText?y8(t.cssText):"").join(""):""}function hJ(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let dd,_2;const _J=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,vJ=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,bJ=/^(data:)([^,]*),(.*)/i;function p0(e,t){return(e||"").replace(_J,(n,r,i,a,l,s)=>{const u=i||l||s,o=r||a||"";if(!u)return n;if(!vJ.test(u))return`url(${o}${u}${o})`;if(bJ.test(u))return`url(${o}${u}${o})`;if(u[0]==="/")return`url(${o}${hJ(t)+u}${o})`;const c=t.split("/"),d=u.split("/");c.pop();for(const p of d)p!=="."&&(p===".."?c.pop():c.push(p));return`url(${o}${c.join("/")}${o})`})}const yJ=/^[^ \t\n\r\u000c]+/,SJ=/^[, \t\n\r\u000c]+/;function EJ(e,t){if(t.trim()==="")return t;let n=0;function r(a){let l,s=a.exec(t.substring(n));return s?(l=s[0],n+=l.length,l):""}let i=[];for(;r(SJ),!(n>=t.length);){let a=r(yJ);if(a.slice(-1)===",")a=Pd(e,a.substring(0,a.length-1)),i.push(a);else{let l="";a=Pd(e,a);let s=!1;for(;;){let u=t.charAt(n);if(u===""){i.push((a+l).trim());break}else if(s)u===")"&&(s=!1);else if(u===","){n+=1,i.push((a+l).trim());break}else u==="("&&(s=!0);l+=u,n+=1}}}return i.join(", ")}function Pd(e,t){if(!t||t.trim()==="")return t;const n=e.createElement("a");return n.href=t,n.href}function CJ(e){return Boolean(e.tagName==="svg"||e.ownerSVGElement)}function V1(){const e=document.createElement("a");return e.href="",e.href}function S8(e,t,n,r,i,a,l,s){if(!i)return i;const u=r.toLowerCase(),o=n.toLowerCase();return u==="src"||u==="href"||u==="xlink:href"&&i[0]!=="#"||u==="background"&&(o==="table"||o==="td"||o==="th")?Pd(e,i):u==="srcset"?EJ(e,i):u==="style"?p0(i,V1()):o==="object"&&u==="data"?Pd(e,i):a&&TJ(t,u,o,l)?s?s(i):b8(i):i}function TJ(e,t,n,r){return r&&e.matches(r)?!1:["placeholder","title","aria-label"].indexOf(t)>-1||n==="input"&&t==="value"&&e.hasAttribute("type")&&["submit","button"].indexOf(e.getAttribute("type").toLowerCase())>-1}function wJ(e,t,n,r){if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let i=0;i{i||(t(),i=!0)},n);e.addEventListener("load",()=>{clearTimeout(s),i=!0,t()});return}const l="about:blank";if(r.location.href!==l||e.src===l||e.src===""){setTimeout(t,0);return}e.addEventListener("load",t)}function OJ(e,t){var n;const{doc:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,inlineStylesheet:c,maskInputSelector:d,unmaskInputSelector:p,maskAllText:f,maskInputOptions:g={},maskTextFn:m,maskInputFn:h,dataURLOptions:v={},inlineImages:b,recordCanvas:y,keepIframeSrcFn:S}=t;let C;if(r.__sn){const w=r.__sn.id;C=w===1?void 0:w}switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:si.Document,childNodes:[],compatMode:e.compatMode,rootId:C}:{type:si.Document,childNodes:[],rootId:C};case e.DOCUMENT_TYPE_NODE:return{type:si.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:const w=wJ(e,i,a,l),T=pJ(e);let O={};for(const{name:P,value:k}of Array.from(e.attributes))AJ(T,P)||(O[P]=S8(r,e,T,P,k,f,o,m));if(T==="link"&&c){const P=Array.from(r.styleSheets).find(D=>D.href===e.href);let k=null;P&&(k=z1(P)),k&&(delete O.rel,delete O.href,O._cssText=p0(k,P.href))}if(T==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const P=z1(e.sheet);P&&(O._cssText=p0(P,V1()))}if(T==="input"||T==="textarea"||T==="select"||T==="option"){const P=e,k=v8(P),D=H1(P,T.toUpperCase(),k),F=e.checked;k!=="submit"&&k!=="button"&&D&&(O.value=$m({input:P,type:k,tagName:T,value:D,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:g,maskInputFn:h})),F&&(O.checked=F)}if(T==="option"&&(e.selected&&!g.select?O.selected=!0:delete O.selected),T==="canvas"&&y){if(e.__context==="2d")lJ(e)||(O.rr_dataURL=e.toDataURL(v.type,v.quality));else if(!("__context"in e)){const P=e.toDataURL(v.type,v.quality),k=document.createElement("canvas");k.width=e.width,k.height=e.height;const D=k.toDataURL(v.type,v.quality);P!==D&&(O.rr_dataURL=P)}}if(T==="img"&&b){dd||(dd=r.createElement("canvas"),_2=dd.getContext("2d"));const P=e,k=P.crossOrigin;P.crossOrigin="anonymous";const D=()=>{try{dd.width=P.naturalWidth,dd.height=P.naturalHeight,_2.drawImage(P,0,0),O.rr_dataURL=dd.toDataURL(v.type,v.quality)}catch(F){console.warn(`Cannot inline img src=${P.currentSrc}! Error: ${F}`)}k?O.crossOrigin=k:delete O.crossOrigin};P.complete&&P.naturalWidth!==0?D():P.onload=D}if((T==="audio"||T==="video")&&(O.rr_mediaState=e.paused?"paused":"played",O.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(O.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(O.rr_scrollTop=e.scrollTop),w){const{width:P,height:k}=e.getBoundingClientRect();O={class:O.class,rr_width:`${P}px`,rr_height:`${k}px`}}return T==="iframe"&&!S(O.src)&&(e.contentDocument||(O.rr_src=O.src),delete O.src),{type:si.Element,tagName:T,attributes:O,childNodes:[],isSVG:CJ(e)||void 0,needBlock:w,rootId:C};case e.TEXT_NODE:const I=e.parentNode&&e.parentNode.tagName;let N=e.textContent;const M=I==="STYLE"?!0:void 0,B=I==="SCRIPT"?!0:void 0;if(M&&N){try{e.nextSibling||e.previousSibling||!((n=e.parentNode.sheet)===null||n===void 0)&&n.cssRules&&(N=gJ(e.parentNode.sheet))}catch(P){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${P}`,e)}N=p0(N,V1())}if(B&&(N="SCRIPT_PLACEHOLDER"),I==="TEXTAREA"&&N)N="";else if(I==="OPTION"&&N){const P=e.parentNode;N=$m({input:P,type:null,tagName:I,value:N,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:g,maskInputFn:h})}else!M&&!B&&q0(e,s,u,o,f)&&N&&(N=m?m(N):b8(N));return{type:si.Text,textContent:N||"",isStyle:M,rootId:C};case e.CDATA_SECTION_NODE:return{type:si.CDATA,textContent:"",rootId:C};case e.COMMENT_NODE:return{type:si.Comment,textContent:e.textContent||"",rootId:C};default:return!1}}function sr(e){return e==null?"":e.toLowerCase()}function RJ(e,t){if(t.comment&&e.type===si.Comment)return!0;if(e.type===si.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(sr(e.attributes.name).match(/^msapplication-tile(image|color)$/)||sr(e.attributes.name)==="application-name"||sr(e.attributes.rel)==="icon"||sr(e.attributes.rel)==="apple-touch-icon"||sr(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&sr(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(sr(e.attributes.property).match(/^(og|twitter|fb):/)||sr(e.attributes.name).match(/^(og|twitter):/)||sr(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(sr(e.attributes.name)==="robots"||sr(e.attributes.name)==="googlebot"||sr(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(sr(e.attributes.name)==="author"||sr(e.attributes.name)==="generator"||sr(e.attributes.name)==="framework"||sr(e.attributes.name)==="publisher"||sr(e.attributes.name)==="progid"||sr(e.attributes.property).match(/^article:/)||sr(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(sr(e.attributes.name)==="google-site-verification"||sr(e.attributes.name)==="yandex-verification"||sr(e.attributes.name)==="csrf-token"||sr(e.attributes.name)==="p:domain_verify"||sr(e.attributes.name)==="verify-v1"||sr(e.attributes.name)==="verification"||sr(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function rm(e,t){const{doc:n,map:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,skipChild:c=!1,inlineStylesheet:d=!0,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m={},maskTextFn:h,maskInputFn:v,slimDOMOptions:b,dataURLOptions:y={},inlineImages:S=!1,recordCanvas:C=!1,onSerialize:w,onIframeLoad:T,iframeLoadTimeout:O=5e3,keepIframeSrcFn:I=()=>!1}=t;let{preserveWhiteSpace:N=!0}=t;const M=OJ(e,{doc:n,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m,maskTextFn:h,maskInputFn:v,dataURLOptions:y,inlineImages:S,recordCanvas:C,keepIframeSrcFn:I});if(!M)return console.warn(e,"not serialized"),null;let B;"__sn"in e?B=e.__sn.id:RJ(M,b)||!N&&M.type===si.Text&&!M.isStyle&&!M.textContent.replace(/^\s+|\s+$/gm,"").length?B=Lm:B=dJ();const P=Object.assign(M,{id:B});if(e.__sn=P,B===Lm)return null;r[B]=e,w&&w(e);let k=!c;if(P.type===si.Element&&(k=k&&!P.needBlock,delete P.needBlock,e.shadowRoot&&(P.isShadowHost=!0)),(P.type===si.Document||P.type===si.Element)&&k){b.headWhitespace&&M.type===si.Element&&M.tagName==="head"&&(N=!1);const D={doc:n,map:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,skipChild:c,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m,maskTextFn:h,maskInputFn:v,slimDOMOptions:b,dataURLOptions:y,inlineImages:S,recordCanvas:C,preserveWhiteSpace:N,onSerialize:w,onIframeLoad:T,iframeLoadTimeout:O,keepIframeSrcFn:I};for(const F of Array.from(e.childNodes)){const U=rm(F,D);U&&P.childNodes.push(U)}if(oJ(e)&&e.shadowRoot)for(const F of Array.from(e.shadowRoot.childNodes)){const U=rm(F,D);U&&(U.isShadow=!0,P.childNodes.push(U))}}return e.parentNode&&nm(e.parentNode)&&(P.isShadow=!0),P.type===si.Element&&P.tagName==="iframe"&&xJ(e,()=>{const D=e.contentDocument;if(D&&T){const F=rm(D,{doc:D,map:r,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:s,maskTextSelector:u,unmaskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:f,maskAllText:g,maskInputOptions:m,maskTextFn:h,maskInputFn:v,slimDOMOptions:b,dataURLOptions:y,inlineImages:S,recordCanvas:C,preserveWhiteSpace:N,onSerialize:w,onIframeLoad:T,iframeLoadTimeout:O,keepIframeSrcFn:I});F&&T(e,F)}},O),P}function IJ(e,t){const{blockClass:n="rr-block",blockSelector:r=null,unblockSelector:i=null,maskTextClass:a="rr-mask",maskTextSelector:l=null,unmaskTextSelector:s=null,inlineStylesheet:u=!0,inlineImages:o=!1,recordCanvas:c=!1,maskInputSelector:d=null,unmaskInputSelector:p=null,maskAllText:f=!1,maskAllInputs:g=!1,maskTextFn:m,maskInputFn:h,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:y,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,keepIframeSrcFn:T=()=>!1}=t||{},O={};return[rm(e,{doc:e,map:O,blockClass:n,blockSelector:r,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:s,skipChild:!1,inlineStylesheet:u,maskInputSelector:d,unmaskInputSelector:p,maskAllText:f,maskInputOptions:g===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:g===!1?{}:g,maskTextFn:m,maskInputFn:h,slimDOMOptions:v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:b,inlineImages:o,recordCanvas:c,preserveWhiteSpace:y,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,keepIframeSrcFn:T}),O]}function AJ(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}var qn;(function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"})(qn||(qn={}));var gi;(function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"})(gi||(gi={}));var K0;(function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"})(K0||(K0={}));var pp;(function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"})(pp||(pp={}));var v2;(function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"})(v2||(v2={}));var b2;(function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"})(b2||(b2={}));function wa(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}function NJ(){return{map:{},getId(e){return!e||!e.__sn?-1:e.__sn.id},getNode(e){return this.map[e]||null},removeNodeFromMap(e){const t=e.__sn&&e.__sn.id;delete this.map[t],e.childNodes&&e.childNodes.forEach(n=>this.removeNodeFromMap(n))},has(e){return this.map.hasOwnProperty(e)},reset(){this.map={}}}}const wd=`Please stop import mirror directly. Instead of that,\r now you can use replayer.getMirror() to access the mirror instance of a replayer,\r -or you can use record.mirror to access the mirror instance during recording.`;let y2={map:{},getId(){return console.error(wd),-1},getNode(){return console.error(wd),null},removeNodeFromMap(){console.error(wd)},has(){return console.error(wd),!1},reset(){console.error(wd)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(y2=new Proxy(y2,{get(e,t,n){return t==="map"&&console.error(wd),Reflect.get(e,t,n)}}));function Fm(e,t,n={}){let r=null,i=0;return function(a){let l=Date.now();!i&&n.leading===!1&&(i=l);let s=t-(l-i),u=this,o=arguments;s<=0||s>t?(r&&(clearTimeout(r),r=null),i=l,e.apply(u,o)):!r&&n.trailing!==!1&&(r=setTimeout(()=>{i=n.leading===!1?0:Date.now(),r=null,e.apply(u,o)},s))}}function sb(e,t,n,r,i=window){const a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(l){setTimeout(()=>{n.set.call(this,l)},0),a&&a.set&&a.set.call(this,l)}}),()=>sb(e,t,a||{},!0)}function fp(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}function E6(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function C6(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Vi(e,t,n,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){let i=!1;const a=r&&e.matches(r);return typeof t=="string"?e.closest!==void 0?i=!a&&e.closest("."+t)!==null:i=!a&&e.classList.contains(t):!a&&e.classList.forEach(l=>{t.test(l)&&(i=!0)}),!i&&n&&(i=e.matches(n)),!a&&i||Vi(e.parentNode,t,n,r)}return e.nodeType===e.TEXT_NODE,Vi(e.parentNode,t,n,r)}function KS(e){return"__sn"in e?e.__sn.id===Lm:!1}function T6(e,t){if(nm(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?T6(e.parentNode,t):!0:!0}function w6(e){return Boolean(e.changedTouches)}function DJ(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(n){if(!(0 in arguments))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function x6(e){return"__sn"in e?e.__sn.type===si.Element&&e.__sn.tagName==="iframe":!1}function O6(e){return Boolean(e==null?void 0:e.shadowRoot)}function S2(e){return"__ln"in e}class PJ{constructor(){this.length=0,this.head=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r`${e}@${t}`;function C2(e){return"__sn"in e}class MJ{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new PJ,r=s=>{let u=s,o=Lm;for(;o===Lm;)u=u&&u.nextSibling,o=u&&this.mirror.getId(u);return o},i=s=>{var u,o,c,d,p;const f=s.getRootNode?(u=s.getRootNode())===null||u===void 0?void 0:u.host:null;let g=f;for(;!((c=(o=g==null?void 0:g.getRootNode)===null||o===void 0?void 0:o.call(g))===null||c===void 0)&&c.host;)g=((p=(d=g==null?void 0:g.getRootNode)===null||d===void 0?void 0:d.call(g))===null||p===void 0?void 0:p.host)||null;const m=!this.doc.contains(s)&&(!g||!this.doc.contains(g));if(!s.parentNode||m)return;const h=nm(s.parentNode)?this.mirror.getId(f):this.mirror.getId(s.parentNode),v=r(s);if(h===-1||v===-1)return n.addNode(s);let b=rm(s,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:y=>{x6(y)&&this.iframeManager.addIframe(y),O6(s)&&this.shadowDomManager.addShadowRoot(s.shadowRoot,document)},onIframeLoad:(y,S)=>{this.iframeManager.attachIframe(y,S),this.shadowDomManager.observeAttachShadow(y)}});b&&t.push({parentId:h,nextId:v,node:b})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const s of this.movedSet)Y1(this.removes,s,this.mirror)&&!this.movedSet.has(s.parentNode)||i(s);for(const s of this.addedSet)!j1(this.droppedSet,s)&&!Y1(this.removes,s,this.mirror)||j1(this.movedSet,s)?i(s):this.droppedSet.add(s);let a=null;for(;n.length;){let s=null;if(a){const u=this.mirror.getId(a.value.parentNode),o=r(a.value);u!==-1&&o!==-1&&(s=a)}if(!s)for(let u=n.length-1;u>=0;u--){const o=n.get(u);if(o){const c=this.mirror.getId(o.value.parentNode),d=r(o.value);if(c!==-1&&d!==-1){s=o;break}}}if(!s){for(;n.head;)n.removeNode(n.head.value);break}a=s.previous,n.removeNode(s.value),i(s.value)}const l={texts:this.texts.map(s=>({id:this.mirror.getId(s.node),value:s.value})).filter(s=>this.mirror.has(s.id)),attributes:this.attributes.map(s=>({id:this.mirror.getId(s.node),attributes:s.attributes})).filter(s=>this.mirror.has(s.id)),removes:this.removes,adds:t};!l.texts.length&&!l.attributes.length&&!l.removes.length&&!l.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(l))},this.processMutation=t=>{if(!KS(t.target))switch(t.type){case"characterData":{const n=t.target.textContent;!Vi(t.target,this.blockClass,this.blockSelector,this.unblockSelector)&&n!==t.oldValue&&this.texts.push({value:q0(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=n.getAttribute(t.attributeName);if(t.attributeName==="value"&&(r=$m({input:n,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:n.getAttribute("type"),value:r,maskInputFn:this.maskInputFn})),Vi(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||r===t.oldValue)return;let i=this.attributes.find(a=>a.node===t.target);if(i||(i={node:t.target,attributes:{}},this.attributes.push(i)),t.attributeName==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),t.attributeName==="style"){const a=this.doc.createElement("span");t.oldValue&&a.setAttribute("style",t.oldValue),(i.attributes.style===void 0||i.attributes.style===null)&&(i.attributes.style={});try{const l=i.attributes.style;for(const s of Array.from(n.style)){const u=n.style.getPropertyValue(s),o=n.style.getPropertyPriority(s);(u!==a.style.getPropertyValue(s)||o!==a.style.getPropertyPriority(s))&&(o===""?l[s]=u:l[s]=[u,o])}for(const s of Array.from(a.style))n.style.getPropertyValue(s)===""&&(l[s]=!1)}catch(l){console.warn("[rrweb] Error when parsing update to style attribute:",l)}}else{const a=t.target;i.attributes[t.attributeName]=S6(this.doc,a,a.tagName,t.attributeName,r,this.maskAllText,this.unmaskTextSelector,this.maskTextFn)}break}case"childList":{t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),i=nm(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Vi(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||KS(n)||(this.addedSet.has(n)?(G1(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||T6(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[E2(r,i)]?G1(this.movedSet,n):this.removes.push({parentId:i,id:r,isShadow:nm(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!(n&&Vi(n,this.blockClass,this.blockSelector,this.unblockSelector))){if(C2(t)){if(KS(t))return;this.movedSet.add(t);let r=null;n&&C2(n)&&(r=n.__sn.id),r&&(this.movedMap[E2(t.__sn.id,r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Vi(t,this.blockClass,this.blockSelector,this.unblockSelector)||t.childNodes.forEach(r=>this.genAdds(r))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function G1(e,t){e.delete(t),t.childNodes.forEach(n=>G1(e,n))}function Y1(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return e.some(a=>a.id===i)?!0:Y1(e,r,n)}function j1(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:j1(e,n):!1}const Ln=e=>(...n)=>{try{return e(...n)}catch(r){try{r.__rrweb__=!0}catch{}throw r}},au=[];function Rg(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function R6(e,t){var n,r;const i=new MJ;au.push(i),i.init(e);let a=window.MutationObserver||window.__rrMutationObserver;const l=(r=(n=window==null?void 0:window.Zone)===null||n===void 0?void 0:n.__symbol__)===null||r===void 0?void 0:r.call(n,"MutationObserver");l&&window[l]&&(a=window[l]);const s=new a(Ln(u=>{e.onMutation&&e.onMutation(u)===!1||i.processMutations(u)}));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function kJ({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const i=typeof t.mousemove=="number"?t.mousemove:50,a=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let l=[],s;const u=Fm(d=>{const p=Date.now()-s;Ln(e)(l.map(f=>(f.timeOffset-=p,f)),d),l=[],s=null},a),o=Fm(d=>{const p=Rg(d),{clientX:f,clientY:g}=w6(d)?d.changedTouches[0]:d;s||(s=Date.now()),l.push({x:f,y:g,id:r.getId(p),timeOffset:Date.now()-s}),u(typeof DragEvent<"u"&&d instanceof DragEvent?gi.Drag:d instanceof MouseEvent?gi.MouseMove:gi.TouchMove)},i,{trailing:!1}),c=[wa("mousemove",Ln(o),n),wa("touchmove",Ln(o),n),wa("drag",Ln(o),n)];return Ln(()=>{c.forEach(d=>d())})}function $J({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:l}){if(l.mouseInteraction===!1)return()=>{};const s=l.mouseInteraction===!0||l.mouseInteraction===void 0?{}:l.mouseInteraction,u=[],o=c=>d=>{const p=Rg(d);if(Vi(p,r,i,a))return;const f=w6(d)?d.changedTouches[0]:d;if(!f)return;const g=n.getId(p),{clientX:m,clientY:h}=f;Ln(e)({type:K0[c],id:g,x:m,y:h})};return Object.keys(K0).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&s[c]!==!1).forEach(c=>{const d=c.toLowerCase(),p=Ln(o(c));u.push(wa(d,p,t))}),Ln(()=>{u.forEach(c=>c())})}function I6({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:l}){const s=Fm(u=>{const o=Rg(u);if(!o||Vi(o,r,i,a))return;const c=n.getId(o);if(o===t){const d=t.scrollingElement||t.documentElement;Ln(e)({id:c,x:d.scrollLeft,y:d.scrollTop})}else Ln(e)({id:c,x:o.scrollLeft,y:o.scrollTop})},l.scroll||100);return wa("scroll",Ln(s),t)}function LJ({viewportResizeCb:e}){let t=-1,n=-1;const r=Fm(()=>{const i=E6(),a=C6();(t!==i||n!==a)&&(Ln(e)({width:Number(a),height:Number(i)}),t=i,n=a)},200);return wa("resize",Ln(r),window)}function T2(e,t){const n=Object.assign({},e);return t||delete n.userTriggered,n}const FJ=["INPUT","TEXTAREA","SELECT"],w2=new WeakMap;function BJ({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:l,ignoreSelector:s,maskInputSelector:u,unmaskInputSelector:o,maskInputOptions:c,maskInputFn:d,sampling:p,userTriggeredOnInput:f}){function g(S){let C=Rg(S);const w=C&&C.tagName,T=S.isTrusted;if(w==="OPTION"&&(C=C.parentElement),!C||!w||FJ.indexOf(w)<0||Vi(C,r,i,a))return;const O=C,I=v6(O);if(O.classList.contains(l)||s&&O.matches(s))return;let N=H1(O,w,I),M=!1;(I==="radio"||I==="checkbox")&&(M=C.checked),sJ({maskInputOptions:c,maskInputSelector:u,tagName:w,type:I})&&(N=$m({input:O,maskInputOptions:c,maskInputSelector:u,unmaskInputSelector:o,tagName:w,type:I,value:N,maskInputFn:d})),m(C,Ln(T2)({text:N,isChecked:M,userTriggered:T},f));const B=C.name;I==="radio"&&B&&M&&t.querySelectorAll(`input[type="radio"][name="${B}"]`).forEach(P=>{if(P!==C){const k=$m({input:P,maskInputOptions:c,maskInputSelector:u,unmaskInputSelector:o,tagName:w,type:I,value:H1(P,w,I),maskInputFn:d});m(P,Ln(T2)({text:k,isChecked:!M,userTriggered:!1},f))}})}function m(S,C){const w=w2.get(S);if(!w||w.text!==C.text||w.isChecked!==C.isChecked){w2.set(S,C);const T=n.getId(S);e(Object.assign(Object.assign({},C),{id:T}))}}const v=(p.input==="last"?["change"]:["input","change"]).map(S=>wa(S,Ln(g),t)),b=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),y=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return b&&b.set&&v.push(...y.map(S=>sb(S[0],S[1],{set(){Ln(g)({target:this})}}))),Ln(()=>{v.forEach(S=>S())})}function Z0(e){const t=[];function n(r,i){if(p_("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||p_("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||p_("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||p_("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const l=Array.from(r.parentRule.cssRules).indexOf(r);i.unshift(l)}else{const l=Array.from(r.parentStyleSheet.cssRules).indexOf(r);i.unshift(l)}return i}return n(e,t)}function UJ({styleSheetRuleCb:e,mirror:t},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const r=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(r,{apply:Ln((s,u,o)=>{const[c,d]=o,p=t.getId(u.ownerNode);return p!==-1&&e({id:p,adds:[{rule:c,index:d}]}),s.apply(u,o)})});const i=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Ln((s,u,o)=>{const[c]=o,d=t.getId(u.ownerNode);return d!==-1&&e({id:d,removes:[{index:c}]}),s.apply(u,o)})});const a={};f_("CSSGroupingRule")?a.CSSGroupingRule=n.CSSGroupingRule:(f_("CSSMediaRule")&&(a.CSSMediaRule=n.CSSMediaRule),f_("CSSConditionRule")&&(a.CSSConditionRule=n.CSSConditionRule),f_("CSSSupportsRule")&&(a.CSSSupportsRule=n.CSSSupportsRule));const l={};return Object.entries(a).forEach(([s,u])=>{l[s]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(l[s].insertRule,{apply:Ln((o,c,d)=>{const[p,f]=d,g=t.getId(c.parentStyleSheet.ownerNode);return g!==-1&&e({id:g,adds:[{rule:p,index:[...Z0(c),f||0]}]}),o.apply(c,d)})}),u.prototype.deleteRule=new Proxy(l[s].deleteRule,{apply:Ln((o,c,d)=>{const[p]=d,f=t.getId(c.parentStyleSheet.ownerNode);return f!==-1&&e({id:f,removes:[{index:[...Z0(c),p]}]}),o.apply(c,d)})})}),Ln(()=>{n.CSSStyleSheet.prototype.insertRule=r,n.CSSStyleSheet.prototype.deleteRule=i,Object.entries(a).forEach(([s,u])=>{u.prototype.insertRule=l[s].insertRule,u.prototype.deleteRule=l[s].deleteRule})})}function HJ({styleDeclarationCb:e,mirror:t},{win:n}){const r=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:Ln((a,l,s)=>{var u,o;const[c,d,p]=s,f=t.getId((o=(u=l.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||o===void 0?void 0:o.ownerNode);return f!==-1&&e({id:f,set:{property:c,value:d,priority:p},index:Z0(l.parentRule)}),a.apply(l,s)})});const i=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Ln((a,l,s)=>{var u,o;const[c]=s,d=t.getId((o=(u=l.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||o===void 0?void 0:o.ownerNode);return d!==-1&&e({id:d,remove:{property:c},index:Z0(l.parentRule)}),a.apply(l,s)})}),Ln(()=>{n.CSSStyleDeclaration.prototype.setProperty=r,n.CSSStyleDeclaration.prototype.removeProperty=i})}function zJ({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a}){const l=u=>Fm(Ln(o=>{const c=Rg(o);if(!c||Vi(c,t,n,r))return;const{currentTime:d,volume:p,muted:f}=c;e({type:u,id:i.getId(c),currentTime:d,volume:p,muted:f})}),a.media||500),s=[wa("play",l(0)),wa("pause",l(1)),wa("seeked",l(2)),wa("volumechange",l(3))];return Ln(()=>{s.forEach(u=>u())})}function VJ({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(u,o,c){const d=new a(u,o,c);return i.set(d,{family:u,buffer:typeof o!="string",descriptors:c,fontSource:typeof o=="string"?o:JSON.stringify(Array.from(new Uint8Array(o)))}),d};const l=fp(t.fonts,"add",function(s){return function(u){return setTimeout(()=>{const o=i.get(u);o&&(e(o),i.delete(u))},0),s.apply(this,[u])}});return r.push(()=>{n.FontFace=a}),r.push(l),Ln(()=>{r.forEach(s=>s())})}function GJ(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:i,scrollCb:a,viewportResizeCb:l,inputCb:s,mediaInteractionCb:u,styleSheetRuleCb:o,styleDeclarationCb:c,canvasMutationCb:d,fontCb:p}=e;e.mutationCb=(...f)=>{t.mutation&&t.mutation(...f),n(...f)},e.mousemoveCb=(...f)=>{t.mousemove&&t.mousemove(...f),r(...f)},e.mouseInteractionCb=(...f)=>{t.mouseInteraction&&t.mouseInteraction(...f),i(...f)},e.scrollCb=(...f)=>{t.scroll&&t.scroll(...f),a(...f)},e.viewportResizeCb=(...f)=>{t.viewportResize&&t.viewportResize(...f),l(...f)},e.inputCb=(...f)=>{t.input&&t.input(...f),s(...f)},e.mediaInteractionCb=(...f)=>{t.mediaInteaction&&t.mediaInteaction(...f),u(...f)},e.styleSheetRuleCb=(...f)=>{t.styleSheetRule&&t.styleSheetRule(...f),o(...f)},e.styleDeclarationCb=(...f)=>{t.styleDeclaration&&t.styleDeclaration(...f),c(...f)},e.canvasMutationCb=(...f)=>{t.canvasMutation&&t.canvasMutation(...f),d(...f)},e.fontCb=(...f)=>{t.font&&t.font(...f),p(...f)}}function YJ(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};GJ(e,t);const r=R6(e,e.doc),i=kJ(e),a=$J(e),l=I6(e),s=LJ(e),u=BJ(e),o=zJ(e),c=UJ(e,{win:n}),d=HJ(e,{win:n}),p=e.collectFonts?VJ(e):()=>{},f=[];for(const g of e.plugins)f.push(g.observer(g.callback,n,g.options));return Ln(()=>{au.forEach(g=>g.reset()),r.disconnect(),i(),a(),l(),s(),u(),o();try{c(),d()}catch{}p(),f.forEach(g=>g())})}function p_(e){return typeof window[e]<"u"}function f_(e){return Boolean(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class jJ{constructor(t){this.iframes=new WeakMap,this.mutationCb=t.mutationCb}addIframe(t){this.iframes.set(t,!0)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var r;this.mutationCb({adds:[{parentId:t.__sn.id,nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),(r=this.loadListener)===null||r===void 0||r.call(this,t)}}class WJ{constructor(t){this.restorePatches=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror;const n=this;this.restorePatches.push(fp(HTMLElement.prototype,"attachShadow",function(r){return function(){const i=r.apply(this,arguments);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,this.ownerDocument),i}}))}addShadowRoot(t,n){R6(Object.assign(Object.assign({},this.bypassOptions),{doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),I6(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))}observeAttachShadow(t){if(t.contentWindow){const n=this;this.restorePatches.push(fp(t.contentWindow.HTMLElement.prototype,"attachShadow",function(r){return function(){const i=r.apply(this,arguments);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,t.contentDocument),i}}))}}reset(){this.restorePatches.forEach(t=>t())}}function qJ(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const p=[...d];if(u==="drawImage"&&p[0]&&p[0]instanceof HTMLCanvasElement){const f=p[0],g=f.getContext("2d");let m=g==null?void 0:g.getImageData(0,0,f.width,f.height),h=m==null?void 0:m.data;p[0]=JSON.stringify(h)}e(this.canvas,{type:pp["2D"],property:u,args:p})},0),c.apply(this,d)}});l.push(o)}catch{const c=sb(t.CanvasRenderingContext2D.prototype,u,{set(d){e(this.canvas,{type:pp["2D"],property:u,args:[d],setter:!0})}});l.push(c)}return()=>{l.forEach(u=>u())}}function ZJ(e,t,n,r){const i=[];try{const a=fp(e.HTMLCanvasElement.prototype,"getContext",function(l){return function(s,...u){return Vi(this,t,n,r)||"__context"in this||(this.__context=s),l.apply(this,[s,...u])}});i.push(a)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(a=>a())}}var Md="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",QJ=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var m_=0;m_>2],i+=Md[(t[n]&3)<<4|t[n+1]>>4],i+=Md[(t[n+1]&15)<<2|t[n+2]>>6],i+=Md[t[n+2]&63];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i};const x2=new Map;function JJ(e,t){let n=x2.get(e);return n||(n=new Map,x2.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const A6=(e,t,n)=>{if(!e||!(N6(e,t)||typeof e=="object"))return;const r=e.constructor.name,i=JJ(n,r);let a=i.indexOf(e);return a===-1&&(a=i.length,i.push(e)),a};function f0(e,t,n){if(e instanceof Array)return e.map(r=>f0(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,i=XJ(e);return{rr_type:r,base64:i}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[f0(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:i}=e;return{rr_type:r,src:i}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[f0(e.data,t,n),e.width,e.height]};if(N6(e,t)||typeof e=="object"){const r=e.constructor.name,i=A6(e,t,n);return{rr_type:r,index:i}}}}return e}const eee=(e,t,n)=>[...e].map(r=>f0(r,t,n)),N6=(e,t)=>{const r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof t[i]=="function");return Boolean(r.find(i=>e instanceof t[i]))};function O2(e,t,n,r,i,a,l,s){const u=[],o=Object.getOwnPropertyNames(e);for(const c of o)try{if(typeof e[c]!="function")continue;const d=fp(e,c,function(p){return function(...f){const g=p.apply(this,f);if(A6(g,s,e),!Vi(this.canvas,r,a,i)){const m=l.getId(this.canvas),h=eee([...f],s,e),v={type:t,property:c,args:h};n(this.canvas,v)}return g}});u.push(d)}catch{const p=sb(e,c,{set(f){n(this.canvas,{type:t,property:c,args:[f],setter:!0})}});u.push(p)}return u}function tee(e,t,n,r,i,a){const l=[];return l.push(...O2(t.WebGLRenderingContext.prototype,pp.WebGL,e,n,r,i,a,t)),typeof t.WebGL2RenderingContext<"u"&&l.push(...O2(t.WebGL2RenderingContext.prototype,pp.WebGL2,e,n,r,i,a,t)),()=>{l.forEach(s=>s())}}class nee{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(n,r){(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(n)||this.pendingCanvasMutations.set(n,[]),this.pendingCanvasMutations.get(n).push(r)},this.mutationCb=t.mutationCb,this.mirror=t.mirror,t.recordCanvas===!0&&this.initCanvasMutationObserver(t.win,t.blockClass,t.blockSelector,t.unblockSelector)}initCanvasMutationObserver(t,n,r,i){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=ZJ(t,n,i,r),l=KJ(this.processMutation.bind(this),t,n,i,r,this.mirror),s=tee(this.processMutation.bind(this),t,n,i,r,this.mirror);this.resetObservers=()=>{a(),l(),s()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const i=r.map(l=>qJ(l,["type"])),{type:a}=r[0];this.mutationCb({id:n,type:a,commands:i}),this.pendingCanvasMutations.delete(t)}}function mi(e){return Object.assign(Object.assign({},e),{timestamp:Date.now()})}let ei,im;const Yf=NJ();function wu(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:l=null,ignoreClass:s="rr-ignore",ignoreSelector:u=null,maskTextClass:o="rr-mask",maskTextSelector:c=null,maskInputSelector:d=null,unmaskTextSelector:p=null,unmaskInputSelector:f=null,inlineStylesheet:g=!0,maskAllText:m=!1,maskAllInputs:h,maskInputOptions:v,slimDOMOptions:b,maskInputFn:y,maskTextFn:S,hooks:C,packFn:w,sampling:T={},mousemoveWait:O,recordCanvas:I=!1,userTriggeredOnInput:N=!1,collectFonts:M=!1,inlineImages:B=!1,plugins:P,keepIframeSrcFn:k=()=>!1,onMutation:D}=e;if(!t)throw new Error("emit function is required");O!==void 0&&T.mousemove===void 0&&(T.mousemove=O);const F=h===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:v!==void 0?v:{},U=b===!0||b==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:b==="all",headMetaDescKeywords:b==="all"}:b||{};DJ();let z,Y=0;const G=ne=>{for(const _e of P||[])_e.eventProcessor&&(ne=_e.eventProcessor(ne));return w&&(ne=w(ne)),ne};ei=(ne,_e)=>{var ue;if(((ue=au[0])===null||ue===void 0?void 0:ue.isFrozen())&&ne.type!==qn.FullSnapshot&&!(ne.type===qn.IncrementalSnapshot&&ne.data.source===gi.Mutation)&&au.forEach(be=>be.unfreeze()),t(G(ne),_e),ne.type===qn.FullSnapshot)z=ne,Y=0;else if(ne.type===qn.IncrementalSnapshot){if(ne.data.source===gi.Mutation&&ne.data.isAttachIframe)return;Y++;const be=r&&Y>=r,fe=n&&ne.timestamp-z.timestamp>n;(be||fe)&&im(!0)}};const K=ne=>{ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Mutation},ne)}))},X=ne=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Scroll},ne)})),ie=ne=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.CanvasMutation},ne)})),se=new jJ({mutationCb:K}),q=new nee({recordCanvas:I,mutationCb:ie,win:window,blockClass:i,blockSelector:a,unblockSelector:l,mirror:Yf}),ee=new WJ({mutationCb:K,scrollCb:X,bypassOptions:{onMutation:D,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:o,maskTextSelector:c,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:f,inlineStylesheet:g,maskAllText:m,maskInputOptions:F,maskTextFn:S,maskInputFn:y,recordCanvas:I,inlineImages:B,sampling:T,slimDOMOptions:U,iframeManager:se,canvasManager:q},mirror:Yf});im=(ne=!1)=>{var _e,ue,be,fe;ei(mi({type:qn.Meta,data:{href:window.location.href,width:C6(),height:E6()}}),ne),au.forEach(de=>de.lock());const[W,J]=IJ(document,{blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:o,maskTextSelector:c,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:f,inlineStylesheet:g,maskAllText:m,maskAllInputs:F,maskTextFn:S,slimDOM:U,recordCanvas:I,inlineImages:B,onSerialize:de=>{x6(de)&&se.addIframe(de),O6(de)&&ee.addShadowRoot(de.shadowRoot,document)},onIframeLoad:(de,ve)=>{se.attachIframe(de,ve),ee.observeAttachShadow(de)},keepIframeSrcFn:k});if(!W)return console.warn("Failed to snapshot the document");Yf.map=J,ei(mi({type:qn.FullSnapshot,data:{node:W,initialOffset:{left:window.pageXOffset!==void 0?window.pageXOffset:(document==null?void 0:document.documentElement.scrollLeft)||((ue=(_e=document==null?void 0:document.body)===null||_e===void 0?void 0:_e.parentElement)===null||ue===void 0?void 0:ue.scrollLeft)||(document==null?void 0:document.body.scrollLeft)||0,top:window.pageYOffset!==void 0?window.pageYOffset:(document==null?void 0:document.documentElement.scrollTop)||((fe=(be=document==null?void 0:document.body)===null||be===void 0?void 0:be.parentElement)===null||fe===void 0?void 0:fe.scrollTop)||(document==null?void 0:document.body.scrollTop)||0}}})),au.forEach(de=>de.unlock())};try{const ne=[];ne.push(wa("DOMContentLoaded",()=>{ei(mi({type:qn.DomContentLoaded,data:{}}))}));const _e=be=>{var fe;return Ln(YJ)({onMutation:D,mutationCb:K,mousemoveCb:(W,J)=>ei(mi({type:qn.IncrementalSnapshot,data:{source:J,positions:W}})),mouseInteractionCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.MouseInteraction},W)})),scrollCb:X,viewportResizeCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.ViewportResize},W)})),inputCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Input},W)})),mediaInteractionCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.MediaInteraction},W)})),styleSheetRuleCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.StyleSheetRule},W)})),styleDeclarationCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.StyleDeclaration},W)})),canvasMutationCb:ie,fontCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Font},W)})),blockClass:i,ignoreClass:s,ignoreSelector:u,maskTextClass:o,maskTextSelector:c,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:f,maskInputOptions:F,inlineStylesheet:g,sampling:T,recordCanvas:I,inlineImages:B,userTriggeredOnInput:N,collectFonts:M,doc:be,maskAllText:m,maskInputFn:y,maskTextFn:S,blockSelector:a,unblockSelector:l,slimDOMOptions:U,mirror:Yf,iframeManager:se,shadowDomManager:ee,canvasManager:q,plugins:((fe=P==null?void 0:P.filter(W=>W.observer))===null||fe===void 0?void 0:fe.map(W=>({observer:W.observer,options:W.options,callback:J=>ei(mi({type:qn.Plugin,data:{plugin:W.name,payload:J}}))})))||[]},C)};se.addLoadListener(be=>{try{ne.push(_e(be.contentDocument))}catch(fe){console.warn(fe)}});const ue=()=>{im(),ne.push(_e(document))};return document.readyState==="interactive"||document.readyState==="complete"?ue():ne.push(wa("load",()=>{ei(mi({type:qn.Load,data:{}})),ue()},window)),()=>{ne.forEach(be=>be())}}catch(ne){console.warn(ne)}}wu.addCustomEvent=(e,t)=>{if(!ei)throw new Error("please add custom event after start recording");ei(mi({type:qn.Custom,data:{tag:e,payload:t}}))};wu.freezePage=()=>{au.forEach(e=>e.freeze())};wu.takeFullSnapshot=e=>{if(!im)throw new Error("please take full snapshot after start recording");im(e)};wu.mirror=Yf;function Dw(e){return e>9999999999?e:e*1e3}function ree(e){return e>9999999999?e/1e3:e}function lb(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:qn.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Gl(t,10,1e3)}}),t.category==="console")))}const iee="button,a";function Pw(e){const t=D6(e);return!t||!(t instanceof Element)?t:t.closest(iee)||t}function D6(e){return aee(e)?e.target:e}function aee(e){return typeof e=="object"&&!!e&&"target"in e}let Yl;function oee(e){return Yl||(Yl=[],see()),Yl.push(e),()=>{const t=Yl?Yl.indexOf(e):-1;t>-1&&Yl.splice(t,1)}}function see(){No(In,"open",function(e){return function(...t){if(Yl)try{Yl.forEach(n=>n())}catch{}return e.apply(In,t)}})}function lee(e,t,n){e.handleClick(t,n)}class am{__init(){this._lastMutation=0}__init2(){this._lastScroll=0}__init3(){this._clicks=[]}constructor(t,n,r=lb){am.prototype.__init.call(this),am.prototype.__init2.call(this),am.prototype.__init3.call(this),this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=()=>{this._lastMutation=g_()},n=()=>{this._lastScroll=g_()},r=oee(()=>{this._lastMutation=g_()}),i=l=>{if(!l.target)return;const s=Pw(l);s&&this._handleMultiClick(s)},a=new MutationObserver(t);a.observe(In.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),In.addEventListener("scroll",n,{passive:!0}),In.addEventListener("click",i,{passive:!0}),this._teardown=()=>{In.removeEventListener("scroll",n),In.removeEventListener("click",i),r(),a.disconnect(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(uee(n,this._ignoreSelector)||!dee(t))return;const r={timestamp:ree(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks()}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=g_();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const i=this._clicks.indexOf(r);i>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(i,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,i=t.mutationAfter&&t.mutationAfter<=this._threshold,a=!r&&!i,{clickCount:l,clickBreadcrumb:s}=t;if(a){const u=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,o=u1){const u={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:In.location.href,route:n.getCurrentRoute(),clickCount:l,metric:!0}};this._addBreadcrumbEvent(n,u)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}const cee=["A","BUTTON","INPUT"];function uee(e,t){return!!(!cee.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function dee(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function g_(){return Date.now()/1e3}function rl(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Q0;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(Q0||(Q0={}));const pee=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function fee(e){const t={};for(const n in e)if(pee.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const mee=e=>t=>{if(!e.isEnabled())return;const n=gee(t);if(!n)return;const r=t.name==="click",i=r&&t.event;r&&e.clickDetector&&i&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&lee(e.clickDetector,n,Pw(t.event)),lb(e,n)};function P6(e,t){const n=e&&_ee(e)&&e.__sn.type===Q0.Element?e.__sn:null;return{message:t,data:n?{nodeId:n.id,node:{id:n.id,tagName:n.tagName,textContent:e?Array.from(e.childNodes).map(r=>"__sn"in r&&r.__sn.type===Q0.Text&&r.__sn.textContent).filter(Boolean).map(r=>r.trim()).join(""):"",attributes:fee(n.attributes)}}:{}}}function gee(e){const{target:t,message:n}=hee(e);return rl({category:`ui.${e.name}`,...P6(t,n)})}function hee(e){const t=e.name==="click";let n,r=null;try{r=t?Pw(e.event):D6(e.event),n=Ow(r,{maxStringLength:200})||""}catch{n=""}return{target:r,message:n}}function _ee(e){return"__sn"in e}function vee(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=bee(t);!n||lb(e,n)}function bee(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a,target:l}=e;if(!l||yee(l)||!a)return null;const s=t||r||i,u=a.length===1;if(!s&&u)return null;const o=Ow(l,{maxStringLength:200})||"",c=P6(l,o);return rl({category:"ui.keyDown",message:o,data:{...c.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a}})}function yee(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const See=["name","type","startTime","transferSize","duration"];function R2(e){return function(t){return See.every(n=>e[n]===t[n])}}function Eee(e,t){const[n,r,i]=e.reduce((u,o)=>(o.entryType==="navigation"?u[0].push(o):o.entryType==="largest-contentful-paint"?u[1].push(o):u[2].push(o),u),[[],[],[]]),a=[],l=[];let s=r.length?r[r.length-1]:void 0;return t.forEach(u=>{if(u.entryType==="largest-contentful-paint"){(!s||s.startTime0&&!n.find(R2(o))&&!l.find(R2(o))&&l.push(o);return}a.push(u)}),[...s?[s]:[],...n,...i,...a,...l].sort((u,o)=>u.startTime-o.startTime)}function Cee(e){const t=r=>{const i=Eee(e.performanceEvents,r.getEntries());e.performanceEvents=i},n=new PerformanceObserver(t);return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach(r=>{try{n.observe({type:r,buffered:!0})}catch{}}),n}const Tee=`/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */ -function t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&sr){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_outi+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_watern&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindexi&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindexi&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&nt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<>>=p,c-=p),c<15&&(f+=z[a++]<>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a>3,a-=k,c-=k<<3,f&=(1<{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whavexe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;function wee(){const e=new Blob([Tee]);return URL.createObjectURL(e)}class Mw extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Nw}.`)}}class cb{__init(){this._totalSize=0}constructor(){cb.prototype.__init.call(this),this.events=[]}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>Nw)throw new Mw;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?Dw(t):null}}class xee{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((i,a)=>{const l=({data:s})=>{const u=s;if(u.method===t&&u.id===r){if(this._worker.removeEventListener("message",l),!u.success){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay]",u.response),a(new Error("Error in compression worker"));return}i(u.response)}};this._worker.addEventListener("message",l),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class kw{__init(){this._totalSize=0}constructor(t){kw.prototype.__init.call(this),this._worker=new xee(t),this._earliestTimestamp=null}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=Dw(t.timestamp);(!this._earliestTimestamp||nNw?Promise.reject(new Mw):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this._worker.postMessage("clear")}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class Oee{constructor(t){this._fallback=new cb,this._compression=new kw(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t}=this._fallback,n=[];for(const r of t)n.push(this._compression.addEvent(r));this._used=this._compression;try{await Promise.all(n)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("[Replay] Failed to add events when switching buffers.",r)}}}function Ree({useCompression:e}){if(e&&window.Worker)try{const t=wee();(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Using compression worker");const n=new Worker(t);return new Oee(n)}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Failed to create compression worker")}return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Using simple buffer"),new cb}function $w(){try{return"sessionStorage"in In&&!!In.sessionStorage}catch{return!1}}function Iee(e){Aee(),e.session=void 0}function Aee(){if(!!$w())try{In.sessionStorage.removeItem(Iw)}catch{}}function W1(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function M6(e,t,n=+new Date){return W1(e.started,t.maxSessionLife,n)||W1(e.lastActivity,t.sessionIdleExpire,n)}function k6(e){return e===void 0?!1:Math.random()"u"||__SENTRY_DEBUG__)&&On.log(`[Replay] Creating new session: ${i.id}`),n&&Lw(i),i}function Pee(){if(!$w())return null;try{const e=In.sessionStorage.getItem(Iw);if(!e)return null;const t=JSON.parse(e);return Fw(t)}catch{return null}}function ZS({timeouts:e,currentSession:t,stickySession:n,sessionSampleRate:r,allowBuffering:i}){const a=t||n&&Pee();if(a){if(!M6(a,e)||i&&a.shouldRefresh)return{type:"saved",session:a};if(a.shouldRefresh)(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Session has expired");else return{type:"new",session:Fw({sampled:!1})}}return{type:"new",session:Dee({stickySession:n,sessionSampleRate:r,allowBuffering:i})}}function Mee(e){return e.type===qn.Custom}async function X0(e,t,n){if(!e.eventBuffer||e.isPaused()||Dw(t.timestamp)+e.timeouts.sessionIdlePause"u"||__SENTRY_DEBUG__)&&On.error(i),await e.stop(a);const l=co().getClient();l&&l.recordDroppedEvent("internal_sdk_error","replay")}}function kee(e,t){try{if(typeof t=="function"&&Mee(e))return t(e)}catch(n){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",n),null}return e}function q1(e){return!e.type}function K1(e){return e.type==="transaction"}function $ee(e){return e.type==="replay_event"}function $6(e){const t=Lee();return(n,r)=>{if(!q1(n)&&!K1(n))return;const i=r&&r.statusCode;if(!(t&&(!i||i<200||i>=300))){if(K1(n)&&n.contexts&&n.contexts.trace&&n.contexts.trace.trace_id){e.getContext().traceIds.add(n.contexts.trace.trace_id);return}!q1(n)||(n.event_id&&e.getContext().errorIds.add(n.event_id),e.recordingMode==="buffer"&&n.tags&&n.tags.replayId&&setTimeout(()=>{e.sendBufferedReplayOrFlush()}))}}}function Lee(){const e=co().getClient();if(!e)return!1;const t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}function Fee(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:t.originalException&&t.originalException.__rrweb__?!0:e.exception.values.some(n=>!n.stacktrace||!n.stacktrace.frames||!n.stacktrace.frames.length?!1:n.stacktrace.frames.some(r=>r.filename&&r.filename.includes("/rrweb/src/")))}function Bee(e,t){return e.recordingMode!=="buffer"||t.message===Aw||!t.exception||t.type?!1:k6(e.getOptions().errorSampleRate)}function Uee(e,t=!1){const n=t?$6(e):void 0;return(r,i)=>$ee(r)?(delete r.breadcrumbs,r):!q1(r)&&!K1(r)?r:Fee(r,i)&&!e.getOptions()._experiments.captureExceptions?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Ignoring error from rrweb internals",r),null):((Bee(e,r)||e.recordingMode==="session")&&(r.tags={...r.tags,replayId:e.getSessionId()}),n&&n(r,{statusCode:200}),r)}function ub(e,t){return t.map(({type:n,start:r,end:i,name:a,data:l})=>{const s=e.throttledAddEvent({type:qn.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:a,startTimestamp:r,endTimestamp:i,data:l}}});return typeof s=="string"?Promise.resolve(null):s})}function Hee(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function zee(e){return t=>{if(!e.isEnabled())return;const n=Hee(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(ub(e,[n]),!1)))}}function Vee(e,t){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&e.getOptions()._experiments.traceInternals?!1:Gee(t)}function Gee(e){const t=co().getClient(),n=t&&t.getDsn();return n?e.includes(n.host):!1}function db(e,t){!e.isEnabled()||t!==null&&(Vee(e,t.name)||e.addUpdate(()=>(ub(e,[t]),!0)))}function Yee(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;const{method:a,url:l}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:l,data:{method:a,statusCode:i?i.status:void 0}}}function jee(e){return t=>{if(!e.isEnabled())return;const n=Yee(t);db(e,n)}}function Wee(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[Dd];if(!t||!n||!i)return null;const{method:a,url:l,status_code:s}=i;return l===void 0?null:{type:"resource.xhr",name:l,start:t/1e3,end:n/1e3,data:{method:a,statusCode:s}}}function qee(e){return t=>{if(!e.isEnabled())return;const n=Wee(t);db(e,n)}}const tc=10,Bw=11,Z1=12,cl=13,Q1=14,mp=15,el=20,ro=21,X1=22,gp=23,L6=["true","false","null"];function Kee(e,t){if(!t.length)return e;let n=e;const r=t.length-1,i=t[r];n=Zee(n,i);for(let a=r;a>=0;a--)switch(t[a]){case tc:n=`${n}}`;break;case el:n=`${n}]`;break}return n}function Zee(e,t){switch(t){case tc:return`${e}"~~":"~~"`;case Bw:return`${e}:"~~"`;case Z1:return`${e}~~":"~~"`;case cl:return Jee(e);case Q1:return`${e}~~"`;case mp:return`${e},"~~":"~~"`;case el:return`${e}"~~"`;case ro:return Qee(e);case X1:return`${e}~~"`;case gp:return`${e},"~~"`}return e}function Qee(e){const t=Xee(e);if(t>-1){const n=e.slice(t+1);return L6.includes(n.trim())?`${e},"~~"`:`${e.slice(0,t+1)}"~~"`}return e}function Xee(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n===","||n==="[")return t}return-1}function Jee(e){const t=e.lastIndexOf(":"),n=e.slice(t+1);return L6.includes(n.trim())?`${e},"~~":"~~"`:`${e.slice(0,t+1)}"~~"`}function ete(e){const t=[];for(let n=0;n0&&(r._meta={warnings:a}),r}function J1(e,t){return Object.keys(e).reduce((n,r)=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n},{})}function V6(e){return new URLSearchParams(e).toString()}function cte(e){if(!e||typeof e!="string")return{body:e,warnings:[]};const t=e.length>u_;if(ute(e))try{const n=t?B6(e.slice(0,u_)):e;return{body:JSON.parse(n),warnings:t?["JSON_TRUNCATED"]:[]}}catch{return{body:t?`${e.slice(0,u_)}\u2026`:e,warnings:t?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:t?`${e.slice(0,u_)}\u2026`:e,warnings:t?["TEXT_TRUNCATED"]:[]}}function ute(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function ev(e,t){const n=dte(e);return ZQ(n,t)}function dte(e,t=In.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(In.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function pte(e,t,n){try{const r=await mte(e,t,n),i=z6("resource.fetch",r);db(n.replay,i)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] Failed to capture fetch breadcrumb",r)}}function fte(e,t,n){const{input:r,response:i}=t,a=G6(r),l=J0(a,n.textEncoder),s=i?U6(i.headers.get("content-length")):void 0;l!==void 0&&(e.data.request_body_size=l),s!==void 0&&(e.data.response_body_size=s)}async function mte(e,t,n){const{startTimestamp:r,endTimestamp:i}=t,{url:a,method:l,status_code:s=0,request_body_size:u,response_body_size:o}=e.data,c=ev(a,n.networkDetailAllowUrls)&&!ev(a,n.networkDetailDenyUrls),d=c?gte(n,t.input,u):Bm(u),p=await hte(c,n,t.response,o);return{startTimestamp:r,endTimestamp:i,url:a,method:l,statusCode:s,request:d,response:p}}function gte({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=vte(n,t);if(!e)return nc(i,r,void 0);const a=G6(n),l=H6(a);return nc(i,r,l)}async function hte(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,a){if(!e&&a!==void 0)return Bm(a);const l=Y6(i.headers,r);if(!t&&a!==void 0)return nc(l,a,void 0);try{const s=i.clone(),u=await _te(s),o=u&&u.length&&a===void 0?J0(u,n):a;return e?t?nc(l,o,u):nc(l,o,void 0):Bm(o)}catch{return nc(l,a,void 0)}}async function _te(e){try{return await e.text()}catch{return}}function G6(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function Y6(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function vte(e,t){return e.length===1&&typeof e[0]!="string"?I2(e[0],t):e.length===2?I2(e[1],t):{}}function I2(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Y6(n,t):Array.isArray(n)?{}:J1(n,t):{}}async function bte(e,t,n){try{const r=Ste(e,t,n),i=z6("resource.xhr",r);db(n.replay,i)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] Failed to capture fetch breadcrumb",r)}}function yte(e,t,n){const{xhr:r,input:i}=t,a=J0(i,n.textEncoder),l=r.getResponseHeader("content-length")?U6(r.getResponseHeader("content-length")):J0(r.response,n.textEncoder);a!==void 0&&(e.data.request_body_size=a),l!==void 0&&(e.data.response_body_size=l)}function Ste(e,t,n){const{startTimestamp:r,endTimestamp:i,input:a,xhr:l}=t,{url:s,method:u,status_code:o=0,request_body_size:c,response_body_size:d}=e.data;if(!s)return null;if(!ev(s,n.networkDetailAllowUrls)||ev(s,n.networkDetailDenyUrls)){const v=Bm(c),b=Bm(d);return{startTimestamp:r,endTimestamp:i,url:s,method:u,statusCode:o,request:v,response:b}}const p=l[Dd],f=p?J1(p.request_headers,n.networkRequestHeaders):{},g=J1(Ete(l),n.networkResponseHeaders),m=nc(f,c,n.networkCaptureBodies?H6(a):void 0),h=nc(g,d,n.networkCaptureBodies?t.xhr.responseText:void 0);return{startTimestamp:r,endTimestamp:i,url:s,method:u,statusCode:o,request:m,response:h}}function Ete(e){const t=e.getAllResponseHeaders();return t?t.split(`\r -`).reduce((n,r)=>{const[i,a]=r.split(": ");return n[i.toLowerCase()]=a,n},{}):{}}function Cte(e){const t=co().getClient();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:l,networkResponseHeaders:s}=e.getOptions(),u={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:l,networkResponseHeaders:s};t&&t.on?t.on("beforeAddBreadcrumb",(o,c)=>Tte(u,o,c)):(W0("fetch",jee(e)),W0("xhr",qee(e)))}catch{}}function Tte(e,t,n){if(!!t.data)try{wte(t)&&Ote(n)&&(yte(t,n,e),bte(t,n,e)),xte(t)&&Rte(n)&&(fte(t,n,e),pte(t,n,e))}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("Error when enriching network breadcrumb")}}function wte(e){return e.category==="xhr"}function xte(e){return e.category==="fetch"}function Ote(e){return e&&e.xhr}function Rte(e){return e&&e.response}let A2=null;function Ite(e){return!!e.category}const Ate=e=>t=>{if(!e.isEnabled())return;const n=Nte(t);!n||lb(e,n)};function Nte(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return A2===t||!t||(A2=t,!Ite(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:t.category==="console"?Dte(t):rl(t)}function Dte(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return rl(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>d_?(n=!0,`${i.slice(0,d_)}\u2026`):i;if(typeof i=="object")try{const a=Gl(i,7),l=JSON.stringify(a);if(l.length>d_){const s=B6(l.slice(0,d_)),u=JSON.parse(s);return n=!0,u}return a}catch{}return i});return rl({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function Pte(e){const t=co().getScope(),n=co().getClient();t&&t.addScopeListener(Ate(e)),W0("dom",mee(e)),W0("history",zee(e)),Cte(e),$X(Uee(e,!N2(n))),N2(n)&&(n.on("afterSendEvent",$6(e)),n.on("createDsc",r=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&(r.replay_id=i)}),n.on("startTransaction",r=>{e.lastTransaction=r}),n.on("finishTransaction",r=>{e.lastTransaction=r}))}function N2(e){return!!(e&&e.on)}async function Mte(e){try{return Promise.all(ub(e,[kte(In.performance.memory)]))}catch{return[]}}function kte(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const D2={resource:Ute,paint:Fte,navigation:Bte,["largest-contentful-paint"]:Hte};function $te(e){return e.map(Lte).filter(Boolean)}function Lte(e){return D2[e.entryType]===void 0?null:D2[e.entryType](e)}function hp(e){return((RX||In.performance.timeOrigin)+e)/1e3}function Fte(e){const{duration:t,entryType:n,name:r,startTime:i}=e,a=hp(i);return{type:n,name:r,start:a,end:a+t,data:void 0}}function Bte(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,domInteractive:o,loadEventStart:c,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:g,type:m}=e;return i===0?null:{type:`${t}.${m}`,start:hp(f),end:hp(a),name:n,data:{size:g,decodedBodySize:r,encodedBodySize:l,duration:i,domInteractive:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,loadEventStart:c,loadEventEnd:d,domComplete:a,redirectCount:p}}}function Ute(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:l,encodedBodySize:s,responseStatus:u,transferSize:o}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:hp(a),end:hp(i),name:r,data:{size:o,statusCode:u,decodedBodySize:l,encodedBodySize:s}}}function Hte(e){const{entryType:t,startTime:n,size:r}=e;let i=0;if(In.performance){const s=In.performance.getEntriesByType("navigation")[0];i=s&&s.activationStart||0}const a=Math.max(n-i,0),l=hp(i)+a/1e3;return{type:t,name:t,start:l,end:l,data:{value:a,size:r,nodeId:wu.mirror.getId(e.element)}}}function zte(e,t,n){let r,i,a;const l=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return u(),r=e(),r}function u(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function o(){return i!==void 0||a!==void 0?s():r}function c(){return i&&clearTimeout(i),i=setTimeout(s,t),l&&a===void 0&&(a=setTimeout(s,l)),r}return c.cancel=u,c.flush=o,c}function Vte(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("[Replay] Received replay event after session expired.");return}const i=r||!t;t=!0,e.addUpdate(()=>{if(e.recordingMode==="buffer"&&i&&e.setInitialState(),X0(e,n,i),!i)return!1;if(Yte(e,i),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode==="buffer"&&e.session&&e.eventBuffer){const a=e.eventBuffer.getEarliestTimestamp();a&&(e.session.started=a,e.getOptions().stickySession&&Lw(e.session))}return e.recordingMode==="session"&&e.flush(),!0})}}function Gte(e){const t=e.getOptions();return{type:qn.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function Yte(e,t){return!t||!e.session||e.session.segmentId!==0?Promise.resolve(null):X0(e,Gte(e),!1)}function jte(e,t,n,r){return IX(NX(e,AX(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function Wte({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)} -`;if(typeof e=="string")n=`${r}${e}`;else{const a=new TextEncoder().encode(r);n=new Uint8Array(a.length+e.length),n.set(a),n.set(e,a.length)}return n}async function qte({client:e,scope:t,replayId:n,event:r}){const i=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,a=await HX(e.getOptions(),r,{event_id:n,integrations:i},t);if(!a)return null;a.platform=a.platform||"javascript";const l=e.getSdkMetadata&&e.getSdkMetadata(),{name:s,version:u}=l&&l.sdk||{};return a.sdk={...a.sdk,name:s||"sentry.javascript.unknown",version:u||"0.0.0"},a}async function Kte({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){const l=Wte({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:u,traceIds:o,initialTimestamp:c}=r,d=co(),p=d.getClient(),f=d.getScope(),g=p&&p.getTransport(),m=p&&p.getDsn();if(!p||!g||!m||!a.sampled)return;const h={type:WX,replay_start_timestamp:c/1e3,timestamp:i/1e3,error_ids:u,trace_ids:o,urls:s,replay_id:t,segment_id:n,replay_type:a.sampled},v=await qte({scope:f,client:p,replayId:t,event:h});if(!v){p.recordDroppedEvent("event_processor","replay",h),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("An event processor returned `null`, will not send event.");return}delete v.sdkProcessingMetadata;const b=jte(v,l,m,p.getOptions().tunnel);let y;try{y=await g.send(b)}catch(S){const C=new Error(Aw);try{C.cause=S}catch{}throw C}if(!y)return y;if(typeof y.statusCode=="number"&&(y.statusCode<200||y.statusCode>=300))throw new j6(y.statusCode);return y}class j6 extends Error{constructor(t){super(`Transport returned status code ${t}`)}}async function W6(e,t={count:0,interval:eJ}){const{recordingData:n,options:r}=e;if(!!n.length)try{return await Kte(e),!0}catch(i){if(i instanceof j6)throw i;if(UX("Replays",{_retryCount:t.count}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&h6(i),t.count>=tJ){const a=new Error(`${Aw} - max retries exceeded`);try{a.cause=i}catch{}throw a}return t.interval*=++t.count,new Promise((a,l)=>{setTimeout(async()=>{try{await W6(e,t),a(!0)}catch(s){l(s)}},t.interval)})}}const q6="__THROTTLED",Zte="__SKIPPED";function Qte(e,t,n){const r=new Map,i=s=>{const u=s-n;r.forEach((o,c)=>{c[...r.values()].reduce((s,u)=>s+u,0);let l=!1;return(...s)=>{const u=Math.floor(Date.now()/1e3);if(i(u),a()>=t){const c=l;return l=!0,c?Zte:q6}l=!1;const o=r.get(u)||0;return r.set(u,o+1),e(...s)}}class jr{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this.timeouts={sessionIdlePause:qX,sessionIdleExpire:KX,maxSessionLife:ZX}}__init5(){this._performanceObserver=null}__init6(){this._flushLock=null}__init7(){this._lastActivity=Date.now()}__init8(){this._isEnabled=!1}__init9(){this._isPaused=!1}__init10(){this._hasInitializedCoreListeners=!1}__init11(){this._stopRecording=null}__init12(){this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""}}constructor({options:t,recordingOptions:n}){jr.prototype.__init.call(this),jr.prototype.__init2.call(this),jr.prototype.__init3.call(this),jr.prototype.__init4.call(this),jr.prototype.__init5.call(this),jr.prototype.__init6.call(this),jr.prototype.__init7.call(this),jr.prototype.__init8.call(this),jr.prototype.__init9.call(this),jr.prototype.__init10.call(this),jr.prototype.__init11.call(this),jr.prototype.__init12.call(this),jr.prototype.__init13.call(this),jr.prototype.__init14.call(this),jr.prototype.__init15.call(this),jr.prototype.__init16.call(this),jr.prototype.__init17.call(this),jr.prototype.__init18.call(this),this._recordingOptions=n,this._options=t,this._debouncedFlush=zte(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Qte((l,s)=>X0(this,l,s),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:i}=this.getOptions(),a=r?{threshold:Math.min(nJ,r),timeout:r,scrollTimeout:rJ,ignoreSelector:i?i.join(","):""}:void 0;a&&(this.clickDetector=new am(this,a))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}initializeSampling(){const{errorSampleRate:t,sessionSampleRate:n}=this._options;if(!(t<=0&&n<=0||!this._loadAndCheckSession())){if(!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled&&this.session.sampled!=="session"&&(this.recordingMode="buffer"),this._initializeRecording()}}start(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");const t=this.session&&this.session.id,{session:n}=ZS({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:1,allowBuffering:!1});n.previousSessionId=t,this.session=n,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");const t=this.session&&this.session.id,{session:n}=ZS({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:0,allowBuffering:!0});n.previousSessionId=t,this.session=n,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{this._stopRecording=wu({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:JX},emit:Vte(this),onMutation:this._onMutationHandler})}catch(t){this._handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this._handleException(t),!1}}async stop(t){if(!!this._isEnabled)try{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const n=`[Replay] Stopping Replay${t?` triggered by ${t}`:""}`;(this.getOptions()._experiments.traceInternals?console.warn:On.log)(n)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),this.recordingMode==="session"&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,Iee(this)}catch(n){this._handleException(n)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){!this._loadAndCheckSession()||(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();await this.flushImmediate();const r=this.stopRecording();!t||!r||(this.recordingMode="session",this.session&&(this.session.shouldRefresh=!1,this._updateUserActivity(n),this._updateSessionActivity(n),this.session.started=n,this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&&n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._loadAndCheckSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){const t=this.getSessionId();if(this._lastActivity&&W1(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return this._loadAndCheckSession()?t!==this.getSessionId()?(this._triggerFullSnapshot(),!1):!0:void 0}setInitialState(){const t=`${In.location.pathname}${In.location.hash}${In.location.search}`,n=`${In.location.origin}${t}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===q6){const i=rl({category:"replay.throttled"});this.addUpdate(()=>{X0(this,{type:qn.Custom,timestamp:i.timestamp||0,data:{tag:"breadcrumb",payload:i,metric:!0}})})}return r}getCurrentRoute(){const t=this.lastTransaction||co().getScope().getTransaction();if(!(!t||!["route","custom"].includes(t.metadata.source)))return t.name}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Ree({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this.startRecording()}_handleException(t){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay]",t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&h6(t)}_loadAndCheckSession(){const{type:t,session:n}=ZS({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:this._options.errorSampleRate>0||this.recordingMode==="buffer"});t==="new"&&this.setInitialState();const r=this.getSessionId();return n.id!==r&&(n.previousSessionId=r),this.session=n,this.session.sampled?!0:(this.stop("session unsampled"),!1)}_addListeners(){try{In.document.addEventListener("visibilitychange",this._handleVisibilityChange),In.addEventListener("blur",this._handleWindowBlur),In.addEventListener("focus",this._handleWindowFocus),In.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Pte(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in In&&(this._performanceObserver=Cee(this))}_removeListeners(){try{In.document.removeEventListener("visibilitychange",this._handleVisibilityChange),In.removeEventListener("blur",this._handleWindowBlur),In.removeEventListener("focus",this._handleWindowFocus),In.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(t){this._handleException(t)}}__init13(){this._handleVisibilityChange=()=>{In.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const t=rl({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init15(){this._handleWindowFocus=()=>{const t=rl({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init16(){this._handleKeyboardEvent=t=>{vee(this,t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;const n=M6(this.session,this.timeouts);t&&!n&&this._createCustomBreadcrumb(t),this.conditionalFlush()}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_triggerFullSnapshot(t=!0){try{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Taking full rrweb snapshot"),wu.takeFullSnapshot(t)}catch(n){this._handleException(n)}}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:qn.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){const t=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(ub(this,$te(t)))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||t.segmentId)return;const r=n.getEarliestTimestamp();if(r&&r"u"||__SENTRY_DEBUG__)&&i(`[Replay] Updating initial timestamp to ${r}`),this._context.initialTimestamp=r}}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){if(!this.session||!this.eventBuffer){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await Mte(this),!!this.eventBuffer))try{this._updateInitialTimestampFromEventBuffer();const t=await this.eventBuffer.finish(),n=this.session.id,r=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession(),await W6({replayId:n,recordingData:t,segmentId:i,eventContext:r,session:this.session,options:this.getOptions(),timestamp:Date.now()})}catch(t){this._handleException(t),this.stop("sendReplay");const n=co().getClient();n&&n.recordDroppedEvent("send_error","replay")}}__init17(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] No session found to flush.");return}const n=this._context.initialTimestamp,i=Date.now()-n;if(ithis.timeouts.maxSessionLife+5e3){const a=this.getOptions()._experiments.traceInternals?console.warn:On.warn;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&a(`[Replay] Session duration (${Math.floor(i/1e3)}s) is too short or too long, not sending replay.`);return}if(this._debouncedFlush.cancel(),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=null;return}try{await this._flushLock}catch(a){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error(a)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Lw(this.session)}__init18(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=r&&n>r;if(n>i||a){const l=rl({category:"replay.mutations",data:{count:n,limit:a}});this._createCustomBreadcrumb(l)}return a?(this.stop("mutationLimit"),!1):!0}}}function If(e,t,n,r){const i=typeof r=="string"?r.split(","):[],a=[...e,...i,...t];return typeof n<"u"&&(typeof n=="string"&&a.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),a.join(",")}function Xte({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:a,blockSelector:l,maskTextClass:s,maskTextSelector:u,ignoreClass:o}){const c=['base[href="/"]'],d=If(e,[".sentry-mask","[data-sentry-mask]"],s,u),p=If(t,[".sentry-unmask","[data-sentry-unmask]"]),f={maskTextSelector:d,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:p,blockSelector:If(n,[".sentry-block","[data-sentry-block]",...c],a,l),unblockSelector:If(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:If(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],o)};return a instanceof RegExp&&(f.blockClass=a),s instanceof RegExp&&(f.maskTextClass=s),f}function P2(){return typeof window<"u"&&(!l6()||Jte())}function Jte(){return typeof process<"u"&&process.type==="renderer"}const M2='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',ene=["content-length","content-type","accept"];let k2=!1;class Um{static __initStatic(){this.id="Replay"}__init(){this.name=Um.id}constructor({flushMinDelay:t=QX,flushMaxDelay:n=XX,minReplayDuration:r=iJ,stickySession:i=!0,useCompression:a=!0,_experiments:l={},sessionSampleRate:s,errorSampleRate:u,maskAllText:o=!0,maskAllInputs:c=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:f=1e4,slowClickTimeout:g=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:h=[],networkDetailDenyUrls:v=[],networkCaptureBodies:b=!0,networkRequestHeaders:y=[],networkResponseHeaders:S=[],mask:C=[],unmask:w=[],block:T=[],unblock:O=[],ignore:I=[],maskFn:N,beforeAddRecordingEvent:M,blockClass:B,blockSelector:P,maskInputOptions:k,maskTextClass:D,maskTextSelector:F,ignoreClass:U}={}){if(Um.prototype.__init.call(this),this._recordingOptions={maskAllInputs:c,maskAllText:o,maskInputOptions:{...k||{},password:!0},maskTextFn:N,maskInputFn:N,...Xte({mask:C,unmask:w,block:T,unblock:O,ignore:I,blockClass:B,blockSelector:P,maskTextClass:D,maskTextSelector:F,ignoreClass:U}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,aJ),stickySession:i,sessionSampleRate:s,errorSampleRate:u,useCompression:a,blockAllMedia:d,maskAllInputs:c,maskAllText:o,mutationBreadcrumbLimit:p,mutationLimit:f,slowClickTimeout:g,slowClickIgnoreSelectors:m,networkDetailAllowUrls:h,networkDetailDenyUrls:v,networkCaptureBodies:b,networkRequestHeaders:$2(y),networkResponseHeaders:$2(S),beforeAddRecordingEvent:M,_experiments:l},typeof s=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. +or you can use record.mirror to access the mirror instance during recording.`;let y2={map:{},getId(){return console.error(wd),-1},getNode(){return console.error(wd),null},removeNodeFromMap(){console.error(wd)},has(){return console.error(wd),!1},reset(){console.error(wd)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(y2=new Proxy(y2,{get(e,t,n){return t==="map"&&console.error(wd),Reflect.get(e,t,n)}}));function Fm(e,t,n={}){let r=null,i=0;return function(a){let l=Date.now();!i&&n.leading===!1&&(i=l);let s=t-(l-i),u=this,o=arguments;s<=0||s>t?(r&&(clearTimeout(r),r=null),i=l,e.apply(u,o)):!r&&n.trailing!==!1&&(r=setTimeout(()=>{i=n.leading===!1?0:Date.now(),r=null,e.apply(u,o)},s))}}function sb(e,t,n,r,i=window){const a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(l){setTimeout(()=>{n.set.call(this,l)},0),a&&a.set&&a.set.call(this,l)}}),()=>sb(e,t,a||{},!0)}function fp(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}function E8(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function C8(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Vi(e,t,n,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){let i=!1;const a=r&&e.matches(r);return typeof t=="string"?e.closest!==void 0?i=!a&&e.closest("."+t)!==null:i=!a&&e.classList.contains(t):!a&&e.classList.forEach(l=>{t.test(l)&&(i=!0)}),!i&&n&&(i=e.matches(n)),!a&&i||Vi(e.parentNode,t,n,r)}return e.nodeType===e.TEXT_NODE,Vi(e.parentNode,t,n,r)}function KS(e){return"__sn"in e?e.__sn.id===Lm:!1}function T8(e,t){if(nm(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?T8(e.parentNode,t):!0:!0}function w8(e){return Boolean(e.changedTouches)}function DJ(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(n){if(!(0 in arguments))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function x8(e){return"__sn"in e?e.__sn.type===si.Element&&e.__sn.tagName==="iframe":!1}function O8(e){return Boolean(e==null?void 0:e.shadowRoot)}function S2(e){return"__ln"in e}class PJ{constructor(){this.length=0,this.head=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r`${e}@${t}`;function C2(e){return"__sn"in e}class MJ{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new PJ,r=s=>{let u=s,o=Lm;for(;o===Lm;)u=u&&u.nextSibling,o=u&&this.mirror.getId(u);return o},i=s=>{var u,o,c,d,p;const f=s.getRootNode?(u=s.getRootNode())===null||u===void 0?void 0:u.host:null;let g=f;for(;!((c=(o=g==null?void 0:g.getRootNode)===null||o===void 0?void 0:o.call(g))===null||c===void 0)&&c.host;)g=((p=(d=g==null?void 0:g.getRootNode)===null||d===void 0?void 0:d.call(g))===null||p===void 0?void 0:p.host)||null;const m=!this.doc.contains(s)&&(!g||!this.doc.contains(g));if(!s.parentNode||m)return;const h=nm(s.parentNode)?this.mirror.getId(f):this.mirror.getId(s.parentNode),v=r(s);if(h===-1||v===-1)return n.addNode(s);let b=rm(s,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:y=>{x8(y)&&this.iframeManager.addIframe(y),O8(s)&&this.shadowDomManager.addShadowRoot(s.shadowRoot,document)},onIframeLoad:(y,S)=>{this.iframeManager.attachIframe(y,S),this.shadowDomManager.observeAttachShadow(y)}});b&&t.push({parentId:h,nextId:v,node:b})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const s of this.movedSet)Y1(this.removes,s,this.mirror)&&!this.movedSet.has(s.parentNode)||i(s);for(const s of this.addedSet)!j1(this.droppedSet,s)&&!Y1(this.removes,s,this.mirror)||j1(this.movedSet,s)?i(s):this.droppedSet.add(s);let a=null;for(;n.length;){let s=null;if(a){const u=this.mirror.getId(a.value.parentNode),o=r(a.value);u!==-1&&o!==-1&&(s=a)}if(!s)for(let u=n.length-1;u>=0;u--){const o=n.get(u);if(o){const c=this.mirror.getId(o.value.parentNode),d=r(o.value);if(c!==-1&&d!==-1){s=o;break}}}if(!s){for(;n.head;)n.removeNode(n.head.value);break}a=s.previous,n.removeNode(s.value),i(s.value)}const l={texts:this.texts.map(s=>({id:this.mirror.getId(s.node),value:s.value})).filter(s=>this.mirror.has(s.id)),attributes:this.attributes.map(s=>({id:this.mirror.getId(s.node),attributes:s.attributes})).filter(s=>this.mirror.has(s.id)),removes:this.removes,adds:t};!l.texts.length&&!l.attributes.length&&!l.removes.length&&!l.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(l))},this.processMutation=t=>{if(!KS(t.target))switch(t.type){case"characterData":{const n=t.target.textContent;!Vi(t.target,this.blockClass,this.blockSelector,this.unblockSelector)&&n!==t.oldValue&&this.texts.push({value:q0(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=n.getAttribute(t.attributeName);if(t.attributeName==="value"&&(r=$m({input:n,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:n.getAttribute("type"),value:r,maskInputFn:this.maskInputFn})),Vi(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||r===t.oldValue)return;let i=this.attributes.find(a=>a.node===t.target);if(i||(i={node:t.target,attributes:{}},this.attributes.push(i)),t.attributeName==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),t.attributeName==="style"){const a=this.doc.createElement("span");t.oldValue&&a.setAttribute("style",t.oldValue),(i.attributes.style===void 0||i.attributes.style===null)&&(i.attributes.style={});try{const l=i.attributes.style;for(const s of Array.from(n.style)){const u=n.style.getPropertyValue(s),o=n.style.getPropertyPriority(s);(u!==a.style.getPropertyValue(s)||o!==a.style.getPropertyPriority(s))&&(o===""?l[s]=u:l[s]=[u,o])}for(const s of Array.from(a.style))n.style.getPropertyValue(s)===""&&(l[s]=!1)}catch(l){console.warn("[rrweb] Error when parsing update to style attribute:",l)}}else{const a=t.target;i.attributes[t.attributeName]=S8(this.doc,a,a.tagName,t.attributeName,r,this.maskAllText,this.unmaskTextSelector,this.maskTextFn)}break}case"childList":{t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),i=nm(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Vi(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||KS(n)||(this.addedSet.has(n)?(G1(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||T8(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[E2(r,i)]?G1(this.movedSet,n):this.removes.push({parentId:i,id:r,isShadow:nm(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!(n&&Vi(n,this.blockClass,this.blockSelector,this.unblockSelector))){if(C2(t)){if(KS(t))return;this.movedSet.add(t);let r=null;n&&C2(n)&&(r=n.__sn.id),r&&(this.movedMap[E2(t.__sn.id,r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Vi(t,this.blockClass,this.blockSelector,this.unblockSelector)||t.childNodes.forEach(r=>this.genAdds(r))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function G1(e,t){e.delete(t),t.childNodes.forEach(n=>G1(e,n))}function Y1(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return e.some(a=>a.id===i)?!0:Y1(e,r,n)}function j1(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:j1(e,n):!1}const Ln=e=>(...n)=>{try{return e(...n)}catch(r){try{r.__rrweb__=!0}catch{}throw r}},au=[];function Rg(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function R8(e,t){var n,r;const i=new MJ;au.push(i),i.init(e);let a=window.MutationObserver||window.__rrMutationObserver;const l=(r=(n=window==null?void 0:window.Zone)===null||n===void 0?void 0:n.__symbol__)===null||r===void 0?void 0:r.call(n,"MutationObserver");l&&window[l]&&(a=window[l]);const s=new a(Ln(u=>{e.onMutation&&e.onMutation(u)===!1||i.processMutations(u)}));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function kJ({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const i=typeof t.mousemove=="number"?t.mousemove:50,a=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let l=[],s;const u=Fm(d=>{const p=Date.now()-s;Ln(e)(l.map(f=>(f.timeOffset-=p,f)),d),l=[],s=null},a),o=Fm(d=>{const p=Rg(d),{clientX:f,clientY:g}=w8(d)?d.changedTouches[0]:d;s||(s=Date.now()),l.push({x:f,y:g,id:r.getId(p),timeOffset:Date.now()-s}),u(typeof DragEvent<"u"&&d instanceof DragEvent?gi.Drag:d instanceof MouseEvent?gi.MouseMove:gi.TouchMove)},i,{trailing:!1}),c=[wa("mousemove",Ln(o),n),wa("touchmove",Ln(o),n),wa("drag",Ln(o),n)];return Ln(()=>{c.forEach(d=>d())})}function $J({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:l}){if(l.mouseInteraction===!1)return()=>{};const s=l.mouseInteraction===!0||l.mouseInteraction===void 0?{}:l.mouseInteraction,u=[],o=c=>d=>{const p=Rg(d);if(Vi(p,r,i,a))return;const f=w8(d)?d.changedTouches[0]:d;if(!f)return;const g=n.getId(p),{clientX:m,clientY:h}=f;Ln(e)({type:K0[c],id:g,x:m,y:h})};return Object.keys(K0).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&s[c]!==!1).forEach(c=>{const d=c.toLowerCase(),p=Ln(o(c));u.push(wa(d,p,t))}),Ln(()=>{u.forEach(c=>c())})}function I8({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:l}){const s=Fm(u=>{const o=Rg(u);if(!o||Vi(o,r,i,a))return;const c=n.getId(o);if(o===t){const d=t.scrollingElement||t.documentElement;Ln(e)({id:c,x:d.scrollLeft,y:d.scrollTop})}else Ln(e)({id:c,x:o.scrollLeft,y:o.scrollTop})},l.scroll||100);return wa("scroll",Ln(s),t)}function LJ({viewportResizeCb:e}){let t=-1,n=-1;const r=Fm(()=>{const i=E8(),a=C8();(t!==i||n!==a)&&(Ln(e)({width:Number(a),height:Number(i)}),t=i,n=a)},200);return wa("resize",Ln(r),window)}function T2(e,t){const n=Object.assign({},e);return t||delete n.userTriggered,n}const FJ=["INPUT","TEXTAREA","SELECT"],w2=new WeakMap;function BJ({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:l,ignoreSelector:s,maskInputSelector:u,unmaskInputSelector:o,maskInputOptions:c,maskInputFn:d,sampling:p,userTriggeredOnInput:f}){function g(S){let C=Rg(S);const w=C&&C.tagName,T=S.isTrusted;if(w==="OPTION"&&(C=C.parentElement),!C||!w||FJ.indexOf(w)<0||Vi(C,r,i,a))return;const O=C,I=v8(O);if(O.classList.contains(l)||s&&O.matches(s))return;let N=H1(O,w,I),M=!1;(I==="radio"||I==="checkbox")&&(M=C.checked),sJ({maskInputOptions:c,maskInputSelector:u,tagName:w,type:I})&&(N=$m({input:O,maskInputOptions:c,maskInputSelector:u,unmaskInputSelector:o,tagName:w,type:I,value:N,maskInputFn:d})),m(C,Ln(T2)({text:N,isChecked:M,userTriggered:T},f));const B=C.name;I==="radio"&&B&&M&&t.querySelectorAll(`input[type="radio"][name="${B}"]`).forEach(P=>{if(P!==C){const k=$m({input:P,maskInputOptions:c,maskInputSelector:u,unmaskInputSelector:o,tagName:w,type:I,value:H1(P,w,I),maskInputFn:d});m(P,Ln(T2)({text:k,isChecked:!M,userTriggered:!1},f))}})}function m(S,C){const w=w2.get(S);if(!w||w.text!==C.text||w.isChecked!==C.isChecked){w2.set(S,C);const T=n.getId(S);e(Object.assign(Object.assign({},C),{id:T}))}}const v=(p.input==="last"?["change"]:["input","change"]).map(S=>wa(S,Ln(g),t)),b=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),y=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return b&&b.set&&v.push(...y.map(S=>sb(S[0],S[1],{set(){Ln(g)({target:this})}}))),Ln(()=>{v.forEach(S=>S())})}function Z0(e){const t=[];function n(r,i){if(p_("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||p_("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||p_("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||p_("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const l=Array.from(r.parentRule.cssRules).indexOf(r);i.unshift(l)}else{const l=Array.from(r.parentStyleSheet.cssRules).indexOf(r);i.unshift(l)}return i}return n(e,t)}function UJ({styleSheetRuleCb:e,mirror:t},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const r=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(r,{apply:Ln((s,u,o)=>{const[c,d]=o,p=t.getId(u.ownerNode);return p!==-1&&e({id:p,adds:[{rule:c,index:d}]}),s.apply(u,o)})});const i=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Ln((s,u,o)=>{const[c]=o,d=t.getId(u.ownerNode);return d!==-1&&e({id:d,removes:[{index:c}]}),s.apply(u,o)})});const a={};f_("CSSGroupingRule")?a.CSSGroupingRule=n.CSSGroupingRule:(f_("CSSMediaRule")&&(a.CSSMediaRule=n.CSSMediaRule),f_("CSSConditionRule")&&(a.CSSConditionRule=n.CSSConditionRule),f_("CSSSupportsRule")&&(a.CSSSupportsRule=n.CSSSupportsRule));const l={};return Object.entries(a).forEach(([s,u])=>{l[s]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(l[s].insertRule,{apply:Ln((o,c,d)=>{const[p,f]=d,g=t.getId(c.parentStyleSheet.ownerNode);return g!==-1&&e({id:g,adds:[{rule:p,index:[...Z0(c),f||0]}]}),o.apply(c,d)})}),u.prototype.deleteRule=new Proxy(l[s].deleteRule,{apply:Ln((o,c,d)=>{const[p]=d,f=t.getId(c.parentStyleSheet.ownerNode);return f!==-1&&e({id:f,removes:[{index:[...Z0(c),p]}]}),o.apply(c,d)})})}),Ln(()=>{n.CSSStyleSheet.prototype.insertRule=r,n.CSSStyleSheet.prototype.deleteRule=i,Object.entries(a).forEach(([s,u])=>{u.prototype.insertRule=l[s].insertRule,u.prototype.deleteRule=l[s].deleteRule})})}function HJ({styleDeclarationCb:e,mirror:t},{win:n}){const r=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:Ln((a,l,s)=>{var u,o;const[c,d,p]=s,f=t.getId((o=(u=l.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||o===void 0?void 0:o.ownerNode);return f!==-1&&e({id:f,set:{property:c,value:d,priority:p},index:Z0(l.parentRule)}),a.apply(l,s)})});const i=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Ln((a,l,s)=>{var u,o;const[c]=s,d=t.getId((o=(u=l.parentRule)===null||u===void 0?void 0:u.parentStyleSheet)===null||o===void 0?void 0:o.ownerNode);return d!==-1&&e({id:d,remove:{property:c},index:Z0(l.parentRule)}),a.apply(l,s)})}),Ln(()=>{n.CSSStyleDeclaration.prototype.setProperty=r,n.CSSStyleDeclaration.prototype.removeProperty=i})}function zJ({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a}){const l=u=>Fm(Ln(o=>{const c=Rg(o);if(!c||Vi(c,t,n,r))return;const{currentTime:d,volume:p,muted:f}=c;e({type:u,id:i.getId(c),currentTime:d,volume:p,muted:f})}),a.media||500),s=[wa("play",l(0)),wa("pause",l(1)),wa("seeked",l(2)),wa("volumechange",l(3))];return Ln(()=>{s.forEach(u=>u())})}function VJ({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(u,o,c){const d=new a(u,o,c);return i.set(d,{family:u,buffer:typeof o!="string",descriptors:c,fontSource:typeof o=="string"?o:JSON.stringify(Array.from(new Uint8Array(o)))}),d};const l=fp(t.fonts,"add",function(s){return function(u){return setTimeout(()=>{const o=i.get(u);o&&(e(o),i.delete(u))},0),s.apply(this,[u])}});return r.push(()=>{n.FontFace=a}),r.push(l),Ln(()=>{r.forEach(s=>s())})}function GJ(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:i,scrollCb:a,viewportResizeCb:l,inputCb:s,mediaInteractionCb:u,styleSheetRuleCb:o,styleDeclarationCb:c,canvasMutationCb:d,fontCb:p}=e;e.mutationCb=(...f)=>{t.mutation&&t.mutation(...f),n(...f)},e.mousemoveCb=(...f)=>{t.mousemove&&t.mousemove(...f),r(...f)},e.mouseInteractionCb=(...f)=>{t.mouseInteraction&&t.mouseInteraction(...f),i(...f)},e.scrollCb=(...f)=>{t.scroll&&t.scroll(...f),a(...f)},e.viewportResizeCb=(...f)=>{t.viewportResize&&t.viewportResize(...f),l(...f)},e.inputCb=(...f)=>{t.input&&t.input(...f),s(...f)},e.mediaInteractionCb=(...f)=>{t.mediaInteaction&&t.mediaInteaction(...f),u(...f)},e.styleSheetRuleCb=(...f)=>{t.styleSheetRule&&t.styleSheetRule(...f),o(...f)},e.styleDeclarationCb=(...f)=>{t.styleDeclaration&&t.styleDeclaration(...f),c(...f)},e.canvasMutationCb=(...f)=>{t.canvasMutation&&t.canvasMutation(...f),d(...f)},e.fontCb=(...f)=>{t.font&&t.font(...f),p(...f)}}function YJ(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};GJ(e,t);const r=R8(e,e.doc),i=kJ(e),a=$J(e),l=I8(e),s=LJ(e),u=BJ(e),o=zJ(e),c=UJ(e,{win:n}),d=HJ(e,{win:n}),p=e.collectFonts?VJ(e):()=>{},f=[];for(const g of e.plugins)f.push(g.observer(g.callback,n,g.options));return Ln(()=>{au.forEach(g=>g.reset()),r.disconnect(),i(),a(),l(),s(),u(),o();try{c(),d()}catch{}p(),f.forEach(g=>g())})}function p_(e){return typeof window[e]<"u"}function f_(e){return Boolean(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class jJ{constructor(t){this.iframes=new WeakMap,this.mutationCb=t.mutationCb}addIframe(t){this.iframes.set(t,!0)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var r;this.mutationCb({adds:[{parentId:t.__sn.id,nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),(r=this.loadListener)===null||r===void 0||r.call(this,t)}}class WJ{constructor(t){this.restorePatches=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror;const n=this;this.restorePatches.push(fp(HTMLElement.prototype,"attachShadow",function(r){return function(){const i=r.apply(this,arguments);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,this.ownerDocument),i}}))}addShadowRoot(t,n){R8(Object.assign(Object.assign({},this.bypassOptions),{doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),I8(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))}observeAttachShadow(t){if(t.contentWindow){const n=this;this.restorePatches.push(fp(t.contentWindow.HTMLElement.prototype,"attachShadow",function(r){return function(){const i=r.apply(this,arguments);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,t.contentDocument),i}}))}}reset(){this.restorePatches.forEach(t=>t())}}function qJ(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const p=[...d];if(u==="drawImage"&&p[0]&&p[0]instanceof HTMLCanvasElement){const f=p[0],g=f.getContext("2d");let m=g==null?void 0:g.getImageData(0,0,f.width,f.height),h=m==null?void 0:m.data;p[0]=JSON.stringify(h)}e(this.canvas,{type:pp["2D"],property:u,args:p})},0),c.apply(this,d)}});l.push(o)}catch{const c=sb(t.CanvasRenderingContext2D.prototype,u,{set(d){e(this.canvas,{type:pp["2D"],property:u,args:[d],setter:!0})}});l.push(c)}return()=>{l.forEach(u=>u())}}function ZJ(e,t,n,r){const i=[];try{const a=fp(e.HTMLCanvasElement.prototype,"getContext",function(l){return function(s,...u){return Vi(this,t,n,r)||"__context"in this||(this.__context=s),l.apply(this,[s,...u])}});i.push(a)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(a=>a())}}var Md="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",QJ=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var m_=0;m_>2],i+=Md[(t[n]&3)<<4|t[n+1]>>4],i+=Md[(t[n+1]&15)<<2|t[n+2]>>6],i+=Md[t[n+2]&63];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i};const x2=new Map;function JJ(e,t){let n=x2.get(e);return n||(n=new Map,x2.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const A8=(e,t,n)=>{if(!e||!(N8(e,t)||typeof e=="object"))return;const r=e.constructor.name,i=JJ(n,r);let a=i.indexOf(e);return a===-1&&(a=i.length,i.push(e)),a};function f0(e,t,n){if(e instanceof Array)return e.map(r=>f0(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,i=XJ(e);return{rr_type:r,base64:i}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[f0(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:i}=e;return{rr_type:r,src:i}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[f0(e.data,t,n),e.width,e.height]};if(N8(e,t)||typeof e=="object"){const r=e.constructor.name,i=A8(e,t,n);return{rr_type:r,index:i}}}}return e}const eee=(e,t,n)=>[...e].map(r=>f0(r,t,n)),N8=(e,t)=>{const r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof t[i]=="function");return Boolean(r.find(i=>e instanceof t[i]))};function O2(e,t,n,r,i,a,l,s){const u=[],o=Object.getOwnPropertyNames(e);for(const c of o)try{if(typeof e[c]!="function")continue;const d=fp(e,c,function(p){return function(...f){const g=p.apply(this,f);if(A8(g,s,e),!Vi(this.canvas,r,a,i)){const m=l.getId(this.canvas),h=eee([...f],s,e),v={type:t,property:c,args:h};n(this.canvas,v)}return g}});u.push(d)}catch{const p=sb(e,c,{set(f){n(this.canvas,{type:t,property:c,args:[f],setter:!0})}});u.push(p)}return u}function tee(e,t,n,r,i,a){const l=[];return l.push(...O2(t.WebGLRenderingContext.prototype,pp.WebGL,e,n,r,i,a,t)),typeof t.WebGL2RenderingContext<"u"&&l.push(...O2(t.WebGL2RenderingContext.prototype,pp.WebGL2,e,n,r,i,a,t)),()=>{l.forEach(s=>s())}}class nee{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(n,r){(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(n)||this.pendingCanvasMutations.set(n,[]),this.pendingCanvasMutations.get(n).push(r)},this.mutationCb=t.mutationCb,this.mirror=t.mirror,t.recordCanvas===!0&&this.initCanvasMutationObserver(t.win,t.blockClass,t.blockSelector,t.unblockSelector)}initCanvasMutationObserver(t,n,r,i){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=ZJ(t,n,i,r),l=KJ(this.processMutation.bind(this),t,n,i,r,this.mirror),s=tee(this.processMutation.bind(this),t,n,i,r,this.mirror);this.resetObservers=()=>{a(),l(),s()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const i=r.map(l=>qJ(l,["type"])),{type:a}=r[0];this.mutationCb({id:n,type:a,commands:i}),this.pendingCanvasMutations.delete(t)}}function mi(e){return Object.assign(Object.assign({},e),{timestamp:Date.now()})}let ei,im;const Yf=NJ();function wu(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:l=null,ignoreClass:s="rr-ignore",ignoreSelector:u=null,maskTextClass:o="rr-mask",maskTextSelector:c=null,maskInputSelector:d=null,unmaskTextSelector:p=null,unmaskInputSelector:f=null,inlineStylesheet:g=!0,maskAllText:m=!1,maskAllInputs:h,maskInputOptions:v,slimDOMOptions:b,maskInputFn:y,maskTextFn:S,hooks:C,packFn:w,sampling:T={},mousemoveWait:O,recordCanvas:I=!1,userTriggeredOnInput:N=!1,collectFonts:M=!1,inlineImages:B=!1,plugins:P,keepIframeSrcFn:k=()=>!1,onMutation:D}=e;if(!t)throw new Error("emit function is required");O!==void 0&&T.mousemove===void 0&&(T.mousemove=O);const F=h===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:v!==void 0?v:{},U=b===!0||b==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:b==="all",headMetaDescKeywords:b==="all"}:b||{};DJ();let z,Y=0;const G=ne=>{for(const _e of P||[])_e.eventProcessor&&(ne=_e.eventProcessor(ne));return w&&(ne=w(ne)),ne};ei=(ne,_e)=>{var ue;if(((ue=au[0])===null||ue===void 0?void 0:ue.isFrozen())&&ne.type!==qn.FullSnapshot&&!(ne.type===qn.IncrementalSnapshot&&ne.data.source===gi.Mutation)&&au.forEach(be=>be.unfreeze()),t(G(ne),_e),ne.type===qn.FullSnapshot)z=ne,Y=0;else if(ne.type===qn.IncrementalSnapshot){if(ne.data.source===gi.Mutation&&ne.data.isAttachIframe)return;Y++;const be=r&&Y>=r,fe=n&&ne.timestamp-z.timestamp>n;(be||fe)&&im(!0)}};const K=ne=>{ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Mutation},ne)}))},X=ne=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Scroll},ne)})),ie=ne=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.CanvasMutation},ne)})),se=new jJ({mutationCb:K}),q=new nee({recordCanvas:I,mutationCb:ie,win:window,blockClass:i,blockSelector:a,unblockSelector:l,mirror:Yf}),ee=new WJ({mutationCb:K,scrollCb:X,bypassOptions:{onMutation:D,blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:o,maskTextSelector:c,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:f,inlineStylesheet:g,maskAllText:m,maskInputOptions:F,maskTextFn:S,maskInputFn:y,recordCanvas:I,inlineImages:B,sampling:T,slimDOMOptions:U,iframeManager:se,canvasManager:q},mirror:Yf});im=(ne=!1)=>{var _e,ue,be,fe;ei(mi({type:qn.Meta,data:{href:window.location.href,width:C8(),height:E8()}}),ne),au.forEach(de=>de.lock());const[W,J]=IJ(document,{blockClass:i,blockSelector:a,unblockSelector:l,maskTextClass:o,maskTextSelector:c,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:f,inlineStylesheet:g,maskAllText:m,maskAllInputs:F,maskTextFn:S,slimDOM:U,recordCanvas:I,inlineImages:B,onSerialize:de=>{x8(de)&&se.addIframe(de),O8(de)&&ee.addShadowRoot(de.shadowRoot,document)},onIframeLoad:(de,ve)=>{se.attachIframe(de,ve),ee.observeAttachShadow(de)},keepIframeSrcFn:k});if(!W)return console.warn("Failed to snapshot the document");Yf.map=J,ei(mi({type:qn.FullSnapshot,data:{node:W,initialOffset:{left:window.pageXOffset!==void 0?window.pageXOffset:(document==null?void 0:document.documentElement.scrollLeft)||((ue=(_e=document==null?void 0:document.body)===null||_e===void 0?void 0:_e.parentElement)===null||ue===void 0?void 0:ue.scrollLeft)||(document==null?void 0:document.body.scrollLeft)||0,top:window.pageYOffset!==void 0?window.pageYOffset:(document==null?void 0:document.documentElement.scrollTop)||((fe=(be=document==null?void 0:document.body)===null||be===void 0?void 0:be.parentElement)===null||fe===void 0?void 0:fe.scrollTop)||(document==null?void 0:document.body.scrollTop)||0}}})),au.forEach(de=>de.unlock())};try{const ne=[];ne.push(wa("DOMContentLoaded",()=>{ei(mi({type:qn.DomContentLoaded,data:{}}))}));const _e=be=>{var fe;return Ln(YJ)({onMutation:D,mutationCb:K,mousemoveCb:(W,J)=>ei(mi({type:qn.IncrementalSnapshot,data:{source:J,positions:W}})),mouseInteractionCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.MouseInteraction},W)})),scrollCb:X,viewportResizeCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.ViewportResize},W)})),inputCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Input},W)})),mediaInteractionCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.MediaInteraction},W)})),styleSheetRuleCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.StyleSheetRule},W)})),styleDeclarationCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.StyleDeclaration},W)})),canvasMutationCb:ie,fontCb:W=>ei(mi({type:qn.IncrementalSnapshot,data:Object.assign({source:gi.Font},W)})),blockClass:i,ignoreClass:s,ignoreSelector:u,maskTextClass:o,maskTextSelector:c,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:f,maskInputOptions:F,inlineStylesheet:g,sampling:T,recordCanvas:I,inlineImages:B,userTriggeredOnInput:N,collectFonts:M,doc:be,maskAllText:m,maskInputFn:y,maskTextFn:S,blockSelector:a,unblockSelector:l,slimDOMOptions:U,mirror:Yf,iframeManager:se,shadowDomManager:ee,canvasManager:q,plugins:((fe=P==null?void 0:P.filter(W=>W.observer))===null||fe===void 0?void 0:fe.map(W=>({observer:W.observer,options:W.options,callback:J=>ei(mi({type:qn.Plugin,data:{plugin:W.name,payload:J}}))})))||[]},C)};se.addLoadListener(be=>{try{ne.push(_e(be.contentDocument))}catch(fe){console.warn(fe)}});const ue=()=>{im(),ne.push(_e(document))};return document.readyState==="interactive"||document.readyState==="complete"?ue():ne.push(wa("load",()=>{ei(mi({type:qn.Load,data:{}})),ue()},window)),()=>{ne.forEach(be=>be())}}catch(ne){console.warn(ne)}}wu.addCustomEvent=(e,t)=>{if(!ei)throw new Error("please add custom event after start recording");ei(mi({type:qn.Custom,data:{tag:e,payload:t}}))};wu.freezePage=()=>{au.forEach(e=>e.freeze())};wu.takeFullSnapshot=e=>{if(!im)throw new Error("please take full snapshot after start recording");im(e)};wu.mirror=Yf;function Dw(e){return e>9999999999?e:e*1e3}function ree(e){return e>9999999999?e/1e3:e}function lb(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:qn.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Gl(t,10,1e3)}}),t.category==="console")))}const iee="button,a";function Pw(e){const t=D8(e);return!t||!(t instanceof Element)?t:t.closest(iee)||t}function D8(e){return aee(e)?e.target:e}function aee(e){return typeof e=="object"&&!!e&&"target"in e}let Yl;function oee(e){return Yl||(Yl=[],see()),Yl.push(e),()=>{const t=Yl?Yl.indexOf(e):-1;t>-1&&Yl.splice(t,1)}}function see(){No(In,"open",function(e){return function(...t){if(Yl)try{Yl.forEach(n=>n())}catch{}return e.apply(In,t)}})}function lee(e,t,n){e.handleClick(t,n)}class am{__init(){this._lastMutation=0}__init2(){this._lastScroll=0}__init3(){this._clicks=[]}constructor(t,n,r=lb){am.prototype.__init.call(this),am.prototype.__init2.call(this),am.prototype.__init3.call(this),this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=()=>{this._lastMutation=g_()},n=()=>{this._lastScroll=g_()},r=oee(()=>{this._lastMutation=g_()}),i=l=>{if(!l.target)return;const s=Pw(l);s&&this._handleMultiClick(s)},a=new MutationObserver(t);a.observe(In.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),In.addEventListener("scroll",n,{passive:!0}),In.addEventListener("click",i,{passive:!0}),this._teardown=()=>{In.removeEventListener("scroll",n),In.removeEventListener("click",i),r(),a.disconnect(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(uee(n,this._ignoreSelector)||!dee(t))return;const r={timestamp:ree(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks()}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=g_();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const i=this._clicks.indexOf(r);i>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(i,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,i=t.mutationAfter&&t.mutationAfter<=this._threshold,a=!r&&!i,{clickCount:l,clickBreadcrumb:s}=t;if(a){const u=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,o=u1){const u={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:In.location.href,route:n.getCurrentRoute(),clickCount:l,metric:!0}};this._addBreadcrumbEvent(n,u)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}const cee=["A","BUTTON","INPUT"];function uee(e,t){return!!(!cee.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function dee(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function g_(){return Date.now()/1e3}function rl(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Q0;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(Q0||(Q0={}));const pee=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function fee(e){const t={};for(const n in e)if(pee.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const mee=e=>t=>{if(!e.isEnabled())return;const n=gee(t);if(!n)return;const r=t.name==="click",i=r&&t.event;r&&e.clickDetector&&i&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&lee(e.clickDetector,n,Pw(t.event)),lb(e,n)};function P8(e,t){const n=e&&_ee(e)&&e.__sn.type===Q0.Element?e.__sn:null;return{message:t,data:n?{nodeId:n.id,node:{id:n.id,tagName:n.tagName,textContent:e?Array.from(e.childNodes).map(r=>"__sn"in r&&r.__sn.type===Q0.Text&&r.__sn.textContent).filter(Boolean).map(r=>r.trim()).join(""):"",attributes:fee(n.attributes)}}:{}}}function gee(e){const{target:t,message:n}=hee(e);return rl({category:`ui.${e.name}`,...P8(t,n)})}function hee(e){const t=e.name==="click";let n,r=null;try{r=t?Pw(e.event):D8(e.event),n=Ow(r,{maxStringLength:200})||""}catch{n=""}return{target:r,message:n}}function _ee(e){return"__sn"in e}function vee(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=bee(t);!n||lb(e,n)}function bee(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a,target:l}=e;if(!l||yee(l)||!a)return null;const s=t||r||i,u=a.length===1;if(!s&&u)return null;const o=Ow(l,{maxStringLength:200})||"",c=P8(l,o);return rl({category:"ui.keyDown",message:o,data:{...c.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a}})}function yee(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const See=["name","type","startTime","transferSize","duration"];function R2(e){return function(t){return See.every(n=>e[n]===t[n])}}function Eee(e,t){const[n,r,i]=e.reduce((u,o)=>(o.entryType==="navigation"?u[0].push(o):o.entryType==="largest-contentful-paint"?u[1].push(o):u[2].push(o),u),[[],[],[]]),a=[],l=[];let s=r.length?r[r.length-1]:void 0;return t.forEach(u=>{if(u.entryType==="largest-contentful-paint"){(!s||s.startTime0&&!n.find(R2(o))&&!l.find(R2(o))&&l.push(o);return}a.push(u)}),[...s?[s]:[],...n,...i,...a,...l].sort((u,o)=>u.startTime-o.startTime)}function Cee(e){const t=r=>{const i=Eee(e.performanceEvents,r.getEntries());e.performanceEvents=i},n=new PerformanceObserver(t);return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach(r=>{try{n.observe({type:r,buffered:!0})}catch{}}),n}const Tee=`/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */ +function t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&sr){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_outi+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_watern&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindexi&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindexi&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&nt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<>>=p,c-=p),c<15&&(f+=z[a++]<>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a>3,a-=k,c-=k<<3,f&=(1<{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whavexe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;function wee(){const e=new Blob([Tee]);return URL.createObjectURL(e)}class Mw extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Nw}.`)}}class cb{__init(){this._totalSize=0}constructor(){cb.prototype.__init.call(this),this.events=[]}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>Nw)throw new Mw;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?Dw(t):null}}class xee{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((i,a)=>{const l=({data:s})=>{const u=s;if(u.method===t&&u.id===r){if(this._worker.removeEventListener("message",l),!u.success){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay]",u.response),a(new Error("Error in compression worker"));return}i(u.response)}};this._worker.addEventListener("message",l),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class kw{__init(){this._totalSize=0}constructor(t){kw.prototype.__init.call(this),this._worker=new xee(t),this._earliestTimestamp=null}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=Dw(t.timestamp);(!this._earliestTimestamp||nNw?Promise.reject(new Mw):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this._worker.postMessage("clear")}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class Oee{constructor(t){this._fallback=new cb,this._compression=new kw(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t}=this._fallback,n=[];for(const r of t)n.push(this._compression.addEvent(r));this._used=this._compression;try{await Promise.all(n)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("[Replay] Failed to add events when switching buffers.",r)}}}function Ree({useCompression:e}){if(e&&window.Worker)try{const t=wee();(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Using compression worker");const n=new Worker(t);return new Oee(n)}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Failed to create compression worker")}return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Using simple buffer"),new cb}function $w(){try{return"sessionStorage"in In&&!!In.sessionStorage}catch{return!1}}function Iee(e){Aee(),e.session=void 0}function Aee(){if(!!$w())try{In.sessionStorage.removeItem(Iw)}catch{}}function W1(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function M8(e,t,n=+new Date){return W1(e.started,t.maxSessionLife,n)||W1(e.lastActivity,t.sessionIdleExpire,n)}function k8(e){return e===void 0?!1:Math.random()"u"||__SENTRY_DEBUG__)&&On.log(`[Replay] Creating new session: ${i.id}`),n&&Lw(i),i}function Pee(){if(!$w())return null;try{const e=In.sessionStorage.getItem(Iw);if(!e)return null;const t=JSON.parse(e);return Fw(t)}catch{return null}}function ZS({timeouts:e,currentSession:t,stickySession:n,sessionSampleRate:r,allowBuffering:i}){const a=t||n&&Pee();if(a){if(!M8(a,e)||i&&a.shouldRefresh)return{type:"saved",session:a};if(a.shouldRefresh)(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Session has expired");else return{type:"new",session:Fw({sampled:!1})}}return{type:"new",session:Dee({stickySession:n,sessionSampleRate:r,allowBuffering:i})}}function Mee(e){return e.type===qn.Custom}async function X0(e,t,n){if(!e.eventBuffer||e.isPaused()||Dw(t.timestamp)+e.timeouts.sessionIdlePause"u"||__SENTRY_DEBUG__)&&On.error(i),await e.stop(a);const l=co().getClient();l&&l.recordDroppedEvent("internal_sdk_error","replay")}}function kee(e,t){try{if(typeof t=="function"&&Mee(e))return t(e)}catch(n){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",n),null}return e}function q1(e){return!e.type}function K1(e){return e.type==="transaction"}function $ee(e){return e.type==="replay_event"}function $8(e){const t=Lee();return(n,r)=>{if(!q1(n)&&!K1(n))return;const i=r&&r.statusCode;if(!(t&&(!i||i<200||i>=300))){if(K1(n)&&n.contexts&&n.contexts.trace&&n.contexts.trace.trace_id){e.getContext().traceIds.add(n.contexts.trace.trace_id);return}!q1(n)||(n.event_id&&e.getContext().errorIds.add(n.event_id),e.recordingMode==="buffer"&&n.tags&&n.tags.replayId&&setTimeout(()=>{e.sendBufferedReplayOrFlush()}))}}}function Lee(){const e=co().getClient();if(!e)return!1;const t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}function Fee(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:t.originalException&&t.originalException.__rrweb__?!0:e.exception.values.some(n=>!n.stacktrace||!n.stacktrace.frames||!n.stacktrace.frames.length?!1:n.stacktrace.frames.some(r=>r.filename&&r.filename.includes("/rrweb/src/")))}function Bee(e,t){return e.recordingMode!=="buffer"||t.message===Aw||!t.exception||t.type?!1:k8(e.getOptions().errorSampleRate)}function Uee(e,t=!1){const n=t?$8(e):void 0;return(r,i)=>$ee(r)?(delete r.breadcrumbs,r):!q1(r)&&!K1(r)?r:Fee(r,i)&&!e.getOptions()._experiments.captureExceptions?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Ignoring error from rrweb internals",r),null):((Bee(e,r)||e.recordingMode==="session")&&(r.tags={...r.tags,replayId:e.getSessionId()}),n&&n(r,{statusCode:200}),r)}function ub(e,t){return t.map(({type:n,start:r,end:i,name:a,data:l})=>{const s=e.throttledAddEvent({type:qn.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:a,startTimestamp:r,endTimestamp:i,data:l}}});return typeof s=="string"?Promise.resolve(null):s})}function Hee(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function zee(e){return t=>{if(!e.isEnabled())return;const n=Hee(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(ub(e,[n]),!1)))}}function Vee(e,t){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&e.getOptions()._experiments.traceInternals?!1:Gee(t)}function Gee(e){const t=co().getClient(),n=t&&t.getDsn();return n?e.includes(n.host):!1}function db(e,t){!e.isEnabled()||t!==null&&(Vee(e,t.name)||e.addUpdate(()=>(ub(e,[t]),!0)))}function Yee(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;const{method:a,url:l}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:l,data:{method:a,statusCode:i?i.status:void 0}}}function jee(e){return t=>{if(!e.isEnabled())return;const n=Yee(t);db(e,n)}}function Wee(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[Dd];if(!t||!n||!i)return null;const{method:a,url:l,status_code:s}=i;return l===void 0?null:{type:"resource.xhr",name:l,start:t/1e3,end:n/1e3,data:{method:a,statusCode:s}}}function qee(e){return t=>{if(!e.isEnabled())return;const n=Wee(t);db(e,n)}}const tc=10,Bw=11,Z1=12,cl=13,Q1=14,mp=15,el=20,ro=21,X1=22,gp=23,L8=["true","false","null"];function Kee(e,t){if(!t.length)return e;let n=e;const r=t.length-1,i=t[r];n=Zee(n,i);for(let a=r;a>=0;a--)switch(t[a]){case tc:n=`${n}}`;break;case el:n=`${n}]`;break}return n}function Zee(e,t){switch(t){case tc:return`${e}"~~":"~~"`;case Bw:return`${e}:"~~"`;case Z1:return`${e}~~":"~~"`;case cl:return Jee(e);case Q1:return`${e}~~"`;case mp:return`${e},"~~":"~~"`;case el:return`${e}"~~"`;case ro:return Qee(e);case X1:return`${e}~~"`;case gp:return`${e},"~~"`}return e}function Qee(e){const t=Xee(e);if(t>-1){const n=e.slice(t+1);return L8.includes(n.trim())?`${e},"~~"`:`${e.slice(0,t+1)}"~~"`}return e}function Xee(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n===","||n==="[")return t}return-1}function Jee(e){const t=e.lastIndexOf(":"),n=e.slice(t+1);return L8.includes(n.trim())?`${e},"~~":"~~"`:`${e.slice(0,t+1)}"~~"`}function ete(e){const t=[];for(let n=0;n0&&(r._meta={warnings:a}),r}function J1(e,t){return Object.keys(e).reduce((n,r)=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n},{})}function V8(e){return new URLSearchParams(e).toString()}function cte(e){if(!e||typeof e!="string")return{body:e,warnings:[]};const t=e.length>u_;if(ute(e))try{const n=t?B8(e.slice(0,u_)):e;return{body:JSON.parse(n),warnings:t?["JSON_TRUNCATED"]:[]}}catch{return{body:t?`${e.slice(0,u_)}\u2026`:e,warnings:t?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:t?`${e.slice(0,u_)}\u2026`:e,warnings:t?["TEXT_TRUNCATED"]:[]}}function ute(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function ev(e,t){const n=dte(e);return ZQ(n,t)}function dte(e,t=In.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(In.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function pte(e,t,n){try{const r=await mte(e,t,n),i=z8("resource.fetch",r);db(n.replay,i)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] Failed to capture fetch breadcrumb",r)}}function fte(e,t,n){const{input:r,response:i}=t,a=G8(r),l=J0(a,n.textEncoder),s=i?U8(i.headers.get("content-length")):void 0;l!==void 0&&(e.data.request_body_size=l),s!==void 0&&(e.data.response_body_size=s)}async function mte(e,t,n){const{startTimestamp:r,endTimestamp:i}=t,{url:a,method:l,status_code:s=0,request_body_size:u,response_body_size:o}=e.data,c=ev(a,n.networkDetailAllowUrls)&&!ev(a,n.networkDetailDenyUrls),d=c?gte(n,t.input,u):Bm(u),p=await hte(c,n,t.response,o);return{startTimestamp:r,endTimestamp:i,url:a,method:l,statusCode:s,request:d,response:p}}function gte({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=vte(n,t);if(!e)return nc(i,r,void 0);const a=G8(n),l=H8(a);return nc(i,r,l)}async function hte(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,a){if(!e&&a!==void 0)return Bm(a);const l=Y8(i.headers,r);if(!t&&a!==void 0)return nc(l,a,void 0);try{const s=i.clone(),u=await _te(s),o=u&&u.length&&a===void 0?J0(u,n):a;return e?t?nc(l,o,u):nc(l,o,void 0):Bm(o)}catch{return nc(l,a,void 0)}}async function _te(e){try{return await e.text()}catch{return}}function G8(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function Y8(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function vte(e,t){return e.length===1&&typeof e[0]!="string"?I2(e[0],t):e.length===2?I2(e[1],t):{}}function I2(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Y8(n,t):Array.isArray(n)?{}:J1(n,t):{}}async function bte(e,t,n){try{const r=Ste(e,t,n),i=z8("resource.xhr",r);db(n.replay,i)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] Failed to capture fetch breadcrumb",r)}}function yte(e,t,n){const{xhr:r,input:i}=t,a=J0(i,n.textEncoder),l=r.getResponseHeader("content-length")?U8(r.getResponseHeader("content-length")):J0(r.response,n.textEncoder);a!==void 0&&(e.data.request_body_size=a),l!==void 0&&(e.data.response_body_size=l)}function Ste(e,t,n){const{startTimestamp:r,endTimestamp:i,input:a,xhr:l}=t,{url:s,method:u,status_code:o=0,request_body_size:c,response_body_size:d}=e.data;if(!s)return null;if(!ev(s,n.networkDetailAllowUrls)||ev(s,n.networkDetailDenyUrls)){const v=Bm(c),b=Bm(d);return{startTimestamp:r,endTimestamp:i,url:s,method:u,statusCode:o,request:v,response:b}}const p=l[Dd],f=p?J1(p.request_headers,n.networkRequestHeaders):{},g=J1(Ete(l),n.networkResponseHeaders),m=nc(f,c,n.networkCaptureBodies?H8(a):void 0),h=nc(g,d,n.networkCaptureBodies?t.xhr.responseText:void 0);return{startTimestamp:r,endTimestamp:i,url:s,method:u,statusCode:o,request:m,response:h}}function Ete(e){const t=e.getAllResponseHeaders();return t?t.split(`\r +`).reduce((n,r)=>{const[i,a]=r.split(": ");return n[i.toLowerCase()]=a,n},{}):{}}function Cte(e){const t=co().getClient();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:l,networkResponseHeaders:s}=e.getOptions(),u={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:l,networkResponseHeaders:s};t&&t.on?t.on("beforeAddBreadcrumb",(o,c)=>Tte(u,o,c)):(W0("fetch",jee(e)),W0("xhr",qee(e)))}catch{}}function Tte(e,t,n){if(!!t.data)try{wte(t)&&Ote(n)&&(yte(t,n,e),bte(t,n,e)),xte(t)&&Rte(n)&&(fte(t,n,e),pte(t,n,e))}catch{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("Error when enriching network breadcrumb")}}function wte(e){return e.category==="xhr"}function xte(e){return e.category==="fetch"}function Ote(e){return e&&e.xhr}function Rte(e){return e&&e.response}let A2=null;function Ite(e){return!!e.category}const Ate=e=>t=>{if(!e.isEnabled())return;const n=Nte(t);!n||lb(e,n)};function Nte(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return A2===t||!t||(A2=t,!Ite(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:t.category==="console"?Dte(t):rl(t)}function Dte(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return rl(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>d_?(n=!0,`${i.slice(0,d_)}\u2026`):i;if(typeof i=="object")try{const a=Gl(i,7),l=JSON.stringify(a);if(l.length>d_){const s=B8(l.slice(0,d_)),u=JSON.parse(s);return n=!0,u}return a}catch{}return i});return rl({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function Pte(e){const t=co().getScope(),n=co().getClient();t&&t.addScopeListener(Ate(e)),W0("dom",mee(e)),W0("history",zee(e)),Cte(e),$X(Uee(e,!N2(n))),N2(n)&&(n.on("afterSendEvent",$8(e)),n.on("createDsc",r=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&(r.replay_id=i)}),n.on("startTransaction",r=>{e.lastTransaction=r}),n.on("finishTransaction",r=>{e.lastTransaction=r}))}function N2(e){return!!(e&&e.on)}async function Mte(e){try{return Promise.all(ub(e,[kte(In.performance.memory)]))}catch{return[]}}function kte(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const D2={resource:Ute,paint:Fte,navigation:Bte,["largest-contentful-paint"]:Hte};function $te(e){return e.map(Lte).filter(Boolean)}function Lte(e){return D2[e.entryType]===void 0?null:D2[e.entryType](e)}function hp(e){return((RX||In.performance.timeOrigin)+e)/1e3}function Fte(e){const{duration:t,entryType:n,name:r,startTime:i}=e,a=hp(i);return{type:n,name:r,start:a,end:a+t,data:void 0}}function Bte(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,domInteractive:o,loadEventStart:c,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:g,type:m}=e;return i===0?null:{type:`${t}.${m}`,start:hp(f),end:hp(a),name:n,data:{size:g,decodedBodySize:r,encodedBodySize:l,duration:i,domInteractive:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,loadEventStart:c,loadEventEnd:d,domComplete:a,redirectCount:p}}}function Ute(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:l,encodedBodySize:s,responseStatus:u,transferSize:o}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:hp(a),end:hp(i),name:r,data:{size:o,statusCode:u,decodedBodySize:l,encodedBodySize:s}}}function Hte(e){const{entryType:t,startTime:n,size:r}=e;let i=0;if(In.performance){const s=In.performance.getEntriesByType("navigation")[0];i=s&&s.activationStart||0}const a=Math.max(n-i,0),l=hp(i)+a/1e3;return{type:t,name:t,start:l,end:l,data:{value:a,size:r,nodeId:wu.mirror.getId(e.element)}}}function zte(e,t,n){let r,i,a;const l=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return u(),r=e(),r}function u(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function o(){return i!==void 0||a!==void 0?s():r}function c(){return i&&clearTimeout(i),i=setTimeout(s,t),l&&a===void 0&&(a=setTimeout(s,l)),r}return c.cancel=u,c.flush=o,c}function Vte(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.warn("[Replay] Received replay event after session expired.");return}const i=r||!t;t=!0,e.addUpdate(()=>{if(e.recordingMode==="buffer"&&i&&e.setInitialState(),X0(e,n,i),!i)return!1;if(Yte(e,i),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode==="buffer"&&e.session&&e.eventBuffer){const a=e.eventBuffer.getEarliestTimestamp();a&&(e.session.started=a,e.getOptions().stickySession&&Lw(e.session))}return e.recordingMode==="session"&&e.flush(),!0})}}function Gte(e){const t=e.getOptions();return{type:qn.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function Yte(e,t){return!t||!e.session||e.session.segmentId!==0?Promise.resolve(null):X0(e,Gte(e),!1)}function jte(e,t,n,r){return IX(NX(e,AX(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function Wte({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)} +`;if(typeof e=="string")n=`${r}${e}`;else{const a=new TextEncoder().encode(r);n=new Uint8Array(a.length+e.length),n.set(a),n.set(e,a.length)}return n}async function qte({client:e,scope:t,replayId:n,event:r}){const i=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,a=await HX(e.getOptions(),r,{event_id:n,integrations:i},t);if(!a)return null;a.platform=a.platform||"javascript";const l=e.getSdkMetadata&&e.getSdkMetadata(),{name:s,version:u}=l&&l.sdk||{};return a.sdk={...a.sdk,name:s||"sentry.javascript.unknown",version:u||"0.0.0"},a}async function Kte({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){const l=Wte({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:u,traceIds:o,initialTimestamp:c}=r,d=co(),p=d.getClient(),f=d.getScope(),g=p&&p.getTransport(),m=p&&p.getDsn();if(!p||!g||!m||!a.sampled)return;const h={type:WX,replay_start_timestamp:c/1e3,timestamp:i/1e3,error_ids:u,trace_ids:o,urls:s,replay_id:t,segment_id:n,replay_type:a.sampled},v=await qte({scope:f,client:p,replayId:t,event:h});if(!v){p.recordDroppedEvent("event_processor","replay",h),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("An event processor returned `null`, will not send event.");return}delete v.sdkProcessingMetadata;const b=jte(v,l,m,p.getOptions().tunnel);let y;try{y=await g.send(b)}catch(S){const C=new Error(Aw);try{C.cause=S}catch{}throw C}if(!y)return y;if(typeof y.statusCode=="number"&&(y.statusCode<200||y.statusCode>=300))throw new j8(y.statusCode);return y}class j8 extends Error{constructor(t){super(`Transport returned status code ${t}`)}}async function W8(e,t={count:0,interval:eJ}){const{recordingData:n,options:r}=e;if(!!n.length)try{return await Kte(e),!0}catch(i){if(i instanceof j8)throw i;if(UX("Replays",{_retryCount:t.count}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&h8(i),t.count>=tJ){const a=new Error(`${Aw} - max retries exceeded`);try{a.cause=i}catch{}throw a}return t.interval*=++t.count,new Promise((a,l)=>{setTimeout(async()=>{try{await W8(e,t),a(!0)}catch(s){l(s)}},t.interval)})}}const q8="__THROTTLED",Zte="__SKIPPED";function Qte(e,t,n){const r=new Map,i=s=>{const u=s-n;r.forEach((o,c)=>{c[...r.values()].reduce((s,u)=>s+u,0);let l=!1;return(...s)=>{const u=Math.floor(Date.now()/1e3);if(i(u),a()>=t){const c=l;return l=!0,c?Zte:q8}l=!1;const o=r.get(u)||0;return r.set(u,o+1),e(...s)}}class jr{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this.timeouts={sessionIdlePause:qX,sessionIdleExpire:KX,maxSessionLife:ZX}}__init5(){this._performanceObserver=null}__init6(){this._flushLock=null}__init7(){this._lastActivity=Date.now()}__init8(){this._isEnabled=!1}__init9(){this._isPaused=!1}__init10(){this._hasInitializedCoreListeners=!1}__init11(){this._stopRecording=null}__init12(){this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""}}constructor({options:t,recordingOptions:n}){jr.prototype.__init.call(this),jr.prototype.__init2.call(this),jr.prototype.__init3.call(this),jr.prototype.__init4.call(this),jr.prototype.__init5.call(this),jr.prototype.__init6.call(this),jr.prototype.__init7.call(this),jr.prototype.__init8.call(this),jr.prototype.__init9.call(this),jr.prototype.__init10.call(this),jr.prototype.__init11.call(this),jr.prototype.__init12.call(this),jr.prototype.__init13.call(this),jr.prototype.__init14.call(this),jr.prototype.__init15.call(this),jr.prototype.__init16.call(this),jr.prototype.__init17.call(this),jr.prototype.__init18.call(this),this._recordingOptions=n,this._options=t,this._debouncedFlush=zte(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Qte((l,s)=>X0(this,l,s),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:i}=this.getOptions(),a=r?{threshold:Math.min(nJ,r),timeout:r,scrollTimeout:rJ,ignoreSelector:i?i.join(","):""}:void 0;a&&(this.clickDetector=new am(this,a))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}initializeSampling(){const{errorSampleRate:t,sessionSampleRate:n}=this._options;if(!(t<=0&&n<=0||!this._loadAndCheckSession())){if(!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled&&this.session.sampled!=="session"&&(this.recordingMode="buffer"),this._initializeRecording()}}start(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");const t=this.session&&this.session.id,{session:n}=ZS({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:1,allowBuffering:!1});n.previousSessionId=t,this.session=n,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");const t=this.session&&this.session.id,{session:n}=ZS({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:0,allowBuffering:!0});n.previousSessionId=t,this.session=n,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{this._stopRecording=wu({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:JX},emit:Vte(this),onMutation:this._onMutationHandler})}catch(t){this._handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this._handleException(t),!1}}async stop(t){if(!!this._isEnabled)try{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const n=`[Replay] Stopping Replay${t?` triggered by ${t}`:""}`;(this.getOptions()._experiments.traceInternals?console.warn:On.log)(n)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),this.recordingMode==="session"&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,Iee(this)}catch(n){this._handleException(n)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){!this._loadAndCheckSession()||(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();await this.flushImmediate();const r=this.stopRecording();!t||!r||(this.recordingMode="session",this.session&&(this.session.shouldRefresh=!1,this._updateUserActivity(n),this._updateSessionActivity(n),this.session.started=n,this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&&n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._loadAndCheckSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){const t=this.getSessionId();if(this._lastActivity&&W1(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return this._loadAndCheckSession()?t!==this.getSessionId()?(this._triggerFullSnapshot(),!1):!0:void 0}setInitialState(){const t=`${In.location.pathname}${In.location.hash}${In.location.search}`,n=`${In.location.origin}${t}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===q8){const i=rl({category:"replay.throttled"});this.addUpdate(()=>{X0(this,{type:qn.Custom,timestamp:i.timestamp||0,data:{tag:"breadcrumb",payload:i,metric:!0}})})}return r}getCurrentRoute(){const t=this.lastTransaction||co().getScope().getTransaction();if(!(!t||!["route","custom"].includes(t.metadata.source)))return t.name}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Ree({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this.startRecording()}_handleException(t){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay]",t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&h8(t)}_loadAndCheckSession(){const{type:t,session:n}=ZS({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:this._options.errorSampleRate>0||this.recordingMode==="buffer"});t==="new"&&this.setInitialState();const r=this.getSessionId();return n.id!==r&&(n.previousSessionId=r),this.session=n,this.session.sampled?!0:(this.stop("session unsampled"),!1)}_addListeners(){try{In.document.addEventListener("visibilitychange",this._handleVisibilityChange),In.addEventListener("blur",this._handleWindowBlur),In.addEventListener("focus",this._handleWindowFocus),In.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Pte(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in In&&(this._performanceObserver=Cee(this))}_removeListeners(){try{In.document.removeEventListener("visibilitychange",this._handleVisibilityChange),In.removeEventListener("blur",this._handleWindowBlur),In.removeEventListener("focus",this._handleWindowFocus),In.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(t){this._handleException(t)}}__init13(){this._handleVisibilityChange=()=>{In.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const t=rl({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init15(){this._handleWindowFocus=()=>{const t=rl({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init16(){this._handleKeyboardEvent=t=>{vee(this,t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;const n=M8(this.session,this.timeouts);t&&!n&&this._createCustomBreadcrumb(t),this.conditionalFlush()}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_triggerFullSnapshot(t=!0){try{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.log("[Replay] Taking full rrweb snapshot"),wu.takeFullSnapshot(t)}catch(n){this._handleException(n)}}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:qn.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){const t=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(ub(this,$te(t)))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||t.segmentId)return;const r=n.getEarliestTimestamp();if(r&&r"u"||__SENTRY_DEBUG__)&&i(`[Replay] Updating initial timestamp to ${r}`),this._context.initialTimestamp=r}}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){if(!this.session||!this.eventBuffer){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await Mte(this),!!this.eventBuffer))try{this._updateInitialTimestampFromEventBuffer();const t=await this.eventBuffer.finish(),n=this.session.id,r=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession(),await W8({replayId:n,recordingData:t,segmentId:i,eventContext:r,session:this.session,options:this.getOptions(),timestamp:Date.now()})}catch(t){this._handleException(t),this.stop("sendReplay");const n=co().getClient();n&&n.recordDroppedEvent("send_error","replay")}}__init17(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error("[Replay] No session found to flush.");return}const n=this._context.initialTimestamp,i=Date.now()-n;if(ithis.timeouts.maxSessionLife+5e3){const a=this.getOptions()._experiments.traceInternals?console.warn:On.warn;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&a(`[Replay] Session duration (${Math.floor(i/1e3)}s) is too short or too long, not sending replay.`);return}if(this._debouncedFlush.cancel(),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=null;return}try{await this._flushLock}catch(a){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&On.error(a)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Lw(this.session)}__init18(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=r&&n>r;if(n>i||a){const l=rl({category:"replay.mutations",data:{count:n,limit:a}});this._createCustomBreadcrumb(l)}return a?(this.stop("mutationLimit"),!1):!0}}}function If(e,t,n,r){const i=typeof r=="string"?r.split(","):[],a=[...e,...i,...t];return typeof n<"u"&&(typeof n=="string"&&a.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),a.join(",")}function Xte({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:a,blockSelector:l,maskTextClass:s,maskTextSelector:u,ignoreClass:o}){const c=['base[href="/"]'],d=If(e,[".sentry-mask","[data-sentry-mask]"],s,u),p=If(t,[".sentry-unmask","[data-sentry-unmask]"]),f={maskTextSelector:d,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:p,blockSelector:If(n,[".sentry-block","[data-sentry-block]",...c],a,l),unblockSelector:If(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:If(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],o)};return a instanceof RegExp&&(f.blockClass=a),s instanceof RegExp&&(f.maskTextClass=s),f}function P2(){return typeof window<"u"&&(!l8()||Jte())}function Jte(){return typeof process<"u"&&process.type==="renderer"}const M2='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',ene=["content-length","content-type","accept"];let k2=!1;class Um{static __initStatic(){this.id="Replay"}__init(){this.name=Um.id}constructor({flushMinDelay:t=QX,flushMaxDelay:n=XX,minReplayDuration:r=iJ,stickySession:i=!0,useCompression:a=!0,_experiments:l={},sessionSampleRate:s,errorSampleRate:u,maskAllText:o=!0,maskAllInputs:c=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:f=1e4,slowClickTimeout:g=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:h=[],networkDetailDenyUrls:v=[],networkCaptureBodies:b=!0,networkRequestHeaders:y=[],networkResponseHeaders:S=[],mask:C=[],unmask:w=[],block:T=[],unblock:O=[],ignore:I=[],maskFn:N,beforeAddRecordingEvent:M,blockClass:B,blockSelector:P,maskInputOptions:k,maskTextClass:D,maskTextSelector:F,ignoreClass:U}={}){if(Um.prototype.__init.call(this),this._recordingOptions={maskAllInputs:c,maskAllText:o,maskInputOptions:{...k||{},password:!0},maskTextFn:N,maskInputFn:N,...Xte({mask:C,unmask:w,block:T,unblock:O,ignore:I,blockClass:B,blockSelector:P,maskTextClass:D,maskTextSelector:F,ignoreClass:U}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,aJ),stickySession:i,sessionSampleRate:s,errorSampleRate:u,useCompression:a,blockAllMedia:d,maskAllInputs:c,maskAllText:o,mutationBreadcrumbLimit:p,mutationLimit:f,slowClickTimeout:g,slowClickIgnoreSelectors:m,networkDetailAllowUrls:h,networkDetailDenyUrls:v,networkCaptureBodies:b,networkRequestHeaders:$2(y),networkResponseHeaders:$2(S),beforeAddRecordingEvent:M,_experiments:l},typeof s=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysSessionSampleRate: ${s} })`),this._initialOptions.sessionSampleRate=s),typeof u=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.: -Sentry.init({ replaysOnErrorSampleRate: ${u} })`),this._initialOptions.errorSampleRate=u),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${M2}`:M2),this._isInitialized&&P2())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return k2}set _isInitialized(t){k2=t}setupOnce(){!P2()||(this._setup(),setTimeout(()=>this._initialize()))}start(){!this._replay||this._replay.start()}startBuffering(){!this._replay||this._replay.startBuffering()}stop(){return this._replay?this._replay.stop():Promise.resolve()}flush(t){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(t)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){!this._replay||this._replay.initializeSampling()}_setup(){const t=tne(this._initialOptions);this._replay=new jr({options:t,recordingOptions:this._recordingOptions})}}Um.__initStatic();function tne(e){const t=co().getClient(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ib(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),typeof n.replaysSessionSampleRate=="number"&&(r.sessionSampleRate=n.replaysSessionSampleRate),typeof n.replaysOnErrorSampleRate=="number"&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):(console.warn("SDK client is not available."),r)}function $2(e){return[...ene,...e.map(t=>t.toLowerCase())]}const nne=Object.prototype.toString;function Uw(e,t){return nne.call(e)===`[object ${t}]`}function _p(e){return Uw(e,"String")}function K6(e){return Uw(e,"Object")}function rne(e){return Uw(e,"RegExp")}function Z6(e){return Boolean(e&&e.then&&typeof e.then=="function")}function ine(e){return typeof e=="number"&&e!==e}function L2(e,t){try{return e instanceof t}catch{return!1}}function ane(e,t,n=!1){return _p(e)?rne(t)?t.test(e):_p(t)?n?e===t:e.includes(t):!1:!1}function one(e,t=[],n=!1){return t.some(r=>ane(e,r,n))}function h_(e){return e&&e.Math==Math?e:void 0}const ko=typeof globalThis=="object"&&h_(globalThis)||typeof window=="object"&&h_(window)||typeof self=="object"&&h_(self)||typeof global=="object"&&h_(global)||function(){return this}()||{};function Ig(){return ko}function Hw(e,t,n){const r=n||ko,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const QS=Ig(),sne=80;function eC(e,t={}){try{let n=e;const r=5,i=[];let a=0,l=0;const s=" > ",u=s.length;let o;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||sne;for(;n&&a++1&&l+i.length*u+o.length>=d));)i.push(o),l+=o.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function lne(e,t){const n=e,r=[];let i,a,l,s,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(o&&o.length)o.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&_p(i))for(a=i.split(/\s+/),u=0;u{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function F2(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?tv.forEach(n=>{t[n]=(...r)=>{e&&Q6(()=>{ko.console[n](`${une}[${n}]:`,...r)})}}):tv.forEach(n=>{t[n]=()=>{}}),t}let Ct;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Ct=Hw("logger",F2):Ct=F2();function ps(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{pne(i,r)}catch{}e[t]=i}function dne(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function pne(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,dne(e,"__sentry_original__",t)}function Vd(e){return tC(e,new Map)}function tC(e,t){if(K6(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=tC(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(tC(i,t))}),r}return e}const XS="";function fne(e){try{return!e||typeof e!="function"?XS:e.name||XS}catch{return XS}}const nC=Ig();function mne(){if(!("fetch"in nC))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function B2(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function gne(){if(!mne())return!1;if(B2(nC.fetch))return!0;let e=!1;const t=nC.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=B2(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const __=Ig();function hne(){const e=__.chrome,t=e&&e.app&&e.app.runtime,n="history"in __&&!!__.history.pushState&&!!__.history.replaceState;return!t&&n}const Cr=Ig(),jf="__sentry_xhr_v2__",om={},U2={};function _ne(e){if(!U2[e])switch(U2[e]=!0,e){case"console":vne();break;case"dom":xne();break;case"xhr":Sne();break;case"fetch":bne();break;case"history":Ene();break;case"error":One();break;case"unhandledrejection":Rne();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("unknown instrumentation type:",e);return}}function Hm(e,t){om[e]=om[e]||[],om[e].push(t),_ne(e)}function $o(e,t){if(!(!e||!om[e]))for(const n of om[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.error(`Error while triggering instrumentation handler. +Sentry.init({ replaysOnErrorSampleRate: ${u} })`),this._initialOptions.errorSampleRate=u),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${M2}`:M2),this._isInitialized&&P2())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return k2}set _isInitialized(t){k2=t}setupOnce(){!P2()||(this._setup(),setTimeout(()=>this._initialize()))}start(){!this._replay||this._replay.start()}startBuffering(){!this._replay||this._replay.startBuffering()}stop(){return this._replay?this._replay.stop():Promise.resolve()}flush(t){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(t)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){!this._replay||this._replay.initializeSampling()}_setup(){const t=tne(this._initialOptions);this._replay=new jr({options:t,recordingOptions:this._recordingOptions})}}Um.__initStatic();function tne(e){const t=co().getClient(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ib(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),typeof n.replaysSessionSampleRate=="number"&&(r.sessionSampleRate=n.replaysSessionSampleRate),typeof n.replaysOnErrorSampleRate=="number"&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):(console.warn("SDK client is not available."),r)}function $2(e){return[...ene,...e.map(t=>t.toLowerCase())]}const nne=Object.prototype.toString;function Uw(e,t){return nne.call(e)===`[object ${t}]`}function _p(e){return Uw(e,"String")}function K8(e){return Uw(e,"Object")}function rne(e){return Uw(e,"RegExp")}function Z8(e){return Boolean(e&&e.then&&typeof e.then=="function")}function ine(e){return typeof e=="number"&&e!==e}function L2(e,t){try{return e instanceof t}catch{return!1}}function ane(e,t,n=!1){return _p(e)?rne(t)?t.test(e):_p(t)?n?e===t:e.includes(t):!1:!1}function one(e,t=[],n=!1){return t.some(r=>ane(e,r,n))}function h_(e){return e&&e.Math==Math?e:void 0}const ko=typeof globalThis=="object"&&h_(globalThis)||typeof window=="object"&&h_(window)||typeof self=="object"&&h_(self)||typeof global=="object"&&h_(global)||function(){return this}()||{};function Ig(){return ko}function Hw(e,t,n){const r=n||ko,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const QS=Ig(),sne=80;function eC(e,t={}){try{let n=e;const r=5,i=[];let a=0,l=0;const s=" > ",u=s.length;let o;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||sne;for(;n&&a++1&&l+i.length*u+o.length>=d));)i.push(o),l+=o.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function lne(e,t){const n=e,r=[];let i,a,l,s,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(o&&o.length)o.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&_p(i))for(a=i.split(/\s+/),u=0;u{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function F2(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?tv.forEach(n=>{t[n]=(...r)=>{e&&Q8(()=>{ko.console[n](`${une}[${n}]:`,...r)})}}):tv.forEach(n=>{t[n]=()=>{}}),t}let Ct;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Ct=Hw("logger",F2):Ct=F2();function ps(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{pne(i,r)}catch{}e[t]=i}function dne(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function pne(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,dne(e,"__sentry_original__",t)}function Vd(e){return tC(e,new Map)}function tC(e,t){if(K8(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=tC(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(tC(i,t))}),r}return e}const XS="";function fne(e){try{return!e||typeof e!="function"?XS:e.name||XS}catch{return XS}}const nC=Ig();function mne(){if(!("fetch"in nC))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function B2(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function gne(){if(!mne())return!1;if(B2(nC.fetch))return!0;let e=!1;const t=nC.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=B2(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const __=Ig();function hne(){const e=__.chrome,t=e&&e.app&&e.app.runtime,n="history"in __&&!!__.history.pushState&&!!__.history.replaceState;return!t&&n}const Cr=Ig(),jf="__sentry_xhr_v2__",om={},U2={};function _ne(e){if(!U2[e])switch(U2[e]=!0,e){case"console":vne();break;case"dom":xne();break;case"xhr":Sne();break;case"fetch":bne();break;case"history":Ene();break;case"error":One();break;case"unhandledrejection":Rne();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("unknown instrumentation type:",e);return}}function Hm(e,t){om[e]=om[e]||[],om[e].push(t),_ne(e)}function $o(e,t){if(!(!e||!om[e]))for(const n of om[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${fne(n)} -Error:`,r)}}function vne(){"console"in Cr&&tv.forEach(function(e){e in Cr.console&&ps(Cr.console,e,function(t){return function(...n){$o("console",{args:n,level:e}),t&&t.apply(Cr.console,n)}})})}function bne(){!gne()||ps(Cr,"fetch",function(e){return function(...t){const{method:n,url:r}=yne(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return $o("fetch",{...i}),e.apply(Cr,t).then(a=>($o("fetch",{...i,endTimestamp:Date.now(),response:a}),a),a=>{throw $o("fetch",{...i,endTimestamp:Date.now(),error:a}),a})}})}function rC(e,t){return!!e&&typeof e=="object"&&!!e[t]}function H2(e){return typeof e=="string"?e:e?rC(e,"url")?e.url:e.toString?e.toString():"":""}function yne(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:H2(n),method:rC(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:H2(t),method:rC(t,"method")?String(t.method).toUpperCase():"GET"}}function Sne(){if(!("XMLHttpRequest"in Cr))return;const e=XMLHttpRequest.prototype;ps(e,"open",function(t){return function(...n){const r=n[1],i=this[jf]={method:_p(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};_p(r)&&i.method==="POST"&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const l=this[jf];if(!!l&&this.readyState===4){try{l.status_code=this.status}catch{}$o("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?ps(this,"onreadystatechange",function(l){return function(...s){return a(),l.apply(this,s)}}):this.addEventListener("readystatechange",a),ps(this,"setRequestHeader",function(l){return function(...s){const[u,o]=s,c=this[jf];return c&&(c.request_headers[u.toLowerCase()]=o),l.apply(this,s)}}),t.apply(this,n)}}),ps(e,"send",function(t){return function(...n){const r=this[jf];return r&&n[0]!==void 0&&(r.body=n[0]),$o("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let v_;function Ene(){if(!hne())return;const e=Cr.onpopstate;Cr.onpopstate=function(...n){const r=Cr.location.href,i=v_;if(v_=r,$o("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const a=v_,l=String(i);v_=l,$o("history",{from:a,to:l})}return n.apply(this,r)}}ps(Cr.history,"pushState",t),ps(Cr.history,"replaceState",t)}const Cne=1e3;let b_,y_;function Tne(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function wne(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function z2(e,t=!1){return n=>{if(!n||y_===n||wne(n))return;const r=n.type==="keypress"?"input":n.type;b_===void 0?(e({event:n,name:r,global:t}),y_=n):Tne(y_,n)&&(e({event:n,name:r,global:t}),y_=n),clearTimeout(b_),b_=Cr.setTimeout(()=>{b_=void 0},Cne)}}function xne(){if(!("document"in Cr))return;const e=$o.bind(null,"dom"),t=z2(e,!0);Cr.document.addEventListener("click",t,!1),Cr.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Cr[n]&&Cr[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(ps(r,"addEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=o[a]=o[a]||{refCount:0};if(!c.handler){const d=z2(e);c.handler=d,i.call(this,a,d,s)}c.refCount++}catch{}return i.call(this,a,l,s)}}),ps(r,"removeEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__||{},c=o[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,s),c.handler=void 0,delete o[a]),Object.keys(o).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,l,s)}}))})}let S_=null;function One(){S_=Cr.onerror,Cr.onerror=function(e,t,n,r,i){return $o("error",{column:r,error:i,line:n,msg:e,url:t}),S_&&!S_.__SENTRY_LOADER__?S_.apply(this,arguments):!1},Cr.onerror.__SENTRY_INSTRUMENTED__=!0}let E_=null;function Rne(){E_=Cr.onunhandledrejection,Cr.onunhandledrejection=function(e){return $o("unhandledrejection",e),E_&&!E_.__SENTRY_LOADER__?E_.apply(this,arguments):!0},Cr.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Ia(){const e=ko,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Ine(e){return Array.isArray(e)?e:[e]}function Ane(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Nne(){return!Ane()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Dne(e,t){return e.require(t)}var Ws;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Ws||(Ws={}));class as{__init(){this._state=Ws.PENDING}__init2(){this._handlers=[]}constructor(t){as.prototype.__init.call(this),as.prototype.__init2.call(this),as.prototype.__init3.call(this),as.prototype.__init4.call(this),as.prototype.__init5.call(this),as.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new as((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(l){i(l)}},a=>{if(!n)i(a);else try{r(n(a))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new as((n,r)=>{let i,a;return this.then(l=>{a=!1,i=l,t&&t()},l=>{a=!0,i=l,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Ws.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Ws.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Ws.PENDING){if(Z6(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Ws.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Ws.RESOLVED&&n[1](this._value),this._state===Ws.REJECTED&&n[2](this._value),n[0]=!0)})}}}const X6=Ig(),iC={nowSeconds:()=>Date.now()/1e3};function Pne(){const{performance:e}=X6;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function Mne(){try{return Dne(module,"perf_hooks").performance}catch{return}}const JS=Nne()?Mne():Pne(),V2=JS===void 0?iC:{nowSeconds:()=>(JS.timeOrigin+JS.now())/1e3},J6=iC.nowSeconds.bind(iC),xu=V2.nowSeconds.bind(V2),hs=(()=>{const{performance:e}=X6;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i{const a=G2(i);return{...r,...a}},{});else{if(!e)return;t=G2(e)}const n=Object.entries(t).reduce((r,[i,a])=>{if(i.match(kne)){const l=i.slice(e8.length);r[l]=a}return r},{});if(Object.keys(n).length>0)return n}function oC(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${e8}${r}`]=i),n),{});return Fne(t)}function G2(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function Fne(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const a=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,l=i===0?a:`${t},${a}`;return l.length>$ne?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):l},"")}const Bne=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Une(e){if(!e)return;const t=e.match(Bne);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function Hne(e,t){const n=Une(e),r=Lne(t),{traceId:i,parentSpanId:a,parentSampled:l}=n||{},s={traceId:i||Ia(),spanId:Ia().substring(16),sampled:l===void 0?!1:l};return a&&(s.parentSpanId=a),r&&(s.dsc=r),{traceparentData:n,dynamicSamplingContext:r,propagationContext:s}}function zw(e=Ia(),t=Ia().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const t8="production";function zne(e){const t=xu(),n={sid:Ia(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Gne(n)};return e&&pb(n,e),n}function pb(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||xu(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Ia()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Vne(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),pb(e,n)}function Gne(e){return Vd({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Yne=100;class Gd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Y2()}static clone(t){const n=new Gd;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata},n._propagationContext={...t._propagationContext}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&pb(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof Gd?n:this}return t instanceof Gd?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):K6(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Y2(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Yne;if(r<=0)return this;const i={timestamp:J6(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...jne(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,n,r,i=0){return new as((a,l)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const u=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&u===null&&Ct.log(`Event processor "${s.id}" dropped event`),Z6(u)?u.then(o=>this._notifyEventProcessors(t,o,r,i+1).then(a)).then(null,l):this._notifyEventProcessors(t,u,r,i+1).then(a).then(null,l)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Ine(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function jne(){return Hw("globalEventProcessors",()=>[])}function Y2(){return{traceId:Ia(),spanId:Ia().substring(16),sampled:!1}}const n8=4,Wne=100;class r8{constructor(t,n=new Gd,r=n8){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},l)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:Ia(),a=new Error(t);return this._withClient((l,s)=>{l.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Ia();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:l=Wne}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:J6(),...t},o=a?Q6(()=>a(u,n)):u;o!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",o,n),r.addBreadcrumb(o,l))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=j2(this);try{t(this)}finally{j2(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +Error:`,r)}}function vne(){"console"in Cr&&tv.forEach(function(e){e in Cr.console&&ps(Cr.console,e,function(t){return function(...n){$o("console",{args:n,level:e}),t&&t.apply(Cr.console,n)}})})}function bne(){!gne()||ps(Cr,"fetch",function(e){return function(...t){const{method:n,url:r}=yne(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return $o("fetch",{...i}),e.apply(Cr,t).then(a=>($o("fetch",{...i,endTimestamp:Date.now(),response:a}),a),a=>{throw $o("fetch",{...i,endTimestamp:Date.now(),error:a}),a})}})}function rC(e,t){return!!e&&typeof e=="object"&&!!e[t]}function H2(e){return typeof e=="string"?e:e?rC(e,"url")?e.url:e.toString?e.toString():"":""}function yne(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:H2(n),method:rC(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:H2(t),method:rC(t,"method")?String(t.method).toUpperCase():"GET"}}function Sne(){if(!("XMLHttpRequest"in Cr))return;const e=XMLHttpRequest.prototype;ps(e,"open",function(t){return function(...n){const r=n[1],i=this[jf]={method:_p(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};_p(r)&&i.method==="POST"&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const l=this[jf];if(!!l&&this.readyState===4){try{l.status_code=this.status}catch{}$o("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?ps(this,"onreadystatechange",function(l){return function(...s){return a(),l.apply(this,s)}}):this.addEventListener("readystatechange",a),ps(this,"setRequestHeader",function(l){return function(...s){const[u,o]=s,c=this[jf];return c&&(c.request_headers[u.toLowerCase()]=o),l.apply(this,s)}}),t.apply(this,n)}}),ps(e,"send",function(t){return function(...n){const r=this[jf];return r&&n[0]!==void 0&&(r.body=n[0]),$o("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let v_;function Ene(){if(!hne())return;const e=Cr.onpopstate;Cr.onpopstate=function(...n){const r=Cr.location.href,i=v_;if(v_=r,$o("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const a=v_,l=String(i);v_=l,$o("history",{from:a,to:l})}return n.apply(this,r)}}ps(Cr.history,"pushState",t),ps(Cr.history,"replaceState",t)}const Cne=1e3;let b_,y_;function Tne(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function wne(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function z2(e,t=!1){return n=>{if(!n||y_===n||wne(n))return;const r=n.type==="keypress"?"input":n.type;b_===void 0?(e({event:n,name:r,global:t}),y_=n):Tne(y_,n)&&(e({event:n,name:r,global:t}),y_=n),clearTimeout(b_),b_=Cr.setTimeout(()=>{b_=void 0},Cne)}}function xne(){if(!("document"in Cr))return;const e=$o.bind(null,"dom"),t=z2(e,!0);Cr.document.addEventListener("click",t,!1),Cr.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Cr[n]&&Cr[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(ps(r,"addEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=o[a]=o[a]||{refCount:0};if(!c.handler){const d=z2(e);c.handler=d,i.call(this,a,d,s)}c.refCount++}catch{}return i.call(this,a,l,s)}}),ps(r,"removeEventListener",function(i){return function(a,l,s){if(a==="click"||a=="keypress")try{const u=this,o=u.__sentry_instrumentation_handlers__||{},c=o[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,s),c.handler=void 0,delete o[a]),Object.keys(o).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,l,s)}}))})}let S_=null;function One(){S_=Cr.onerror,Cr.onerror=function(e,t,n,r,i){return $o("error",{column:r,error:i,line:n,msg:e,url:t}),S_&&!S_.__SENTRY_LOADER__?S_.apply(this,arguments):!1},Cr.onerror.__SENTRY_INSTRUMENTED__=!0}let E_=null;function Rne(){E_=Cr.onunhandledrejection,Cr.onunhandledrejection=function(e){return $o("unhandledrejection",e),E_&&!E_.__SENTRY_LOADER__?E_.apply(this,arguments):!0},Cr.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Ia(){const e=ko,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Ine(e){return Array.isArray(e)?e:[e]}function Ane(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Nne(){return!Ane()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Dne(e,t){return e.require(t)}var Ws;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Ws||(Ws={}));class as{__init(){this._state=Ws.PENDING}__init2(){this._handlers=[]}constructor(t){as.prototype.__init.call(this),as.prototype.__init2.call(this),as.prototype.__init3.call(this),as.prototype.__init4.call(this),as.prototype.__init5.call(this),as.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new as((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(l){i(l)}},a=>{if(!n)i(a);else try{r(n(a))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new as((n,r)=>{let i,a;return this.then(l=>{a=!1,i=l,t&&t()},l=>{a=!0,i=l,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Ws.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Ws.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Ws.PENDING){if(Z8(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Ws.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Ws.RESOLVED&&n[1](this._value),this._state===Ws.REJECTED&&n[2](this._value),n[0]=!0)})}}}const X8=Ig(),iC={nowSeconds:()=>Date.now()/1e3};function Pne(){const{performance:e}=X8;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function Mne(){try{return Dne(module,"perf_hooks").performance}catch{return}}const JS=Nne()?Mne():Pne(),V2=JS===void 0?iC:{nowSeconds:()=>(JS.timeOrigin+JS.now())/1e3},J8=iC.nowSeconds.bind(iC),xu=V2.nowSeconds.bind(V2),hs=(()=>{const{performance:e}=X8;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i{const a=G2(i);return{...r,...a}},{});else{if(!e)return;t=G2(e)}const n=Object.entries(t).reduce((r,[i,a])=>{if(i.match(kne)){const l=i.slice(e6.length);r[l]=a}return r},{});if(Object.keys(n).length>0)return n}function oC(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${e6}${r}`]=i),n),{});return Fne(t)}function G2(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function Fne(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const a=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,l=i===0?a:`${t},${a}`;return l.length>$ne?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):l},"")}const Bne=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Une(e){if(!e)return;const t=e.match(Bne);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function Hne(e,t){const n=Une(e),r=Lne(t),{traceId:i,parentSpanId:a,parentSampled:l}=n||{},s={traceId:i||Ia(),spanId:Ia().substring(16),sampled:l===void 0?!1:l};return a&&(s.parentSpanId=a),r&&(s.dsc=r),{traceparentData:n,dynamicSamplingContext:r,propagationContext:s}}function zw(e=Ia(),t=Ia().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const t6="production";function zne(e){const t=xu(),n={sid:Ia(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Gne(n)};return e&&pb(n,e),n}function pb(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||xu(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Ia()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Vne(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),pb(e,n)}function Gne(e){return Vd({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Yne=100;class Gd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Y2()}static clone(t){const n=new Gd;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata},n._propagationContext={...t._propagationContext}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&pb(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof Gd?n:this}return t instanceof Gd?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):K8(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Y2(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Yne;if(r<=0)return this;const i={timestamp:J8(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...jne(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,n,r,i=0){return new as((a,l)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const u=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&u===null&&Ct.log(`Event processor "${s.id}" dropped event`),Z8(u)?u.then(o=>this._notifyEventProcessors(t,o,r,i+1).then(a)).then(null,l):this._notifyEventProcessors(t,u,r,i+1).then(a).then(null,l)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Ine(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function jne(){return Hw("globalEventProcessors",()=>[])}function Y2(){return{traceId:Ia(),spanId:Ia().substring(16),sampled:!1}}const n6=4,Wne=100;class r6{constructor(t,n=new Gd,r=n6){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},l)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:Ia(),a=new Error(t);return this._withClient((l,s)=>{l.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Ia();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:l=Wne}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:J8(),...t},o=a?Q8(()=>a(u,n)):u;o!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",o,n),r.addBreadcrumb(o,l))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=j2(this);try{t(this)}finally{j2(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); -`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Vne(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=t8}=r&&r.getOptions()||{},{userAgent:l}=ko.navigator||{},s=zne({release:i,environment:a,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&pb(u,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=Ag().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Ag(){return ko.__SENTRY__=ko.__SENTRY__||{extensions:{},hub:void 0},ko}function j2(e){const t=Ag(),n=sC(t);return i8(t,e),n}function vp(){const e=Ag();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return qne(e)}function qne(e=Ag()){return(!Kne(e)||sC(e).isOlderThan(n8))&&i8(e,new r8),sC(e)}function Kne(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function sC(e){return Hw("hub",()=>new r8,e)}function i8(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Vw(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=vp().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function Ng(e){return(e||vp()).getScope().getTransaction()}let W2=!1;function Zne(){W2||(W2=!0,Hm("error",lC),Hm("unhandledrejection",lC))}function lC(){const e=Ng();if(e){const t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}lC.tag="sentry_tracingErrorCallback";class fb{__init(){this.spans=[]}constructor(t=1e3){fb.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class qs{__init2(){this.traceId=Ia()}__init3(){this.spanId=Ia().substring(16)}__init4(){this.startTimestamp=xu()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(qs.prototype.__init2.call(this),qs.prototype.__init3.call(this),qs.prototype.__init4.call(this),qs.prototype.__init5.call(this),qs.prototype.__init6.call(this),qs.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const n=new qs({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){const r=t&&t.op||"< unknown op >",i=n.transaction.name||"< unknown name >",a=n.transaction.spanId,l=`[Tracing] Starting '${r}' span on transaction '${i}' (${a}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:l},Ct.log(l)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t)),this.setData("http.response.status_code",t);const n=Qne(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&Ct.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:xu()}toTraceparent(){return zw(this.traceId,this.spanId,this.sampled)}toContext(){return Vd({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return Vd({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Vd({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function Qne(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}function Gw(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:a}=n&&n.getUser()||{},l=Vd({environment:r.environment||t8,release:r.release,user_segment:a,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",l),l}class Yd extends qs{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,n){super(t),Yd.prototype.__init.call(this),Yd.prototype.__init2.call(this),Yd.prototype.__init3.call(this),this._hub=n||vp(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const r=this.metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}setName(t,n="custom"){this._name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new fb(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp!==void 0)return;this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("Transaction has no name, falling back to ``."),this.name=""),super.finish(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,u)=>s.endTimestamp&&u.endTimestamp?s.endTimestamp>u.endTimestamp?s:u:s).endTimestamp);const i=this.metadata,a={contexts:{...this._contexts,trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:this.getDynamicSamplingContext()},...i.source&&{transaction_info:{source:i.source}}};return Object.keys(this._measurements).length>0&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),a.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(a)}toContext(){const t=super.toContext();return Vd({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||vp(),n=t.getClient();if(!n)return{};const r=t.getScope(),i=Gw(this.traceId,n,r),a=this.metadata.sampleRate;a!==void 0&&(i.sample_rate=`${a}`);const l=this.metadata.source;return l&&l!=="url"&&(i.transaction=this.name),this.sampled!==void 0&&(i.sampled=String(this.sampled)),i}setHub(t){this._hub=t}}const m0={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},Xne="finishReason",pd=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class Jne extends fb{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:xu(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class jl extends Yd{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason=pd[4]}constructor(t,n,r=m0.idleTimeout,i=m0.finalTimeout,a=m0.heartbeatInterval,l=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=l,jl.prototype.__init.call(this),jl.prototype.__init2.call(this),jl.prototype.__init3.call(this),jl.prototype.__init4.call(this),jl.prototype.__init5.call(this),jl.prototype.__init6.call(this),l&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=pd[3],this.finish())},this._finalTimeout)}finish(t=xu()){if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setTag(Xne,this._finishReason),this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanId===this.spanId)return!0;n.endTimestamp||(n.endTimestamp=t,n.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const r=n.startTimestamp"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] No active IdleTransaction");if(this._onScope){const n=this._idleHub.getScope();n.getTransaction()===this&&n.setSpan(void 0)}return super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new Jne(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=n===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=pd[5],this.finish(t)))}setFinishReason(t){this._finishReason=t}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=pd[1],this.finish(t))},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=xu();this._idleTimeoutCanceledPermanently?(this._finishReason=pd[5],this.finish(n)):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=pd[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function ere(){const t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function a8(e,t,n){if(!Vw(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),tre(r)?r?(e.sampled=Math.random()"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function tre(e){return ine(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function nre(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",a=e.instrumenter||"sentry";i!==a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter. -The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let l=new Yd(e,this);return l=a8(l,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),l.sampled&&l.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",l),l}function q2(e,t,n,r,i,a,l){const s=e.getClient(),u=s&&s.getOptions()||{};let o=new jl(t,e,n,r,l,i);return o=a8(o,u,{parentSampled:t.parentSampled,transactionContext:t,...a}),o.sampled&&o.initSpanRecorder(u._experiments&&u._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",o),o}function rre(){const e=Ag();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=nre),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=ere),Zne())}const ar=ko;function ire(){ar&&ar.document?ar.document.addEventListener("visibilitychange",()=>{const e=Ng();if(ar.document.hidden&&e){const t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Yw=(e,t,n)=>{let r,i;return a=>{t.value>=0&&(a||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},are=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ore=()=>{const e=ar.performance.timing,t=ar.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},o8=()=>ar.__WEB_VITALS_POLYFILL__?ar.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||ore()):ar.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],s8=()=>{const e=o8();return e&&e.activationStart||0},jw=(e,t)=>{const n=o8();let r="navigate";return n&&(ar.document.prerendering||s8()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:are(),navigationType:r}},Dg=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{t(i.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},mb=(e,t)=>{const n=r=>{(r.type==="pagehide"||ar.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},sre=e=>{const t=jw("CLS",0);let n,r=0,i=[];const a=s=>{s.forEach(u=>{if(!u.hadRecentInput){const o=i[0],c=i[i.length-1];r&&i.length!==0&&u.startTime-c.startTime<1e3&&u.startTime-o.startTime<5e3?(r+=u.value,i.push(u)):(r=u.value,i=[u]),r>t.value&&(t.value=r,t.entries=i,n&&n())}})},l=Dg("layout-shift",a);if(l){n=Yw(e,t);const s=()=>{a(l.takeRecords()),n(!0)};return mb(s),s}};let g0=-1;const lre=()=>ar.document.visibilityState==="hidden"&&!ar.document.prerendering?0:1/0,cre=()=>{mb(({timeStamp:e})=>{g0=e},!0)},Ww=()=>(g0<0&&(g0=lre(),cre()),{get firstHiddenTime(){return g0}}),ure=e=>{const t=Ww(),n=jw("FID");let r;const i=s=>{s.startTime{s.forEach(i)},l=Dg("first-input",a);r=Yw(e,n),l&&mb(()=>{a(l.takeRecords()),l.disconnect()},!0)},K2={},dre=e=>{const t=Ww(),n=jw("LCP");let r;const i=l=>{const s=l[l.length-1];if(s){const u=Math.max(s.startTime-s8(),0);u{K2[n.id]||(i(a.takeRecords()),a.disconnect(),K2[n.id]=!0,r(!0))};return["keydown","click"].forEach(s=>{addEventListener(s,l,{once:!0,capture:!0})}),mb(l,!0),l}};function eE(e){return typeof e=="number"&&isFinite(e)}function bp(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function ti(e){return e/1e3}function l8(){return ar&&ar.addEventListener&&ar.performance}let Z2=0,Dr={},os,sm;function pre(){const e=l8();if(e&&hs){e.mark&&ar.performance.mark("sentry-tracing-init"),_re();const t=gre(),n=hre();return()=>{t&&t(),n&&n()}}return()=>{}}function fre(){Dg("longtask",t=>{for(const n of t){const r=Ng();if(!r)return;const i=ti(hs+n.startTime),a=ti(n.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:i,endTimestamp:i+a})}})}function mre(){Dg("event",t=>{for(const n of t){const r=Ng();if(!r)return;if(n.name==="click"){const i=ti(hs+n.startTime),a=ti(n.duration);r.startChild({description:eC(n.target),op:`ui.interaction.${n.name}`,startTimestamp:i,endTimestamp:i+a})}}},{durationThreshold:0})}function gre(){return sre(e=>{const t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding CLS"),Dr.cls={value:e.value,unit:""},sm=t)})}function hre(){return dre(e=>{const t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding LCP"),Dr.lcp={value:e.value,unit:"millisecond"},os=t)})}function _re(){ure(e=>{const t=e.entries.pop();if(!t)return;const n=ti(hs),r=ti(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding FID"),Dr.fid={value:e.value,unit:"millisecond"},Dr["mark.fid"]={value:n+r,unit:"second"}})}function vre(e){const t=l8();if(!t||!ar.performance.getEntries||!hs)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] Adding & adjusting spans using Performance API");const n=ti(hs),r=t.getEntries();let i,a;if(r.slice(Z2).forEach(l=>{const s=ti(l.startTime),u=ti(l.duration);if(!(e.op==="navigation"&&n+s"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding FP"),Dr.fp={value:l.startTime,unit:"millisecond"}),l.name==="first-contentful-paint"&&c&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding FCP"),Dr.fcp={value:l.startTime,unit:"millisecond"});break}case"resource":{const o=l.name.replace(ar.location.origin,"");Ere(e,l,o,s,u,n);break}}}),Z2=Math.max(r.length-1,0),Cre(e),e.op==="pageload"){typeof i=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding TTFB"),Dr.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof a=="number"&&a<=i&&(Dr["ttfb.requestTime"]={value:(i-a)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(s=>{if(!Dr[s]||n>=e.startTimestamp)return;const u=Dr[s].value,o=n+ti(u),c=Math.abs((o-e.startTimestamp)*1e3),d=c-u;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Measurements] Normalized ${s} from ${u} to ${c} (${d})`),Dr[s].value=c});const l=Dr["mark.fid"];l&&Dr.fid&&(bp(e,{description:"first input delay",endTimestamp:l.value+ti(Dr.fid.value),op:"ui.action",startTimestamp:l.value}),delete Dr["mark.fid"]),"fcp"in Dr||delete Dr.cls,Object.keys(Dr).forEach(s=>{e.setMeasurement(s,Dr[s].value,Dr[s].unit)}),Tre(e)}os=void 0,sm=void 0,Dr={}}function bre(e,t,n,r,i){const a=i+n,l=a+r;return bp(e,{description:t.name,endTimestamp:l,op:t.entryType,startTimestamp:a}),a}function yre(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{C_(e,t,r,n)}),C_(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),C_(e,t,"fetch",n,"cache","domainLookupStart"),C_(e,t,"domainLookup",n,"DNS"),Sre(e,t,n)}function C_(e,t,n,r,i,a){const l=a?t[a]:t[`${n}End`],s=t[`${n}Start`];!s||!l||bp(e,{op:"browser",description:i||n,startTimestamp:r+ti(s),endTimestamp:r+ti(l)})}function Sre(e,t,n){bp(e,{op:"browser",description:"request",startTimestamp:n+ti(t.requestStart),endTimestamp:n+ti(t.responseEnd)}),bp(e,{op:"browser",description:"response",startTimestamp:n+ti(t.responseStart),endTimestamp:n+ti(t.responseEnd)})}function Ere(e,t,n,r,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const l={};"transferSize"in t&&(l["http.response_transfer_size"]=t.transferSize),"encodedBodySize"in t&&(l["http.response_content_length"]=t.encodedBodySize),"decodedBodySize"in t&&(l["http.decoded_response_content_length"]=t.decodedBodySize),"renderBlockingStatus"in t&&(l["resource.render_blocking_status"]=t.renderBlockingStatus);const s=a+r,u=s+i;bp(e,{description:n,endTimestamp:u,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:s,data:l})}function Cre(e){const t=ar.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),eE(n.rtt)&&(Dr["connection.rtt"]={value:n.rtt,unit:"millisecond"})),eE(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),eE(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function Tre(e){os&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding LCP Data"),os.element&&e.setTag("lcp.element",eC(os.element)),os.id&&e.setTag("lcp.id",os.id),os.url&&e.setTag("lcp.url",os.url.trim().slice(0,200)),e.setTag("lcp.size",os.size)),sm&&sm.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding CLS Data"),sm.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,eC(t.node))))}const cC=["localhost",/^\/(?!\/)/],uC={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:cC,tracePropagationTargets:cC};function wre(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:a,enableHTTPTimings:l}={traceFetch:uC.traceFetch,traceXHR:uC.traceXHR,...e},s=typeof a=="function"?a:c=>!0,u=c=>Rre(c,r||i),o={};t&&Hm("fetch",c=>{const d=Ire(c,s,u,o);l&&d&&Q2(d)}),n&&Hm("xhr",c=>{const d=Nre(c,s,u,o);l&&d&&Q2(d)})}function Q2(e){const t=e.data.url,n=new PerformanceObserver(r=>{r.getEntries().forEach(a=>{(a.initiatorType==="fetch"||a.initiatorType==="xmlhttprequest")&&a.name.endsWith(t)&&(Ore(a).forEach(s=>e.setData(...s)),n.disconnect())})});n.observe({entryTypes:["resource"]})}function xre(e){let t="unknown",n="unknown",r="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function ns(e){return((hs||performance.timeOrigin)+e)/1e3}function Ore(e){const{name:t,version:n}=xre(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),hs?[...r,["http.request.redirect_start",ns(e.redirectStart)],["http.request.fetch_start",ns(e.fetchStart)],["http.request.domain_lookup_start",ns(e.domainLookupStart)],["http.request.domain_lookup_end",ns(e.domainLookupEnd)],["http.request.connect_start",ns(e.connectStart)],["http.request.secure_connection_start",ns(e.secureConnectionStart)],["http.request.connection_end",ns(e.connectEnd)],["http.request.request_start",ns(e.requestStart)],["http.request.response_start",ns(e.responseStart)],["http.request.response_end",ns(e.responseEnd)]]:r}function Rre(e,t){return one(e,t||cC)}function Ire(e,t,n,r){if(!Vw()||!e.fetchData)return;const i=t(e.fetchData.url);if(e.endTimestamp&&i){const p=e.fetchData.__span;if(!p)return;const f=r[p];if(f){if(e.response){f.setHttpStatus(e.response.status);const g=e.response&&e.response.headers&&e.response.headers.get("content-length"),m=parseInt(g);m>0&&f.setData("http.response_content_length",m)}else e.error&&f.setStatus("internal_error");f.finish(),delete r[p]}return}const a=vp(),l=a.getScope(),s=a.getClient(),u=l.getSpan(),{method:o,url:c}=e.fetchData,d=i&&u?u.startChild({data:{url:c,type:"fetch","http.method":o},description:`${o} ${c}`,op:"http.client"}):void 0;if(d&&(e.fetchData.__span=d.spanId,r[d.spanId]=d),n(e.fetchData.url)&&s){const p=e.args[0];e.args[1]=e.args[1]||{};const f=e.args[1];f.headers=Are(p,s,l,f)}return d}function Are(e,t,n,r){const i=n.getSpan(),a=i&&i.transaction,{traceId:l,sampled:s,dsc:u}=n.getPropagationContext(),o=i?i.toTraceparent():zw(l,void 0,s),c=a?a.getDynamicSamplingContext():u||Gw(l,t,n),d=oC(c),p=typeof Request<"u"&&L2(e,Request)?e.headers:r.headers;if(p)if(typeof Headers<"u"&&L2(p,Headers)){const f=new Headers(p);return f.append("sentry-trace",o),d&&f.append(aC,d),f}else if(Array.isArray(p)){const f=[...p,["sentry-trace",o]];return d&&f.push([aC,d]),f}else{const f="baggage"in p?p.baggage:void 0,g=[];return Array.isArray(f)?g.push(...f):f&&g.push(f),d&&g.push(d),{...p,"sentry-trace":o,baggage:g.length>0?g.join(","):void 0}}else return{"sentry-trace":o,baggage:d}}function Nre(e,t,n,r){const i=e.xhr,a=i&&i[jf];if(!Vw()||i&&i.__sentry_own_request__||!i||!a)return;const l=t(a.url);if(e.endTimestamp&&l){const d=i.__sentry_xhr_span_id__;if(!d)return;const p=r[d];p&&(p.setHttpStatus(a.status_code),p.finish(),delete r[d]);return}const s=vp(),u=s.getScope(),o=u.getSpan(),c=l&&o?o.startChild({data:{...a.data,type:"xhr","http.method":a.method,url:a.url},description:`${a.method} ${a.url}`,op:"http.client"}):void 0;if(c&&(i.__sentry_xhr_span_id__=c.spanId,r[i.__sentry_xhr_span_id__]=c),i.setRequestHeader&&n(a.url))if(c){const d=c&&c.transaction,p=d&&d.getDynamicSamplingContext(),f=oC(p);X2(i,c.toTraceparent(),f)}else{const d=s.getClient(),{traceId:p,sampled:f,dsc:g}=u.getPropagationContext(),m=zw(p,void 0,f),h=g||(d?Gw(p,d,u):void 0),v=oC(h);X2(i,m,v)}return c}function X2(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(aC,n)}catch{}}function Dre(e,t=!0,n=!0){if(!ar||!ar.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("Could not initialize routing instrumentation due to invalid location");return}let r=ar.location.href,i;t&&(i=e({name:ar.location.pathname,startTimestamp:hs?hs/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&Hm("history",({to:a,from:l})=>{if(l===void 0&&r&&r.indexOf(a)!==-1){r=void 0;return}l!==a&&(r=void 0,i&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:ar.location.pathname,op:"navigation",metadata:{source:"url"}}))})}const Pre="BrowserTracing",Mre={...m0,markBackgroundTransactions:!0,routingInstrumentation:Dre,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...uC};class nv{__init(){this.name=Pre}__init2(){this._hasSetTracePropagationTargets=!1}constructor(t){nv.prototype.__init.call(this),nv.prototype.__init2.call(this),rre(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!!(t&&(t.tracePropagationTargets||t.tracingOrigins))),this.options={...Mre,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=pre(),this.options.enableLongTask&&fre(),this.options._experiments.enableInteractions&&mre()}setupOnce(t,n){this._getCurrentHub=n;const i=n().getClient(),a=i&&i.getOptions(),{routingInstrumentation:l,startTransactionOnLocationChange:s,startTransactionOnPageLoad:u,markBackgroundTransactions:o,traceFetch:c,traceXHR:d,shouldCreateSpanForRequest:p,enableHTTPTimings:f,_experiments:g}=this.options,m=a&&a.tracePropagationTargets,h=m||this.options.tracePropagationTargets;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&m&&Ct.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),l(v=>{const b=this._createRouteTransaction(v);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(b,v,n),b},u,s),o&&ire(),g.enableInteractions&&this._registerInteractionListener(),wre({traceFetch:c,traceXHR:d,tracePropagationTargets:h,shouldCreateSpanForRequest:p,enableHTTPTimings:f})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const n=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:i,finalTimeout:a,heartbeatInterval:l}=this.options,s=t.op==="pageload",u=s?J2("sentry-trace"):"",o=s?J2("baggage"):"",{traceparentData:c,dynamicSamplingContext:d,propagationContext:p}=Hne(u,o),f={...t,...c,metadata:{...t.metadata,dynamicSamplingContext:c&&!d?{}:d},trimEnd:!0},g=typeof r=="function"?r(f):f,m=g===void 0?{...f,sampled:!1}:g;m.metadata=m.name!==f.name?{...m.metadata,source:"custom"}:m.metadata,this._latestRouteName=m.name,this._latestRouteSource=m.metadata&&m.metadata.source,m.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Starting ${m.op} transaction on scope`);const{location:h}=ar,v=q2(n,m,i,a,!0,{location:h},l),b=n.getScope();return s&&c?b.setPropagationContext(p):b.setPropagationContext({traceId:v.traceId,spanId:v.spanId,parentSpanId:v.parentSpanId,sampled:!!v.sampled}),v.registerBeforeFinishCallback(y=>{this._collectWebVitals(),vre(y)}),v}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,l="ui.action.click",s=Ng();if(s&&s.op&&["navigation","pageload"].includes(s.op)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${l} transaction because a pageload or navigation transaction is in progress.`);return}if(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${l} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${l} transaction because _latestRouteName is missing.`);return}const u=this._getCurrentHub(),{location:o}=ar,c={name:this._latestRouteName,op:l,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=q2(u,c,r,i,!0,{location:o},a)};["click"].forEach(r=>{addEventListener(r,n,{once:!1,capture:!0})})}}function J2(e){const t=cne(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}const kre=Object.prototype.toString;function $re(e,t){return kre.call(e)===`[object ${t}]`}function c8(e){return $re(e,"Object")}function u8(e){return Boolean(e&&e.then&&typeof e.then=="function")}function T_(e){return e&&e.Math==Math?e:void 0}const Lo=typeof globalThis=="object"&&T_(globalThis)||typeof window=="object"&&T_(window)||typeof self=="object"&&T_(self)||typeof global=="object"&&T_(global)||function(){return this}()||{};function Lre(){return Lo}function qw(e,t,n){const r=n||Lo,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Fre="Sentry Logger ",dC=["debug","info","warn","error","log","assert","trace"];function d8(e){if(!("console"in Lo))return e();const t=Lo.console,n={};dC.forEach(r=>{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function eD(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?dC.forEach(n=>{t[n]=(...r)=>{e&&d8(()=>{Lo.console[n](`${Fre}[${n}]:`,...r)})}}):dC.forEach(n=>{t[n]=()=>{}}),t}let yp;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?yp=qw("logger",eD):yp=eD();function Bre(e){return pC(e,new Map)}function pC(e,t){if(c8(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=pC(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(pC(i,t))}),r}return e}function pu(){const e=Lo,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function p8(e){return Array.isArray(e)?e:[e]}function Ure(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Hre(){return!Ure()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function zre(e,t){return e.require(t)}var Ks;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Ks||(Ks={}));class ss{__init(){this._state=Ks.PENDING}__init2(){this._handlers=[]}constructor(t){ss.prototype.__init.call(this),ss.prototype.__init2.call(this),ss.prototype.__init3.call(this),ss.prototype.__init4.call(this),ss.prototype.__init5.call(this),ss.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new ss((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(l){i(l)}},a=>{if(!n)i(a);else try{r(n(a))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ss((n,r)=>{let i,a;return this.then(l=>{a=!1,i=l,t&&t()},l=>{a=!0,i=l,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Ks.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Ks.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Ks.PENDING){if(u8(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Ks.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Ks.RESOLVED&&n[1](this._value),this._state===Ks.REJECTED&&n[2](this._value),n[0]=!0)})}}}const f8=Lre(),fC={nowSeconds:()=>Date.now()/1e3};function Vre(){const{performance:e}=f8;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function Gre(){try{return zre(module,"perf_hooks").performance}catch{return}}const tE=Hre()?Gre():Vre(),tD=tE===void 0?fC:{nowSeconds:()=>(tE.timeOrigin+tE.now())/1e3},m8=fC.nowSeconds.bind(fC),Kw=tD.nowSeconds.bind(tD);(()=>{const{performance:e}=f8;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=iqre(n)};return e&&gb(n,e),n}function gb(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Kw(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:pu()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Wre(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),gb(e,n)}function qre(e){return Bre({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Kre=100;class jd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=nD()}static clone(t){const n=new jd;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata},n._propagationContext={...t._propagationContext}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&gb(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof jd?n:this}return t instanceof jd?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):c8(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=nD(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Kre;if(r<=0)return this;const i={timestamp:m8(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...Zre(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,n,r,i=0){return new ss((a,l)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const u=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&u===null&&yp.log(`Event processor "${s.id}" dropped event`),u8(u)?u.then(o=>this._notifyEventProcessors(t,o,r,i+1).then(a)).then(null,l):this._notifyEventProcessors(t,u,r,i+1).then(a).then(null,l)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?p8(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function Zre(){return qw("globalEventProcessors",()=>[])}function nD(){return{traceId:pu(),spanId:pu().substring(16),sampled:!1}}const g8=4,Qre=100;class h8{constructor(t,n=new jd,r=g8){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},l)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:pu(),a=new Error(t);return this._withClient((l,s)=>{l.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:pu();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:l=Qre}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:m8(),...t},o=a?d8(()=>a(u,n)):u;o!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",o,n),r.addBreadcrumb(o,l))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=rD(this);try{t(this)}finally{rD(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&yp.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Vne(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=t6}=r&&r.getOptions()||{},{userAgent:l}=ko.navigator||{},s=zne({release:i,environment:a,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&pb(u,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=Ag().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Ag(){return ko.__SENTRY__=ko.__SENTRY__||{extensions:{},hub:void 0},ko}function j2(e){const t=Ag(),n=sC(t);return i6(t,e),n}function vp(){const e=Ag();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return qne(e)}function qne(e=Ag()){return(!Kne(e)||sC(e).isOlderThan(n6))&&i6(e,new r6),sC(e)}function Kne(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function sC(e){return Hw("hub",()=>new r6,e)}function i6(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Vw(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=vp().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function Ng(e){return(e||vp()).getScope().getTransaction()}let W2=!1;function Zne(){W2||(W2=!0,Hm("error",lC),Hm("unhandledrejection",lC))}function lC(){const e=Ng();if(e){const t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}lC.tag="sentry_tracingErrorCallback";class fb{__init(){this.spans=[]}constructor(t=1e3){fb.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class qs{__init2(){this.traceId=Ia()}__init3(){this.spanId=Ia().substring(16)}__init4(){this.startTimestamp=xu()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(qs.prototype.__init2.call(this),qs.prototype.__init3.call(this),qs.prototype.__init4.call(this),qs.prototype.__init5.call(this),qs.prototype.__init6.call(this),qs.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const n=new qs({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){const r=t&&t.op||"< unknown op >",i=n.transaction.name||"< unknown name >",a=n.transaction.spanId,l=`[Tracing] Starting '${r}' span on transaction '${i}' (${a}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:l},Ct.log(l)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t)),this.setData("http.response.status_code",t);const n=Qne(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&Ct.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:xu()}toTraceparent(){return zw(this.traceId,this.spanId,this.sampled)}toContext(){return Vd({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return Vd({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Vd({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function Qne(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}function Gw(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:a}=n&&n.getUser()||{},l=Vd({environment:r.environment||t6,release:r.release,user_segment:a,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",l),l}class Yd extends qs{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,n){super(t),Yd.prototype.__init.call(this),Yd.prototype.__init2.call(this),Yd.prototype.__init3.call(this),this._hub=n||vp(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const r=this.metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}setName(t,n="custom"){this._name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new fb(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp!==void 0)return;this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("Transaction has no name, falling back to ``."),this.name=""),super.finish(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,u)=>s.endTimestamp&&u.endTimestamp?s.endTimestamp>u.endTimestamp?s:u:s).endTimestamp);const i=this.metadata,a={contexts:{...this._contexts,trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:this.getDynamicSamplingContext()},...i.source&&{transaction_info:{source:i.source}}};return Object.keys(this._measurements).length>0&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),a.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(a)}toContext(){const t=super.toContext();return Vd({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||vp(),n=t.getClient();if(!n)return{};const r=t.getScope(),i=Gw(this.traceId,n,r),a=this.metadata.sampleRate;a!==void 0&&(i.sample_rate=`${a}`);const l=this.metadata.source;return l&&l!=="url"&&(i.transaction=this.name),this.sampled!==void 0&&(i.sampled=String(this.sampled)),i}setHub(t){this._hub=t}}const m0={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},Xne="finishReason",pd=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class Jne extends fb{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:xu(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class jl extends Yd{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason=pd[4]}constructor(t,n,r=m0.idleTimeout,i=m0.finalTimeout,a=m0.heartbeatInterval,l=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=l,jl.prototype.__init.call(this),jl.prototype.__init2.call(this),jl.prototype.__init3.call(this),jl.prototype.__init4.call(this),jl.prototype.__init5.call(this),jl.prototype.__init6.call(this),l&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=pd[3],this.finish())},this._finalTimeout)}finish(t=xu()){if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setTag(Xne,this._finishReason),this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanId===this.spanId)return!0;n.endTimestamp||(n.endTimestamp=t,n.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const r=n.startTimestamp"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] No active IdleTransaction");if(this._onScope){const n=this._idleHub.getScope();n.getTransaction()===this&&n.setSpan(void 0)}return super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new Jne(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=n===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=pd[5],this.finish(t)))}setFinishReason(t){this._finishReason=t}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=pd[1],this.finish(t))},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=xu();this._idleTimeoutCanceledPermanently?(this._finishReason=pd[5],this.finish(n)):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=pd[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function ere(){const t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function a6(e,t,n){if(!Vw(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),tre(r)?r?(e.sampled=Math.random()"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function tre(e){return ine(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function nre(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",a=e.instrumenter||"sentry";i!==a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter. +The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let l=new Yd(e,this);return l=a6(l,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),l.sampled&&l.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",l),l}function q2(e,t,n,r,i,a,l){const s=e.getClient(),u=s&&s.getOptions()||{};let o=new jl(t,e,n,r,l,i);return o=a6(o,u,{parentSampled:t.parentSampled,transactionContext:t,...a}),o.sampled&&o.initSpanRecorder(u._experiments&&u._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",o),o}function rre(){const e=Ag();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=nre),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=ere),Zne())}const ar=ko;function ire(){ar&&ar.document?ar.document.addEventListener("visibilitychange",()=>{const e=Ng();if(ar.document.hidden&&e){const t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Yw=(e,t,n)=>{let r,i;return a=>{t.value>=0&&(a||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},are=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ore=()=>{const e=ar.performance.timing,t=ar.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},o6=()=>ar.__WEB_VITALS_POLYFILL__?ar.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||ore()):ar.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],s6=()=>{const e=o6();return e&&e.activationStart||0},jw=(e,t)=>{const n=o6();let r="navigate";return n&&(ar.document.prerendering||s6()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:are(),navigationType:r}},Dg=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{t(i.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},mb=(e,t)=>{const n=r=>{(r.type==="pagehide"||ar.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},sre=e=>{const t=jw("CLS",0);let n,r=0,i=[];const a=s=>{s.forEach(u=>{if(!u.hadRecentInput){const o=i[0],c=i[i.length-1];r&&i.length!==0&&u.startTime-c.startTime<1e3&&u.startTime-o.startTime<5e3?(r+=u.value,i.push(u)):(r=u.value,i=[u]),r>t.value&&(t.value=r,t.entries=i,n&&n())}})},l=Dg("layout-shift",a);if(l){n=Yw(e,t);const s=()=>{a(l.takeRecords()),n(!0)};return mb(s),s}};let g0=-1;const lre=()=>ar.document.visibilityState==="hidden"&&!ar.document.prerendering?0:1/0,cre=()=>{mb(({timeStamp:e})=>{g0=e},!0)},Ww=()=>(g0<0&&(g0=lre(),cre()),{get firstHiddenTime(){return g0}}),ure=e=>{const t=Ww(),n=jw("FID");let r;const i=s=>{s.startTime{s.forEach(i)},l=Dg("first-input",a);r=Yw(e,n),l&&mb(()=>{a(l.takeRecords()),l.disconnect()},!0)},K2={},dre=e=>{const t=Ww(),n=jw("LCP");let r;const i=l=>{const s=l[l.length-1];if(s){const u=Math.max(s.startTime-s6(),0);u{K2[n.id]||(i(a.takeRecords()),a.disconnect(),K2[n.id]=!0,r(!0))};return["keydown","click"].forEach(s=>{addEventListener(s,l,{once:!0,capture:!0})}),mb(l,!0),l}};function eE(e){return typeof e=="number"&&isFinite(e)}function bp(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function ti(e){return e/1e3}function l6(){return ar&&ar.addEventListener&&ar.performance}let Z2=0,Dr={},os,sm;function pre(){const e=l6();if(e&&hs){e.mark&&ar.performance.mark("sentry-tracing-init"),_re();const t=gre(),n=hre();return()=>{t&&t(),n&&n()}}return()=>{}}function fre(){Dg("longtask",t=>{for(const n of t){const r=Ng();if(!r)return;const i=ti(hs+n.startTime),a=ti(n.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:i,endTimestamp:i+a})}})}function mre(){Dg("event",t=>{for(const n of t){const r=Ng();if(!r)return;if(n.name==="click"){const i=ti(hs+n.startTime),a=ti(n.duration);r.startChild({description:eC(n.target),op:`ui.interaction.${n.name}`,startTimestamp:i,endTimestamp:i+a})}}},{durationThreshold:0})}function gre(){return sre(e=>{const t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding CLS"),Dr.cls={value:e.value,unit:""},sm=t)})}function hre(){return dre(e=>{const t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding LCP"),Dr.lcp={value:e.value,unit:"millisecond"},os=t)})}function _re(){ure(e=>{const t=e.entries.pop();if(!t)return;const n=ti(hs),r=ti(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding FID"),Dr.fid={value:e.value,unit:"millisecond"},Dr["mark.fid"]={value:n+r,unit:"second"}})}function vre(e){const t=l6();if(!t||!ar.performance.getEntries||!hs)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Tracing] Adding & adjusting spans using Performance API");const n=ti(hs),r=t.getEntries();let i,a;if(r.slice(Z2).forEach(l=>{const s=ti(l.startTime),u=ti(l.duration);if(!(e.op==="navigation"&&n+s"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding FP"),Dr.fp={value:l.startTime,unit:"millisecond"}),l.name==="first-contentful-paint"&&c&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding FCP"),Dr.fcp={value:l.startTime,unit:"millisecond"});break}case"resource":{const o=l.name.replace(ar.location.origin,"");Ere(e,l,o,s,u,n);break}}}),Z2=Math.max(r.length-1,0),Cre(e),e.op==="pageload"){typeof i=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding TTFB"),Dr.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof a=="number"&&a<=i&&(Dr["ttfb.requestTime"]={value:(i-a)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(s=>{if(!Dr[s]||n>=e.startTimestamp)return;const u=Dr[s].value,o=n+ti(u),c=Math.abs((o-e.startTimestamp)*1e3),d=c-u;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Measurements] Normalized ${s} from ${u} to ${c} (${d})`),Dr[s].value=c});const l=Dr["mark.fid"];l&&Dr.fid&&(bp(e,{description:"first input delay",endTimestamp:l.value+ti(Dr.fid.value),op:"ui.action",startTimestamp:l.value}),delete Dr["mark.fid"]),"fcp"in Dr||delete Dr.cls,Object.keys(Dr).forEach(s=>{e.setMeasurement(s,Dr[s].value,Dr[s].unit)}),Tre(e)}os=void 0,sm=void 0,Dr={}}function bre(e,t,n,r,i){const a=i+n,l=a+r;return bp(e,{description:t.name,endTimestamp:l,op:t.entryType,startTimestamp:a}),a}function yre(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{C_(e,t,r,n)}),C_(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),C_(e,t,"fetch",n,"cache","domainLookupStart"),C_(e,t,"domainLookup",n,"DNS"),Sre(e,t,n)}function C_(e,t,n,r,i,a){const l=a?t[a]:t[`${n}End`],s=t[`${n}Start`];!s||!l||bp(e,{op:"browser",description:i||n,startTimestamp:r+ti(s),endTimestamp:r+ti(l)})}function Sre(e,t,n){bp(e,{op:"browser",description:"request",startTimestamp:n+ti(t.requestStart),endTimestamp:n+ti(t.responseEnd)}),bp(e,{op:"browser",description:"response",startTimestamp:n+ti(t.responseStart),endTimestamp:n+ti(t.responseEnd)})}function Ere(e,t,n,r,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const l={};"transferSize"in t&&(l["http.response_transfer_size"]=t.transferSize),"encodedBodySize"in t&&(l["http.response_content_length"]=t.encodedBodySize),"decodedBodySize"in t&&(l["http.decoded_response_content_length"]=t.decodedBodySize),"renderBlockingStatus"in t&&(l["resource.render_blocking_status"]=t.renderBlockingStatus);const s=a+r,u=s+i;bp(e,{description:n,endTimestamp:u,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:s,data:l})}function Cre(e){const t=ar.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),eE(n.rtt)&&(Dr["connection.rtt"]={value:n.rtt,unit:"millisecond"})),eE(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),eE(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function Tre(e){os&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding LCP Data"),os.element&&e.setTag("lcp.element",eC(os.element)),os.id&&e.setTag("lcp.id",os.id),os.url&&e.setTag("lcp.url",os.url.trim().slice(0,200)),e.setTag("lcp.size",os.size)),sm&&sm.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log("[Measurements] Adding CLS Data"),sm.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,eC(t.node))))}const cC=["localhost",/^\/(?!\/)/],uC={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:cC,tracePropagationTargets:cC};function wre(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:a,enableHTTPTimings:l}={traceFetch:uC.traceFetch,traceXHR:uC.traceXHR,...e},s=typeof a=="function"?a:c=>!0,u=c=>Rre(c,r||i),o={};t&&Hm("fetch",c=>{const d=Ire(c,s,u,o);l&&d&&Q2(d)}),n&&Hm("xhr",c=>{const d=Nre(c,s,u,o);l&&d&&Q2(d)})}function Q2(e){const t=e.data.url,n=new PerformanceObserver(r=>{r.getEntries().forEach(a=>{(a.initiatorType==="fetch"||a.initiatorType==="xmlhttprequest")&&a.name.endsWith(t)&&(Ore(a).forEach(s=>e.setData(...s)),n.disconnect())})});n.observe({entryTypes:["resource"]})}function xre(e){let t="unknown",n="unknown",r="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function ns(e){return((hs||performance.timeOrigin)+e)/1e3}function Ore(e){const{name:t,version:n}=xre(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),hs?[...r,["http.request.redirect_start",ns(e.redirectStart)],["http.request.fetch_start",ns(e.fetchStart)],["http.request.domain_lookup_start",ns(e.domainLookupStart)],["http.request.domain_lookup_end",ns(e.domainLookupEnd)],["http.request.connect_start",ns(e.connectStart)],["http.request.secure_connection_start",ns(e.secureConnectionStart)],["http.request.connection_end",ns(e.connectEnd)],["http.request.request_start",ns(e.requestStart)],["http.request.response_start",ns(e.responseStart)],["http.request.response_end",ns(e.responseEnd)]]:r}function Rre(e,t){return one(e,t||cC)}function Ire(e,t,n,r){if(!Vw()||!e.fetchData)return;const i=t(e.fetchData.url);if(e.endTimestamp&&i){const p=e.fetchData.__span;if(!p)return;const f=r[p];if(f){if(e.response){f.setHttpStatus(e.response.status);const g=e.response&&e.response.headers&&e.response.headers.get("content-length"),m=parseInt(g);m>0&&f.setData("http.response_content_length",m)}else e.error&&f.setStatus("internal_error");f.finish(),delete r[p]}return}const a=vp(),l=a.getScope(),s=a.getClient(),u=l.getSpan(),{method:o,url:c}=e.fetchData,d=i&&u?u.startChild({data:{url:c,type:"fetch","http.method":o},description:`${o} ${c}`,op:"http.client"}):void 0;if(d&&(e.fetchData.__span=d.spanId,r[d.spanId]=d),n(e.fetchData.url)&&s){const p=e.args[0];e.args[1]=e.args[1]||{};const f=e.args[1];f.headers=Are(p,s,l,f)}return d}function Are(e,t,n,r){const i=n.getSpan(),a=i&&i.transaction,{traceId:l,sampled:s,dsc:u}=n.getPropagationContext(),o=i?i.toTraceparent():zw(l,void 0,s),c=a?a.getDynamicSamplingContext():u||Gw(l,t,n),d=oC(c),p=typeof Request<"u"&&L2(e,Request)?e.headers:r.headers;if(p)if(typeof Headers<"u"&&L2(p,Headers)){const f=new Headers(p);return f.append("sentry-trace",o),d&&f.append(aC,d),f}else if(Array.isArray(p)){const f=[...p,["sentry-trace",o]];return d&&f.push([aC,d]),f}else{const f="baggage"in p?p.baggage:void 0,g=[];return Array.isArray(f)?g.push(...f):f&&g.push(f),d&&g.push(d),{...p,"sentry-trace":o,baggage:g.length>0?g.join(","):void 0}}else return{"sentry-trace":o,baggage:d}}function Nre(e,t,n,r){const i=e.xhr,a=i&&i[jf];if(!Vw()||i&&i.__sentry_own_request__||!i||!a)return;const l=t(a.url);if(e.endTimestamp&&l){const d=i.__sentry_xhr_span_id__;if(!d)return;const p=r[d];p&&(p.setHttpStatus(a.status_code),p.finish(),delete r[d]);return}const s=vp(),u=s.getScope(),o=u.getSpan(),c=l&&o?o.startChild({data:{...a.data,type:"xhr","http.method":a.method,url:a.url},description:`${a.method} ${a.url}`,op:"http.client"}):void 0;if(c&&(i.__sentry_xhr_span_id__=c.spanId,r[i.__sentry_xhr_span_id__]=c),i.setRequestHeader&&n(a.url))if(c){const d=c&&c.transaction,p=d&&d.getDynamicSamplingContext(),f=oC(p);X2(i,c.toTraceparent(),f)}else{const d=s.getClient(),{traceId:p,sampled:f,dsc:g}=u.getPropagationContext(),m=zw(p,void 0,f),h=g||(d?Gw(p,d,u):void 0),v=oC(h);X2(i,m,v)}return c}function X2(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(aC,n)}catch{}}function Dre(e,t=!0,n=!0){if(!ar||!ar.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn("Could not initialize routing instrumentation due to invalid location");return}let r=ar.location.href,i;t&&(i=e({name:ar.location.pathname,startTimestamp:hs?hs/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&Hm("history",({to:a,from:l})=>{if(l===void 0&&r&&r.indexOf(a)!==-1){r=void 0;return}l!==a&&(r=void 0,i&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:ar.location.pathname,op:"navigation",metadata:{source:"url"}}))})}const Pre="BrowserTracing",Mre={...m0,markBackgroundTransactions:!0,routingInstrumentation:Dre,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...uC};class nv{__init(){this.name=Pre}__init2(){this._hasSetTracePropagationTargets=!1}constructor(t){nv.prototype.__init.call(this),nv.prototype.__init2.call(this),rre(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!!(t&&(t.tracePropagationTargets||t.tracingOrigins))),this.options={...Mre,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=pre(),this.options.enableLongTask&&fre(),this.options._experiments.enableInteractions&&mre()}setupOnce(t,n){this._getCurrentHub=n;const i=n().getClient(),a=i&&i.getOptions(),{routingInstrumentation:l,startTransactionOnLocationChange:s,startTransactionOnPageLoad:u,markBackgroundTransactions:o,traceFetch:c,traceXHR:d,shouldCreateSpanForRequest:p,enableHTTPTimings:f,_experiments:g}=this.options,m=a&&a.tracePropagationTargets,h=m||this.options.tracePropagationTargets;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&m&&Ct.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),l(v=>{const b=this._createRouteTransaction(v);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(b,v,n),b},u,s),o&&ire(),g.enableInteractions&&this._registerInteractionListener(),wre({traceFetch:c,traceXHR:d,tracePropagationTargets:h,shouldCreateSpanForRequest:p,enableHTTPTimings:f})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const n=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:i,finalTimeout:a,heartbeatInterval:l}=this.options,s=t.op==="pageload",u=s?J2("sentry-trace"):"",o=s?J2("baggage"):"",{traceparentData:c,dynamicSamplingContext:d,propagationContext:p}=Hne(u,o),f={...t,...c,metadata:{...t.metadata,dynamicSamplingContext:c&&!d?{}:d},trimEnd:!0},g=typeof r=="function"?r(f):f,m=g===void 0?{...f,sampled:!1}:g;m.metadata=m.name!==f.name?{...m.metadata,source:"custom"}:m.metadata,this._latestRouteName=m.name,this._latestRouteSource=m.metadata&&m.metadata.source,m.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.log(`[Tracing] Starting ${m.op} transaction on scope`);const{location:h}=ar,v=q2(n,m,i,a,!0,{location:h},l),b=n.getScope();return s&&c?b.setPropagationContext(p):b.setPropagationContext({traceId:v.traceId,spanId:v.spanId,parentSpanId:v.parentSpanId,sampled:!!v.sampled}),v.registerBeforeFinishCallback(y=>{this._collectWebVitals(),vre(y)}),v}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,l="ui.action.click",s=Ng();if(s&&s.op&&["navigation","pageload"].includes(s.op)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${l} transaction because a pageload or navigation transaction is in progress.`);return}if(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${l} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Ct.warn(`[Tracing] Did not create ${l} transaction because _latestRouteName is missing.`);return}const u=this._getCurrentHub(),{location:o}=ar,c={name:this._latestRouteName,op:l,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=q2(u,c,r,i,!0,{location:o},a)};["click"].forEach(r=>{addEventListener(r,n,{once:!1,capture:!0})})}}function J2(e){const t=cne(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}const kre=Object.prototype.toString;function $re(e,t){return kre.call(e)===`[object ${t}]`}function c6(e){return $re(e,"Object")}function u6(e){return Boolean(e&&e.then&&typeof e.then=="function")}function T_(e){return e&&e.Math==Math?e:void 0}const Lo=typeof globalThis=="object"&&T_(globalThis)||typeof window=="object"&&T_(window)||typeof self=="object"&&T_(self)||typeof global=="object"&&T_(global)||function(){return this}()||{};function Lre(){return Lo}function qw(e,t,n){const r=n||Lo,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Fre="Sentry Logger ",dC=["debug","info","warn","error","log","assert","trace"];function d6(e){if(!("console"in Lo))return e();const t=Lo.console,n={};dC.forEach(r=>{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function eD(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?dC.forEach(n=>{t[n]=(...r)=>{e&&d6(()=>{Lo.console[n](`${Fre}[${n}]:`,...r)})}}):dC.forEach(n=>{t[n]=()=>{}}),t}let yp;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?yp=qw("logger",eD):yp=eD();function Bre(e){return pC(e,new Map)}function pC(e,t){if(c6(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=pC(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(pC(i,t))}),r}return e}function pu(){const e=Lo,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function p6(e){return Array.isArray(e)?e:[e]}function Ure(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Hre(){return!Ure()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function zre(e,t){return e.require(t)}var Ks;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Ks||(Ks={}));class ss{__init(){this._state=Ks.PENDING}__init2(){this._handlers=[]}constructor(t){ss.prototype.__init.call(this),ss.prototype.__init2.call(this),ss.prototype.__init3.call(this),ss.prototype.__init4.call(this),ss.prototype.__init5.call(this),ss.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new ss((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(l){i(l)}},a=>{if(!n)i(a);else try{r(n(a))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ss((n,r)=>{let i,a;return this.then(l=>{a=!1,i=l,t&&t()},l=>{a=!0,i=l,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Ks.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Ks.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Ks.PENDING){if(u6(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Ks.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Ks.RESOLVED&&n[1](this._value),this._state===Ks.REJECTED&&n[2](this._value),n[0]=!0)})}}}const f6=Lre(),fC={nowSeconds:()=>Date.now()/1e3};function Vre(){const{performance:e}=f6;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function Gre(){try{return zre(module,"perf_hooks").performance}catch{return}}const tE=Hre()?Gre():Vre(),tD=tE===void 0?fC:{nowSeconds:()=>(tE.timeOrigin+tE.now())/1e3},m6=fC.nowSeconds.bind(fC),Kw=tD.nowSeconds.bind(tD);(()=>{const{performance:e}=f6;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=iqre(n)};return e&&gb(n,e),n}function gb(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Kw(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:pu()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Wre(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),gb(e,n)}function qre(e){return Bre({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Kre=100;class jd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=nD()}static clone(t){const n=new jd;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata},n._propagationContext={...t._propagationContext}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&gb(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof jd?n:this}return t instanceof jd?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):c6(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=nD(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Kre;if(r<=0)return this;const i={timestamp:m6(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction;if(r){t.sdkProcessingMetadata={dynamicSamplingContext:r.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const i=r.name;i&&(t.tags={transaction:i,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},this._notifyEventProcessors([...Zre(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,n,r,i=0){return new ss((a,l)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const u=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&u===null&&yp.log(`Event processor "${s.id}" dropped event`),u6(u)?u.then(o=>this._notifyEventProcessors(t,o,r,i+1).then(a)).then(null,l):this._notifyEventProcessors(t,u,r,i+1).then(a).then(null,l)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?p6(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function Zre(){return qw("globalEventProcessors",()=>[])}function nD(){return{traceId:pu(),spanId:pu().substring(16),sampled:!1}}const g6=4,Qre=100;class h6{constructor(t,n=new jd,r=g6){this._version=r,this._stack=[{scope:n}],t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},l)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:pu(),a=new Error(t);return this._withClient((l,s)=>{l.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:pu();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:l=Qre}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:m6(),...t},o=a?d6(()=>a(u,n)):u;o!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",o,n),r.addBreadcrumb(o,l))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=rD(this);try{t(this)}finally{rD(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&yp.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!r&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); -`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Wre(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=Yre}=r&&r.getOptions()||{},{userAgent:l}=Lo.navigator||{},s=jre({release:i,environment:a,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&gb(u,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=hb().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&yp.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function hb(){return Lo.__SENTRY__=Lo.__SENTRY__||{extensions:{},hub:void 0},Lo}function rD(e){const t=hb(),n=mC(t);return _8(t,e),n}function Xre(){const e=hb();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return Jre(e)}function Jre(e=hb()){return(!eie(e)||mC(e).isOlderThan(g8))&&_8(e,new h8),mC(e)}function eie(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function mC(e){return qw("hub",()=>new h8,e)}function _8(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function tie(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=Xre().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}const v8=["activate","mount","update"],nie=/(?:^|[-_])(\w)/g,rie=e=>e.replace(nie,t=>t.toUpperCase()).replace(/[-_]/g,""),iie="",nE="",aie=(e,t)=>e.repeat?e.repeat(t):e,lm=(e,t)=>{if(!e)return nE;if(e.$root===e)return iie;if(!e.$options)return nE;const n=e.$options;let r=n.name||n._componentTag;const i=n.__file;if(!r&&i){const a=i.match(/([^/\\]+)\.vue$/);a&&(r=a[1])}return(r?`<${rie(r)}>`:nE)+(i&&t!==!1?` at ${i}`:"")},oie=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return` +`),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Wre(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=Yre}=r&&r.getOptions()||{},{userAgent:l}=Lo.navigator||{},s=jre({release:i,environment:a,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&gb(u,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=hb().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&yp.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function hb(){return Lo.__SENTRY__=Lo.__SENTRY__||{extensions:{},hub:void 0},Lo}function rD(e){const t=hb(),n=mC(t);return _6(t,e),n}function Xre(){const e=hb();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return Jre(e)}function Jre(e=hb()){return(!eie(e)||mC(e).isOlderThan(g6))&&_6(e,new h6),mC(e)}function eie(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function mC(e){return qw("hub",()=>new h6,e)}function _6(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function tie(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=Xre().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}const v6=["activate","mount","update"],nie=/(?:^|[-_])(\w)/g,rie=e=>e.replace(nie,t=>t.toUpperCase()).replace(/[-_]/g,""),iie="",nE="",aie=(e,t)=>e.repeat?e.repeat(t):e,lm=(e,t)=>{if(!e)return nE;if(e.$root===e)return iie;if(!e.$options)return nE;const n=e.$options;let r=n.name||n._componentTag;const i=n.__file;if(!r&&i){const a=i.match(/([^/\\]+)\.vue$/);a&&(r=a[1])}return(r?`<${rie(r)}>`:nE)+(i&&t!==!1?` at ${i}`:"")},oie=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return` found in ${t.map((i,a)=>`${(a===0?"---> ":aie(" ",5+a*2))+(Array.isArray(i)?`${lm(i[0])}... (${i[1]} recursive calls)`:lm(i))}`).join(` `)}`}return` -(found in ${lm(e)})`},sie=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:i}=e.config;e.config.errorHandler=(a,l,s)=>{const u=lm(l,!1),o=l?oie(l):"",c={componentName:u,lifecycleHook:s,trace:o};if(t.attachProps&&l&&(l.$options&&l.$options.propsData?c.propsData=l.$options.propsData:l.$props&&(c.propsData=l.$props)),setTimeout(()=>{ri().withScope(d=>{d.setContext("vue",c),ri().captureException(a)})}),typeof n=="function"&&n.call(e,a,l,s),t.logErrors){const d=typeof console<"u",p=`Error in ${s}: "${a&&a.toString()}"`;r?r.call(null,p,l,o):d&&!i&&console.error(`[Vue warn]: ${p}${o}`)}}},iD="ui.vue",lie={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function gC(){return ri().getScope().getTransaction()}function cie(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.finish(t),e.$root.$_sentryRootSpan=void 0)},n)}const uie=e=>{const t=(e.hooks||[]).concat(v8).filter((r,i,a)=>a.indexOf(r)===i),n={};for(const r of t){const i=lie[r];if(!i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&yp.warn(`Unknown hook: ${r}`);continue}for(const a of i)n[a]=function(){const l=this.$root===this;if(l){const o=gC();o&&(this.$_sentryRootSpan=this.$_sentryRootSpan||o.startChild({description:"Application Render",op:`${iD}.render`}))}const s=lm(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(s)>-1:e.trackComponents;if(!(!l&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},a==i[0]){const o=this.$root&&this.$root.$_sentryRootSpan||gC();if(o){const c=this.$_sentrySpans[r];c&&!c.endTimestamp&&c.finish(),this.$_sentrySpans[r]=o.startChild({description:`Vue <${s}>`,op:`${iD}.${r}`})}}else{const o=this.$_sentrySpans[r];if(!o)return;o.finish(),cie(this,Kw(),e.timeout)}}}return n},die=Lo,pie={Vue:die.Vue,attachProps:!0,logErrors:!0,hooks:v8,timeout:2e3,trackComponents:!1,_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:G0}],version:G0}}};function fie(e={}){const t={...pie,...e};if(HQ(t),!t.Vue&&!t.app){console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).");return}t.app?p8(t.app).forEach(r=>aD(r,t)):t.Vue&&aD(t.Vue,t)}const aD=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`."),sie(e,t),tie(t)&&e.mixin(uie({...t,...t.tracingOptions}))};function mie(e,t={}){return(n,r=!0,i=!0)=>{const a={"routing.instrumentation":"vue-router"};r&&Gn&&Gn.location&&n({name:Gn.location.pathname,op:"pageload",tags:a,metadata:{source:"url"}}),e.onError(l=>G4(l)),e.beforeEach((l,s,u)=>{const o=s.name==null&&s.matched.length===0,c={params:l.params,query:l.query};let d=l.path,p="url";if(l.name&&t.routeLabel!=="path"?(d=l.name.toString(),p="custom"):l.matched[0]&&l.matched[0].path&&(d=l.matched[0].path,p="route"),r&&o){const f=gC();f&&(f.metadata.source!=="custom"&&f.setName(d,p),f.setData("params",c.params),f.setData("query",c.query))}i&&!o&&n({name:d,op:"navigation",tags:a,data:c,metadata:{source:p}}),u&&u()})}}var gie=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};gie.SENTRY_RELEASE={id:"27376e7ccdf48193c415dfe24cbead1938d00380"};const dWe=(e,t)=>{fie({app:e,dsn:"https://92a7a6b6bf4d455dab113338d8518956@o1317386.ingest.sentry.io/6570769",replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,integrations:[new nv({routingInstrumentation:mie(t)}),new Um],enabled:!0,tracesSampleRate:1,release:"27376e7ccdf48193c415dfe24cbead1938d00380"})};class pWe{constructor(t,n,r=localStorage){yn(this,"key");this.validator=t,this.sufix=n,this.storage=r,this.key=`abstra:${this.sufix}`}get(){const t=this.storage.getItem(this.key);if(t==null)return null;try{return this.validator.parse(JSON.parse(t))}catch{return null}}set(t){try{this.validator.parse(t),this.storage.setItem(this.key,JSON.stringify(t))}catch{}}remove(){this.storage.removeItem(this.key)}pop(){const t=this.get();return this.remove(),t}}function hC(e){this.message=e}hC.prototype=new Error,hC.prototype.name="InvalidCharacterError";var oD=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new hC("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,l="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?l+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return l};function hie(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(oD(n).replace(/(.)/g,function(r,i){var a=i.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(t)}catch{return oD(t)}}function rv(e){this.message=e}function fWe(e,t){if(typeof e!="string")throw new rv("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(hie(e.split(".")[n]))}catch(r){throw new rv("Invalid token specified: "+r.message)}}rv.prototype=new Error,rv.prototype.name="InvalidTokenError";function _b(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const nr={},Wd=[],Fo=()=>{},_ie=()=>!1,vie=/^on[^a-z]/,Pg=e=>vie.test(e),Zw=e=>e.startsWith("onUpdate:"),cr=Object.assign,Qw=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bie=Object.prototype.hasOwnProperty,Pn=(e,t)=>bie.call(e,t),vt=Array.isArray,qd=e=>Qp(e)==="[object Map]",Bu=e=>Qp(e)==="[object Set]",sD=e=>Qp(e)==="[object Date]",yie=e=>Qp(e)==="[object RegExp]",Gt=e=>typeof e=="function",Tr=e=>typeof e=="string",zm=e=>typeof e=="symbol",rr=e=>e!==null&&typeof e=="object",Xw=e=>rr(e)&&Gt(e.then)&&Gt(e.catch),b8=Object.prototype.toString,Qp=e=>b8.call(e),Sie=e=>Qp(e).slice(8,-1),y8=e=>Qp(e)==="[object Object]",Jw=e=>Tr(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cm=_b(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Eie=/-(\w)/g,aa=vb(e=>e.replace(Eie,(t,n)=>n?n.toUpperCase():"")),Cie=/\B([A-Z])/g,io=vb(e=>e.replace(Cie,"-$1").toLowerCase()),Mg=vb(e=>e.charAt(0).toUpperCase()+e.slice(1)),um=vb(e=>e?`on${Mg(e)}`:""),Sp=(e,t)=>!Object.is(e,t),Kd=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},av=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ov=e=>{const t=Tr(e)?Number(e):NaN;return isNaN(t)?e:t};let lD;const _C=()=>lD||(lD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Tie="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",wie=_b(Tie);function Ni(e){if(vt(e)){const t={};for(let n=0;n{if(n){const r=n.split(Oie);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vt(e){let t="";if(Tr(e))t=e;else if(vt(e))for(let n=0;ngc(n,t))}const Qt=e=>Tr(e)?e:e==null?"":vt(e)||rr(e)&&(e.toString===b8||!Gt(e.toString))?JSON.stringify(e,E8,2):String(e),E8=(e,t)=>t&&t.__v_isRef?E8(e,t.value):qd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Bu(t)?{[`Set(${t.size})`]:[...t.values()]}:rr(t)&&!vt(t)&&!y8(t)?String(t):t;let Ea;class ex{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ea,!t&&Ea&&(this.index=(Ea.scopes||(Ea.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ea;try{return Ea=this,t()}finally{Ea=n}}}on(){Ea=this}off(){Ea=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},w8=e=>(e.w&hc)>0,x8=e=>(e.n&hc)>0,Mie=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(c==="length"||c>=u)&&s.push(o)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":vt(e)?Jw(n)&&s.push(l.get("length")):(s.push(l.get(fu)),qd(e)&&s.push(l.get(bC)));break;case"delete":vt(e)||(s.push(l.get(fu)),qd(e)&&s.push(l.get(bC)));break;case"set":qd(e)&&s.push(l.get(fu));break}if(s.length===1)s[0]&&yC(s[0]);else{const u=[];for(const o of s)o&&u.push(...o);yC(nx(u))}}function yC(e,t){const n=vt(e)?e:[...e];for(const r of n)r.computed&&uD(r);for(const r of n)r.computed||uD(r)}function uD(e,t){(e!==Ro||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Fie(e,t){var n;return(n=sv.get(e))==null?void 0:n.get(t)}const Bie=_b("__proto__,__v_isRef,__isVue"),I8=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zm)),Uie=yb(),Hie=yb(!1,!0),zie=yb(!0),Vie=yb(!0,!0),dD=Gie();function Gie(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ut(this);for(let a=0,l=this.length;a{e[t]=function(...n){Xp();const r=Ut(this)[t].apply(this,n);return Jp(),r}}),e}function Yie(e){const t=Ut(this);return oa(t,"has",e),t.hasOwnProperty(e)}function yb(e=!1,t=!1){return function(r,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?$8:k8:t?M8:P8).get(r))return r;const l=vt(r);if(!e){if(l&&Pn(dD,i))return Reflect.get(dD,i,a);if(i==="hasOwnProperty")return Yie}const s=Reflect.get(r,i,a);return(zm(i)?I8.has(i):Bie(i))||(e||oa(r,"get",i),t)?s:zr(s)?l&&Jw(i)?s:s.value:rr(s)?e?ix(s):un(s):s}}const jie=A8(),Wie=A8(!0);function A8(e=!1){return function(n,r,i,a){let l=n[r];if(Ou(l)&&zr(l)&&!zr(i))return!1;if(!e&&(!Vm(i)&&!Ou(i)&&(l=Ut(l),i=Ut(i)),!vt(n)&&zr(l)&&!zr(i)))return l.value=i,!0;const s=vt(n)&&Jw(r)?Number(r)e,Sb=e=>Reflect.getPrototypeOf(e);function w_(e,t,n=!1,r=!1){e=e.__v_raw;const i=Ut(e),a=Ut(t);n||(t!==a&&oa(i,"get",t),oa(i,"get",a));const{has:l}=Sb(i),s=r?rx:n?sx:Gm;if(l.call(i,t))return s(e.get(t));if(l.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function x_(e,t=!1){const n=this.__v_raw,r=Ut(n),i=Ut(e);return t||(e!==i&&oa(r,"has",e),oa(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function O_(e,t=!1){return e=e.__v_raw,!t&&oa(Ut(e),"iterate",fu),Reflect.get(e,"size",e)}function pD(e){e=Ut(e);const t=Ut(this);return Sb(t).has.call(t,e)||(t.add(e),ul(t,"add",e,e)),this}function fD(e,t){t=Ut(t);const n=Ut(this),{has:r,get:i}=Sb(n);let a=r.call(n,e);a||(e=Ut(e),a=r.call(n,e));const l=i.call(n,e);return n.set(e,t),a?Sp(t,l)&&ul(n,"set",e,t):ul(n,"add",e,t),this}function mD(e){const t=Ut(this),{has:n,get:r}=Sb(t);let i=n.call(t,e);i||(e=Ut(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&ul(t,"delete",e,void 0),a}function gD(){const e=Ut(this),t=e.size!==0,n=e.clear();return t&&ul(e,"clear",void 0,void 0),n}function R_(e,t){return function(r,i){const a=this,l=a.__v_raw,s=Ut(l),u=t?rx:e?sx:Gm;return!e&&oa(s,"iterate",fu),l.forEach((o,c)=>r.call(i,u(o),u(c),a))}}function I_(e,t,n){return function(...r){const i=this.__v_raw,a=Ut(i),l=qd(a),s=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,o=i[e](...r),c=n?rx:t?sx:Gm;return!t&&oa(a,"iterate",u?bC:fu),{next(){const{value:d,done:p}=o.next();return p?{value:d,done:p}:{value:s?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Ll(e){return function(...t){return e==="delete"?!1:this}}function Jie(){const e={get(a){return w_(this,a)},get size(){return O_(this)},has:x_,add:pD,set:fD,delete:mD,clear:gD,forEach:R_(!1,!1)},t={get(a){return w_(this,a,!1,!0)},get size(){return O_(this)},has:x_,add:pD,set:fD,delete:mD,clear:gD,forEach:R_(!1,!0)},n={get(a){return w_(this,a,!0)},get size(){return O_(this,!0)},has(a){return x_.call(this,a,!0)},add:Ll("add"),set:Ll("set"),delete:Ll("delete"),clear:Ll("clear"),forEach:R_(!0,!1)},r={get(a){return w_(this,a,!0,!0)},get size(){return O_(this,!0)},has(a){return x_.call(this,a,!0)},add:Ll("add"),set:Ll("set"),delete:Ll("delete"),clear:Ll("clear"),forEach:R_(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=I_(a,!1,!1),n[a]=I_(a,!0,!1),t[a]=I_(a,!1,!0),r[a]=I_(a,!0,!0)}),[e,n,t,r]}const[eae,tae,nae,rae]=Jie();function Eb(e,t){const n=t?e?rae:nae:e?tae:eae;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Pn(n,i)&&i in r?n:r,i,a)}const iae={get:Eb(!1,!1)},aae={get:Eb(!1,!0)},oae={get:Eb(!0,!1)},sae={get:Eb(!0,!0)},P8=new WeakMap,M8=new WeakMap,k8=new WeakMap,$8=new WeakMap;function lae(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cae(e){return e.__v_skip||!Object.isExtensible(e)?0:lae(Sie(e))}function un(e){return Ou(e)?e:Cb(e,!1,N8,iae,P8)}function L8(e){return Cb(e,!1,Qie,aae,M8)}function ix(e){return Cb(e,!0,D8,oae,k8)}function uae(e){return Cb(e,!0,Xie,sae,$8)}function Cb(e,t,n,r,i){if(!rr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const l=cae(e);if(l===0)return e;const s=new Proxy(e,l===2?r:n);return i.set(e,s),s}function mu(e){return Ou(e)?mu(e.__v_raw):!!(e&&e.__v_isReactive)}function Ou(e){return!!(e&&e.__v_isReadonly)}function Vm(e){return!!(e&&e.__v_isShallow)}function ax(e){return mu(e)||Ou(e)}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function ox(e){return iv(e,"__v_skip",!0),e}const Gm=e=>rr(e)?un(e):e,sx=e=>rr(e)?ix(e):e;function lx(e){lc&&Ro&&(e=Ut(e),R8(e.dep||(e.dep=nx())))}function Tb(e,t){e=Ut(e);const n=e.dep;n&&yC(n)}function zr(e){return!!(e&&e.__v_isRef===!0)}function Oe(e){return F8(e,!1)}function Pe(e){return F8(e,!0)}function F8(e,t){return zr(e)?e:new dae(e,t)}class dae{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ut(t),this._value=n?t:Gm(t)}get value(){return lx(this),this._value}set value(t){const n=this.__v_isShallow||Vm(t)||Ou(t);t=n?t:Ut(t),Sp(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Gm(t),Tb(this))}}function pae(e){Tb(e)}function je(e){return zr(e)?e.value:e}function fae(e){return Gt(e)?e():je(e)}const mae={get:(e,t,n)=>je(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return zr(i)&&!zr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function cx(e){return mu(e)?e:new Proxy(e,mae)}class gae{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>lx(this),()=>Tb(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function hae(e){return new gae(e)}function Zd(e){const t=vt(e)?new Array(e.length):{};for(const n in e)t[n]=B8(e,n);return t}class _ae{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Fie(Ut(this._object),this._key)}}class vae{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xt(e,t,n){return zr(e)?e:Gt(e)?new vae(e):rr(e)&&arguments.length>1?B8(e,t,n):Oe(e)}function B8(e,t,n){const r=e[t];return zr(r)?r:new _ae(e,t,n)}class bae{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new kg(t,()=>{this._dirty||(this._dirty=!0,Tb(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Ut(this);return lx(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function yae(e,t,n=!1){let r,i;const a=Gt(e);return a?(r=e,i=Fo):(r=e.get,i=e.set),new bae(r,i,a||!i,n)}function Sae(e,...t){}function Eae(e,t){}function sl(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){Uu(a,t,n)}return i}function Aa(e,t,n,r){if(Gt(e)){const a=sl(e,t,n,r);return a&&Xw(a)&&a.catch(l=>{Uu(l,t,n)}),a}const i=[];for(let a=0;a>>1;jm(Ii[r])us&&Ii.splice(t,1)}function dx(e){vt(e)?Qd.push(...e):(!Zs||!Zs.includes(e,e.allowRecurse?Jc+1:Jc))&&Qd.push(e),H8()}function hD(e,t=Ym?us+1:0){for(;tjm(n)-jm(r)),Jc=0;Jce.id==null?1/0:e.id,xae=(e,t)=>{const n=jm(e)-jm(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function z8(e){SC=!1,Ym=!0,Ii.sort(xae);const t=Fo;try{for(us=0;usxd.emit(i,...a)),A_=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{V8(a,t)}),setTimeout(()=>{xd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,A_=[])},3e3)):A_=[]}function Oae(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||nr;let i=n;const a=t.startsWith("update:"),l=a&&t.slice(7);if(l&&l in r){const c=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[c]||nr;p&&(i=n.map(f=>Tr(f)?f.trim():f)),d&&(i=n.map(av))}let s,u=r[s=um(t)]||r[s=um(aa(t))];!u&&a&&(u=r[s=um(io(t))]),u&&Aa(u,e,6,i);const o=r[s+"Once"];if(o){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Aa(o,e,6,i)}}function G8(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let l={},s=!1;if(!Gt(e)){const u=o=>{const c=G8(o,t,!0);c&&(s=!0,cr(l,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!a&&!s?(rr(e)&&r.set(e,null),null):(vt(a)?a.forEach(u=>l[u]=null):cr(l,a),rr(e)&&r.set(e,l),l)}function xb(e,t){return!e||!Pg(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pn(e,t[0].toLowerCase()+t.slice(1))||Pn(e,io(t))||Pn(e,t))}let ci=null,Ob=null;function Wm(e){const t=ci;return ci=e,Ob=e&&e.type.__scopeId||null,t}function Y8(e){Ob=e}function j8(){Ob=null}const Rae=e=>pn;function pn(e,t=ci,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&RC(-1);const a=Wm(t);let l;try{l=e(...i)}finally{Wm(a),r._d&&RC(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function h0(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[l],slots:s,attrs:u,emit:o,render:c,renderCache:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=e;let h,v;const b=Wm(e);try{if(n.shapeFlag&4){const S=i||r;h=Ta(c.call(S,S,d,a,f,p,g)),v=u}else{const S=t;h=Ta(S.length>1?S(a,{attrs:u,slots:s,emit:o}):S(a,null)),v=t.props?u:Aae(u)}}catch(S){fm.length=0,Uu(S,e,1),h=x(Si)}let y=h;if(v&&m!==!1){const S=Object.keys(v),{shapeFlag:C}=y;S.length&&C&7&&(l&&S.some(Zw)&&(v=Nae(v,l)),y=Ci(y,v))}return n.dirs&&(y=Ci(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),h=y,Wm(b),h}function Iae(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Pg(n))&&((t||(t={}))[n]=e[n]);return t},Nae=(e,t)=>{const n={};for(const r in e)(!Zw(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Dae(e,t,n){const{props:r,children:i,component:a}=e,{props:l,children:s,patchFlag:u}=t,o=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?_D(r,l,o):!!l;if(u&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense,Pae={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,a,l,s,u,o){e==null?kae(t,n,r,i,a,l,s,u,o):$ae(e,t,n,r,i,l,s,u,o)},hydrate:Lae,create:fx,normalize:Fae},Mae=Pae;function qm(e,t){const n=e.props&&e.props[t];Gt(n)&&n()}function kae(e,t,n,r,i,a,l,s,u){const{p:o,o:{createElement:c}}=u,d=c("div"),p=e.suspense=fx(e,i,r,t,d,n,a,l,s,u);o(null,p.pendingBranch=e.ssContent,d,null,r,p,a,l),p.deps>0?(qm(e,"onPending"),qm(e,"onFallback"),o(null,e.ssFallback,t,n,r,null,a,l),Xd(p,e.ssFallback)):p.resolve(!1,!0)}function $ae(e,t,n,r,i,a,l,s,{p:u,um:o,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:g,pendingBranch:m,isInFallback:h,isHydrating:v}=d;if(m)d.pendingBranch=p,Io(p,m)?(u(m,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0?d.resolve():h&&(u(g,f,n,r,i,null,a,l,s),Xd(d,f))):(d.pendingId++,v?(d.isHydrating=!1,d.activeBranch=m):o(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),h?(u(null,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0?d.resolve():(u(g,f,n,r,i,null,a,l,s),Xd(d,f))):g&&Io(p,g)?(u(g,p,n,r,i,d,a,l,s),d.resolve(!0)):(u(null,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0&&d.resolve()));else if(g&&Io(p,g))u(g,p,n,r,i,d,a,l,s),Xd(d,p);else if(qm(t,"onPending"),d.pendingBranch=p,d.pendingId++,u(null,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:y}=d;b>0?setTimeout(()=>{d.pendingId===y&&d.fallback(f)},b):b===0&&d.fallback(f)}}function fx(e,t,n,r,i,a,l,s,u,o,c=!1){const{p:d,m:p,um:f,n:g,o:{parentNode:m,remove:h}}=o;let v;const b=Bae(e);b&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const y=e.props?ov(e.props.timeout):void 0,S={vnode:e,parent:t,parentComponent:n,isSVG:l,container:r,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,w=!1){const{vnode:T,activeBranch:O,pendingBranch:I,pendingId:N,effects:M,parentComponent:B,container:P}=S;if(S.isHydrating)S.isHydrating=!1;else if(!C){const F=O&&I.transition&&I.transition.mode==="out-in";F&&(O.transition.afterLeave=()=>{N===S.pendingId&&p(I,P,U,0)});let{anchor:U}=S;O&&(U=g(O),f(O,B,S,!0)),F||p(I,P,U,0)}Xd(S,I),S.pendingBranch=null,S.isInFallback=!1;let k=S.parent,D=!1;for(;k;){if(k.pendingBranch){k.effects.push(...M),D=!0;break}k=k.parent}D||dx(M),S.effects=[],b&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),qm(T,"onResolve")},fallback(C){if(!S.pendingBranch)return;const{vnode:w,activeBranch:T,parentComponent:O,container:I,isSVG:N}=S;qm(w,"onFallback");const M=g(T),B=()=>{!S.isInFallback||(d(null,C,I,M,O,null,N,s,u),Xd(S,C))},P=C.transition&&C.transition.mode==="out-in";P&&(T.transition.afterLeave=B),S.isInFallback=!0,f(T,O,null,!0),P||B()},move(C,w,T){S.activeBranch&&p(S.activeBranch,C,w,T),S.container=C},next(){return S.activeBranch&&g(S.activeBranch)},registerDep(C,w){const T=!!S.pendingBranch;T&&S.deps++;const O=C.vnode.el;C.asyncDep.catch(I=>{Uu(I,C,0)}).then(I=>{if(C.isUnmounted||S.isUnmounted||S.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:N}=C;IC(C,I,!1),O&&(N.el=O);const M=!O&&C.subTree.el;w(C,N,m(O||C.subTree.el),O?null:g(C.subTree),S,l,u),M&&h(M),px(C,N.el),T&&--S.deps===0&&S.resolve()})},unmount(C,w){S.isUnmounted=!0,S.activeBranch&&f(S.activeBranch,n,C,w),S.pendingBranch&&f(S.pendingBranch,n,C,w)}};return S}function Lae(e,t,n,r,i,a,l,s,u){const o=t.suspense=fx(t,r,n,e.parentNode,document.createElement("div"),null,i,a,l,s,!0),c=u(e,o.pendingBranch=t.ssContent,n,o,a,l);return o.deps===0&&o.resolve(!1,!0),c}function Fae(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=vD(r?n.default:n),e.ssFallback=r?vD(n.fallback):x(Si)}function vD(e){let t;if(Gt(e)){const n=Iu&&e._c;n&&(e._d=!1,oe()),e=e(),n&&(e._d=!0,t=ia,y3())}return vt(e)&&(e=Iae(e)),e=Ta(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function q8(e,t){t&&t.pendingBranch?vt(e)?t.effects.push(...e):t.effects.push(e):dx(e)}function Xd(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,px(r,i))}function Bae(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Rt(e,t){return $g(e,null,t)}function K8(e,t){return $g(e,null,{flush:"post"})}function Uae(e,t){return $g(e,null,{flush:"sync"})}const N_={};function ze(e,t,n){return $g(e,t,n)}function $g(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:l}=nr){var s;const u=tx()===((s=Kr)==null?void 0:s.scope)?Kr:null;let o,c=!1,d=!1;if(zr(e)?(o=()=>e.value,c=Vm(e)):mu(e)?(o=()=>e,r=!0):vt(e)?(d=!0,c=e.some(S=>mu(S)||Vm(S)),o=()=>e.map(S=>{if(zr(S))return S.value;if(mu(S))return ou(S);if(Gt(S))return sl(S,u,2)})):Gt(e)?t?o=()=>sl(e,u,2):o=()=>{if(!(u&&u.isUnmounted))return p&&p(),Aa(e,u,3,[f])}:o=Fo,t&&r){const S=o;o=()=>ou(S())}let p,f=S=>{p=b.onStop=()=>{sl(S,u,4)}},g;if(Cp)if(f=Fo,t?n&&Aa(t,u,3,[o(),d?[]:void 0,f]):o(),i==="sync"){const S=I3();g=S.__watcherHandles||(S.__watcherHandles=[])}else return Fo;let m=d?new Array(e.length).fill(N_):N_;const h=()=>{if(!!b.active)if(t){const S=b.run();(r||c||(d?S.some((C,w)=>Sp(C,m[w])):Sp(S,m)))&&(p&&p(),Aa(t,u,3,[S,m===N_?void 0:d&&m[0]===N_?[]:m,f]),m=S)}else b.run()};h.allowRecurse=!!t;let v;i==="sync"?v=h:i==="post"?v=()=>hi(h,u&&u.suspense):(h.pre=!0,u&&(h.id=u.uid),v=()=>wb(h));const b=new kg(o,v);t?n?h():m=b.run():i==="post"?hi(b.run.bind(b),u&&u.suspense):b.run();const y=()=>{b.stop(),u&&u.scope&&Qw(u.scope.effects,b)};return g&&g.push(y),y}function Hae(e,t,n){const r=this.proxy,i=Tr(e)?e.includes(".")?Z8(r,e):()=>r[e]:e.bind(r,r);let a;Gt(t)?a=t:(a=t.handler,n=t);const l=Kr;_c(this);const s=$g(i,a.bind(r),n);return l?_c(l):cc(),s}function Z8(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{ou(n,t)});else if(y8(e))for(const n in e)ou(e[n],t);return e}function mr(e,t){const n=ci;if(n===null)return e;const r=Db(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),Xt(()=>{e.isUnmounting=!0}),e}const qa=[Function,Array],gx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qa,onEnter:qa,onAfterEnter:qa,onEnterCancelled:qa,onBeforeLeave:qa,onLeave:qa,onAfterLeave:qa,onLeaveCancelled:qa,onBeforeAppear:qa,onAppear:qa,onAfterAppear:qa,onAppearCancelled:qa},zae={name:"BaseTransition",props:gx,setup(e,{slots:t}){const n=hr(),r=mx();let i;return()=>{const a=t.default&&Rb(t.default(),!0);if(!a||!a.length)return;let l=a[0];if(a.length>1){for(const m of a)if(m.type!==Si){l=m;break}}const s=Ut(e),{mode:u}=s;if(r.isLeaving)return rE(l);const o=bD(l);if(!o)return rE(l);const c=Ep(o,s,r,n);Ru(o,c);const d=n.subTree,p=d&&bD(d);let f=!1;const{getTransitionKey:g}=o.type;if(g){const m=g();i===void 0?i=m:m!==i&&(i=m,f=!0)}if(p&&p.type!==Si&&(!Io(o,p)||f)){const m=Ep(p,s,r,n);if(Ru(p,m),u==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},rE(l);u==="in-out"&&o.type!==Si&&(m.delayLeave=(h,v,b)=>{const y=X8(r,p);y[String(p.key)]=p,h._leaveCb=()=>{v(),h._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return l}}},Q8=zae;function X8(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ep(e,t,n,r){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:o,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:h,onAfterAppear:v,onAppearCancelled:b}=t,y=String(e.key),S=X8(n,e),C=(O,I)=>{O&&Aa(O,r,9,I)},w=(O,I)=>{const N=I[1];C(O,I),vt(O)?O.every(M=>M.length<=1)&&N():O.length<=1&&N()},T={mode:a,persisted:l,beforeEnter(O){let I=s;if(!n.isMounted)if(i)I=m||s;else return;O._leaveCb&&O._leaveCb(!0);const N=S[y];N&&Io(e,N)&&N.el._leaveCb&&N.el._leaveCb(),C(I,[O])},enter(O){let I=u,N=o,M=c;if(!n.isMounted)if(i)I=h||u,N=v||o,M=b||c;else return;let B=!1;const P=O._enterCb=k=>{B||(B=!0,k?C(M,[O]):C(N,[O]),T.delayedLeave&&T.delayedLeave(),O._enterCb=void 0)};I?w(I,[O,P]):P()},leave(O,I){const N=String(e.key);if(O._enterCb&&O._enterCb(!0),n.isUnmounting)return I();C(d,[O]);let M=!1;const B=O._leaveCb=P=>{M||(M=!0,I(),P?C(g,[O]):C(f,[O]),O._leaveCb=void 0,S[N]===e&&delete S[N])};S[N]=e,p?w(p,[O,B]):B()},clone(O){return Ep(O,t,n,r)}};return T}function rE(e){if(Lg(e))return e=Ci(e),e.children=null,e}function bD(e){return Lg(e)?e.children?e.children[0]:void 0:e}function Ru(e,t){e.shapeFlag&6&&e.component?Ru(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rb(e,t=!1,n){let r=[],i=0;for(let a=0;a1)for(let a=0;acr({name:e.name},t,{setup:e}))():e}const gu=e=>!!e.type.__asyncLoader;function Vae(e){Gt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:a,suspensible:l=!0,onError:s}=e;let u=null,o,c=0;const d=()=>(c++,u=null,p()),p=()=>{let f;return u||(f=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),s)return new Promise((m,h)=>{s(g,()=>m(d()),()=>h(g),c+1)});throw g}).then(g=>f!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),o=g,g)))};return Ce({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return o},setup(){const f=Kr;if(o)return()=>iE(o,f);const g=b=>{u=null,Uu(b,f,13,!r)};if(l&&f.suspense||Cp)return p().then(b=>()=>iE(b,f)).catch(b=>(g(b),()=>r?x(r,{error:b}):null));const m=Oe(!1),h=Oe(),v=Oe(!!i);return i&&setTimeout(()=>{v.value=!1},i),a!=null&&setTimeout(()=>{if(!m.value&&!h.value){const b=new Error(`Async component timed out after ${a}ms.`);g(b),h.value=b}},a),p().then(()=>{m.value=!0,f.parent&&Lg(f.parent.vnode)&&wb(f.parent.update)}).catch(b=>{g(b),h.value=b}),()=>{if(m.value&&o)return iE(o,f);if(h.value&&r)return x(r,{error:h.value});if(n&&!v.value)return x(n)}}})}function iE(e,t){const{ref:n,props:r,children:i,ce:a}=t.vnode,l=x(e,r,i);return l.ref=n,l.ce=a,delete t.vnode.ce,l}const Lg=e=>e.type.__isKeepAlive,Gae={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=hr(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,a=new Set;let l=null;const s=n.suspense,{renderer:{p:u,m:o,um:c,o:{createElement:d}}}=r,p=d("div");r.activate=(b,y,S,C,w)=>{const T=b.component;o(b,y,S,0,s),u(T.vnode,b,y,S,T,s,C,b.slotScopeIds,w),hi(()=>{T.isDeactivated=!1,T.a&&Kd(T.a);const O=b.props&&b.props.onVnodeMounted;O&&ta(O,T.parent,b)},s)},r.deactivate=b=>{const y=b.component;o(b,p,null,1,s),hi(()=>{y.da&&Kd(y.da);const S=b.props&&b.props.onVnodeUnmounted;S&&ta(S,y.parent,b),y.isDeactivated=!0},s)};function f(b){aE(b),c(b,n,s,!0)}function g(b){i.forEach((y,S)=>{const C=NC(y.type);C&&(!b||!b(C))&&m(S)})}function m(b){const y=i.get(b);!l||!Io(y,l)?f(y):l&&aE(l),i.delete(b),a.delete(b)}ze(()=>[e.include,e.exclude],([b,y])=>{b&&g(S=>qf(b,S)),y&&g(S=>!qf(y,S))},{flush:"post",deep:!0});let h=null;const v=()=>{h!=null&&i.set(h,oE(n.subTree))};return _t(v),ca(v),Xt(()=>{i.forEach(b=>{const{subTree:y,suspense:S}=n,C=oE(y);if(b.type===C.type&&b.key===C.key){aE(C);const w=C.component.da;w&&hi(w,S);return}f(b)})}),()=>{if(h=null,!t.default)return null;const b=t.default(),y=b[0];if(b.length>1)return l=null,b;if(!Vr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return l=null,y;let S=oE(y);const C=S.type,w=NC(gu(S)?S.type.__asyncResolved||{}:C),{include:T,exclude:O,max:I}=e;if(T&&(!w||!qf(T,w))||O&&w&&qf(O,w))return l=S,y;const N=S.key==null?C:S.key,M=i.get(N);return S.el&&(S=Ci(S),y.shapeFlag&128&&(y.ssContent=S)),h=N,M?(S.el=M.el,S.component=M.component,S.transition&&Ru(S,S.transition),S.shapeFlag|=512,a.delete(N),a.add(N)):(a.add(N),I&&a.size>parseInt(I,10)&&m(a.values().next().value)),S.shapeFlag|=256,l=S,W8(y.type)?y:S}}},Yae=Gae;function qf(e,t){return vt(e)?e.some(n=>qf(n,t)):Tr(e)?e.split(",").includes(t):yie(e)?e.test(t):!1}function Fg(e,t){J8(e,"a",t)}function hx(e,t){J8(e,"da",t)}function J8(e,t,n=Kr){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ib(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Lg(i.parent.vnode)&&jae(r,t,n,i),i=i.parent}}function jae(e,t,n,r){const i=Ib(t,e,r,!0);ki(()=>{Qw(r[t],i)},n)}function aE(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function oE(e){return e.shapeFlag&128?e.ssContent:e}function Ib(e,t,n=Kr,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Xp(),_c(n);const s=Aa(t,n,e,l);return cc(),Jp(),s});return r?i.unshift(a):i.push(a),a}}const bl=e=>(t,n=Kr)=>(!Cp||e==="sp")&&Ib(e,(...r)=>t(...r),n),Ab=bl("bm"),_t=bl("m"),Bg=bl("bu"),ca=bl("u"),Xt=bl("bum"),ki=bl("um"),e3=bl("sp"),t3=bl("rtg"),n3=bl("rtc");function r3(e,t=Kr){Ib("ec",e,t)}const _x="components",Wae="directives";function Jd(e,t){return vx(_x,e,!0,t)||e}const i3=Symbol.for("v-ndc");function hu(e){return Tr(e)?vx(_x,e,!1)||e:e||i3}function ef(e){return vx(Wae,e)}function vx(e,t,n=!0,r=!1){const i=ci||Kr;if(i){const a=i.type;if(e===_x){const s=NC(a,!1);if(s&&(s===t||s===aa(t)||s===Mg(aa(t))))return a}const l=yD(i[e]||a[e],t)||yD(i.appContext[e],t);return!l&&r?a:l}}function yD(e,t){return e&&(e[t]||e[aa(t)]||e[Mg(aa(t))])}function Di(e,t,n,r){let i;const a=n&&n[r];if(vt(e)||Tr(e)){i=new Array(e.length);for(let l=0,s=e.length;lt(l,s,void 0,a&&a[s]));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,u=l.length;s{const a=r.fn(...i);return a&&(a.key=r.key),a}:r.fn)}return e}function Et(e,t,n={},r,i){if(ci.isCE||ci.parent&&gu(ci.parent)&&ci.parent.isCE)return t!=="default"&&(n.name=t),x("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),oe();const l=a&&a3(a(n)),s=Rn(tt,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function a3(e){return e.some(t=>Vr(t)?!(t.type===Si||t.type===tt&&!a3(t.children)):!0)?e:null}function o3(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:um(r)]=e[r];return n}const EC=e=>e?T3(e)?Db(e)||e.proxy:EC(e.parent):null,dm=cr(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=>EC(e.parent),$root:e=>EC(e.root),$emit:e=>e.emit,$options:e=>yx(e),$forceUpdate:e=>e.f||(e.f=()=>wb(e.update)),$nextTick:e=>e.n||(e.n=sn.bind(e.proxy)),$watch:e=>Hae.bind(e)}),sE=(e,t)=>e!==nr&&!e.__isScriptSetup&&Pn(e,t),CC={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:l,type:s,appContext:u}=e;let o;if(t[0]!=="$"){const f=l[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(sE(r,t))return l[t]=1,r[t];if(i!==nr&&Pn(i,t))return l[t]=2,i[t];if((o=e.propsOptions[0])&&Pn(o,t))return l[t]=3,a[t];if(n!==nr&&Pn(n,t))return l[t]=4,n[t];TC&&(l[t]=0)}}const c=dm[t];let d,p;if(c)return t==="$attrs"&&oa(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==nr&&Pn(n,t))return l[t]=4,n[t];if(p=u.config.globalProperties,Pn(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return sE(i,t)?(i[t]=n,!0):r!==nr&&Pn(r,t)?(r[t]=n,!0):Pn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},l){let s;return!!n[l]||e!==nr&&Pn(e,l)||sE(t,l)||(s=a[0])&&Pn(s,l)||Pn(r,l)||Pn(dm,l)||Pn(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},qae=cr({},CC,{get(e,t){if(t!==Symbol.unscopables)return CC.get(e,t,e)},has(e,t){return t[0]!=="_"&&!wie(t)}});function Kae(){return null}function Zae(){return null}function Qae(e){}function Xae(e){}function Jae(){return null}function eoe(){}function toe(e,t){return null}function noe(){return l3().slots}function s3(){return l3().attrs}function roe(e,t,n){const r=hr();if(n&&n.local){const i=Oe(e[t]);return ze(()=>e[t],a=>i.value=a),ze(i,a=>{a!==e[t]&&r.emit(`update:${t}`,a)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function l3(){const e=hr();return e.setupContext||(e.setupContext=O3(e))}function Km(e){return vt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ioe(e,t){const n=Km(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?vt(i)||Gt(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function aoe(e,t){return!e||!t?e||t:vt(e)&&vt(t)?e.concat(t):cr({},Km(e),Km(t))}function ooe(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function soe(e){const t=hr();let n=e();return cc(),Xw(n)&&(n=n.catch(r=>{throw _c(t),r})),[n,()=>_c(t)]}let TC=!0;function loe(e){const t=yx(e),n=e.proxy,r=e.ctx;TC=!1,t.beforeCreate&&SD(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:l,watch:s,provide:u,inject:o,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:g,activated:m,deactivated:h,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:S,render:C,renderTracked:w,renderTriggered:T,errorCaptured:O,serverPrefetch:I,expose:N,inheritAttrs:M,components:B,directives:P,filters:k}=t;if(o&&coe(o,r,null),l)for(const U in l){const z=l[U];Gt(z)&&(r[U]=z.bind(n))}if(i){const U=i.call(n,n);rr(U)&&(e.data=un(U))}if(TC=!0,a)for(const U in a){const z=a[U],Y=Gt(z)?z.bind(n,n):Gt(z.get)?z.get.bind(n,n):Fo,G=!Gt(z)&&Gt(z.set)?z.set.bind(n):Fo,K=$({get:Y,set:G});Object.defineProperty(r,U,{enumerable:!0,configurable:!0,get:()=>K.value,set:X=>K.value=X})}if(s)for(const U in s)c3(s[U],r,n,U);if(u){const U=Gt(u)?u.call(n):u;Reflect.ownKeys(U).forEach(z=>{Dt(z,U[z])})}c&&SD(c,e,"c");function F(U,z){vt(z)?z.forEach(Y=>U(Y.bind(n))):z&&U(z.bind(n))}if(F(Ab,d),F(_t,p),F(Bg,f),F(ca,g),F(Fg,m),F(hx,h),F(r3,O),F(n3,w),F(t3,T),F(Xt,b),F(ki,S),F(e3,I),vt(N))if(N.length){const U=e.exposed||(e.exposed={});N.forEach(z=>{Object.defineProperty(U,z,{get:()=>n[z],set:Y=>n[z]=Y})})}else e.exposed||(e.exposed={});C&&e.render===Fo&&(e.render=C),M!=null&&(e.inheritAttrs=M),B&&(e.components=B),P&&(e.directives=P)}function coe(e,t,n=Fo){vt(e)&&(e=wC(e));for(const r in e){const i=e[r];let a;rr(i)?"default"in i?a=He(i.from||r,i.default,!0):a=He(i.from||r):a=He(i),zr(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:l=>a.value=l}):t[r]=a}}function SD(e,t,n){Aa(vt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function c3(e,t,n,r){const i=r.includes(".")?Z8(n,r):()=>n[r];if(Tr(e)){const a=t[e];Gt(a)&&ze(i,a)}else if(Gt(e))ze(i,e.bind(n));else if(rr(e))if(vt(e))e.forEach(a=>c3(a,t,n,r));else{const a=Gt(e.handler)?e.handler.bind(n):t[e.handler];Gt(a)&&ze(i,a,e)}}function yx(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,s=a.get(t);let u;return s?u=s:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(o=>cv(u,o,l,!0)),cv(u,t,l)),rr(t)&&a.set(t,u),u}function cv(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&cv(e,a,n,!0),i&&i.forEach(l=>cv(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=uoe[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const uoe={data:ED,props:CD,emits:CD,methods:Kf,computed:Kf,beforeCreate:Hi,created:Hi,beforeMount:Hi,mounted:Hi,beforeUpdate:Hi,updated:Hi,beforeDestroy:Hi,beforeUnmount:Hi,destroyed:Hi,unmounted:Hi,activated:Hi,deactivated:Hi,errorCaptured:Hi,serverPrefetch:Hi,components:Kf,directives:Kf,watch:poe,provide:ED,inject:doe};function ED(e,t){return t?e?function(){return cr(Gt(e)?e.call(this,this):e,Gt(t)?t.call(this,this):t)}:t:e}function doe(e,t){return Kf(wC(e),wC(t))}function wC(e){if(vt(e)){const t={};for(let n=0;n1)return n&&Gt(t)?t.call(r&&r.proxy):t}}function goe(){return!!(Kr||ci||Zm)}function hoe(e,t,n,r=!1){const i={},a={};iv(a,Nb,1),e.propsDefaults=Object.create(null),d3(e,t,i,a);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:L8(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function _oe(e,t,n,r){const{props:i,attrs:a,vnode:{patchFlag:l}}=e,s=Ut(i),[u]=e.propsOptions;let o=!1;if((r||l>0)&&!(l&16)){if(l&8){const c=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[p,f]=p3(d,t,!0);cr(l,p),f&&s.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!u)return rr(e)&&r.set(e,Wd),Wd;if(vt(a))for(let c=0;c-1,f[1]=m<0||g-1||Pn(f,"default"))&&s.push(d)}}}const o=[l,s];return rr(e)&&r.set(e,o),o}function TD(e){return e[0]!=="$"}function wD(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function xD(e,t){return wD(e)===wD(t)}function OD(e,t){return vt(t)?t.findIndex(n=>xD(n,e)):Gt(t)&&xD(t,e)?0:-1}const f3=e=>e[0]==="_"||e==="$stable",Sx=e=>vt(e)?e.map(Ta):[Ta(e)],voe=(e,t,n)=>{if(t._n)return t;const r=pn((...i)=>Sx(t(...i)),n);return r._c=!1,r},m3=(e,t,n)=>{const r=e._ctx;for(const i in e){if(f3(i))continue;const a=e[i];if(Gt(a))t[i]=voe(i,a,r);else if(a!=null){const l=Sx(a);t[i]=()=>l}}},g3=(e,t)=>{const n=Sx(t);e.slots.default=()=>n},boe=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ut(t),iv(t,"_",n)):m3(t,e.slots={})}else e.slots={},t&&g3(e,t);iv(e.slots,Nb,1)},yoe=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,l=nr;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(cr(i,t),!n&&s===1&&delete i._):(a=!t.$stable,m3(t,i)),l=t}else t&&(g3(e,t),l={default:1});if(a)for(const s in i)!f3(s)&&!(s in l)&&delete i[s]};function uv(e,t,n,r,i=!1){if(vt(e)){e.forEach((p,f)=>uv(p,t&&(vt(t)?t[f]:t),n,r,i));return}if(gu(r)&&!i)return;const a=r.shapeFlag&4?Db(r.component)||r.component.proxy:r.el,l=i?null:a,{i:s,r:u}=e,o=t&&t.r,c=s.refs===nr?s.refs={}:s.refs,d=s.setupState;if(o!=null&&o!==u&&(Tr(o)?(c[o]=null,Pn(d,o)&&(d[o]=null)):zr(o)&&(o.value=null)),Gt(u))sl(u,s,12,[l,c]);else{const p=Tr(u),f=zr(u);if(p||f){const g=()=>{if(e.f){const m=p?Pn(d,u)?d[u]:c[u]:u.value;i?vt(m)&&Qw(m,a):vt(m)?m.includes(a)||m.push(a):p?(c[u]=[a],Pn(d,u)&&(d[u]=c[u])):(u.value=[a],e.k&&(c[e.k]=u.value))}else p?(c[u]=l,Pn(d,u)&&(d[u]=l)):f&&(u.value=l,e.k&&(c[e.k]=l))};l?(g.id=-1,hi(g,n)):g()}}}let Fl=!1;const D_=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",P_=e=>e.nodeType===8;function Soe(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:l,remove:s,insert:u,createComment:o}}=e,c=(v,b)=>{if(!b.hasChildNodes()){n(null,v,b),lv(),b._vnode=v;return}Fl=!1,d(b.firstChild,v,null,null,null),lv(),b._vnode=v,Fl&&console.error("Hydration completed but contains mismatches.")},d=(v,b,y,S,C,w=!1)=>{const T=P_(v)&&v.data==="[",O=()=>m(v,b,y,S,C,T),{type:I,ref:N,shapeFlag:M,patchFlag:B}=b;let P=v.nodeType;b.el=v,B===-2&&(w=!1,b.dynamicChildren=null);let k=null;switch(I){case Vo:P!==3?b.children===""?(u(b.el=i(""),l(v),v),k=v):k=O():(v.data!==b.children&&(Fl=!0,v.data=b.children),k=a(v));break;case Si:P!==8||T?k=O():k=a(v);break;case _u:if(T&&(v=a(v),P=v.nodeType),P===1||P===3){k=v;const D=!b.children.length;for(let F=0;F{w=w||!!b.dynamicChildren;const{type:T,props:O,patchFlag:I,shapeFlag:N,dirs:M}=b,B=T==="input"&&M||T==="option";if(B||I!==-1){if(M&&ls(b,null,y,"created"),O)if(B||!w||I&48)for(const k in O)(B&&k.endsWith("value")||Pg(k)&&!cm(k))&&r(v,k,null,O[k],!1,void 0,y);else O.onClick&&r(v,"onClick",null,O.onClick,!1,void 0,y);let P;if((P=O&&O.onVnodeBeforeMount)&&ta(P,y,b),M&&ls(b,null,y,"beforeMount"),((P=O&&O.onVnodeMounted)||M)&&q8(()=>{P&&ta(P,y,b),M&&ls(b,null,y,"mounted")},S),N&16&&!(O&&(O.innerHTML||O.textContent))){let k=f(v.firstChild,b,v,y,S,C,w);for(;k;){Fl=!0;const D=k;k=k.nextSibling,s(D)}}else N&8&&v.textContent!==b.children&&(Fl=!0,v.textContent=b.children)}return v.nextSibling},f=(v,b,y,S,C,w,T)=>{T=T||!!b.dynamicChildren;const O=b.children,I=O.length;for(let N=0;N{const{slotScopeIds:T}=b;T&&(C=C?C.concat(T):T);const O=l(v),I=f(a(v),b,O,y,S,C,w);return I&&P_(I)&&I.data==="]"?a(b.anchor=I):(Fl=!0,u(b.anchor=o("]"),O,I),I)},m=(v,b,y,S,C,w)=>{if(Fl=!0,b.el=null,w){const I=h(v);for(;;){const N=a(v);if(N&&N!==I)s(N);else break}}const T=a(v),O=l(v);return s(v),n(null,b,O,T,y,S,D_(O),C),T},h=v=>{let b=0;for(;v;)if(v=a(v),v&&P_(v)&&(v.data==="["&&b++,v.data==="]")){if(b===0)return a(v);b--}return v};return[c,d]}const hi=q8;function h3(e){return v3(e)}function _3(e){return v3(e,Soe)}function v3(e,t){const n=_C();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:l,createText:s,createComment:u,setText:o,setElementText:c,parentNode:d,nextSibling:p,setScopeId:f=Fo,insertStaticContent:g}=e,m=(W,J,de,ve=null,he=null,Te=null,Ae=!1,Ne=null,we=!!J.dynamicChildren)=>{if(W===J)return;W&&!Io(W,J)&&(ve=ne(W),X(W,he,Te,!0),W=null),J.patchFlag===-2&&(we=!1,J.dynamicChildren=null);const{type:ge,ref:Me,shapeFlag:ke}=J;switch(ge){case Vo:h(W,J,de,ve);break;case Si:v(W,J,de,ve);break;case _u:W==null&&b(J,de,ve,Ae);break;case tt:B(W,J,de,ve,he,Te,Ae,Ne,we);break;default:ke&1?C(W,J,de,ve,he,Te,Ae,Ne,we):ke&6?P(W,J,de,ve,he,Te,Ae,Ne,we):(ke&64||ke&128)&&ge.process(W,J,de,ve,he,Te,Ae,Ne,we,ue)}Me!=null&&he&&uv(Me,W&&W.ref,Te,J||W,!J)},h=(W,J,de,ve)=>{if(W==null)r(J.el=s(J.children),de,ve);else{const he=J.el=W.el;J.children!==W.children&&o(he,J.children)}},v=(W,J,de,ve)=>{W==null?r(J.el=u(J.children||""),de,ve):J.el=W.el},b=(W,J,de,ve)=>{[W.el,W.anchor]=g(W.children,J,de,ve,W.el,W.anchor)},y=({el:W,anchor:J},de,ve)=>{let he;for(;W&&W!==J;)he=p(W),r(W,de,ve),W=he;r(J,de,ve)},S=({el:W,anchor:J})=>{let de;for(;W&&W!==J;)de=p(W),i(W),W=de;i(J)},C=(W,J,de,ve,he,Te,Ae,Ne,we)=>{Ae=Ae||J.type==="svg",W==null?w(J,de,ve,he,Te,Ae,Ne,we):I(W,J,he,Te,Ae,Ne,we)},w=(W,J,de,ve,he,Te,Ae,Ne)=>{let we,ge;const{type:Me,props:ke,shapeFlag:Ue,transition:xe,dirs:ye}=W;if(we=W.el=l(W.type,Te,ke&&ke.is,ke),Ue&8?c(we,W.children):Ue&16&&O(W.children,we,null,ve,he,Te&&Me!=="foreignObject",Ae,Ne),ye&&ls(W,null,ve,"created"),T(we,W,W.scopeId,Ae,ve),ke){for(const L in ke)L!=="value"&&!cm(L)&&a(we,L,null,ke[L],Te,W.children,ve,he,ee);"value"in ke&&a(we,"value",null,ke.value),(ge=ke.onVnodeBeforeMount)&&ta(ge,ve,W)}ye&&ls(W,null,ve,"beforeMount");const j=(!he||he&&!he.pendingBranch)&&xe&&!xe.persisted;j&&xe.beforeEnter(we),r(we,J,de),((ge=ke&&ke.onVnodeMounted)||j||ye)&&hi(()=>{ge&&ta(ge,ve,W),j&&xe.enter(we),ye&&ls(W,null,ve,"mounted")},he)},T=(W,J,de,ve,he)=>{if(de&&f(W,de),ve)for(let Te=0;Te{for(let ge=we;ge{const Ne=J.el=W.el;let{patchFlag:we,dynamicChildren:ge,dirs:Me}=J;we|=W.patchFlag&16;const ke=W.props||nr,Ue=J.props||nr;let xe;de&&zc(de,!1),(xe=Ue.onVnodeBeforeUpdate)&&ta(xe,de,J,W),Me&&ls(J,W,de,"beforeUpdate"),de&&zc(de,!0);const ye=he&&J.type!=="foreignObject";if(ge?N(W.dynamicChildren,ge,Ne,de,ve,ye,Te):Ae||z(W,J,Ne,null,de,ve,ye,Te,!1),we>0){if(we&16)M(Ne,J,ke,Ue,de,ve,he);else if(we&2&&ke.class!==Ue.class&&a(Ne,"class",null,Ue.class,he),we&4&&a(Ne,"style",ke.style,Ue.style,he),we&8){const j=J.dynamicProps;for(let L=0;L{xe&&ta(xe,de,J,W),Me&&ls(J,W,de,"updated")},ve)},N=(W,J,de,ve,he,Te,Ae)=>{for(let Ne=0;Ne{if(de!==ve){if(de!==nr)for(const Ne in de)!cm(Ne)&&!(Ne in ve)&&a(W,Ne,de[Ne],null,Ae,J.children,he,Te,ee);for(const Ne in ve){if(cm(Ne))continue;const we=ve[Ne],ge=de[Ne];we!==ge&&Ne!=="value"&&a(W,Ne,ge,we,Ae,J.children,he,Te,ee)}"value"in ve&&a(W,"value",de.value,ve.value)}},B=(W,J,de,ve,he,Te,Ae,Ne,we)=>{const ge=J.el=W?W.el:s(""),Me=J.anchor=W?W.anchor:s("");let{patchFlag:ke,dynamicChildren:Ue,slotScopeIds:xe}=J;xe&&(Ne=Ne?Ne.concat(xe):xe),W==null?(r(ge,de,ve),r(Me,de,ve),O(J.children,de,Me,he,Te,Ae,Ne,we)):ke>0&&ke&64&&Ue&&W.dynamicChildren?(N(W.dynamicChildren,Ue,de,he,Te,Ae,Ne),(J.key!=null||he&&J===he.subTree)&&Ex(W,J,!0)):z(W,J,de,Me,he,Te,Ae,Ne,we)},P=(W,J,de,ve,he,Te,Ae,Ne,we)=>{J.slotScopeIds=Ne,W==null?J.shapeFlag&512?he.ctx.activate(J,de,ve,Ae,we):k(J,de,ve,he,Te,Ae,we):D(W,J,we)},k=(W,J,de,ve,he,Te,Ae)=>{const Ne=W.component=C3(W,ve,he);if(Lg(W)&&(Ne.ctx.renderer=ue),w3(Ne),Ne.asyncDep){if(he&&he.registerDep(Ne,F),!W.el){const we=Ne.subTree=x(Si);v(null,we,J,de)}return}F(Ne,W,J,de,he,Te,Ae)},D=(W,J,de)=>{const ve=J.component=W.component;if(Dae(W,J,de))if(ve.asyncDep&&!ve.asyncResolved){U(ve,J,de);return}else ve.next=J,wae(ve.update),ve.update();else J.el=W.el,ve.vnode=J},F=(W,J,de,ve,he,Te,Ae)=>{const Ne=()=>{if(W.isMounted){let{next:Me,bu:ke,u:Ue,parent:xe,vnode:ye}=W,j=Me,L;zc(W,!1),Me?(Me.el=ye.el,U(W,Me,Ae)):Me=ye,ke&&Kd(ke),(L=Me.props&&Me.props.onVnodeBeforeUpdate)&&ta(L,xe,Me,ye),zc(W,!0);const H=h0(W),te=W.subTree;W.subTree=H,m(te,H,d(te.el),ne(te),W,he,Te),Me.el=H.el,j===null&&px(W,H.el),Ue&&hi(Ue,he),(L=Me.props&&Me.props.onVnodeUpdated)&&hi(()=>ta(L,xe,Me,ye),he)}else{let Me;const{el:ke,props:Ue}=J,{bm:xe,m:ye,parent:j}=W,L=gu(J);if(zc(W,!1),xe&&Kd(xe),!L&&(Me=Ue&&Ue.onVnodeBeforeMount)&&ta(Me,j,J),zc(W,!0),ke&&fe){const H=()=>{W.subTree=h0(W),fe(ke,W.subTree,W,he,null)};L?J.type.__asyncLoader().then(()=>!W.isUnmounted&&H()):H()}else{const H=W.subTree=h0(W);m(null,H,de,ve,W,he,Te),J.el=H.el}if(ye&&hi(ye,he),!L&&(Me=Ue&&Ue.onVnodeMounted)){const H=J;hi(()=>ta(Me,j,H),he)}(J.shapeFlag&256||j&&gu(j.vnode)&&j.vnode.shapeFlag&256)&&W.a&&hi(W.a,he),W.isMounted=!0,J=de=ve=null}},we=W.effect=new kg(Ne,()=>wb(ge),W.scope),ge=W.update=()=>we.run();ge.id=W.uid,zc(W,!0),ge()},U=(W,J,de)=>{J.component=W;const ve=W.vnode.props;W.vnode=J,W.next=null,_oe(W,J.props,ve,de),yoe(W,J.children,de),Xp(),hD(),Jp()},z=(W,J,de,ve,he,Te,Ae,Ne,we=!1)=>{const ge=W&&W.children,Me=W?W.shapeFlag:0,ke=J.children,{patchFlag:Ue,shapeFlag:xe}=J;if(Ue>0){if(Ue&128){G(ge,ke,de,ve,he,Te,Ae,Ne,we);return}else if(Ue&256){Y(ge,ke,de,ve,he,Te,Ae,Ne,we);return}}xe&8?(Me&16&&ee(ge,he,Te),ke!==ge&&c(de,ke)):Me&16?xe&16?G(ge,ke,de,ve,he,Te,Ae,Ne,we):ee(ge,he,Te,!0):(Me&8&&c(de,""),xe&16&&O(ke,de,ve,he,Te,Ae,Ne,we))},Y=(W,J,de,ve,he,Te,Ae,Ne,we)=>{W=W||Wd,J=J||Wd;const ge=W.length,Me=J.length,ke=Math.min(ge,Me);let Ue;for(Ue=0;UeMe?ee(W,he,Te,!0,!1,ke):O(J,de,ve,he,Te,Ae,Ne,we,ke)},G=(W,J,de,ve,he,Te,Ae,Ne,we)=>{let ge=0;const Me=J.length;let ke=W.length-1,Ue=Me-1;for(;ge<=ke&&ge<=Ue;){const xe=W[ge],ye=J[ge]=we?Wl(J[ge]):Ta(J[ge]);if(Io(xe,ye))m(xe,ye,de,null,he,Te,Ae,Ne,we);else break;ge++}for(;ge<=ke&&ge<=Ue;){const xe=W[ke],ye=J[Ue]=we?Wl(J[Ue]):Ta(J[Ue]);if(Io(xe,ye))m(xe,ye,de,null,he,Te,Ae,Ne,we);else break;ke--,Ue--}if(ge>ke){if(ge<=Ue){const xe=Ue+1,ye=xeUe)for(;ge<=ke;)X(W[ge],he,Te,!0),ge++;else{const xe=ge,ye=ge,j=new Map;for(ge=ye;ge<=Ue;ge++){const Ze=J[ge]=we?Wl(J[ge]):Ta(J[ge]);Ze.key!=null&&j.set(Ze.key,ge)}let L,H=0;const te=Ue-ye+1;let re=!1,me=0;const Se=new Array(te);for(ge=0;ge=te){X(Ze,he,Te,!0);continue}let We;if(Ze.key!=null)We=j.get(Ze.key);else for(L=ye;L<=Ue;L++)if(Se[L-ye]===0&&Io(Ze,J[L])){We=L;break}We===void 0?X(Ze,he,Te,!0):(Se[We-ye]=ge+1,We>=me?me=We:re=!0,m(Ze,J[We],de,null,he,Te,Ae,Ne,we),H++)}const Ye=re?Eoe(Se):Wd;for(L=Ye.length-1,ge=te-1;ge>=0;ge--){const Ze=ye+ge,We=J[Ze],Je=Ze+1{const{el:Te,type:Ae,transition:Ne,children:we,shapeFlag:ge}=W;if(ge&6){K(W.component.subTree,J,de,ve);return}if(ge&128){W.suspense.move(J,de,ve);return}if(ge&64){Ae.move(W,J,de,ue);return}if(Ae===tt){r(Te,J,de);for(let ke=0;keNe.enter(Te),he);else{const{leave:ke,delayLeave:Ue,afterLeave:xe}=Ne,ye=()=>r(Te,J,de),j=()=>{ke(Te,()=>{ye(),xe&&xe()})};Ue?Ue(Te,ye,j):j()}else r(Te,J,de)},X=(W,J,de,ve=!1,he=!1)=>{const{type:Te,props:Ae,ref:Ne,children:we,dynamicChildren:ge,shapeFlag:Me,patchFlag:ke,dirs:Ue}=W;if(Ne!=null&&uv(Ne,null,de,W,!0),Me&256){J.ctx.deactivate(W);return}const xe=Me&1&&Ue,ye=!gu(W);let j;if(ye&&(j=Ae&&Ae.onVnodeBeforeUnmount)&&ta(j,J,W),Me&6)q(W.component,de,ve);else{if(Me&128){W.suspense.unmount(de,ve);return}xe&&ls(W,null,J,"beforeUnmount"),Me&64?W.type.remove(W,J,de,he,ue,ve):ge&&(Te!==tt||ke>0&&ke&64)?ee(ge,J,de,!1,!0):(Te===tt&&ke&384||!he&&Me&16)&&ee(we,J,de),ve&&ie(W)}(ye&&(j=Ae&&Ae.onVnodeUnmounted)||xe)&&hi(()=>{j&&ta(j,J,W),xe&&ls(W,null,J,"unmounted")},de)},ie=W=>{const{type:J,el:de,anchor:ve,transition:he}=W;if(J===tt){se(de,ve);return}if(J===_u){S(W);return}const Te=()=>{i(de),he&&!he.persisted&&he.afterLeave&&he.afterLeave()};if(W.shapeFlag&1&&he&&!he.persisted){const{leave:Ae,delayLeave:Ne}=he,we=()=>Ae(de,Te);Ne?Ne(W.el,Te,we):we()}else Te()},se=(W,J)=>{let de;for(;W!==J;)de=p(W),i(W),W=de;i(J)},q=(W,J,de)=>{const{bum:ve,scope:he,update:Te,subTree:Ae,um:Ne}=W;ve&&Kd(ve),he.stop(),Te&&(Te.active=!1,X(Ae,W,J,de)),Ne&&hi(Ne,J),hi(()=>{W.isUnmounted=!0},J),J&&J.pendingBranch&&!J.isUnmounted&&W.asyncDep&&!W.asyncResolved&&W.suspenseId===J.pendingId&&(J.deps--,J.deps===0&&J.resolve())},ee=(W,J,de,ve=!1,he=!1,Te=0)=>{for(let Ae=Te;AeW.shapeFlag&6?ne(W.component.subTree):W.shapeFlag&128?W.suspense.next():p(W.anchor||W.el),_e=(W,J,de)=>{W==null?J._vnode&&X(J._vnode,null,null,!0):m(J._vnode||null,W,J,null,null,null,de),hD(),lv(),J._vnode=W},ue={p:m,um:X,m:K,r:ie,mt:k,mc:O,pc:z,pbc:N,n:ne,o:e};let be,fe;return t&&([be,fe]=t(ue)),{render:_e,hydrate:be,createApp:moe(_e,be)}}function zc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ex(e,t,n=!1){const r=e.children,i=t.children;if(vt(r)&&vt(i))for(let a=0;a>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,l=n[a-1];a-- >0;)n[a]=l,l=t[l];return n}const Coe=e=>e.__isTeleport,pm=e=>e&&(e.disabled||e.disabled===""),RD=e=>typeof SVGElement<"u"&&e instanceof SVGElement,OC=(e,t)=>{const n=e&&e.to;return Tr(n)?t?t(n):null:n},Toe={__isTeleport:!0,process(e,t,n,r,i,a,l,s,u,o){const{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:g,createText:m,createComment:h}}=o,v=pm(t.props);let{shapeFlag:b,children:y,dynamicChildren:S}=t;if(e==null){const C=t.el=m(""),w=t.anchor=m("");f(C,n,r),f(w,n,r);const T=t.target=OC(t.props,g),O=t.targetAnchor=m("");T&&(f(O,T),l=l||RD(T));const I=(N,M)=>{b&16&&c(y,N,M,i,a,l,s,u)};v?I(n,w):T&&I(T,O)}else{t.el=e.el;const C=t.anchor=e.anchor,w=t.target=e.target,T=t.targetAnchor=e.targetAnchor,O=pm(e.props),I=O?n:w,N=O?C:T;if(l=l||RD(w),S?(p(e.dynamicChildren,S,I,i,a,l,s),Ex(e,t,!0)):u||d(e,t,I,N,i,a,l,s,!1),v)O||M_(t,n,C,o,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=OC(t.props,g);M&&M_(t,M,null,o,0)}else O&&M_(t,w,T,o,1)}b3(t)},remove(e,t,n,r,{um:i,o:{remove:a}},l){const{shapeFlag:s,children:u,anchor:o,targetAnchor:c,target:d,props:p}=e;if(d&&a(c),(l||!pm(p))&&(a(o),s&16))for(let f=0;f0?ia||Wd:null,y3(),Iu>0&&ia&&ia.push(e),e}function pe(e,t,n,r,i,a){return S3(Ee(e,t,n,r,i,a,!0))}function Rn(e,t,n,r,i){return S3(x(e,t,n,r,i,!0))}function Vr(e){return e?e.__v_isVNode===!0:!1}function Io(e,t){return e.type===t.type&&e.key===t.key}function xoe(e){}const Nb="__vInternal",E3=({key:e})=>e!=null?e:null,_0=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Tr(e)||zr(e)||Gt(e)?{i:ci,r:e,k:t,f:!!n}:e:null);function Ee(e,t=null,n=null,r=0,i=null,a=e===tt?0:1,l=!1,s=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&E3(t),ref:t&&_0(t),scopeId:Ob,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ci};return s?(Cx(u,n),a&128&&e.normalize(u)):n&&(u.shapeFlag|=Tr(n)?8:16),Iu>0&&!l&&ia&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&ia.push(u),u}const x=Ooe;function Ooe(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===i3)&&(e=Si),Vr(e)){const s=Ci(e,t,!0);return n&&Cx(s,n),Iu>0&&!a&&ia&&(s.shapeFlag&6?ia[ia.indexOf(e)]=s:ia.push(s)),s.patchFlag|=-2,s}if(koe(e)&&(e=e.__vccOpts),t){t=Ja(t);let{class:s,style:u}=t;s&&!Tr(s)&&(t.class=Vt(s)),rr(u)&&(ax(u)&&!vt(u)&&(u=cr({},u)),t.style=Ni(u))}const l=Tr(e)?1:W8(e)?128:Coe(e)?64:rr(e)?4:Gt(e)?2:0;return Ee(e,t,n,r,i,l,a,!0)}function Ja(e){return e?ax(e)||Nb in e?cr({},e):e:null}function Ci(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:l}=e,s=t?An(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&E3(s),ref:t&&t.ref?n&&i?vt(i)?i.concat(_0(t)):[i,_0(t)]:_0(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ci(e.ssContent),ssFallback:e.ssFallback&&Ci(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Zn(e=" ",t=0){return x(Vo,null,e,t)}function Roe(e,t){const n=x(_u,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(oe(),Rn(Si,null,e)):x(Si,null,e)}function Ta(e){return e==null||typeof e=="boolean"?x(Si):vt(e)?x(tt,null,e.slice()):typeof e=="object"?Wl(e):x(Vo,null,String(e))}function Wl(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ci(e)}function Cx(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(vt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Cx(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Nb in t)?t._ctx=ci:i===3&&ci&&(ci.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Gt(t)?(t={default:t,_ctx:ci},n=32):(t=String(t),r&64?(n=16,t=[Zn(t)]):n=8);e.children=t,e.shapeFlag|=n}function An(...e){const t={};for(let n=0;nKr||ci;let Tx,fd,ID="__VUE_INSTANCE_SETTERS__";(fd=_C()[ID])||(fd=_C()[ID]=[]),fd.push(e=>Kr=e),Tx=e=>{fd.length>1?fd.forEach(t=>t(e)):fd[0](e)};const _c=e=>{Tx(e),e.scope.on()},cc=()=>{Kr&&Kr.scope.off(),Tx(null)};function T3(e){return e.vnode.shapeFlag&4}let Cp=!1;function w3(e,t=!1){Cp=t;const{props:n,children:r}=e.vnode,i=T3(e);hoe(e,n,i,t),boe(e,r);const a=i?Noe(e,t):void 0;return Cp=!1,a}function Noe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ox(new Proxy(e.ctx,CC));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?O3(e):null;_c(e),Xp();const a=sl(r,e,0,[e.props,i]);if(Jp(),cc(),Xw(a)){if(a.then(cc,cc),t)return a.then(l=>{IC(e,l,t)}).catch(l=>{Uu(l,e,0)});e.asyncDep=a}else IC(e,a,t)}else x3(e,t)}function IC(e,t,n){Gt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:rr(t)&&(e.setupState=cx(t)),x3(e,n)}let dv,AC;function Doe(e){dv=e,AC=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,qae))}}const Poe=()=>!dv;function x3(e,t,n){const r=e.type;if(!e.render){if(!t&&dv&&!r.render){const i=r.template||yx(e).template;if(i){const{isCustomElement:a,compilerOptions:l}=e.appContext.config,{delimiters:s,compilerOptions:u}=r,o=cr(cr({isCustomElement:a,delimiters:s},l),u);r.render=dv(i,o)}}e.render=r.render||Fo,AC&&AC(e)}_c(e),Xp(),loe(e),Jp(),cc()}function Moe(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return oa(e,"get","$attrs"),t[n]}}))}function O3(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Moe(e)},slots:e.slots,emit:e.emit,expose:t}}function Db(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(cx(ox(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dm)return dm[n](e)},has(t,n){return n in t||n in dm}}))}function NC(e,t=!0){return Gt(e)?e.displayName||e.name:e.name||t&&e.__name}function koe(e){return Gt(e)&&"__vccOpts"in e}const $=(e,t)=>yae(e,t,Cp);function dl(e,t,n){const r=arguments.length;return r===2?rr(t)&&!vt(t)?Vr(t)?x(e,null,[t]):x(e,t):x(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vr(n)&&(n=[n]),x(e,t,n))}const R3=Symbol.for("v-scx"),I3=()=>He(R3);function $oe(){}function Loe(e,t,n,r){const i=n[r];if(i&&A3(i,e))return i;const a=t();return a.memo=e.slice(),n[r]=a}function A3(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&ia&&ia.push(e),!0}const N3="3.3.4",Foe={createComponentInstance:C3,setupComponent:w3,renderComponentRoot:h0,setCurrentRenderingInstance:Wm,isVNode:Vr,normalizeVNode:Ta},Boe=Foe,Uoe=null,Hoe=null,zoe="http://www.w3.org/2000/svg",eu=typeof document<"u"?document:null,AD=eu&&eu.createElement("template"),Voe={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?eu.createElementNS(zoe,e):eu.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>eu.createTextNode(e),createComment:e=>eu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>eu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){const l=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{AD.innerHTML=r?`${e}`:e;const s=AD.content;if(r){const u=s.firstChild;for(;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Goe(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Yoe(e,t,n){const r=e.style,i=Tr(n);if(n&&!i){if(t&&!Tr(t))for(const a in t)n[a]==null&&DC(r,a,"");for(const a in n)DC(r,a,n[a])}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const ND=/\s*!important$/;function DC(e,t,n){if(vt(n))n.forEach(r=>DC(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=joe(e,t);ND.test(n)?e.setProperty(io(r),n.replace(ND,""),"important"):e[r]=n}}const DD=["Webkit","Moz","ms"],lE={};function joe(e,t){const n=lE[t];if(n)return n;let r=aa(t);if(r!=="filter"&&r in e)return lE[t]=r;r=Mg(r);for(let i=0;icE||(Xoe.then(()=>cE=0),cE=Date.now());function ese(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Aa(tse(r,n.value),t,5,[r])};return n.value=e,n.attached=Joe(),n}function tse(e,t){if(vt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const kD=/^on[a-z]/,nse=(e,t,n,r,i=!1,a,l,s,u)=>{t==="class"?Goe(e,r,i):t==="style"?Yoe(e,n,r):Pg(t)?Zw(t)||Zoe(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rse(e,t,r,i))?qoe(e,t,r,a,l,s,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Woe(e,t,r,i))};function rse(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&kD.test(t)&&Gt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||kD.test(t)&&Tr(n)?!1:t in e}function D3(e,t){const n=Ce(e);class r extends Pb{constructor(a){super(n,a,t)}}return r.def=n,r}const ise=e=>D3(e,W3),ase=typeof HTMLElement<"u"?HTMLElement:class{};class Pb extends ase{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,sn(()=>{this._connected||(pl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}).observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:a,styles:l}=r;let s;if(a&&!vt(a))for(const u in a){const o=a[u];(o===Number||o&&o.type===Number)&&(u in this._props&&(this._props[u]=ov(this._props[u])),(s||(s=Object.create(null)))[aa(u)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(l),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=vt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(aa))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(a){this._setProp(i,a)}})}_setAttr(t){let n=this.getAttribute(t);const r=aa(t);this._numberProps&&this._numberProps[r]&&(n=ov(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(io(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(io(t),n+""):n||this.removeAttribute(io(t))))}_update(){pl(this._createVNode(),this.shadowRoot)}_createVNode(){const t=x(this._def,cr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(a,l)=>{this.dispatchEvent(new CustomEvent(a,{detail:l}))};n.emit=(a,...l)=>{r(a,l),io(a)!==a&&r(io(a),l)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof Pb){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function ose(e="$style"){{const t=hr();if(!t)return nr;const n=t.type.__cssModules;if(!n)return nr;const r=n[e];return r||nr}}function sse(e){const t=hr();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>MC(a,i))},r=()=>{const i=e(t.proxy);PC(t.subTree,i),n(i)};K8(r),_t(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),ki(()=>i.disconnect())})}function PC(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{PC(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)MC(e.el,t);else if(e.type===tt)e.children.forEach(n=>PC(n,t));else if(e.type===_u){let{el:n,anchor:r}=e;for(;n&&(MC(n,t),n!==r);)n=n.nextSibling}}function MC(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Bl="transition",Af="animation",Ti=(e,{slots:t})=>dl(Q8,M3(e),t);Ti.displayName="Transition";const P3={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},lse=Ti.props=cr({},gx,P3),Vc=(e,t=[])=>{vt(e)?e.forEach(n=>n(...t)):e&&e(...t)},$D=e=>e?vt(e)?e.some(t=>t.length>1):e.length>1:!1;function M3(e){const t={};for(const B in e)B in P3||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=a,appearActiveClass:o=l,appearToClass:c=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=cse(i),m=g&&g[0],h=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:S,onLeaveCancelled:C,onBeforeAppear:w=v,onAppear:T=b,onAppearCancelled:O=y}=t,I=(B,P,k)=>{zl(B,P?c:s),zl(B,P?o:l),k&&k()},N=(B,P)=>{B._isLeaving=!1,zl(B,d),zl(B,f),zl(B,p),P&&P()},M=B=>(P,k)=>{const D=B?T:b,F=()=>I(P,B,k);Vc(D,[P,F]),LD(()=>{zl(P,B?u:a),Vs(P,B?c:s),$D(D)||FD(P,r,m,F)})};return cr(t,{onBeforeEnter(B){Vc(v,[B]),Vs(B,a),Vs(B,l)},onBeforeAppear(B){Vc(w,[B]),Vs(B,u),Vs(B,o)},onEnter:M(!1),onAppear:M(!0),onLeave(B,P){B._isLeaving=!0;const k=()=>N(B,P);Vs(B,d),$3(),Vs(B,p),LD(()=>{!B._isLeaving||(zl(B,d),Vs(B,f),$D(S)||FD(B,r,h,k))}),Vc(S,[B,k])},onEnterCancelled(B){I(B,!1),Vc(y,[B])},onAppearCancelled(B){I(B,!0),Vc(O,[B])},onLeaveCancelled(B){N(B),Vc(C,[B])}})}function cse(e){if(e==null)return null;if(rr(e))return[uE(e.enter),uE(e.leave)];{const t=uE(e);return[t,t]}}function uE(e){return ov(e)}function Vs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function zl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function LD(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let use=0;function FD(e,t,n,r){const i=e._endId=++use,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:l,timeout:s,propCount:u}=k3(e,t);if(!l)return r();const o=l+"end";let c=0;const d=()=>{e.removeEventListener(o,p),a()},p=f=>{f.target===e&&++c>=u&&d()};setTimeout(()=>{c(n[g]||"").split(", "),i=r(`${Bl}Delay`),a=r(`${Bl}Duration`),l=BD(i,a),s=r(`${Af}Delay`),u=r(`${Af}Duration`),o=BD(s,u);let c=null,d=0,p=0;t===Bl?l>0&&(c=Bl,d=l,p=a.length):t===Af?o>0&&(c=Af,d=o,p=u.length):(d=Math.max(l,o),c=d>0?l>o?Bl:Af:null,p=c?c===Bl?a.length:u.length:0);const f=c===Bl&&/\b(transform|all)(,|$)/.test(r(`${Bl}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function BD(e,t){for(;e.lengthUD(n)+UD(e[r])))}function UD(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function $3(){return document.body.offsetHeight}const L3=new WeakMap,F3=new WeakMap,B3={name:"TransitionGroup",props:cr({},lse,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=hr(),r=mx();let i,a;return ca(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!gse(i[0].el,n.vnode.el,l))return;i.forEach(pse),i.forEach(fse);const s=i.filter(mse);$3(),s.forEach(u=>{const o=u.el,c=o.style;Vs(o,l),c.transform=c.webkitTransform=c.transitionDuration="";const d=o._moveCb=p=>{p&&p.target!==o||(!p||/transform$/.test(p.propertyName))&&(o.removeEventListener("transitionend",d),o._moveCb=null,zl(o,l))};o.addEventListener("transitionend",d)})}),()=>{const l=Ut(e),s=M3(l);let u=l.tag||tt;i=a,a=t.default?Rb(t.default()):[];for(let o=0;odelete e.mode;B3.props;const Hg=B3;function pse(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function fse(e){F3.set(e,e.el.getBoundingClientRect())}function mse(e){const t=L3.get(e),n=F3.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${i}px)`,a.transitionDuration="0s",e}}function gse(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(l=>{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=k3(r);return i.removeChild(r),a}const vc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return vt(t)?n=>Kd(t,n):t};function hse(e){e.target.composing=!0}function HD(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Au={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=vc(i);const a=r||i.props&&i.props.type==="number";tl(e,t?"change":"input",l=>{if(l.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=av(s)),e._assign(s)}),n&&tl(e,"change",()=>{e.value=e.value.trim()}),t||(tl(e,"compositionstart",hse),tl(e,"compositionend",HD),tl(e,"change",HD))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},a){if(e._assign=vc(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&av(e.value)===t))return;const l=t==null?"":t;e.value!==l&&(e.value=l)}},wx={deep:!0,created(e,t,n){e._assign=vc(n),tl(e,"change",()=>{const r=e._modelValue,i=Tp(e),a=e.checked,l=e._assign;if(vt(r)){const s=bb(r,i),u=s!==-1;if(a&&!u)l(r.concat(i));else if(!a&&u){const o=[...r];o.splice(s,1),l(o)}}else if(Bu(r)){const s=new Set(r);a?s.add(i):s.delete(i),l(s)}else l(H3(e,a))})},mounted:zD,beforeUpdate(e,t,n){e._assign=vc(n),zD(e,t,n)}};function zD(e,{value:t,oldValue:n},r){e._modelValue=t,vt(t)?e.checked=bb(t,r.props.value)>-1:Bu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=gc(t,H3(e,!0)))}const xx={created(e,{value:t},n){e.checked=gc(t,n.props.value),e._assign=vc(n),tl(e,"change",()=>{e._assign(Tp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=vc(r),t!==n&&(e.checked=gc(t,r.props.value))}},U3={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Bu(t);tl(e,"change",()=>{const a=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?av(Tp(l)):Tp(l));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=vc(r)},mounted(e,{value:t}){VD(e,t)},beforeUpdate(e,t,n){e._assign=vc(n)},updated(e,{value:t}){VD(e,t)}};function VD(e,t){const n=e.multiple;if(!(n&&!vt(t)&&!Bu(t))){for(let r=0,i=e.options.length;r-1:a.selected=t.has(l);else if(gc(Tp(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Tp(e){return"_value"in e?e._value:e.value}function H3(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const z3={created(e,t,n){k_(e,t,n,null,"created")},mounted(e,t,n){k_(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){k_(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){k_(e,t,n,r,"updated")}};function V3(e,t){switch(e){case"SELECT":return U3;case"TEXTAREA":return Au;default:switch(t){case"checkbox":return wx;case"radio":return xx;default:return Au}}}function k_(e,t,n,r,i){const l=V3(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}function _se(){Au.getSSRProps=({value:e})=>({value:e}),xx.getSSRProps=({value:e},t)=>{if(t.props&&gc(t.props.value,e))return{checked:!0}},wx.getSSRProps=({value:e},t)=>{if(vt(e)){if(t.props&&bb(e,t.props.value)>-1)return{checked:!0}}else if(Bu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},z3.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=V3(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const vse=["ctrl","shift","alt","meta"],bse={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>vse.some(n=>e[`${n}Key`]&&!t.includes(n))},Qm=(e,t)=>(n,...r)=>{for(let i=0;in=>{if(!("key"in n))return;const r=io(n.key);if(t.some(i=>i===r||yse[i]===r))return e(n)},Pa={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Nf(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Nf(e,!0),r.enter(e)):r.leave(e,()=>{Nf(e,!1)}):Nf(e,t))},beforeUnmount(e,{value:t}){Nf(e,t)}};function Nf(e,t){e.style.display=t?e._vod:"none"}function Sse(){Pa.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const G3=cr({patchProp:nse},Voe);let mm,GD=!1;function Y3(){return mm||(mm=h3(G3))}function j3(){return mm=GD?mm:_3(G3),GD=!0,mm}const pl=(...e)=>{Y3().render(...e)},W3=(...e)=>{j3().hydrate(...e)},q3=(...e)=>{const t=Y3().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=K3(r);if(!i)return;const a=t._component;!Gt(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const l=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t},Ese=(...e)=>{const t=j3().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=K3(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function K3(e){return Tr(e)?document.querySelector(e):e}let YD=!1;const Cse=()=>{YD||(YD=!0,_se(),Sse())},Tse=()=>{},wse=Object.freeze(Object.defineProperty({__proto__:null,compile:Tse,EffectScope:ex,ReactiveEffect:kg,customRef:hae,effect:$ie,effectScope:Pie,getCurrentScope:tx,isProxy:ax,isReactive:mu,isReadonly:Ou,isRef:zr,isShallow:Vm,markRaw:ox,onScopeDispose:T8,proxyRefs:cx,reactive:un,readonly:ix,ref:Oe,shallowReactive:L8,shallowReadonly:uae,shallowRef:Pe,stop:Lie,toRaw:Ut,toRef:xt,toRefs:Zd,toValue:fae,triggerRef:pae,unref:je,camelize:aa,capitalize:Mg,normalizeClass:Vt,normalizeProps:Xa,normalizeStyle:Ni,toDisplayString:Qt,toHandlerKey:um,BaseTransition:Q8,BaseTransitionPropsValidators:gx,Comment:Si,Fragment:tt,KeepAlive:Yae,Static:_u,Suspense:Mae,Teleport:Ug,Text:Vo,assertNumber:Eae,callWithAsyncErrorHandling:Aa,callWithErrorHandling:sl,cloneVNode:Ci,compatUtils:Hoe,computed:$,createBlock:Rn,createCommentVNode:ft,createElementBlock:pe,createElementVNode:Ee,createHydrationRenderer:_3,createPropsRestProxy:ooe,createRenderer:h3,createSlots:bx,createStaticVNode:Roe,createTextVNode:Zn,createVNode:x,defineAsyncComponent:Vae,defineComponent:Ce,defineEmits:Zae,defineExpose:Qae,defineModel:eoe,defineOptions:Xae,defineProps:Kae,defineSlots:Jae,get devtools(){return xd},getCurrentInstance:hr,getTransitionRawChildren:Rb,guardReactiveProps:Ja,h:dl,handleError:Uu,hasInjectionContext:goe,initCustomFormatter:$oe,inject:He,isMemoSame:A3,isRuntimeOnly:Poe,isVNode:Vr,mergeDefaults:ioe,mergeModels:aoe,mergeProps:An,nextTick:sn,onActivated:Fg,onBeforeMount:Ab,onBeforeUnmount:Xt,onBeforeUpdate:Bg,onDeactivated:hx,onErrorCaptured:r3,onMounted:_t,onRenderTracked:n3,onRenderTriggered:t3,onServerPrefetch:e3,onUnmounted:ki,onUpdated:ca,openBlock:oe,popScopeId:j8,provide:Dt,pushScopeId:Y8,queuePostFlushCb:dx,registerRuntimeCompiler:Doe,renderList:Di,renderSlot:Et,resolveComponent:Jd,resolveDirective:ef,resolveDynamicComponent:hu,resolveFilter:Uoe,resolveTransitionHooks:Ep,setBlockTracking:RC,setDevtoolsHook:V8,setTransitionHooks:Ru,ssrContextKey:R3,ssrUtils:Boe,toHandlers:o3,transformVNodeArgs:xoe,useAttrs:s3,useModel:roe,useSSRContext:I3,useSlots:noe,useTransitionState:mx,version:N3,warn:Sae,watch:ze,watchEffect:Rt,watchPostEffect:K8,watchSyncEffect:Uae,withAsyncContext:soe,withCtx:pn,withDefaults:toe,withDirectives:mr,withMemo:Loe,withScopeId:Rae,Transition:Ti,TransitionGroup:Hg,VueElement:Pb,createApp:q3,createSSRApp:Ese,defineCustomElement:D3,defineSSRCustomElement:ise,hydrate:W3,initDirectivesForSSR:Cse,render:pl,useCssModule:ose,useCssVars:sse,vModelCheckbox:wx,vModelDynamic:z3,vModelRadio:xx,vModelSelect:U3,vModelText:Au,vShow:Pa,withKeys:Ox,withModifiers:Qm},Symbol.toStringTag,{value:"Module"}));var $n;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const a={};for(const l of i)a[l]=l;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),l={};for(const s of a)l[s]=i[s];return e.objectValues(l)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const l in i)Object.prototype.hasOwnProperty.call(i,l)&&a.push(l);return a},e.find=(i,a)=>{for(const l of i)if(a(l))return l},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(l=>typeof l=="string"?`'${l}'`:l).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})($n||($n={}));var kC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(kC||(kC={}));const mt=$n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Xl=e=>{switch(typeof e){case"undefined":return mt.undefined;case"string":return mt.string;case"number":return isNaN(e)?mt.nan:mt.number;case"boolean":return mt.boolean;case"function":return mt.function;case"bigint":return mt.bigint;case"symbol":return mt.symbol;case"object":return Array.isArray(e)?mt.array:e===null?mt.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?mt.promise:typeof Map<"u"&&e instanceof Map?mt.map:typeof Set<"u"&&e instanceof Set?mt.set:typeof Date<"u"&&e instanceof Date?mt.date:mt.object;default:return mt.unknown}},ot=$n.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),xse=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Bo extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(a){return a.message},r={_errors:[]},i=a=>{for(const l of a.issues)if(l.code==="invalid_union")l.unionErrors.map(i);else if(l.code==="invalid_return_type")i(l.returnTypeError);else if(l.code==="invalid_arguments")i(l.argumentsError);else if(l.path.length===0)r._errors.push(n(l));else{let s=r,u=0;for(;un.message){const n={},r=[];for(const i of this.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Bo.create=e=>new Bo(e);const Xm=(e,t)=>{let n;switch(e.code){case ot.invalid_type:e.received===mt.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ot.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,$n.jsonStringifyReplacer)}`;break;case ot.unrecognized_keys:n=`Unrecognized key(s) in object: ${$n.joinValues(e.keys,", ")}`;break;case ot.invalid_union:n="Invalid input";break;case ot.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${$n.joinValues(e.options)}`;break;case ot.invalid_enum_value:n=`Invalid enum value. Expected ${$n.joinValues(e.options)}, received '${e.received}'`;break;case ot.invalid_arguments:n="Invalid function arguments";break;case ot.invalid_return_type:n="Invalid function return type";break;case ot.invalid_date:n="Invalid date";break;case ot.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:$n.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ot.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ot.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ot.custom:n="Invalid input";break;case ot.invalid_intersection_types:n="Intersection results could not be merged";break;case ot.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ot.not_finite:n="Number must be finite";break;default:n=t.defaultError,$n.assertNever(e)}return{message:n}};let Z3=Xm;function Ose(e){Z3=e}function pv(){return Z3}const fv=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],l={...i,path:a};let s="";const u=r.filter(o=>!!o).slice().reverse();for(const o of u)s=o(l,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}},Rse=[];function ht(e,t){const n=fv({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,pv(),Xm].filter(r=>!!r)});e.common.issues.push(n)}class Pi{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return rn;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n)r.push({key:await i.key,value:await i.value});return Pi.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:a,value:l}=i;if(a.status==="aborted"||l.status==="aborted")return rn;a.status==="dirty"&&t.dirty(),l.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof l.value<"u"||i.alwaysSet)&&(r[a.value]=l.value)}return{status:t.value,value:r}}}const rn=Object.freeze({status:"aborted"}),Q3=e=>({status:"dirty",value:e}),ji=e=>({status:"valid",value:e}),$C=e=>e.status==="aborted",LC=e=>e.status==="dirty",Jm=e=>e.status==="valid",mv=e=>typeof Promise<"u"&&e instanceof Promise;var It;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(It||(It={}));class _s{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const jD=(e,t)=>{if(Jm(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Bo(e.common.issues);return this._error=n,this._error}}};function ln(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(l,s)=>l.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:r!=null?r:s.defaultError}:{message:n!=null?n:s.defaultError},description:i}}class fn{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Xl(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Xl(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Pi,ctx:{common:t.parent.common,data:t.data,parsedType:Xl(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(mv(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const i={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Xl(t)},a=this._parseSync({data:t,path:i.path,parent:i});return jD(i,a)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Xl(t)},i=this._parse({data:t,path:r.path,parent:r}),a=await(mv(i)?i:Promise.resolve(i));return jD(r,a)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,a)=>{const l=t(i),s=()=>a.addIssue({code:ot.custom,...r(i)});return typeof Promise<"u"&&l instanceof Promise?l.then(u=>u?!0:(s(),!1)):l?!0:(s(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new Go({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ll.create(this,this._def)}nullable(){return Pu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Uo.create(this,this._def)}promise(){return xp.create(this,this._def)}or(t){return rg.create([this,t],this._def)}and(t){return ig.create(this,t,this._def)}transform(t){return new Go({...ln(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new cg({...ln(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new J3({typeName:Lt.ZodBranded,type:this,...ln(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new vv({...ln(this._def),innerType:this,catchValue:n,typeName:Lt.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return zg.create(this,t)}readonly(){return yv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Ise=/^c[^\s-]{8,}$/i,Ase=/^[a-z][a-z0-9]*$/,Nse=/^[0-9A-HJKMNP-TV-Z]{26}$/,Dse=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Pse=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Mse="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let dE;const kse=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,$se=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Lse=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Fse(e,t){return!!((t==="v4"||!t)&&kse.test(e)||(t==="v6"||!t)&&$se.test(e))}class Do extends fn{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==mt.string){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.string,received:a.parsedType}),rn}const r=new Pi;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.lengtha.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:ot.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const l=t.data.length>a.value,s=t.data.lengtht.test(i),{validation:n,code:ot.invalid_string,...It.errToObj(r)})}_addCheck(t){return new Do({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...It.errToObj(t)})}url(t){return this._addCheck({kind:"url",...It.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...It.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...It.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...It.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...It.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...It.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...It.errToObj(t)})}datetime(t){var n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,...It.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...It.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...It.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...It.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...It.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...It.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...It.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...It.errToObj(n)})}nonempty(t){return this.min(1,It.errToObj(t))}trim(){return new Do({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Do({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Do({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new Do({checks:[],typeName:Lt.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...ln(e)})};function Bse(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,a=parseInt(e.toFixed(i).replace(".","")),l=parseInt(t.toFixed(i).replace(".",""));return a%l/Math.pow(10,i)}class bc extends fn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==mt.number){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.number,received:a.parsedType}),rn}let r;const i=new Pi;for(const a of this._def.checks)a.kind==="int"?$n.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.dataa.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?Bse(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.not_finite,message:a.message}),i.dirty()):$n.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,It.toString(n))}gt(t,n){return this.setLimit("min",t,!1,It.toString(n))}lte(t,n){return this.setLimit("max",t,!0,It.toString(n))}lt(t,n){return this.setLimit("max",t,!1,It.toString(n))}setLimit(t,n,r,i){return new bc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:It.toString(i)}]})}_addCheck(t){return new bc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:It.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:It.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:It.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:It.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:It.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:It.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:It.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:It.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:It.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&$n.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew bc({checks:[],typeName:Lt.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...ln(e)});class yc extends fn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==mt.bigint){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.bigint,received:a.parsedType}),rn}let r;const i=new Pi;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.dataa.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):$n.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,It.toString(n))}gt(t,n){return this.setLimit("min",t,!1,It.toString(n))}lte(t,n){return this.setLimit("max",t,!0,It.toString(n))}lt(t,n){return this.setLimit("max",t,!1,It.toString(n))}setLimit(t,n,r,i){return new yc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:It.toString(i)}]})}_addCheck(t){return new yc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:It.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:It.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:It.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:It.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:It.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new yc({checks:[],typeName:Lt.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...ln(e)})};class eg extends fn{_parse(t){if(this._def.coerce&&(t.data=Boolean(t.data)),this._getType(t)!==mt.boolean){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.boolean,received:r.parsedType}),rn}return ji(t.data)}}eg.create=e=>new eg({typeName:Lt.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...ln(e)});class Nu extends fn{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==mt.date){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.date,received:a.parsedType}),rn}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_date}),rn}const r=new Pi;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()a.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:ot.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):$n.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Nu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:It.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:It.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew Nu({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Lt.ZodDate,...ln(e)});class gv extends fn{_parse(t){if(this._getType(t)!==mt.symbol){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.symbol,received:r.parsedType}),rn}return ji(t.data)}}gv.create=e=>new gv({typeName:Lt.ZodSymbol,...ln(e)});class tg extends fn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.undefined,received:r.parsedType}),rn}return ji(t.data)}}tg.create=e=>new tg({typeName:Lt.ZodUndefined,...ln(e)});class ng extends fn{_parse(t){if(this._getType(t)!==mt.null){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.null,received:r.parsedType}),rn}return ji(t.data)}}ng.create=e=>new ng({typeName:Lt.ZodNull,...ln(e)});class wp extends fn{constructor(){super(...arguments),this._any=!0}_parse(t){return ji(t.data)}}wp.create=e=>new wp({typeName:Lt.ZodAny,...ln(e)});class vu extends fn{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ji(t.data)}}vu.create=e=>new vu({typeName:Lt.ZodUnknown,...ln(e)});class fl extends fn{_parse(t){const n=this._getOrReturnCtx(t);return ht(n,{code:ot.invalid_type,expected:mt.never,received:n.parsedType}),rn}}fl.create=e=>new fl({typeName:Lt.ZodNever,...ln(e)});class hv extends fn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.void,received:r.parsedType}),rn}return ji(t.data)}}hv.create=e=>new hv({typeName:Lt.ZodVoid,...ln(e)});class Uo extends fn{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==mt.array)return ht(n,{code:ot.invalid_type,expected:mt.array,received:n.parsedType}),rn;if(i.exactLength!==null){const l=n.data.length>i.exactLength.value,s=n.data.lengthi.maxLength.value&&(ht(n,{code:ot.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((l,s)=>i.type._parseAsync(new _s(n,l,n.path,s)))).then(l=>Pi.mergeArray(r,l));const a=[...n.data].map((l,s)=>i.type._parseSync(new _s(n,l,n.path,s)));return Pi.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new Uo({...this._def,minLength:{value:t,message:It.toString(n)}})}max(t,n){return new Uo({...this._def,maxLength:{value:t,message:It.toString(n)}})}length(t,n){return new Uo({...this._def,exactLength:{value:t,message:It.toString(n)}})}nonempty(t){return this.min(1,t)}}Uo.create=(e,t)=>new Uo({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...ln(t)});function Od(e){if(e instanceof Or){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ll.create(Od(r))}return new Or({...e._def,shape:()=>t})}else return e instanceof Uo?new Uo({...e._def,type:Od(e.element)}):e instanceof ll?ll.create(Od(e.unwrap())):e instanceof Pu?Pu.create(Od(e.unwrap())):e instanceof vs?vs.create(e.items.map(t=>Od(t))):e}class Or extends fn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=$n.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==mt.object){const o=this._getOrReturnCtx(t);return ht(o,{code:ot.invalid_type,expected:mt.object,received:o.parsedType}),rn}const{status:r,ctx:i}=this._processInputParams(t),{shape:a,keys:l}=this._getCached(),s=[];if(!(this._def.catchall instanceof fl&&this._def.unknownKeys==="strip"))for(const o in i.data)l.includes(o)||s.push(o);const u=[];for(const o of l){const c=a[o],d=i.data[o];u.push({key:{status:"valid",value:o},value:c._parse(new _s(i,d,i.path,o)),alwaysSet:o in i.data})}if(this._def.catchall instanceof fl){const o=this._def.unknownKeys;if(o==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(o==="strict")s.length>0&&(ht(i,{code:ot.unrecognized_keys,keys:s}),r.dirty());else if(o!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const o=this._def.catchall;for(const c of s){const d=i.data[c];u.push({key:{status:"valid",value:c},value:o._parse(new _s(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const o=[];for(const c of u){const d=await c.key;o.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return o}).then(o=>Pi.mergeObjectSync(r,o)):Pi.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return It.errToObj,new Or({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,a,l,s;const u=(l=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,n,r).message)!==null&&l!==void 0?l:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=It.errToObj(t).message)!==null&&s!==void 0?s:u}:{message:u}}}:{}})}strip(){return new Or({...this._def,unknownKeys:"strip"})}passthrough(){return new Or({...this._def,unknownKeys:"passthrough"})}extend(t){return new Or({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Or({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Lt.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Or({...this._def,catchall:t})}pick(t){const n={};return $n.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Or({...this._def,shape:()=>n})}omit(t){const n={};return $n.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new Or({...this._def,shape:()=>n})}deepPartial(){return Od(this)}partial(t){const n={};return $n.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new Or({...this._def,shape:()=>n})}required(t){const n={};return $n.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof ll;)a=a._def.innerType;n[r]=a}}),new Or({...this._def,shape:()=>n})}keyof(){return X3($n.objectKeys(this.shape))}}Or.create=(e,t)=>new Or({shape:()=>e,unknownKeys:"strip",catchall:fl.create(),typeName:Lt.ZodObject,...ln(t)});Or.strictCreate=(e,t)=>new Or({shape:()=>e,unknownKeys:"strict",catchall:fl.create(),typeName:Lt.ZodObject,...ln(t)});Or.lazycreate=(e,t)=>new Or({shape:e,unknownKeys:"strip",catchall:fl.create(),typeName:Lt.ZodObject,...ln(t)});class rg extends fn{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const l=a.map(s=>new Bo(s.ctx.common.issues));return ht(n,{code:ot.invalid_union,unionErrors:l}),rn}if(n.common.async)return Promise.all(r.map(async a=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(i);{let a;const l=[];for(const u of r){const o={...n,common:{...n.common,issues:[]},parent:null},c=u._parseSync({data:n.data,path:n.path,parent:o});if(c.status==="valid")return c;c.status==="dirty"&&!a&&(a={result:c,ctx:o}),o.common.issues.length&&l.push(o.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const s=l.map(u=>new Bo(u));return ht(n,{code:ot.invalid_union,unionErrors:s}),rn}}get options(){return this._def.options}}rg.create=(e,t)=>new rg({options:e,typeName:Lt.ZodUnion,...ln(t)});const v0=e=>e instanceof og?v0(e.schema):e instanceof Go?v0(e.innerType()):e instanceof sg?[e.value]:e instanceof Sc?e.options:e instanceof lg?Object.keys(e.enum):e instanceof cg?v0(e._def.innerType):e instanceof tg?[void 0]:e instanceof ng?[null]:null;class Mb extends fn{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.object)return ht(n,{code:ot.invalid_type,expected:mt.object,received:n.parsedType}),rn;const r=this.discriminator,i=n.data[r],a=this.optionsMap.get(i);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(ht(n,{code:ot.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),rn)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const i=new Map;for(const a of n){const l=v0(a.shape[t]);if(!l)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of l){if(i.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);i.set(s,a)}}return new Mb({typeName:Lt.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...ln(r)})}}function FC(e,t){const n=Xl(e),r=Xl(t);if(e===t)return{valid:!0,data:e};if(n===mt.object&&r===mt.object){const i=$n.objectKeys(t),a=$n.objectKeys(e).filter(s=>i.indexOf(s)!==-1),l={...e,...t};for(const s of a){const u=FC(e[s],t[s]);if(!u.valid)return{valid:!1};l[s]=u.data}return{valid:!0,data:l}}else if(n===mt.array&&r===mt.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a{if($C(a)||$C(l))return rn;const s=FC(a.value,l.value);return s.valid?((LC(a)||LC(l))&&n.dirty(),{status:n.value,value:s.data}):(ht(r,{code:ot.invalid_intersection_types}),rn)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,l])=>i(a,l)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ig.create=(e,t,n)=>new ig({left:e,right:t,typeName:Lt.ZodIntersection,...ln(n)});class vs extends fn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.array)return ht(r,{code:ot.invalid_type,expected:mt.array,received:r.parsedType}),rn;if(r.data.lengththis._def.items.length&&(ht(r,{code:ot.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((l,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new _s(r,l,r.path,s)):null}).filter(l=>!!l);return r.common.async?Promise.all(a).then(l=>Pi.mergeArray(n,l)):Pi.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new vs({...this._def,rest:t})}}vs.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new vs({items:e,typeName:Lt.ZodTuple,rest:null,...ln(t)})};class ag extends fn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.object)return ht(r,{code:ot.invalid_type,expected:mt.object,received:r.parsedType}),rn;const i=[],a=this._def.keyType,l=this._def.valueType;for(const s in r.data)i.push({key:a._parse(new _s(r,s,r.path,s)),value:l._parse(new _s(r,r.data[s],r.path,s))});return r.common.async?Pi.mergeObjectAsync(n,i):Pi.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof fn?new ag({keyType:t,valueType:n,typeName:Lt.ZodRecord,...ln(r)}):new ag({keyType:Do.create(),valueType:t,typeName:Lt.ZodRecord,...ln(n)})}}class _v extends fn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.map)return ht(r,{code:ot.invalid_type,expected:mt.map,received:r.parsedType}),rn;const i=this._def.keyType,a=this._def.valueType,l=[...r.data.entries()].map(([s,u],o)=>({key:i._parse(new _s(r,s,r.path,[o,"key"])),value:a._parse(new _s(r,u,r.path,[o,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of l){const o=await u.key,c=await u.value;if(o.status==="aborted"||c.status==="aborted")return rn;(o.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(o.value,c.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const u of l){const o=u.key,c=u.value;if(o.status==="aborted"||c.status==="aborted")return rn;(o.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(o.value,c.value)}return{status:n.value,value:s}}}}_v.create=(e,t,n)=>new _v({valueType:t,keyType:e,typeName:Lt.ZodMap,...ln(n)});class Du extends fn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.set)return ht(r,{code:ot.invalid_type,expected:mt.set,received:r.parsedType}),rn;const i=this._def;i.minSize!==null&&r.data.sizei.maxSize.value&&(ht(r,{code:ot.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const a=this._def.valueType;function l(u){const o=new Set;for(const c of u){if(c.status==="aborted")return rn;c.status==="dirty"&&n.dirty(),o.add(c.value)}return{status:n.value,value:o}}const s=[...r.data.values()].map((u,o)=>a._parse(new _s(r,u,r.path,o)));return r.common.async?Promise.all(s).then(u=>l(u)):l(s)}min(t,n){return new Du({...this._def,minSize:{value:t,message:It.toString(n)}})}max(t,n){return new Du({...this._def,maxSize:{value:t,message:It.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Du.create=(e,t)=>new Du({valueType:e,minSize:null,maxSize:null,typeName:Lt.ZodSet,...ln(t)});class ep extends fn{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.function)return ht(n,{code:ot.invalid_type,expected:mt.function,received:n.parsedType}),rn;function r(s,u){return fv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pv(),Xm].filter(o=>!!o),issueData:{code:ot.invalid_arguments,argumentsError:u}})}function i(s,u){return fv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pv(),Xm].filter(o=>!!o),issueData:{code:ot.invalid_return_type,returnTypeError:u}})}const a={errorMap:n.common.contextualErrorMap},l=n.data;if(this._def.returns instanceof xp){const s=this;return ji(async function(...u){const o=new Bo([]),c=await s._def.args.parseAsync(u,a).catch(f=>{throw o.addIssue(r(u,f)),o}),d=await Reflect.apply(l,this,c);return await s._def.returns._def.type.parseAsync(d,a).catch(f=>{throw o.addIssue(i(d,f)),o})})}else{const s=this;return ji(function(...u){const o=s._def.args.safeParse(u,a);if(!o.success)throw new Bo([r(u,o.error)]);const c=Reflect.apply(l,this,o.data),d=s._def.returns.safeParse(c,a);if(!d.success)throw new Bo([i(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new ep({...this._def,args:vs.create(t).rest(vu.create())})}returns(t){return new ep({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new ep({args:t||vs.create([]).rest(vu.create()),returns:n||vu.create(),typeName:Lt.ZodFunction,...ln(r)})}}class og extends fn{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}og.create=(e,t)=>new og({getter:e,typeName:Lt.ZodLazy,...ln(t)});class sg extends fn{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ht(n,{received:n.data,code:ot.invalid_literal,expected:this._def.value}),rn}return{status:"valid",value:t.data}}get value(){return this._def.value}}sg.create=(e,t)=>new sg({value:e,typeName:Lt.ZodLiteral,...ln(t)});function X3(e,t){return new Sc({values:e,typeName:Lt.ZodEnum,...ln(t)})}class Sc extends fn{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{expected:$n.joinValues(r),received:n.parsedType,code:ot.invalid_type}),rn}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{received:n.data,code:ot.invalid_enum_value,options:r}),rn}return ji(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return Sc.create(t)}exclude(t){return Sc.create(this.options.filter(n=>!t.includes(n)))}}Sc.create=X3;class lg extends fn{_parse(t){const n=$n.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==mt.string&&r.parsedType!==mt.number){const i=$n.objectValues(n);return ht(r,{expected:$n.joinValues(i),received:r.parsedType,code:ot.invalid_type}),rn}if(n.indexOf(t.data)===-1){const i=$n.objectValues(n);return ht(r,{received:r.data,code:ot.invalid_enum_value,options:i}),rn}return ji(t.data)}get enum(){return this._def.values}}lg.create=(e,t)=>new lg({values:e,typeName:Lt.ZodNativeEnum,...ln(t)});class xp extends fn{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.promise&&n.common.async===!1)return ht(n,{code:ot.invalid_type,expected:mt.promise,received:n.parsedType}),rn;const r=n.parsedType===mt.promise?n.data:Promise.resolve(n.data);return ji(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}xp.create=(e,t)=>new xp({type:e,typeName:Lt.ZodPromise,...ln(t)});class Go extends fn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:l=>{ht(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const l=i.transform(r.data,a);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(l).then(s=>this._def.schema._parseAsync({data:s,path:r.path,parent:r})):this._def.schema._parseSync({data:l,path:r.path,parent:r})}if(i.type==="refinement"){const l=s=>{const u=i.refinement(s,a);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?rn:(s.status==="dirty"&&n.dirty(),l(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?rn:(s.status==="dirty"&&n.dirty(),l(s.value).then(()=>({status:n.value,value:s.value}))))}if(i.type==="transform")if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Jm(l))return l;const s=i.transform(l.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>Jm(l)?Promise.resolve(i.transform(l.value,a)).then(s=>({status:n.value,value:s})):l);$n.assertNever(i)}}Go.create=(e,t,n)=>new Go({schema:e,typeName:Lt.ZodEffects,effect:t,...ln(n)});Go.createWithPreprocess=(e,t,n)=>new Go({schema:t,effect:{type:"preprocess",transform:e},typeName:Lt.ZodEffects,...ln(n)});class ll extends fn{_parse(t){return this._getType(t)===mt.undefined?ji(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ll.create=(e,t)=>new ll({innerType:e,typeName:Lt.ZodOptional,...ln(t)});class Pu extends fn{_parse(t){return this._getType(t)===mt.null?ji(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Pu.create=(e,t)=>new Pu({innerType:e,typeName:Lt.ZodNullable,...ln(t)});class cg extends fn{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===mt.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}cg.create=(e,t)=>new cg({innerType:e,typeName:Lt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ln(t)});class vv extends fn{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return mv(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Bo(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Bo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}vv.create=(e,t)=>new vv({innerType:e,typeName:Lt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ln(t)});class bv extends fn{_parse(t){if(this._getType(t)!==mt.nan){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.nan,received:r.parsedType}),rn}return{status:"valid",value:t.data}}}bv.create=e=>new bv({typeName:Lt.ZodNaN,...ln(e)});const Use=Symbol("zod_brand");class J3 extends fn{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class zg extends fn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?rn:a.status==="dirty"?(n.dirty(),Q3(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?rn:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new zg({in:t,out:n,typeName:Lt.ZodPipeline})}}class yv extends fn{_parse(t){const n=this._def.innerType._parse(t);return Jm(n)&&(n.value=Object.freeze(n.value)),n}}yv.create=(e,t)=>new yv({innerType:e,typeName:Lt.ZodReadonly,...ln(t)});const eF=(e,t={},n)=>e?wp.create().superRefine((r,i)=>{var a,l;if(!e(r)){const s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,u=(l=(a=s.fatal)!==null&&a!==void 0?a:n)!==null&&l!==void 0?l:!0,o=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...o,fatal:u})}}):wp.create(),Hse={object:Or.lazycreate};var Lt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Lt||(Lt={}));const zse=(e,t={message:`Input not instance of ${e.name}`})=>eF(n=>n instanceof e,t),tF=Do.create,nF=bc.create,Vse=bv.create,Gse=yc.create,rF=eg.create,Yse=Nu.create,jse=gv.create,Wse=tg.create,qse=ng.create,Kse=wp.create,Zse=vu.create,Qse=fl.create,Xse=hv.create,Jse=Uo.create,ele=Or.create,tle=Or.strictCreate,nle=rg.create,rle=Mb.create,ile=ig.create,ale=vs.create,ole=ag.create,sle=_v.create,lle=Du.create,cle=ep.create,ule=og.create,dle=sg.create,ple=Sc.create,fle=lg.create,mle=xp.create,WD=Go.create,gle=ll.create,hle=Pu.create,_le=Go.createWithPreprocess,vle=zg.create,ble=()=>tF().optional(),yle=()=>nF().optional(),Sle=()=>rF().optional(),Ele={string:e=>Do.create({...e,coerce:!0}),number:e=>bc.create({...e,coerce:!0}),boolean:e=>eg.create({...e,coerce:!0}),bigint:e=>yc.create({...e,coerce:!0}),date:e=>Nu.create({...e,coerce:!0})},Cle=rn;var mWe=Object.freeze({__proto__:null,defaultErrorMap:Xm,setErrorMap:Ose,getErrorMap:pv,makeIssue:fv,EMPTY_PATH:Rse,addIssueToContext:ht,ParseStatus:Pi,INVALID:rn,DIRTY:Q3,OK:ji,isAborted:$C,isDirty:LC,isValid:Jm,isAsync:mv,get util(){return $n},get objectUtil(){return kC},ZodParsedType:mt,getParsedType:Xl,ZodType:fn,ZodString:Do,ZodNumber:bc,ZodBigInt:yc,ZodBoolean:eg,ZodDate:Nu,ZodSymbol:gv,ZodUndefined:tg,ZodNull:ng,ZodAny:wp,ZodUnknown:vu,ZodNever:fl,ZodVoid:hv,ZodArray:Uo,ZodObject:Or,ZodUnion:rg,ZodDiscriminatedUnion:Mb,ZodIntersection:ig,ZodTuple:vs,ZodRecord:ag,ZodMap:_v,ZodSet:Du,ZodFunction:ep,ZodLazy:og,ZodLiteral:sg,ZodEnum:Sc,ZodNativeEnum:lg,ZodPromise:xp,ZodEffects:Go,ZodTransformer:Go,ZodOptional:ll,ZodNullable:Pu,ZodDefault:cg,ZodCatch:vv,ZodNaN:bv,BRAND:Use,ZodBranded:J3,ZodPipeline:zg,ZodReadonly:yv,custom:eF,Schema:fn,ZodSchema:fn,late:Hse,get ZodFirstPartyTypeKind(){return Lt},coerce:Ele,any:Kse,array:Jse,bigint:Gse,boolean:rF,date:Yse,discriminatedUnion:rle,effect:WD,enum:ple,function:cle,instanceof:zse,intersection:ile,lazy:ule,literal:dle,map:sle,nan:Vse,nativeEnum:fle,never:Qse,null:qse,nullable:hle,number:nF,object:ele,oboolean:Sle,onumber:yle,optional:gle,ostring:ble,pipeline:vle,preprocess:_le,promise:mle,record:ole,set:lle,strictObject:tle,string:tF,symbol:jse,transformer:WD,tuple:ale,undefined:Wse,union:nle,unknown:Zse,void:Xse,NEVER:Cle,ZodIssueCode:ot,quotelessJson:xse,ZodError:Bo});const gWe=(e,t)=>{Object.keys(t).forEach(n=>{e.component(n,t[n])})},eo=class{static init(){eo.createContainer(),eo.addStylesheetToDocument()}static createContainer(){eo.toastContainer=document.createElement("div"),Object.assign(eo.toastContainer.style,Tle),document.body.appendChild(eo.toastContainer)}static addStylesheetToDocument(){const t=document.createElement("style");t.innerHTML=wle,document.head.appendChild(t)}static info(t,n=1e4){eo.showMessage(t,n)}static error(t,n=1e4){eo.showMessage(t,n,{"background-color":"#ffaaaa","font-family":"monospace",color:"#000000"})}static showMessage(t,n,r={}){if(!eo.toastContainer)throw new Error("Toast not initialized");if(!t.trim())return;const i=eo.makeToastMessageElement(t);Object.assign(i.style,r),eo.toastContainer.appendChild(i),setTimeout(()=>i.remove(),n)}static makeToastMessageElement(t){const n=document.createElement("div");return n.innerHTML=t,n.classList.add("abstra-toast-message"),n.onclick=n.remove,n}};let pE=eo;yn(pE,"toastContainer",null);const Tle={position:"fixed",bottom:"10px",right:"0",left:"0",display:"flex",flexDirection:"column",alignItems:"center"},wle=` +(found in ${lm(e)})`},sie=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:i}=e.config;e.config.errorHandler=(a,l,s)=>{const u=lm(l,!1),o=l?oie(l):"",c={componentName:u,lifecycleHook:s,trace:o};if(t.attachProps&&l&&(l.$options&&l.$options.propsData?c.propsData=l.$options.propsData:l.$props&&(c.propsData=l.$props)),setTimeout(()=>{ri().withScope(d=>{d.setContext("vue",c),ri().captureException(a)})}),typeof n=="function"&&n.call(e,a,l,s),t.logErrors){const d=typeof console<"u",p=`Error in ${s}: "${a&&a.toString()}"`;r?r.call(null,p,l,o):d&&!i&&console.error(`[Vue warn]: ${p}${o}`)}}},iD="ui.vue",lie={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function gC(){return ri().getScope().getTransaction()}function cie(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.finish(t),e.$root.$_sentryRootSpan=void 0)},n)}const uie=e=>{const t=(e.hooks||[]).concat(v6).filter((r,i,a)=>a.indexOf(r)===i),n={};for(const r of t){const i=lie[r];if(!i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&yp.warn(`Unknown hook: ${r}`);continue}for(const a of i)n[a]=function(){const l=this.$root===this;if(l){const o=gC();o&&(this.$_sentryRootSpan=this.$_sentryRootSpan||o.startChild({description:"Application Render",op:`${iD}.render`}))}const s=lm(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(s)>-1:e.trackComponents;if(!(!l&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},a==i[0]){const o=this.$root&&this.$root.$_sentryRootSpan||gC();if(o){const c=this.$_sentrySpans[r];c&&!c.endTimestamp&&c.finish(),this.$_sentrySpans[r]=o.startChild({description:`Vue <${s}>`,op:`${iD}.${r}`})}}else{const o=this.$_sentrySpans[r];if(!o)return;o.finish(),cie(this,Kw(),e.timeout)}}}return n},die=Lo,pie={Vue:die.Vue,attachProps:!0,logErrors:!0,hooks:v6,timeout:2e3,trackComponents:!1,_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:G0}],version:G0}}};function fie(e={}){const t={...pie,...e};if(HQ(t),!t.Vue&&!t.app){console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).");return}t.app?p6(t.app).forEach(r=>aD(r,t)):t.Vue&&aD(t.Vue,t)}const aD=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`."),sie(e,t),tie(t)&&e.mixin(uie({...t,...t.tracingOptions}))};function mie(e,t={}){return(n,r=!0,i=!0)=>{const a={"routing.instrumentation":"vue-router"};r&&Gn&&Gn.location&&n({name:Gn.location.pathname,op:"pageload",tags:a,metadata:{source:"url"}}),e.onError(l=>G4(l)),e.beforeEach((l,s,u)=>{const o=s.name==null&&s.matched.length===0,c={params:l.params,query:l.query};let d=l.path,p="url";if(l.name&&t.routeLabel!=="path"?(d=l.name.toString(),p="custom"):l.matched[0]&&l.matched[0].path&&(d=l.matched[0].path,p="route"),r&&o){const f=gC();f&&(f.metadata.source!=="custom"&&f.setName(d,p),f.setData("params",c.params),f.setData("query",c.query))}i&&!o&&n({name:d,op:"navigation",tags:a,data:c,metadata:{source:p}}),u&&u()})}}var gie=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};gie.SENTRY_RELEASE={id:"542aaba50a42d9e1385bcc5e5db9c42b54d0be06"};const dWe=(e,t)=>{fie({app:e,dsn:"https://92a7a6b6bf4d455dab113338d8518956@o1317386.ingest.sentry.io/6570769",replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,integrations:[new nv({routingInstrumentation:mie(t)}),new Um],enabled:!0,tracesSampleRate:1,release:"542aaba50a42d9e1385bcc5e5db9c42b54d0be06"})};class pWe{constructor(t,n,r=localStorage){yn(this,"key");this.validator=t,this.sufix=n,this.storage=r,this.key=`abstra:${this.sufix}`}get(){const t=this.storage.getItem(this.key);if(t==null)return null;try{return this.validator.parse(JSON.parse(t))}catch{return null}}set(t){try{this.validator.parse(t),this.storage.setItem(this.key,JSON.stringify(t))}catch{}}remove(){this.storage.removeItem(this.key)}pop(){const t=this.get();return this.remove(),t}}function hC(e){this.message=e}hC.prototype=new Error,hC.prototype.name="InvalidCharacterError";var oD=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new hC("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,l="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?l+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return l};function hie(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(oD(n).replace(/(.)/g,function(r,i){var a=i.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(t)}catch{return oD(t)}}function rv(e){this.message=e}function fWe(e,t){if(typeof e!="string")throw new rv("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(hie(e.split(".")[n]))}catch(r){throw new rv("Invalid token specified: "+r.message)}}rv.prototype=new Error,rv.prototype.name="InvalidTokenError";function _b(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const nr={},Wd=[],Fo=()=>{},_ie=()=>!1,vie=/^on[^a-z]/,Pg=e=>vie.test(e),Zw=e=>e.startsWith("onUpdate:"),cr=Object.assign,Qw=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bie=Object.prototype.hasOwnProperty,Pn=(e,t)=>bie.call(e,t),vt=Array.isArray,qd=e=>Qp(e)==="[object Map]",Bu=e=>Qp(e)==="[object Set]",sD=e=>Qp(e)==="[object Date]",yie=e=>Qp(e)==="[object RegExp]",Gt=e=>typeof e=="function",Tr=e=>typeof e=="string",zm=e=>typeof e=="symbol",rr=e=>e!==null&&typeof e=="object",Xw=e=>rr(e)&&Gt(e.then)&&Gt(e.catch),b6=Object.prototype.toString,Qp=e=>b6.call(e),Sie=e=>Qp(e).slice(8,-1),y6=e=>Qp(e)==="[object Object]",Jw=e=>Tr(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cm=_b(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Eie=/-(\w)/g,aa=vb(e=>e.replace(Eie,(t,n)=>n?n.toUpperCase():"")),Cie=/\B([A-Z])/g,io=vb(e=>e.replace(Cie,"-$1").toLowerCase()),Mg=vb(e=>e.charAt(0).toUpperCase()+e.slice(1)),um=vb(e=>e?`on${Mg(e)}`:""),Sp=(e,t)=>!Object.is(e,t),Kd=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},av=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ov=e=>{const t=Tr(e)?Number(e):NaN;return isNaN(t)?e:t};let lD;const _C=()=>lD||(lD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Tie="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",wie=_b(Tie);function Ni(e){if(vt(e)){const t={};for(let n=0;n{if(n){const r=n.split(Oie);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vt(e){let t="";if(Tr(e))t=e;else if(vt(e))for(let n=0;ngc(n,t))}const Qt=e=>Tr(e)?e:e==null?"":vt(e)||rr(e)&&(e.toString===b6||!Gt(e.toString))?JSON.stringify(e,E6,2):String(e),E6=(e,t)=>t&&t.__v_isRef?E6(e,t.value):qd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Bu(t)?{[`Set(${t.size})`]:[...t.values()]}:rr(t)&&!vt(t)&&!y6(t)?String(t):t;let Ea;class ex{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ea,!t&&Ea&&(this.index=(Ea.scopes||(Ea.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ea;try{return Ea=this,t()}finally{Ea=n}}}on(){Ea=this}off(){Ea=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},w6=e=>(e.w&hc)>0,x6=e=>(e.n&hc)>0,Mie=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(c==="length"||c>=u)&&s.push(o)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":vt(e)?Jw(n)&&s.push(l.get("length")):(s.push(l.get(fu)),qd(e)&&s.push(l.get(bC)));break;case"delete":vt(e)||(s.push(l.get(fu)),qd(e)&&s.push(l.get(bC)));break;case"set":qd(e)&&s.push(l.get(fu));break}if(s.length===1)s[0]&&yC(s[0]);else{const u=[];for(const o of s)o&&u.push(...o);yC(nx(u))}}function yC(e,t){const n=vt(e)?e:[...e];for(const r of n)r.computed&&uD(r);for(const r of n)r.computed||uD(r)}function uD(e,t){(e!==Ro||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Fie(e,t){var n;return(n=sv.get(e))==null?void 0:n.get(t)}const Bie=_b("__proto__,__v_isRef,__isVue"),I6=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zm)),Uie=yb(),Hie=yb(!1,!0),zie=yb(!0),Vie=yb(!0,!0),dD=Gie();function Gie(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ut(this);for(let a=0,l=this.length;a{e[t]=function(...n){Xp();const r=Ut(this)[t].apply(this,n);return Jp(),r}}),e}function Yie(e){const t=Ut(this);return oa(t,"has",e),t.hasOwnProperty(e)}function yb(e=!1,t=!1){return function(r,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?$6:k6:t?M6:P6).get(r))return r;const l=vt(r);if(!e){if(l&&Pn(dD,i))return Reflect.get(dD,i,a);if(i==="hasOwnProperty")return Yie}const s=Reflect.get(r,i,a);return(zm(i)?I6.has(i):Bie(i))||(e||oa(r,"get",i),t)?s:zr(s)?l&&Jw(i)?s:s.value:rr(s)?e?ix(s):un(s):s}}const jie=A6(),Wie=A6(!0);function A6(e=!1){return function(n,r,i,a){let l=n[r];if(Ou(l)&&zr(l)&&!zr(i))return!1;if(!e&&(!Vm(i)&&!Ou(i)&&(l=Ut(l),i=Ut(i)),!vt(n)&&zr(l)&&!zr(i)))return l.value=i,!0;const s=vt(n)&&Jw(r)?Number(r)e,Sb=e=>Reflect.getPrototypeOf(e);function w_(e,t,n=!1,r=!1){e=e.__v_raw;const i=Ut(e),a=Ut(t);n||(t!==a&&oa(i,"get",t),oa(i,"get",a));const{has:l}=Sb(i),s=r?rx:n?sx:Gm;if(l.call(i,t))return s(e.get(t));if(l.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function x_(e,t=!1){const n=this.__v_raw,r=Ut(n),i=Ut(e);return t||(e!==i&&oa(r,"has",e),oa(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function O_(e,t=!1){return e=e.__v_raw,!t&&oa(Ut(e),"iterate",fu),Reflect.get(e,"size",e)}function pD(e){e=Ut(e);const t=Ut(this);return Sb(t).has.call(t,e)||(t.add(e),ul(t,"add",e,e)),this}function fD(e,t){t=Ut(t);const n=Ut(this),{has:r,get:i}=Sb(n);let a=r.call(n,e);a||(e=Ut(e),a=r.call(n,e));const l=i.call(n,e);return n.set(e,t),a?Sp(t,l)&&ul(n,"set",e,t):ul(n,"add",e,t),this}function mD(e){const t=Ut(this),{has:n,get:r}=Sb(t);let i=n.call(t,e);i||(e=Ut(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&ul(t,"delete",e,void 0),a}function gD(){const e=Ut(this),t=e.size!==0,n=e.clear();return t&&ul(e,"clear",void 0,void 0),n}function R_(e,t){return function(r,i){const a=this,l=a.__v_raw,s=Ut(l),u=t?rx:e?sx:Gm;return!e&&oa(s,"iterate",fu),l.forEach((o,c)=>r.call(i,u(o),u(c),a))}}function I_(e,t,n){return function(...r){const i=this.__v_raw,a=Ut(i),l=qd(a),s=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,o=i[e](...r),c=n?rx:t?sx:Gm;return!t&&oa(a,"iterate",u?bC:fu),{next(){const{value:d,done:p}=o.next();return p?{value:d,done:p}:{value:s?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Ll(e){return function(...t){return e==="delete"?!1:this}}function Jie(){const e={get(a){return w_(this,a)},get size(){return O_(this)},has:x_,add:pD,set:fD,delete:mD,clear:gD,forEach:R_(!1,!1)},t={get(a){return w_(this,a,!1,!0)},get size(){return O_(this)},has:x_,add:pD,set:fD,delete:mD,clear:gD,forEach:R_(!1,!0)},n={get(a){return w_(this,a,!0)},get size(){return O_(this,!0)},has(a){return x_.call(this,a,!0)},add:Ll("add"),set:Ll("set"),delete:Ll("delete"),clear:Ll("clear"),forEach:R_(!0,!1)},r={get(a){return w_(this,a,!0,!0)},get size(){return O_(this,!0)},has(a){return x_.call(this,a,!0)},add:Ll("add"),set:Ll("set"),delete:Ll("delete"),clear:Ll("clear"),forEach:R_(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=I_(a,!1,!1),n[a]=I_(a,!0,!1),t[a]=I_(a,!1,!0),r[a]=I_(a,!0,!0)}),[e,n,t,r]}const[eae,tae,nae,rae]=Jie();function Eb(e,t){const n=t?e?rae:nae:e?tae:eae;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Pn(n,i)&&i in r?n:r,i,a)}const iae={get:Eb(!1,!1)},aae={get:Eb(!1,!0)},oae={get:Eb(!0,!1)},sae={get:Eb(!0,!0)},P6=new WeakMap,M6=new WeakMap,k6=new WeakMap,$6=new WeakMap;function lae(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cae(e){return e.__v_skip||!Object.isExtensible(e)?0:lae(Sie(e))}function un(e){return Ou(e)?e:Cb(e,!1,N6,iae,P6)}function L6(e){return Cb(e,!1,Qie,aae,M6)}function ix(e){return Cb(e,!0,D6,oae,k6)}function uae(e){return Cb(e,!0,Xie,sae,$6)}function Cb(e,t,n,r,i){if(!rr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const l=cae(e);if(l===0)return e;const s=new Proxy(e,l===2?r:n);return i.set(e,s),s}function mu(e){return Ou(e)?mu(e.__v_raw):!!(e&&e.__v_isReactive)}function Ou(e){return!!(e&&e.__v_isReadonly)}function Vm(e){return!!(e&&e.__v_isShallow)}function ax(e){return mu(e)||Ou(e)}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function ox(e){return iv(e,"__v_skip",!0),e}const Gm=e=>rr(e)?un(e):e,sx=e=>rr(e)?ix(e):e;function lx(e){lc&&Ro&&(e=Ut(e),R6(e.dep||(e.dep=nx())))}function Tb(e,t){e=Ut(e);const n=e.dep;n&&yC(n)}function zr(e){return!!(e&&e.__v_isRef===!0)}function Oe(e){return F6(e,!1)}function Pe(e){return F6(e,!0)}function F6(e,t){return zr(e)?e:new dae(e,t)}class dae{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ut(t),this._value=n?t:Gm(t)}get value(){return lx(this),this._value}set value(t){const n=this.__v_isShallow||Vm(t)||Ou(t);t=n?t:Ut(t),Sp(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Gm(t),Tb(this))}}function pae(e){Tb(e)}function je(e){return zr(e)?e.value:e}function fae(e){return Gt(e)?e():je(e)}const mae={get:(e,t,n)=>je(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return zr(i)&&!zr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function cx(e){return mu(e)?e:new Proxy(e,mae)}class gae{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>lx(this),()=>Tb(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function hae(e){return new gae(e)}function Zd(e){const t=vt(e)?new Array(e.length):{};for(const n in e)t[n]=B6(e,n);return t}class _ae{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Fie(Ut(this._object),this._key)}}class vae{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xt(e,t,n){return zr(e)?e:Gt(e)?new vae(e):rr(e)&&arguments.length>1?B6(e,t,n):Oe(e)}function B6(e,t,n){const r=e[t];return zr(r)?r:new _ae(e,t,n)}class bae{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new kg(t,()=>{this._dirty||(this._dirty=!0,Tb(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Ut(this);return lx(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function yae(e,t,n=!1){let r,i;const a=Gt(e);return a?(r=e,i=Fo):(r=e.get,i=e.set),new bae(r,i,a||!i,n)}function Sae(e,...t){}function Eae(e,t){}function sl(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){Uu(a,t,n)}return i}function Aa(e,t,n,r){if(Gt(e)){const a=sl(e,t,n,r);return a&&Xw(a)&&a.catch(l=>{Uu(l,t,n)}),a}const i=[];for(let a=0;a>>1;jm(Ii[r])us&&Ii.splice(t,1)}function dx(e){vt(e)?Qd.push(...e):(!Zs||!Zs.includes(e,e.allowRecurse?Jc+1:Jc))&&Qd.push(e),H6()}function hD(e,t=Ym?us+1:0){for(;tjm(n)-jm(r)),Jc=0;Jce.id==null?1/0:e.id,xae=(e,t)=>{const n=jm(e)-jm(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function z6(e){SC=!1,Ym=!0,Ii.sort(xae);const t=Fo;try{for(us=0;usxd.emit(i,...a)),A_=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{V6(a,t)}),setTimeout(()=>{xd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,A_=[])},3e3)):A_=[]}function Oae(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||nr;let i=n;const a=t.startsWith("update:"),l=a&&t.slice(7);if(l&&l in r){const c=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[c]||nr;p&&(i=n.map(f=>Tr(f)?f.trim():f)),d&&(i=n.map(av))}let s,u=r[s=um(t)]||r[s=um(aa(t))];!u&&a&&(u=r[s=um(io(t))]),u&&Aa(u,e,6,i);const o=r[s+"Once"];if(o){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Aa(o,e,6,i)}}function G6(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let l={},s=!1;if(!Gt(e)){const u=o=>{const c=G6(o,t,!0);c&&(s=!0,cr(l,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!a&&!s?(rr(e)&&r.set(e,null),null):(vt(a)?a.forEach(u=>l[u]=null):cr(l,a),rr(e)&&r.set(e,l),l)}function xb(e,t){return!e||!Pg(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pn(e,t[0].toLowerCase()+t.slice(1))||Pn(e,io(t))||Pn(e,t))}let ci=null,Ob=null;function Wm(e){const t=ci;return ci=e,Ob=e&&e.type.__scopeId||null,t}function Y6(e){Ob=e}function j6(){Ob=null}const Rae=e=>pn;function pn(e,t=ci,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&RC(-1);const a=Wm(t);let l;try{l=e(...i)}finally{Wm(a),r._d&&RC(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function h0(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[l],slots:s,attrs:u,emit:o,render:c,renderCache:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=e;let h,v;const b=Wm(e);try{if(n.shapeFlag&4){const S=i||r;h=Ta(c.call(S,S,d,a,f,p,g)),v=u}else{const S=t;h=Ta(S.length>1?S(a,{attrs:u,slots:s,emit:o}):S(a,null)),v=t.props?u:Aae(u)}}catch(S){fm.length=0,Uu(S,e,1),h=x(Si)}let y=h;if(v&&m!==!1){const S=Object.keys(v),{shapeFlag:C}=y;S.length&&C&7&&(l&&S.some(Zw)&&(v=Nae(v,l)),y=Ci(y,v))}return n.dirs&&(y=Ci(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),h=y,Wm(b),h}function Iae(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Pg(n))&&((t||(t={}))[n]=e[n]);return t},Nae=(e,t)=>{const n={};for(const r in e)(!Zw(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Dae(e,t,n){const{props:r,children:i,component:a}=e,{props:l,children:s,patchFlag:u}=t,o=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?_D(r,l,o):!!l;if(u&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense,Pae={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,a,l,s,u,o){e==null?kae(t,n,r,i,a,l,s,u,o):$ae(e,t,n,r,i,l,s,u,o)},hydrate:Lae,create:fx,normalize:Fae},Mae=Pae;function qm(e,t){const n=e.props&&e.props[t];Gt(n)&&n()}function kae(e,t,n,r,i,a,l,s,u){const{p:o,o:{createElement:c}}=u,d=c("div"),p=e.suspense=fx(e,i,r,t,d,n,a,l,s,u);o(null,p.pendingBranch=e.ssContent,d,null,r,p,a,l),p.deps>0?(qm(e,"onPending"),qm(e,"onFallback"),o(null,e.ssFallback,t,n,r,null,a,l),Xd(p,e.ssFallback)):p.resolve(!1,!0)}function $ae(e,t,n,r,i,a,l,s,{p:u,um:o,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:g,pendingBranch:m,isInFallback:h,isHydrating:v}=d;if(m)d.pendingBranch=p,Io(p,m)?(u(m,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0?d.resolve():h&&(u(g,f,n,r,i,null,a,l,s),Xd(d,f))):(d.pendingId++,v?(d.isHydrating=!1,d.activeBranch=m):o(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),h?(u(null,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0?d.resolve():(u(g,f,n,r,i,null,a,l,s),Xd(d,f))):g&&Io(p,g)?(u(g,p,n,r,i,d,a,l,s),d.resolve(!0)):(u(null,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0&&d.resolve()));else if(g&&Io(p,g))u(g,p,n,r,i,d,a,l,s),Xd(d,p);else if(qm(t,"onPending"),d.pendingBranch=p,d.pendingId++,u(null,p,d.hiddenContainer,null,i,d,a,l,s),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:y}=d;b>0?setTimeout(()=>{d.pendingId===y&&d.fallback(f)},b):b===0&&d.fallback(f)}}function fx(e,t,n,r,i,a,l,s,u,o,c=!1){const{p:d,m:p,um:f,n:g,o:{parentNode:m,remove:h}}=o;let v;const b=Bae(e);b&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const y=e.props?ov(e.props.timeout):void 0,S={vnode:e,parent:t,parentComponent:n,isSVG:l,container:r,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,w=!1){const{vnode:T,activeBranch:O,pendingBranch:I,pendingId:N,effects:M,parentComponent:B,container:P}=S;if(S.isHydrating)S.isHydrating=!1;else if(!C){const F=O&&I.transition&&I.transition.mode==="out-in";F&&(O.transition.afterLeave=()=>{N===S.pendingId&&p(I,P,U,0)});let{anchor:U}=S;O&&(U=g(O),f(O,B,S,!0)),F||p(I,P,U,0)}Xd(S,I),S.pendingBranch=null,S.isInFallback=!1;let k=S.parent,D=!1;for(;k;){if(k.pendingBranch){k.effects.push(...M),D=!0;break}k=k.parent}D||dx(M),S.effects=[],b&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),qm(T,"onResolve")},fallback(C){if(!S.pendingBranch)return;const{vnode:w,activeBranch:T,parentComponent:O,container:I,isSVG:N}=S;qm(w,"onFallback");const M=g(T),B=()=>{!S.isInFallback||(d(null,C,I,M,O,null,N,s,u),Xd(S,C))},P=C.transition&&C.transition.mode==="out-in";P&&(T.transition.afterLeave=B),S.isInFallback=!0,f(T,O,null,!0),P||B()},move(C,w,T){S.activeBranch&&p(S.activeBranch,C,w,T),S.container=C},next(){return S.activeBranch&&g(S.activeBranch)},registerDep(C,w){const T=!!S.pendingBranch;T&&S.deps++;const O=C.vnode.el;C.asyncDep.catch(I=>{Uu(I,C,0)}).then(I=>{if(C.isUnmounted||S.isUnmounted||S.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:N}=C;IC(C,I,!1),O&&(N.el=O);const M=!O&&C.subTree.el;w(C,N,m(O||C.subTree.el),O?null:g(C.subTree),S,l,u),M&&h(M),px(C,N.el),T&&--S.deps===0&&S.resolve()})},unmount(C,w){S.isUnmounted=!0,S.activeBranch&&f(S.activeBranch,n,C,w),S.pendingBranch&&f(S.pendingBranch,n,C,w)}};return S}function Lae(e,t,n,r,i,a,l,s,u){const o=t.suspense=fx(t,r,n,e.parentNode,document.createElement("div"),null,i,a,l,s,!0),c=u(e,o.pendingBranch=t.ssContent,n,o,a,l);return o.deps===0&&o.resolve(!1,!0),c}function Fae(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=vD(r?n.default:n),e.ssFallback=r?vD(n.fallback):x(Si)}function vD(e){let t;if(Gt(e)){const n=Iu&&e._c;n&&(e._d=!1,oe()),e=e(),n&&(e._d=!0,t=ia,y3())}return vt(e)&&(e=Iae(e)),e=Ta(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function q6(e,t){t&&t.pendingBranch?vt(e)?t.effects.push(...e):t.effects.push(e):dx(e)}function Xd(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,px(r,i))}function Bae(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Rt(e,t){return $g(e,null,t)}function K6(e,t){return $g(e,null,{flush:"post"})}function Uae(e,t){return $g(e,null,{flush:"sync"})}const N_={};function ze(e,t,n){return $g(e,t,n)}function $g(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:l}=nr){var s;const u=tx()===((s=Kr)==null?void 0:s.scope)?Kr:null;let o,c=!1,d=!1;if(zr(e)?(o=()=>e.value,c=Vm(e)):mu(e)?(o=()=>e,r=!0):vt(e)?(d=!0,c=e.some(S=>mu(S)||Vm(S)),o=()=>e.map(S=>{if(zr(S))return S.value;if(mu(S))return ou(S);if(Gt(S))return sl(S,u,2)})):Gt(e)?t?o=()=>sl(e,u,2):o=()=>{if(!(u&&u.isUnmounted))return p&&p(),Aa(e,u,3,[f])}:o=Fo,t&&r){const S=o;o=()=>ou(S())}let p,f=S=>{p=b.onStop=()=>{sl(S,u,4)}},g;if(Cp)if(f=Fo,t?n&&Aa(t,u,3,[o(),d?[]:void 0,f]):o(),i==="sync"){const S=I3();g=S.__watcherHandles||(S.__watcherHandles=[])}else return Fo;let m=d?new Array(e.length).fill(N_):N_;const h=()=>{if(!!b.active)if(t){const S=b.run();(r||c||(d?S.some((C,w)=>Sp(C,m[w])):Sp(S,m)))&&(p&&p(),Aa(t,u,3,[S,m===N_?void 0:d&&m[0]===N_?[]:m,f]),m=S)}else b.run()};h.allowRecurse=!!t;let v;i==="sync"?v=h:i==="post"?v=()=>hi(h,u&&u.suspense):(h.pre=!0,u&&(h.id=u.uid),v=()=>wb(h));const b=new kg(o,v);t?n?h():m=b.run():i==="post"?hi(b.run.bind(b),u&&u.suspense):b.run();const y=()=>{b.stop(),u&&u.scope&&Qw(u.scope.effects,b)};return g&&g.push(y),y}function Hae(e,t,n){const r=this.proxy,i=Tr(e)?e.includes(".")?Z6(r,e):()=>r[e]:e.bind(r,r);let a;Gt(t)?a=t:(a=t.handler,n=t);const l=Kr;_c(this);const s=$g(i,a.bind(r),n);return l?_c(l):cc(),s}function Z6(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{ou(n,t)});else if(y6(e))for(const n in e)ou(e[n],t);return e}function mr(e,t){const n=ci;if(n===null)return e;const r=Db(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),Xt(()=>{e.isUnmounting=!0}),e}const qa=[Function,Array],gx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qa,onEnter:qa,onAfterEnter:qa,onEnterCancelled:qa,onBeforeLeave:qa,onLeave:qa,onAfterLeave:qa,onLeaveCancelled:qa,onBeforeAppear:qa,onAppear:qa,onAfterAppear:qa,onAppearCancelled:qa},zae={name:"BaseTransition",props:gx,setup(e,{slots:t}){const n=hr(),r=mx();let i;return()=>{const a=t.default&&Rb(t.default(),!0);if(!a||!a.length)return;let l=a[0];if(a.length>1){for(const m of a)if(m.type!==Si){l=m;break}}const s=Ut(e),{mode:u}=s;if(r.isLeaving)return rE(l);const o=bD(l);if(!o)return rE(l);const c=Ep(o,s,r,n);Ru(o,c);const d=n.subTree,p=d&&bD(d);let f=!1;const{getTransitionKey:g}=o.type;if(g){const m=g();i===void 0?i=m:m!==i&&(i=m,f=!0)}if(p&&p.type!==Si&&(!Io(o,p)||f)){const m=Ep(p,s,r,n);if(Ru(p,m),u==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},rE(l);u==="in-out"&&o.type!==Si&&(m.delayLeave=(h,v,b)=>{const y=X6(r,p);y[String(p.key)]=p,h._leaveCb=()=>{v(),h._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return l}}},Q6=zae;function X6(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ep(e,t,n,r){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:o,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:h,onAfterAppear:v,onAppearCancelled:b}=t,y=String(e.key),S=X6(n,e),C=(O,I)=>{O&&Aa(O,r,9,I)},w=(O,I)=>{const N=I[1];C(O,I),vt(O)?O.every(M=>M.length<=1)&&N():O.length<=1&&N()},T={mode:a,persisted:l,beforeEnter(O){let I=s;if(!n.isMounted)if(i)I=m||s;else return;O._leaveCb&&O._leaveCb(!0);const N=S[y];N&&Io(e,N)&&N.el._leaveCb&&N.el._leaveCb(),C(I,[O])},enter(O){let I=u,N=o,M=c;if(!n.isMounted)if(i)I=h||u,N=v||o,M=b||c;else return;let B=!1;const P=O._enterCb=k=>{B||(B=!0,k?C(M,[O]):C(N,[O]),T.delayedLeave&&T.delayedLeave(),O._enterCb=void 0)};I?w(I,[O,P]):P()},leave(O,I){const N=String(e.key);if(O._enterCb&&O._enterCb(!0),n.isUnmounting)return I();C(d,[O]);let M=!1;const B=O._leaveCb=P=>{M||(M=!0,I(),P?C(g,[O]):C(f,[O]),O._leaveCb=void 0,S[N]===e&&delete S[N])};S[N]=e,p?w(p,[O,B]):B()},clone(O){return Ep(O,t,n,r)}};return T}function rE(e){if(Lg(e))return e=Ci(e),e.children=null,e}function bD(e){return Lg(e)?e.children?e.children[0]:void 0:e}function Ru(e,t){e.shapeFlag&6&&e.component?Ru(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rb(e,t=!1,n){let r=[],i=0;for(let a=0;a1)for(let a=0;acr({name:e.name},t,{setup:e}))():e}const gu=e=>!!e.type.__asyncLoader;function Vae(e){Gt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:a,suspensible:l=!0,onError:s}=e;let u=null,o,c=0;const d=()=>(c++,u=null,p()),p=()=>{let f;return u||(f=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),s)return new Promise((m,h)=>{s(g,()=>m(d()),()=>h(g),c+1)});throw g}).then(g=>f!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),o=g,g)))};return Ce({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return o},setup(){const f=Kr;if(o)return()=>iE(o,f);const g=b=>{u=null,Uu(b,f,13,!r)};if(l&&f.suspense||Cp)return p().then(b=>()=>iE(b,f)).catch(b=>(g(b),()=>r?x(r,{error:b}):null));const m=Oe(!1),h=Oe(),v=Oe(!!i);return i&&setTimeout(()=>{v.value=!1},i),a!=null&&setTimeout(()=>{if(!m.value&&!h.value){const b=new Error(`Async component timed out after ${a}ms.`);g(b),h.value=b}},a),p().then(()=>{m.value=!0,f.parent&&Lg(f.parent.vnode)&&wb(f.parent.update)}).catch(b=>{g(b),h.value=b}),()=>{if(m.value&&o)return iE(o,f);if(h.value&&r)return x(r,{error:h.value});if(n&&!v.value)return x(n)}}})}function iE(e,t){const{ref:n,props:r,children:i,ce:a}=t.vnode,l=x(e,r,i);return l.ref=n,l.ce=a,delete t.vnode.ce,l}const Lg=e=>e.type.__isKeepAlive,Gae={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=hr(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,a=new Set;let l=null;const s=n.suspense,{renderer:{p:u,m:o,um:c,o:{createElement:d}}}=r,p=d("div");r.activate=(b,y,S,C,w)=>{const T=b.component;o(b,y,S,0,s),u(T.vnode,b,y,S,T,s,C,b.slotScopeIds,w),hi(()=>{T.isDeactivated=!1,T.a&&Kd(T.a);const O=b.props&&b.props.onVnodeMounted;O&&ta(O,T.parent,b)},s)},r.deactivate=b=>{const y=b.component;o(b,p,null,1,s),hi(()=>{y.da&&Kd(y.da);const S=b.props&&b.props.onVnodeUnmounted;S&&ta(S,y.parent,b),y.isDeactivated=!0},s)};function f(b){aE(b),c(b,n,s,!0)}function g(b){i.forEach((y,S)=>{const C=NC(y.type);C&&(!b||!b(C))&&m(S)})}function m(b){const y=i.get(b);!l||!Io(y,l)?f(y):l&&aE(l),i.delete(b),a.delete(b)}ze(()=>[e.include,e.exclude],([b,y])=>{b&&g(S=>qf(b,S)),y&&g(S=>!qf(y,S))},{flush:"post",deep:!0});let h=null;const v=()=>{h!=null&&i.set(h,oE(n.subTree))};return _t(v),ca(v),Xt(()=>{i.forEach(b=>{const{subTree:y,suspense:S}=n,C=oE(y);if(b.type===C.type&&b.key===C.key){aE(C);const w=C.component.da;w&&hi(w,S);return}f(b)})}),()=>{if(h=null,!t.default)return null;const b=t.default(),y=b[0];if(b.length>1)return l=null,b;if(!Vr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return l=null,y;let S=oE(y);const C=S.type,w=NC(gu(S)?S.type.__asyncResolved||{}:C),{include:T,exclude:O,max:I}=e;if(T&&(!w||!qf(T,w))||O&&w&&qf(O,w))return l=S,y;const N=S.key==null?C:S.key,M=i.get(N);return S.el&&(S=Ci(S),y.shapeFlag&128&&(y.ssContent=S)),h=N,M?(S.el=M.el,S.component=M.component,S.transition&&Ru(S,S.transition),S.shapeFlag|=512,a.delete(N),a.add(N)):(a.add(N),I&&a.size>parseInt(I,10)&&m(a.values().next().value)),S.shapeFlag|=256,l=S,W6(y.type)?y:S}}},Yae=Gae;function qf(e,t){return vt(e)?e.some(n=>qf(n,t)):Tr(e)?e.split(",").includes(t):yie(e)?e.test(t):!1}function Fg(e,t){J6(e,"a",t)}function hx(e,t){J6(e,"da",t)}function J6(e,t,n=Kr){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ib(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Lg(i.parent.vnode)&&jae(r,t,n,i),i=i.parent}}function jae(e,t,n,r){const i=Ib(t,e,r,!0);ki(()=>{Qw(r[t],i)},n)}function aE(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function oE(e){return e.shapeFlag&128?e.ssContent:e}function Ib(e,t,n=Kr,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Xp(),_c(n);const s=Aa(t,n,e,l);return cc(),Jp(),s});return r?i.unshift(a):i.push(a),a}}const bl=e=>(t,n=Kr)=>(!Cp||e==="sp")&&Ib(e,(...r)=>t(...r),n),Ab=bl("bm"),_t=bl("m"),Bg=bl("bu"),ca=bl("u"),Xt=bl("bum"),ki=bl("um"),e3=bl("sp"),t3=bl("rtg"),n3=bl("rtc");function r3(e,t=Kr){Ib("ec",e,t)}const _x="components",Wae="directives";function Jd(e,t){return vx(_x,e,!0,t)||e}const i3=Symbol.for("v-ndc");function hu(e){return Tr(e)?vx(_x,e,!1)||e:e||i3}function ef(e){return vx(Wae,e)}function vx(e,t,n=!0,r=!1){const i=ci||Kr;if(i){const a=i.type;if(e===_x){const s=NC(a,!1);if(s&&(s===t||s===aa(t)||s===Mg(aa(t))))return a}const l=yD(i[e]||a[e],t)||yD(i.appContext[e],t);return!l&&r?a:l}}function yD(e,t){return e&&(e[t]||e[aa(t)]||e[Mg(aa(t))])}function Di(e,t,n,r){let i;const a=n&&n[r];if(vt(e)||Tr(e)){i=new Array(e.length);for(let l=0,s=e.length;lt(l,s,void 0,a&&a[s]));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,u=l.length;s{const a=r.fn(...i);return a&&(a.key=r.key),a}:r.fn)}return e}function Et(e,t,n={},r,i){if(ci.isCE||ci.parent&&gu(ci.parent)&&ci.parent.isCE)return t!=="default"&&(n.name=t),x("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),oe();const l=a&&a3(a(n)),s=Rn(tt,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function a3(e){return e.some(t=>Vr(t)?!(t.type===Si||t.type===tt&&!a3(t.children)):!0)?e:null}function o3(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:um(r)]=e[r];return n}const EC=e=>e?T3(e)?Db(e)||e.proxy:EC(e.parent):null,dm=cr(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=>EC(e.parent),$root:e=>EC(e.root),$emit:e=>e.emit,$options:e=>yx(e),$forceUpdate:e=>e.f||(e.f=()=>wb(e.update)),$nextTick:e=>e.n||(e.n=sn.bind(e.proxy)),$watch:e=>Hae.bind(e)}),sE=(e,t)=>e!==nr&&!e.__isScriptSetup&&Pn(e,t),CC={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:l,type:s,appContext:u}=e;let o;if(t[0]!=="$"){const f=l[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(sE(r,t))return l[t]=1,r[t];if(i!==nr&&Pn(i,t))return l[t]=2,i[t];if((o=e.propsOptions[0])&&Pn(o,t))return l[t]=3,a[t];if(n!==nr&&Pn(n,t))return l[t]=4,n[t];TC&&(l[t]=0)}}const c=dm[t];let d,p;if(c)return t==="$attrs"&&oa(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==nr&&Pn(n,t))return l[t]=4,n[t];if(p=u.config.globalProperties,Pn(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return sE(i,t)?(i[t]=n,!0):r!==nr&&Pn(r,t)?(r[t]=n,!0):Pn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},l){let s;return!!n[l]||e!==nr&&Pn(e,l)||sE(t,l)||(s=a[0])&&Pn(s,l)||Pn(r,l)||Pn(dm,l)||Pn(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},qae=cr({},CC,{get(e,t){if(t!==Symbol.unscopables)return CC.get(e,t,e)},has(e,t){return t[0]!=="_"&&!wie(t)}});function Kae(){return null}function Zae(){return null}function Qae(e){}function Xae(e){}function Jae(){return null}function eoe(){}function toe(e,t){return null}function noe(){return l3().slots}function s3(){return l3().attrs}function roe(e,t,n){const r=hr();if(n&&n.local){const i=Oe(e[t]);return ze(()=>e[t],a=>i.value=a),ze(i,a=>{a!==e[t]&&r.emit(`update:${t}`,a)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function l3(){const e=hr();return e.setupContext||(e.setupContext=O3(e))}function Km(e){return vt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ioe(e,t){const n=Km(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?vt(i)||Gt(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function aoe(e,t){return!e||!t?e||t:vt(e)&&vt(t)?e.concat(t):cr({},Km(e),Km(t))}function ooe(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function soe(e){const t=hr();let n=e();return cc(),Xw(n)&&(n=n.catch(r=>{throw _c(t),r})),[n,()=>_c(t)]}let TC=!0;function loe(e){const t=yx(e),n=e.proxy,r=e.ctx;TC=!1,t.beforeCreate&&SD(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:l,watch:s,provide:u,inject:o,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:g,activated:m,deactivated:h,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:S,render:C,renderTracked:w,renderTriggered:T,errorCaptured:O,serverPrefetch:I,expose:N,inheritAttrs:M,components:B,directives:P,filters:k}=t;if(o&&coe(o,r,null),l)for(const U in l){const z=l[U];Gt(z)&&(r[U]=z.bind(n))}if(i){const U=i.call(n,n);rr(U)&&(e.data=un(U))}if(TC=!0,a)for(const U in a){const z=a[U],Y=Gt(z)?z.bind(n,n):Gt(z.get)?z.get.bind(n,n):Fo,G=!Gt(z)&&Gt(z.set)?z.set.bind(n):Fo,K=$({get:Y,set:G});Object.defineProperty(r,U,{enumerable:!0,configurable:!0,get:()=>K.value,set:X=>K.value=X})}if(s)for(const U in s)c3(s[U],r,n,U);if(u){const U=Gt(u)?u.call(n):u;Reflect.ownKeys(U).forEach(z=>{Dt(z,U[z])})}c&&SD(c,e,"c");function F(U,z){vt(z)?z.forEach(Y=>U(Y.bind(n))):z&&U(z.bind(n))}if(F(Ab,d),F(_t,p),F(Bg,f),F(ca,g),F(Fg,m),F(hx,h),F(r3,O),F(n3,w),F(t3,T),F(Xt,b),F(ki,S),F(e3,I),vt(N))if(N.length){const U=e.exposed||(e.exposed={});N.forEach(z=>{Object.defineProperty(U,z,{get:()=>n[z],set:Y=>n[z]=Y})})}else e.exposed||(e.exposed={});C&&e.render===Fo&&(e.render=C),M!=null&&(e.inheritAttrs=M),B&&(e.components=B),P&&(e.directives=P)}function coe(e,t,n=Fo){vt(e)&&(e=wC(e));for(const r in e){const i=e[r];let a;rr(i)?"default"in i?a=He(i.from||r,i.default,!0):a=He(i.from||r):a=He(i),zr(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:l=>a.value=l}):t[r]=a}}function SD(e,t,n){Aa(vt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function c3(e,t,n,r){const i=r.includes(".")?Z6(n,r):()=>n[r];if(Tr(e)){const a=t[e];Gt(a)&&ze(i,a)}else if(Gt(e))ze(i,e.bind(n));else if(rr(e))if(vt(e))e.forEach(a=>c3(a,t,n,r));else{const a=Gt(e.handler)?e.handler.bind(n):t[e.handler];Gt(a)&&ze(i,a,e)}}function yx(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,s=a.get(t);let u;return s?u=s:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(o=>cv(u,o,l,!0)),cv(u,t,l)),rr(t)&&a.set(t,u),u}function cv(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&cv(e,a,n,!0),i&&i.forEach(l=>cv(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=uoe[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const uoe={data:ED,props:CD,emits:CD,methods:Kf,computed:Kf,beforeCreate:Hi,created:Hi,beforeMount:Hi,mounted:Hi,beforeUpdate:Hi,updated:Hi,beforeDestroy:Hi,beforeUnmount:Hi,destroyed:Hi,unmounted:Hi,activated:Hi,deactivated:Hi,errorCaptured:Hi,serverPrefetch:Hi,components:Kf,directives:Kf,watch:poe,provide:ED,inject:doe};function ED(e,t){return t?e?function(){return cr(Gt(e)?e.call(this,this):e,Gt(t)?t.call(this,this):t)}:t:e}function doe(e,t){return Kf(wC(e),wC(t))}function wC(e){if(vt(e)){const t={};for(let n=0;n1)return n&&Gt(t)?t.call(r&&r.proxy):t}}function goe(){return!!(Kr||ci||Zm)}function hoe(e,t,n,r=!1){const i={},a={};iv(a,Nb,1),e.propsDefaults=Object.create(null),d3(e,t,i,a);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:L6(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function _oe(e,t,n,r){const{props:i,attrs:a,vnode:{patchFlag:l}}=e,s=Ut(i),[u]=e.propsOptions;let o=!1;if((r||l>0)&&!(l&16)){if(l&8){const c=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[p,f]=p3(d,t,!0);cr(l,p),f&&s.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!u)return rr(e)&&r.set(e,Wd),Wd;if(vt(a))for(let c=0;c-1,f[1]=m<0||g-1||Pn(f,"default"))&&s.push(d)}}}const o=[l,s];return rr(e)&&r.set(e,o),o}function TD(e){return e[0]!=="$"}function wD(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function xD(e,t){return wD(e)===wD(t)}function OD(e,t){return vt(t)?t.findIndex(n=>xD(n,e)):Gt(t)&&xD(t,e)?0:-1}const f3=e=>e[0]==="_"||e==="$stable",Sx=e=>vt(e)?e.map(Ta):[Ta(e)],voe=(e,t,n)=>{if(t._n)return t;const r=pn((...i)=>Sx(t(...i)),n);return r._c=!1,r},m3=(e,t,n)=>{const r=e._ctx;for(const i in e){if(f3(i))continue;const a=e[i];if(Gt(a))t[i]=voe(i,a,r);else if(a!=null){const l=Sx(a);t[i]=()=>l}}},g3=(e,t)=>{const n=Sx(t);e.slots.default=()=>n},boe=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ut(t),iv(t,"_",n)):m3(t,e.slots={})}else e.slots={},t&&g3(e,t);iv(e.slots,Nb,1)},yoe=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,l=nr;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(cr(i,t),!n&&s===1&&delete i._):(a=!t.$stable,m3(t,i)),l=t}else t&&(g3(e,t),l={default:1});if(a)for(const s in i)!f3(s)&&!(s in l)&&delete i[s]};function uv(e,t,n,r,i=!1){if(vt(e)){e.forEach((p,f)=>uv(p,t&&(vt(t)?t[f]:t),n,r,i));return}if(gu(r)&&!i)return;const a=r.shapeFlag&4?Db(r.component)||r.component.proxy:r.el,l=i?null:a,{i:s,r:u}=e,o=t&&t.r,c=s.refs===nr?s.refs={}:s.refs,d=s.setupState;if(o!=null&&o!==u&&(Tr(o)?(c[o]=null,Pn(d,o)&&(d[o]=null)):zr(o)&&(o.value=null)),Gt(u))sl(u,s,12,[l,c]);else{const p=Tr(u),f=zr(u);if(p||f){const g=()=>{if(e.f){const m=p?Pn(d,u)?d[u]:c[u]:u.value;i?vt(m)&&Qw(m,a):vt(m)?m.includes(a)||m.push(a):p?(c[u]=[a],Pn(d,u)&&(d[u]=c[u])):(u.value=[a],e.k&&(c[e.k]=u.value))}else p?(c[u]=l,Pn(d,u)&&(d[u]=l)):f&&(u.value=l,e.k&&(c[e.k]=l))};l?(g.id=-1,hi(g,n)):g()}}}let Fl=!1;const D_=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",P_=e=>e.nodeType===8;function Soe(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:l,remove:s,insert:u,createComment:o}}=e,c=(v,b)=>{if(!b.hasChildNodes()){n(null,v,b),lv(),b._vnode=v;return}Fl=!1,d(b.firstChild,v,null,null,null),lv(),b._vnode=v,Fl&&console.error("Hydration completed but contains mismatches.")},d=(v,b,y,S,C,w=!1)=>{const T=P_(v)&&v.data==="[",O=()=>m(v,b,y,S,C,T),{type:I,ref:N,shapeFlag:M,patchFlag:B}=b;let P=v.nodeType;b.el=v,B===-2&&(w=!1,b.dynamicChildren=null);let k=null;switch(I){case Vo:P!==3?b.children===""?(u(b.el=i(""),l(v),v),k=v):k=O():(v.data!==b.children&&(Fl=!0,v.data=b.children),k=a(v));break;case Si:P!==8||T?k=O():k=a(v);break;case _u:if(T&&(v=a(v),P=v.nodeType),P===1||P===3){k=v;const D=!b.children.length;for(let F=0;F{w=w||!!b.dynamicChildren;const{type:T,props:O,patchFlag:I,shapeFlag:N,dirs:M}=b,B=T==="input"&&M||T==="option";if(B||I!==-1){if(M&&ls(b,null,y,"created"),O)if(B||!w||I&48)for(const k in O)(B&&k.endsWith("value")||Pg(k)&&!cm(k))&&r(v,k,null,O[k],!1,void 0,y);else O.onClick&&r(v,"onClick",null,O.onClick,!1,void 0,y);let P;if((P=O&&O.onVnodeBeforeMount)&&ta(P,y,b),M&&ls(b,null,y,"beforeMount"),((P=O&&O.onVnodeMounted)||M)&&q6(()=>{P&&ta(P,y,b),M&&ls(b,null,y,"mounted")},S),N&16&&!(O&&(O.innerHTML||O.textContent))){let k=f(v.firstChild,b,v,y,S,C,w);for(;k;){Fl=!0;const D=k;k=k.nextSibling,s(D)}}else N&8&&v.textContent!==b.children&&(Fl=!0,v.textContent=b.children)}return v.nextSibling},f=(v,b,y,S,C,w,T)=>{T=T||!!b.dynamicChildren;const O=b.children,I=O.length;for(let N=0;N{const{slotScopeIds:T}=b;T&&(C=C?C.concat(T):T);const O=l(v),I=f(a(v),b,O,y,S,C,w);return I&&P_(I)&&I.data==="]"?a(b.anchor=I):(Fl=!0,u(b.anchor=o("]"),O,I),I)},m=(v,b,y,S,C,w)=>{if(Fl=!0,b.el=null,w){const I=h(v);for(;;){const N=a(v);if(N&&N!==I)s(N);else break}}const T=a(v),O=l(v);return s(v),n(null,b,O,T,y,S,D_(O),C),T},h=v=>{let b=0;for(;v;)if(v=a(v),v&&P_(v)&&(v.data==="["&&b++,v.data==="]")){if(b===0)return a(v);b--}return v};return[c,d]}const hi=q6;function h3(e){return v3(e)}function _3(e){return v3(e,Soe)}function v3(e,t){const n=_C();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:l,createText:s,createComment:u,setText:o,setElementText:c,parentNode:d,nextSibling:p,setScopeId:f=Fo,insertStaticContent:g}=e,m=(W,J,de,ve=null,he=null,Te=null,Ae=!1,Ne=null,we=!!J.dynamicChildren)=>{if(W===J)return;W&&!Io(W,J)&&(ve=ne(W),X(W,he,Te,!0),W=null),J.patchFlag===-2&&(we=!1,J.dynamicChildren=null);const{type:ge,ref:Me,shapeFlag:ke}=J;switch(ge){case Vo:h(W,J,de,ve);break;case Si:v(W,J,de,ve);break;case _u:W==null&&b(J,de,ve,Ae);break;case tt:B(W,J,de,ve,he,Te,Ae,Ne,we);break;default:ke&1?C(W,J,de,ve,he,Te,Ae,Ne,we):ke&6?P(W,J,de,ve,he,Te,Ae,Ne,we):(ke&64||ke&128)&&ge.process(W,J,de,ve,he,Te,Ae,Ne,we,ue)}Me!=null&&he&&uv(Me,W&&W.ref,Te,J||W,!J)},h=(W,J,de,ve)=>{if(W==null)r(J.el=s(J.children),de,ve);else{const he=J.el=W.el;J.children!==W.children&&o(he,J.children)}},v=(W,J,de,ve)=>{W==null?r(J.el=u(J.children||""),de,ve):J.el=W.el},b=(W,J,de,ve)=>{[W.el,W.anchor]=g(W.children,J,de,ve,W.el,W.anchor)},y=({el:W,anchor:J},de,ve)=>{let he;for(;W&&W!==J;)he=p(W),r(W,de,ve),W=he;r(J,de,ve)},S=({el:W,anchor:J})=>{let de;for(;W&&W!==J;)de=p(W),i(W),W=de;i(J)},C=(W,J,de,ve,he,Te,Ae,Ne,we)=>{Ae=Ae||J.type==="svg",W==null?w(J,de,ve,he,Te,Ae,Ne,we):I(W,J,he,Te,Ae,Ne,we)},w=(W,J,de,ve,he,Te,Ae,Ne)=>{let we,ge;const{type:Me,props:ke,shapeFlag:Ue,transition:xe,dirs:ye}=W;if(we=W.el=l(W.type,Te,ke&&ke.is,ke),Ue&8?c(we,W.children):Ue&16&&O(W.children,we,null,ve,he,Te&&Me!=="foreignObject",Ae,Ne),ye&&ls(W,null,ve,"created"),T(we,W,W.scopeId,Ae,ve),ke){for(const L in ke)L!=="value"&&!cm(L)&&a(we,L,null,ke[L],Te,W.children,ve,he,ee);"value"in ke&&a(we,"value",null,ke.value),(ge=ke.onVnodeBeforeMount)&&ta(ge,ve,W)}ye&&ls(W,null,ve,"beforeMount");const j=(!he||he&&!he.pendingBranch)&&xe&&!xe.persisted;j&&xe.beforeEnter(we),r(we,J,de),((ge=ke&&ke.onVnodeMounted)||j||ye)&&hi(()=>{ge&&ta(ge,ve,W),j&&xe.enter(we),ye&&ls(W,null,ve,"mounted")},he)},T=(W,J,de,ve,he)=>{if(de&&f(W,de),ve)for(let Te=0;Te{for(let ge=we;ge{const Ne=J.el=W.el;let{patchFlag:we,dynamicChildren:ge,dirs:Me}=J;we|=W.patchFlag&16;const ke=W.props||nr,Ue=J.props||nr;let xe;de&&zc(de,!1),(xe=Ue.onVnodeBeforeUpdate)&&ta(xe,de,J,W),Me&&ls(J,W,de,"beforeUpdate"),de&&zc(de,!0);const ye=he&&J.type!=="foreignObject";if(ge?N(W.dynamicChildren,ge,Ne,de,ve,ye,Te):Ae||z(W,J,Ne,null,de,ve,ye,Te,!1),we>0){if(we&16)M(Ne,J,ke,Ue,de,ve,he);else if(we&2&&ke.class!==Ue.class&&a(Ne,"class",null,Ue.class,he),we&4&&a(Ne,"style",ke.style,Ue.style,he),we&8){const j=J.dynamicProps;for(let L=0;L{xe&&ta(xe,de,J,W),Me&&ls(J,W,de,"updated")},ve)},N=(W,J,de,ve,he,Te,Ae)=>{for(let Ne=0;Ne{if(de!==ve){if(de!==nr)for(const Ne in de)!cm(Ne)&&!(Ne in ve)&&a(W,Ne,de[Ne],null,Ae,J.children,he,Te,ee);for(const Ne in ve){if(cm(Ne))continue;const we=ve[Ne],ge=de[Ne];we!==ge&&Ne!=="value"&&a(W,Ne,ge,we,Ae,J.children,he,Te,ee)}"value"in ve&&a(W,"value",de.value,ve.value)}},B=(W,J,de,ve,he,Te,Ae,Ne,we)=>{const ge=J.el=W?W.el:s(""),Me=J.anchor=W?W.anchor:s("");let{patchFlag:ke,dynamicChildren:Ue,slotScopeIds:xe}=J;xe&&(Ne=Ne?Ne.concat(xe):xe),W==null?(r(ge,de,ve),r(Me,de,ve),O(J.children,de,Me,he,Te,Ae,Ne,we)):ke>0&&ke&64&&Ue&&W.dynamicChildren?(N(W.dynamicChildren,Ue,de,he,Te,Ae,Ne),(J.key!=null||he&&J===he.subTree)&&Ex(W,J,!0)):z(W,J,de,Me,he,Te,Ae,Ne,we)},P=(W,J,de,ve,he,Te,Ae,Ne,we)=>{J.slotScopeIds=Ne,W==null?J.shapeFlag&512?he.ctx.activate(J,de,ve,Ae,we):k(J,de,ve,he,Te,Ae,we):D(W,J,we)},k=(W,J,de,ve,he,Te,Ae)=>{const Ne=W.component=C3(W,ve,he);if(Lg(W)&&(Ne.ctx.renderer=ue),w3(Ne),Ne.asyncDep){if(he&&he.registerDep(Ne,F),!W.el){const we=Ne.subTree=x(Si);v(null,we,J,de)}return}F(Ne,W,J,de,he,Te,Ae)},D=(W,J,de)=>{const ve=J.component=W.component;if(Dae(W,J,de))if(ve.asyncDep&&!ve.asyncResolved){U(ve,J,de);return}else ve.next=J,wae(ve.update),ve.update();else J.el=W.el,ve.vnode=J},F=(W,J,de,ve,he,Te,Ae)=>{const Ne=()=>{if(W.isMounted){let{next:Me,bu:ke,u:Ue,parent:xe,vnode:ye}=W,j=Me,L;zc(W,!1),Me?(Me.el=ye.el,U(W,Me,Ae)):Me=ye,ke&&Kd(ke),(L=Me.props&&Me.props.onVnodeBeforeUpdate)&&ta(L,xe,Me,ye),zc(W,!0);const H=h0(W),te=W.subTree;W.subTree=H,m(te,H,d(te.el),ne(te),W,he,Te),Me.el=H.el,j===null&&px(W,H.el),Ue&&hi(Ue,he),(L=Me.props&&Me.props.onVnodeUpdated)&&hi(()=>ta(L,xe,Me,ye),he)}else{let Me;const{el:ke,props:Ue}=J,{bm:xe,m:ye,parent:j}=W,L=gu(J);if(zc(W,!1),xe&&Kd(xe),!L&&(Me=Ue&&Ue.onVnodeBeforeMount)&&ta(Me,j,J),zc(W,!0),ke&&fe){const H=()=>{W.subTree=h0(W),fe(ke,W.subTree,W,he,null)};L?J.type.__asyncLoader().then(()=>!W.isUnmounted&&H()):H()}else{const H=W.subTree=h0(W);m(null,H,de,ve,W,he,Te),J.el=H.el}if(ye&&hi(ye,he),!L&&(Me=Ue&&Ue.onVnodeMounted)){const H=J;hi(()=>ta(Me,j,H),he)}(J.shapeFlag&256||j&&gu(j.vnode)&&j.vnode.shapeFlag&256)&&W.a&&hi(W.a,he),W.isMounted=!0,J=de=ve=null}},we=W.effect=new kg(Ne,()=>wb(ge),W.scope),ge=W.update=()=>we.run();ge.id=W.uid,zc(W,!0),ge()},U=(W,J,de)=>{J.component=W;const ve=W.vnode.props;W.vnode=J,W.next=null,_oe(W,J.props,ve,de),yoe(W,J.children,de),Xp(),hD(),Jp()},z=(W,J,de,ve,he,Te,Ae,Ne,we=!1)=>{const ge=W&&W.children,Me=W?W.shapeFlag:0,ke=J.children,{patchFlag:Ue,shapeFlag:xe}=J;if(Ue>0){if(Ue&128){G(ge,ke,de,ve,he,Te,Ae,Ne,we);return}else if(Ue&256){Y(ge,ke,de,ve,he,Te,Ae,Ne,we);return}}xe&8?(Me&16&&ee(ge,he,Te),ke!==ge&&c(de,ke)):Me&16?xe&16?G(ge,ke,de,ve,he,Te,Ae,Ne,we):ee(ge,he,Te,!0):(Me&8&&c(de,""),xe&16&&O(ke,de,ve,he,Te,Ae,Ne,we))},Y=(W,J,de,ve,he,Te,Ae,Ne,we)=>{W=W||Wd,J=J||Wd;const ge=W.length,Me=J.length,ke=Math.min(ge,Me);let Ue;for(Ue=0;UeMe?ee(W,he,Te,!0,!1,ke):O(J,de,ve,he,Te,Ae,Ne,we,ke)},G=(W,J,de,ve,he,Te,Ae,Ne,we)=>{let ge=0;const Me=J.length;let ke=W.length-1,Ue=Me-1;for(;ge<=ke&&ge<=Ue;){const xe=W[ge],ye=J[ge]=we?Wl(J[ge]):Ta(J[ge]);if(Io(xe,ye))m(xe,ye,de,null,he,Te,Ae,Ne,we);else break;ge++}for(;ge<=ke&&ge<=Ue;){const xe=W[ke],ye=J[Ue]=we?Wl(J[Ue]):Ta(J[Ue]);if(Io(xe,ye))m(xe,ye,de,null,he,Te,Ae,Ne,we);else break;ke--,Ue--}if(ge>ke){if(ge<=Ue){const xe=Ue+1,ye=xeUe)for(;ge<=ke;)X(W[ge],he,Te,!0),ge++;else{const xe=ge,ye=ge,j=new Map;for(ge=ye;ge<=Ue;ge++){const Ze=J[ge]=we?Wl(J[ge]):Ta(J[ge]);Ze.key!=null&&j.set(Ze.key,ge)}let L,H=0;const te=Ue-ye+1;let re=!1,me=0;const Se=new Array(te);for(ge=0;ge=te){X(Ze,he,Te,!0);continue}let We;if(Ze.key!=null)We=j.get(Ze.key);else for(L=ye;L<=Ue;L++)if(Se[L-ye]===0&&Io(Ze,J[L])){We=L;break}We===void 0?X(Ze,he,Te,!0):(Se[We-ye]=ge+1,We>=me?me=We:re=!0,m(Ze,J[We],de,null,he,Te,Ae,Ne,we),H++)}const Ye=re?Eoe(Se):Wd;for(L=Ye.length-1,ge=te-1;ge>=0;ge--){const Ze=ye+ge,We=J[Ze],Je=Ze+1{const{el:Te,type:Ae,transition:Ne,children:we,shapeFlag:ge}=W;if(ge&6){K(W.component.subTree,J,de,ve);return}if(ge&128){W.suspense.move(J,de,ve);return}if(ge&64){Ae.move(W,J,de,ue);return}if(Ae===tt){r(Te,J,de);for(let ke=0;keNe.enter(Te),he);else{const{leave:ke,delayLeave:Ue,afterLeave:xe}=Ne,ye=()=>r(Te,J,de),j=()=>{ke(Te,()=>{ye(),xe&&xe()})};Ue?Ue(Te,ye,j):j()}else r(Te,J,de)},X=(W,J,de,ve=!1,he=!1)=>{const{type:Te,props:Ae,ref:Ne,children:we,dynamicChildren:ge,shapeFlag:Me,patchFlag:ke,dirs:Ue}=W;if(Ne!=null&&uv(Ne,null,de,W,!0),Me&256){J.ctx.deactivate(W);return}const xe=Me&1&&Ue,ye=!gu(W);let j;if(ye&&(j=Ae&&Ae.onVnodeBeforeUnmount)&&ta(j,J,W),Me&6)q(W.component,de,ve);else{if(Me&128){W.suspense.unmount(de,ve);return}xe&&ls(W,null,J,"beforeUnmount"),Me&64?W.type.remove(W,J,de,he,ue,ve):ge&&(Te!==tt||ke>0&&ke&64)?ee(ge,J,de,!1,!0):(Te===tt&&ke&384||!he&&Me&16)&&ee(we,J,de),ve&&ie(W)}(ye&&(j=Ae&&Ae.onVnodeUnmounted)||xe)&&hi(()=>{j&&ta(j,J,W),xe&&ls(W,null,J,"unmounted")},de)},ie=W=>{const{type:J,el:de,anchor:ve,transition:he}=W;if(J===tt){se(de,ve);return}if(J===_u){S(W);return}const Te=()=>{i(de),he&&!he.persisted&&he.afterLeave&&he.afterLeave()};if(W.shapeFlag&1&&he&&!he.persisted){const{leave:Ae,delayLeave:Ne}=he,we=()=>Ae(de,Te);Ne?Ne(W.el,Te,we):we()}else Te()},se=(W,J)=>{let de;for(;W!==J;)de=p(W),i(W),W=de;i(J)},q=(W,J,de)=>{const{bum:ve,scope:he,update:Te,subTree:Ae,um:Ne}=W;ve&&Kd(ve),he.stop(),Te&&(Te.active=!1,X(Ae,W,J,de)),Ne&&hi(Ne,J),hi(()=>{W.isUnmounted=!0},J),J&&J.pendingBranch&&!J.isUnmounted&&W.asyncDep&&!W.asyncResolved&&W.suspenseId===J.pendingId&&(J.deps--,J.deps===0&&J.resolve())},ee=(W,J,de,ve=!1,he=!1,Te=0)=>{for(let Ae=Te;AeW.shapeFlag&6?ne(W.component.subTree):W.shapeFlag&128?W.suspense.next():p(W.anchor||W.el),_e=(W,J,de)=>{W==null?J._vnode&&X(J._vnode,null,null,!0):m(J._vnode||null,W,J,null,null,null,de),hD(),lv(),J._vnode=W},ue={p:m,um:X,m:K,r:ie,mt:k,mc:O,pc:z,pbc:N,n:ne,o:e};let be,fe;return t&&([be,fe]=t(ue)),{render:_e,hydrate:be,createApp:moe(_e,be)}}function zc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ex(e,t,n=!1){const r=e.children,i=t.children;if(vt(r)&&vt(i))for(let a=0;a>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,l=n[a-1];a-- >0;)n[a]=l,l=t[l];return n}const Coe=e=>e.__isTeleport,pm=e=>e&&(e.disabled||e.disabled===""),RD=e=>typeof SVGElement<"u"&&e instanceof SVGElement,OC=(e,t)=>{const n=e&&e.to;return Tr(n)?t?t(n):null:n},Toe={__isTeleport:!0,process(e,t,n,r,i,a,l,s,u,o){const{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:g,createText:m,createComment:h}}=o,v=pm(t.props);let{shapeFlag:b,children:y,dynamicChildren:S}=t;if(e==null){const C=t.el=m(""),w=t.anchor=m("");f(C,n,r),f(w,n,r);const T=t.target=OC(t.props,g),O=t.targetAnchor=m("");T&&(f(O,T),l=l||RD(T));const I=(N,M)=>{b&16&&c(y,N,M,i,a,l,s,u)};v?I(n,w):T&&I(T,O)}else{t.el=e.el;const C=t.anchor=e.anchor,w=t.target=e.target,T=t.targetAnchor=e.targetAnchor,O=pm(e.props),I=O?n:w,N=O?C:T;if(l=l||RD(w),S?(p(e.dynamicChildren,S,I,i,a,l,s),Ex(e,t,!0)):u||d(e,t,I,N,i,a,l,s,!1),v)O||M_(t,n,C,o,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=OC(t.props,g);M&&M_(t,M,null,o,0)}else O&&M_(t,w,T,o,1)}b3(t)},remove(e,t,n,r,{um:i,o:{remove:a}},l){const{shapeFlag:s,children:u,anchor:o,targetAnchor:c,target:d,props:p}=e;if(d&&a(c),(l||!pm(p))&&(a(o),s&16))for(let f=0;f0?ia||Wd:null,y3(),Iu>0&&ia&&ia.push(e),e}function pe(e,t,n,r,i,a){return S3(Ee(e,t,n,r,i,a,!0))}function Rn(e,t,n,r,i){return S3(x(e,t,n,r,i,!0))}function Vr(e){return e?e.__v_isVNode===!0:!1}function Io(e,t){return e.type===t.type&&e.key===t.key}function xoe(e){}const Nb="__vInternal",E3=({key:e})=>e!=null?e:null,_0=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Tr(e)||zr(e)||Gt(e)?{i:ci,r:e,k:t,f:!!n}:e:null);function Ee(e,t=null,n=null,r=0,i=null,a=e===tt?0:1,l=!1,s=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&E3(t),ref:t&&_0(t),scopeId:Ob,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ci};return s?(Cx(u,n),a&128&&e.normalize(u)):n&&(u.shapeFlag|=Tr(n)?8:16),Iu>0&&!l&&ia&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&ia.push(u),u}const x=Ooe;function Ooe(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===i3)&&(e=Si),Vr(e)){const s=Ci(e,t,!0);return n&&Cx(s,n),Iu>0&&!a&&ia&&(s.shapeFlag&6?ia[ia.indexOf(e)]=s:ia.push(s)),s.patchFlag|=-2,s}if(koe(e)&&(e=e.__vccOpts),t){t=Ja(t);let{class:s,style:u}=t;s&&!Tr(s)&&(t.class=Vt(s)),rr(u)&&(ax(u)&&!vt(u)&&(u=cr({},u)),t.style=Ni(u))}const l=Tr(e)?1:W6(e)?128:Coe(e)?64:rr(e)?4:Gt(e)?2:0;return Ee(e,t,n,r,i,l,a,!0)}function Ja(e){return e?ax(e)||Nb in e?cr({},e):e:null}function Ci(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:l}=e,s=t?An(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&E3(s),ref:t&&t.ref?n&&i?vt(i)?i.concat(_0(t)):[i,_0(t)]:_0(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ci(e.ssContent),ssFallback:e.ssFallback&&Ci(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Zn(e=" ",t=0){return x(Vo,null,e,t)}function Roe(e,t){const n=x(_u,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(oe(),Rn(Si,null,e)):x(Si,null,e)}function Ta(e){return e==null||typeof e=="boolean"?x(Si):vt(e)?x(tt,null,e.slice()):typeof e=="object"?Wl(e):x(Vo,null,String(e))}function Wl(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ci(e)}function Cx(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(vt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Cx(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Nb in t)?t._ctx=ci:i===3&&ci&&(ci.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Gt(t)?(t={default:t,_ctx:ci},n=32):(t=String(t),r&64?(n=16,t=[Zn(t)]):n=8);e.children=t,e.shapeFlag|=n}function An(...e){const t={};for(let n=0;nKr||ci;let Tx,fd,ID="__VUE_INSTANCE_SETTERS__";(fd=_C()[ID])||(fd=_C()[ID]=[]),fd.push(e=>Kr=e),Tx=e=>{fd.length>1?fd.forEach(t=>t(e)):fd[0](e)};const _c=e=>{Tx(e),e.scope.on()},cc=()=>{Kr&&Kr.scope.off(),Tx(null)};function T3(e){return e.vnode.shapeFlag&4}let Cp=!1;function w3(e,t=!1){Cp=t;const{props:n,children:r}=e.vnode,i=T3(e);hoe(e,n,i,t),boe(e,r);const a=i?Noe(e,t):void 0;return Cp=!1,a}function Noe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ox(new Proxy(e.ctx,CC));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?O3(e):null;_c(e),Xp();const a=sl(r,e,0,[e.props,i]);if(Jp(),cc(),Xw(a)){if(a.then(cc,cc),t)return a.then(l=>{IC(e,l,t)}).catch(l=>{Uu(l,e,0)});e.asyncDep=a}else IC(e,a,t)}else x3(e,t)}function IC(e,t,n){Gt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:rr(t)&&(e.setupState=cx(t)),x3(e,n)}let dv,AC;function Doe(e){dv=e,AC=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,qae))}}const Poe=()=>!dv;function x3(e,t,n){const r=e.type;if(!e.render){if(!t&&dv&&!r.render){const i=r.template||yx(e).template;if(i){const{isCustomElement:a,compilerOptions:l}=e.appContext.config,{delimiters:s,compilerOptions:u}=r,o=cr(cr({isCustomElement:a,delimiters:s},l),u);r.render=dv(i,o)}}e.render=r.render||Fo,AC&&AC(e)}_c(e),Xp(),loe(e),Jp(),cc()}function Moe(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return oa(e,"get","$attrs"),t[n]}}))}function O3(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Moe(e)},slots:e.slots,emit:e.emit,expose:t}}function Db(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(cx(ox(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dm)return dm[n](e)},has(t,n){return n in t||n in dm}}))}function NC(e,t=!0){return Gt(e)?e.displayName||e.name:e.name||t&&e.__name}function koe(e){return Gt(e)&&"__vccOpts"in e}const $=(e,t)=>yae(e,t,Cp);function dl(e,t,n){const r=arguments.length;return r===2?rr(t)&&!vt(t)?Vr(t)?x(e,null,[t]):x(e,t):x(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vr(n)&&(n=[n]),x(e,t,n))}const R3=Symbol.for("v-scx"),I3=()=>He(R3);function $oe(){}function Loe(e,t,n,r){const i=n[r];if(i&&A3(i,e))return i;const a=t();return a.memo=e.slice(),n[r]=a}function A3(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&ia&&ia.push(e),!0}const N3="3.3.4",Foe={createComponentInstance:C3,setupComponent:w3,renderComponentRoot:h0,setCurrentRenderingInstance:Wm,isVNode:Vr,normalizeVNode:Ta},Boe=Foe,Uoe=null,Hoe=null,zoe="http://www.w3.org/2000/svg",eu=typeof document<"u"?document:null,AD=eu&&eu.createElement("template"),Voe={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?eu.createElementNS(zoe,e):eu.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>eu.createTextNode(e),createComment:e=>eu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>eu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){const l=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{AD.innerHTML=r?`${e}`:e;const s=AD.content;if(r){const u=s.firstChild;for(;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Goe(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Yoe(e,t,n){const r=e.style,i=Tr(n);if(n&&!i){if(t&&!Tr(t))for(const a in t)n[a]==null&&DC(r,a,"");for(const a in n)DC(r,a,n[a])}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const ND=/\s*!important$/;function DC(e,t,n){if(vt(n))n.forEach(r=>DC(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=joe(e,t);ND.test(n)?e.setProperty(io(r),n.replace(ND,""),"important"):e[r]=n}}const DD=["Webkit","Moz","ms"],lE={};function joe(e,t){const n=lE[t];if(n)return n;let r=aa(t);if(r!=="filter"&&r in e)return lE[t]=r;r=Mg(r);for(let i=0;icE||(Xoe.then(()=>cE=0),cE=Date.now());function ese(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Aa(tse(r,n.value),t,5,[r])};return n.value=e,n.attached=Joe(),n}function tse(e,t){if(vt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const kD=/^on[a-z]/,nse=(e,t,n,r,i=!1,a,l,s,u)=>{t==="class"?Goe(e,r,i):t==="style"?Yoe(e,n,r):Pg(t)?Zw(t)||Zoe(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rse(e,t,r,i))?qoe(e,t,r,a,l,s,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Woe(e,t,r,i))};function rse(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&kD.test(t)&&Gt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||kD.test(t)&&Tr(n)?!1:t in e}function D3(e,t){const n=Ce(e);class r extends Pb{constructor(a){super(n,a,t)}}return r.def=n,r}const ise=e=>D3(e,W3),ase=typeof HTMLElement<"u"?HTMLElement:class{};class Pb extends ase{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,sn(()=>{this._connected||(pl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}).observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:a,styles:l}=r;let s;if(a&&!vt(a))for(const u in a){const o=a[u];(o===Number||o&&o.type===Number)&&(u in this._props&&(this._props[u]=ov(this._props[u])),(s||(s=Object.create(null)))[aa(u)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(l),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=vt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(aa))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(a){this._setProp(i,a)}})}_setAttr(t){let n=this.getAttribute(t);const r=aa(t);this._numberProps&&this._numberProps[r]&&(n=ov(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(io(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(io(t),n+""):n||this.removeAttribute(io(t))))}_update(){pl(this._createVNode(),this.shadowRoot)}_createVNode(){const t=x(this._def,cr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(a,l)=>{this.dispatchEvent(new CustomEvent(a,{detail:l}))};n.emit=(a,...l)=>{r(a,l),io(a)!==a&&r(io(a),l)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof Pb){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function ose(e="$style"){{const t=hr();if(!t)return nr;const n=t.type.__cssModules;if(!n)return nr;const r=n[e];return r||nr}}function sse(e){const t=hr();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>MC(a,i))},r=()=>{const i=e(t.proxy);PC(t.subTree,i),n(i)};K6(r),_t(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),ki(()=>i.disconnect())})}function PC(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{PC(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)MC(e.el,t);else if(e.type===tt)e.children.forEach(n=>PC(n,t));else if(e.type===_u){let{el:n,anchor:r}=e;for(;n&&(MC(n,t),n!==r);)n=n.nextSibling}}function MC(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Bl="transition",Af="animation",Ti=(e,{slots:t})=>dl(Q6,M3(e),t);Ti.displayName="Transition";const P3={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},lse=Ti.props=cr({},gx,P3),Vc=(e,t=[])=>{vt(e)?e.forEach(n=>n(...t)):e&&e(...t)},$D=e=>e?vt(e)?e.some(t=>t.length>1):e.length>1:!1;function M3(e){const t={};for(const B in e)B in P3||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=a,appearActiveClass:o=l,appearToClass:c=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=cse(i),m=g&&g[0],h=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:S,onLeaveCancelled:C,onBeforeAppear:w=v,onAppear:T=b,onAppearCancelled:O=y}=t,I=(B,P,k)=>{zl(B,P?c:s),zl(B,P?o:l),k&&k()},N=(B,P)=>{B._isLeaving=!1,zl(B,d),zl(B,f),zl(B,p),P&&P()},M=B=>(P,k)=>{const D=B?T:b,F=()=>I(P,B,k);Vc(D,[P,F]),LD(()=>{zl(P,B?u:a),Vs(P,B?c:s),$D(D)||FD(P,r,m,F)})};return cr(t,{onBeforeEnter(B){Vc(v,[B]),Vs(B,a),Vs(B,l)},onBeforeAppear(B){Vc(w,[B]),Vs(B,u),Vs(B,o)},onEnter:M(!1),onAppear:M(!0),onLeave(B,P){B._isLeaving=!0;const k=()=>N(B,P);Vs(B,d),$3(),Vs(B,p),LD(()=>{!B._isLeaving||(zl(B,d),Vs(B,f),$D(S)||FD(B,r,h,k))}),Vc(S,[B,k])},onEnterCancelled(B){I(B,!1),Vc(y,[B])},onAppearCancelled(B){I(B,!0),Vc(O,[B])},onLeaveCancelled(B){N(B),Vc(C,[B])}})}function cse(e){if(e==null)return null;if(rr(e))return[uE(e.enter),uE(e.leave)];{const t=uE(e);return[t,t]}}function uE(e){return ov(e)}function Vs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function zl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function LD(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let use=0;function FD(e,t,n,r){const i=e._endId=++use,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:l,timeout:s,propCount:u}=k3(e,t);if(!l)return r();const o=l+"end";let c=0;const d=()=>{e.removeEventListener(o,p),a()},p=f=>{f.target===e&&++c>=u&&d()};setTimeout(()=>{c(n[g]||"").split(", "),i=r(`${Bl}Delay`),a=r(`${Bl}Duration`),l=BD(i,a),s=r(`${Af}Delay`),u=r(`${Af}Duration`),o=BD(s,u);let c=null,d=0,p=0;t===Bl?l>0&&(c=Bl,d=l,p=a.length):t===Af?o>0&&(c=Af,d=o,p=u.length):(d=Math.max(l,o),c=d>0?l>o?Bl:Af:null,p=c?c===Bl?a.length:u.length:0);const f=c===Bl&&/\b(transform|all)(,|$)/.test(r(`${Bl}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function BD(e,t){for(;e.lengthUD(n)+UD(e[r])))}function UD(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function $3(){return document.body.offsetHeight}const L3=new WeakMap,F3=new WeakMap,B3={name:"TransitionGroup",props:cr({},lse,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=hr(),r=mx();let i,a;return ca(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!gse(i[0].el,n.vnode.el,l))return;i.forEach(pse),i.forEach(fse);const s=i.filter(mse);$3(),s.forEach(u=>{const o=u.el,c=o.style;Vs(o,l),c.transform=c.webkitTransform=c.transitionDuration="";const d=o._moveCb=p=>{p&&p.target!==o||(!p||/transform$/.test(p.propertyName))&&(o.removeEventListener("transitionend",d),o._moveCb=null,zl(o,l))};o.addEventListener("transitionend",d)})}),()=>{const l=Ut(e),s=M3(l);let u=l.tag||tt;i=a,a=t.default?Rb(t.default()):[];for(let o=0;odelete e.mode;B3.props;const Hg=B3;function pse(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function fse(e){F3.set(e,e.el.getBoundingClientRect())}function mse(e){const t=L3.get(e),n=F3.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${i}px)`,a.transitionDuration="0s",e}}function gse(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(l=>{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=k3(r);return i.removeChild(r),a}const vc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return vt(t)?n=>Kd(t,n):t};function hse(e){e.target.composing=!0}function HD(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Au={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=vc(i);const a=r||i.props&&i.props.type==="number";tl(e,t?"change":"input",l=>{if(l.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=av(s)),e._assign(s)}),n&&tl(e,"change",()=>{e.value=e.value.trim()}),t||(tl(e,"compositionstart",hse),tl(e,"compositionend",HD),tl(e,"change",HD))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},a){if(e._assign=vc(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&av(e.value)===t))return;const l=t==null?"":t;e.value!==l&&(e.value=l)}},wx={deep:!0,created(e,t,n){e._assign=vc(n),tl(e,"change",()=>{const r=e._modelValue,i=Tp(e),a=e.checked,l=e._assign;if(vt(r)){const s=bb(r,i),u=s!==-1;if(a&&!u)l(r.concat(i));else if(!a&&u){const o=[...r];o.splice(s,1),l(o)}}else if(Bu(r)){const s=new Set(r);a?s.add(i):s.delete(i),l(s)}else l(H3(e,a))})},mounted:zD,beforeUpdate(e,t,n){e._assign=vc(n),zD(e,t,n)}};function zD(e,{value:t,oldValue:n},r){e._modelValue=t,vt(t)?e.checked=bb(t,r.props.value)>-1:Bu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=gc(t,H3(e,!0)))}const xx={created(e,{value:t},n){e.checked=gc(t,n.props.value),e._assign=vc(n),tl(e,"change",()=>{e._assign(Tp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=vc(r),t!==n&&(e.checked=gc(t,r.props.value))}},U3={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Bu(t);tl(e,"change",()=>{const a=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?av(Tp(l)):Tp(l));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=vc(r)},mounted(e,{value:t}){VD(e,t)},beforeUpdate(e,t,n){e._assign=vc(n)},updated(e,{value:t}){VD(e,t)}};function VD(e,t){const n=e.multiple;if(!(n&&!vt(t)&&!Bu(t))){for(let r=0,i=e.options.length;r-1:a.selected=t.has(l);else if(gc(Tp(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Tp(e){return"_value"in e?e._value:e.value}function H3(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const z3={created(e,t,n){k_(e,t,n,null,"created")},mounted(e,t,n){k_(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){k_(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){k_(e,t,n,r,"updated")}};function V3(e,t){switch(e){case"SELECT":return U3;case"TEXTAREA":return Au;default:switch(t){case"checkbox":return wx;case"radio":return xx;default:return Au}}}function k_(e,t,n,r,i){const l=V3(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}function _se(){Au.getSSRProps=({value:e})=>({value:e}),xx.getSSRProps=({value:e},t)=>{if(t.props&&gc(t.props.value,e))return{checked:!0}},wx.getSSRProps=({value:e},t)=>{if(vt(e)){if(t.props&&bb(e,t.props.value)>-1)return{checked:!0}}else if(Bu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},z3.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=V3(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const vse=["ctrl","shift","alt","meta"],bse={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>vse.some(n=>e[`${n}Key`]&&!t.includes(n))},Qm=(e,t)=>(n,...r)=>{for(let i=0;in=>{if(!("key"in n))return;const r=io(n.key);if(t.some(i=>i===r||yse[i]===r))return e(n)},Pa={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Nf(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Nf(e,!0),r.enter(e)):r.leave(e,()=>{Nf(e,!1)}):Nf(e,t))},beforeUnmount(e,{value:t}){Nf(e,t)}};function Nf(e,t){e.style.display=t?e._vod:"none"}function Sse(){Pa.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const G3=cr({patchProp:nse},Voe);let mm,GD=!1;function Y3(){return mm||(mm=h3(G3))}function j3(){return mm=GD?mm:_3(G3),GD=!0,mm}const pl=(...e)=>{Y3().render(...e)},W3=(...e)=>{j3().hydrate(...e)},q3=(...e)=>{const t=Y3().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=K3(r);if(!i)return;const a=t._component;!Gt(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const l=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t},Ese=(...e)=>{const t=j3().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=K3(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function K3(e){return Tr(e)?document.querySelector(e):e}let YD=!1;const Cse=()=>{YD||(YD=!0,_se(),Sse())},Tse=()=>{},wse=Object.freeze(Object.defineProperty({__proto__:null,compile:Tse,EffectScope:ex,ReactiveEffect:kg,customRef:hae,effect:$ie,effectScope:Pie,getCurrentScope:tx,isProxy:ax,isReactive:mu,isReadonly:Ou,isRef:zr,isShallow:Vm,markRaw:ox,onScopeDispose:T6,proxyRefs:cx,reactive:un,readonly:ix,ref:Oe,shallowReactive:L6,shallowReadonly:uae,shallowRef:Pe,stop:Lie,toRaw:Ut,toRef:xt,toRefs:Zd,toValue:fae,triggerRef:pae,unref:je,camelize:aa,capitalize:Mg,normalizeClass:Vt,normalizeProps:Xa,normalizeStyle:Ni,toDisplayString:Qt,toHandlerKey:um,BaseTransition:Q6,BaseTransitionPropsValidators:gx,Comment:Si,Fragment:tt,KeepAlive:Yae,Static:_u,Suspense:Mae,Teleport:Ug,Text:Vo,assertNumber:Eae,callWithAsyncErrorHandling:Aa,callWithErrorHandling:sl,cloneVNode:Ci,compatUtils:Hoe,computed:$,createBlock:Rn,createCommentVNode:ft,createElementBlock:pe,createElementVNode:Ee,createHydrationRenderer:_3,createPropsRestProxy:ooe,createRenderer:h3,createSlots:bx,createStaticVNode:Roe,createTextVNode:Zn,createVNode:x,defineAsyncComponent:Vae,defineComponent:Ce,defineEmits:Zae,defineExpose:Qae,defineModel:eoe,defineOptions:Xae,defineProps:Kae,defineSlots:Jae,get devtools(){return xd},getCurrentInstance:hr,getTransitionRawChildren:Rb,guardReactiveProps:Ja,h:dl,handleError:Uu,hasInjectionContext:goe,initCustomFormatter:$oe,inject:He,isMemoSame:A3,isRuntimeOnly:Poe,isVNode:Vr,mergeDefaults:ioe,mergeModels:aoe,mergeProps:An,nextTick:sn,onActivated:Fg,onBeforeMount:Ab,onBeforeUnmount:Xt,onBeforeUpdate:Bg,onDeactivated:hx,onErrorCaptured:r3,onMounted:_t,onRenderTracked:n3,onRenderTriggered:t3,onServerPrefetch:e3,onUnmounted:ki,onUpdated:ca,openBlock:oe,popScopeId:j6,provide:Dt,pushScopeId:Y6,queuePostFlushCb:dx,registerRuntimeCompiler:Doe,renderList:Di,renderSlot:Et,resolveComponent:Jd,resolveDirective:ef,resolveDynamicComponent:hu,resolveFilter:Uoe,resolveTransitionHooks:Ep,setBlockTracking:RC,setDevtoolsHook:V6,setTransitionHooks:Ru,ssrContextKey:R3,ssrUtils:Boe,toHandlers:o3,transformVNodeArgs:xoe,useAttrs:s3,useModel:roe,useSSRContext:I3,useSlots:noe,useTransitionState:mx,version:N3,warn:Sae,watch:ze,watchEffect:Rt,watchPostEffect:K6,watchSyncEffect:Uae,withAsyncContext:soe,withCtx:pn,withDefaults:toe,withDirectives:mr,withMemo:Loe,withScopeId:Rae,Transition:Ti,TransitionGroup:Hg,VueElement:Pb,createApp:q3,createSSRApp:Ese,defineCustomElement:D3,defineSSRCustomElement:ise,hydrate:W3,initDirectivesForSSR:Cse,render:pl,useCssModule:ose,useCssVars:sse,vModelCheckbox:wx,vModelDynamic:z3,vModelRadio:xx,vModelSelect:U3,vModelText:Au,vShow:Pa,withKeys:Ox,withModifiers:Qm},Symbol.toStringTag,{value:"Module"}));var $n;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const a={};for(const l of i)a[l]=l;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),l={};for(const s of a)l[s]=i[s];return e.objectValues(l)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const l in i)Object.prototype.hasOwnProperty.call(i,l)&&a.push(l);return a},e.find=(i,a)=>{for(const l of i)if(a(l))return l},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(l=>typeof l=="string"?`'${l}'`:l).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})($n||($n={}));var kC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(kC||(kC={}));const mt=$n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Xl=e=>{switch(typeof e){case"undefined":return mt.undefined;case"string":return mt.string;case"number":return isNaN(e)?mt.nan:mt.number;case"boolean":return mt.boolean;case"function":return mt.function;case"bigint":return mt.bigint;case"symbol":return mt.symbol;case"object":return Array.isArray(e)?mt.array:e===null?mt.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?mt.promise:typeof Map<"u"&&e instanceof Map?mt.map:typeof Set<"u"&&e instanceof Set?mt.set:typeof Date<"u"&&e instanceof Date?mt.date:mt.object;default:return mt.unknown}},ot=$n.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),xse=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Bo extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(a){return a.message},r={_errors:[]},i=a=>{for(const l of a.issues)if(l.code==="invalid_union")l.unionErrors.map(i);else if(l.code==="invalid_return_type")i(l.returnTypeError);else if(l.code==="invalid_arguments")i(l.argumentsError);else if(l.path.length===0)r._errors.push(n(l));else{let s=r,u=0;for(;un.message){const n={},r=[];for(const i of this.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Bo.create=e=>new Bo(e);const Xm=(e,t)=>{let n;switch(e.code){case ot.invalid_type:e.received===mt.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ot.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,$n.jsonStringifyReplacer)}`;break;case ot.unrecognized_keys:n=`Unrecognized key(s) in object: ${$n.joinValues(e.keys,", ")}`;break;case ot.invalid_union:n="Invalid input";break;case ot.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${$n.joinValues(e.options)}`;break;case ot.invalid_enum_value:n=`Invalid enum value. Expected ${$n.joinValues(e.options)}, received '${e.received}'`;break;case ot.invalid_arguments:n="Invalid function arguments";break;case ot.invalid_return_type:n="Invalid function return type";break;case ot.invalid_date:n="Invalid date";break;case ot.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:$n.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ot.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ot.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ot.custom:n="Invalid input";break;case ot.invalid_intersection_types:n="Intersection results could not be merged";break;case ot.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ot.not_finite:n="Number must be finite";break;default:n=t.defaultError,$n.assertNever(e)}return{message:n}};let Z3=Xm;function Ose(e){Z3=e}function pv(){return Z3}const fv=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],l={...i,path:a};let s="";const u=r.filter(o=>!!o).slice().reverse();for(const o of u)s=o(l,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}},Rse=[];function ht(e,t){const n=fv({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,pv(),Xm].filter(r=>!!r)});e.common.issues.push(n)}class Pi{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return rn;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n)r.push({key:await i.key,value:await i.value});return Pi.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:a,value:l}=i;if(a.status==="aborted"||l.status==="aborted")return rn;a.status==="dirty"&&t.dirty(),l.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof l.value<"u"||i.alwaysSet)&&(r[a.value]=l.value)}return{status:t.value,value:r}}}const rn=Object.freeze({status:"aborted"}),Q3=e=>({status:"dirty",value:e}),ji=e=>({status:"valid",value:e}),$C=e=>e.status==="aborted",LC=e=>e.status==="dirty",Jm=e=>e.status==="valid",mv=e=>typeof Promise<"u"&&e instanceof Promise;var It;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(It||(It={}));class _s{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const jD=(e,t)=>{if(Jm(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Bo(e.common.issues);return this._error=n,this._error}}};function ln(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(l,s)=>l.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:r!=null?r:s.defaultError}:{message:n!=null?n:s.defaultError},description:i}}class fn{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Xl(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Xl(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Pi,ctx:{common:t.parent.common,data:t.data,parsedType:Xl(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(mv(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const i={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Xl(t)},a=this._parseSync({data:t,path:i.path,parent:i});return jD(i,a)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Xl(t)},i=this._parse({data:t,path:r.path,parent:r}),a=await(mv(i)?i:Promise.resolve(i));return jD(r,a)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,a)=>{const l=t(i),s=()=>a.addIssue({code:ot.custom,...r(i)});return typeof Promise<"u"&&l instanceof Promise?l.then(u=>u?!0:(s(),!1)):l?!0:(s(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new Go({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ll.create(this,this._def)}nullable(){return Pu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Uo.create(this,this._def)}promise(){return xp.create(this,this._def)}or(t){return rg.create([this,t],this._def)}and(t){return ig.create(this,t,this._def)}transform(t){return new Go({...ln(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new cg({...ln(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new J3({typeName:Lt.ZodBranded,type:this,...ln(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new vv({...ln(this._def),innerType:this,catchValue:n,typeName:Lt.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return zg.create(this,t)}readonly(){return yv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Ise=/^c[^\s-]{8,}$/i,Ase=/^[a-z][a-z0-9]*$/,Nse=/^[0-9A-HJKMNP-TV-Z]{26}$/,Dse=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Pse=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Mse="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let dE;const kse=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,$se=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Lse=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Fse(e,t){return!!((t==="v4"||!t)&&kse.test(e)||(t==="v6"||!t)&&$se.test(e))}class Do extends fn{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==mt.string){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.string,received:a.parsedType}),rn}const r=new Pi;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.lengtha.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:ot.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const l=t.data.length>a.value,s=t.data.lengtht.test(i),{validation:n,code:ot.invalid_string,...It.errToObj(r)})}_addCheck(t){return new Do({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...It.errToObj(t)})}url(t){return this._addCheck({kind:"url",...It.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...It.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...It.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...It.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...It.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...It.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...It.errToObj(t)})}datetime(t){var n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,...It.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...It.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...It.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...It.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...It.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...It.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...It.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...It.errToObj(n)})}nonempty(t){return this.min(1,It.errToObj(t))}trim(){return new Do({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Do({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Do({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new Do({checks:[],typeName:Lt.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...ln(e)})};function Bse(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,a=parseInt(e.toFixed(i).replace(".","")),l=parseInt(t.toFixed(i).replace(".",""));return a%l/Math.pow(10,i)}class bc extends fn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==mt.number){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.number,received:a.parsedType}),rn}let r;const i=new Pi;for(const a of this._def.checks)a.kind==="int"?$n.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.dataa.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?Bse(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.not_finite,message:a.message}),i.dirty()):$n.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,It.toString(n))}gt(t,n){return this.setLimit("min",t,!1,It.toString(n))}lte(t,n){return this.setLimit("max",t,!0,It.toString(n))}lt(t,n){return this.setLimit("max",t,!1,It.toString(n))}setLimit(t,n,r,i){return new bc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:It.toString(i)}]})}_addCheck(t){return new bc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:It.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:It.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:It.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:It.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:It.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:It.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:It.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:It.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:It.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&$n.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew bc({checks:[],typeName:Lt.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...ln(e)});class yc extends fn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==mt.bigint){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.bigint,received:a.parsedType}),rn}let r;const i=new Pi;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.dataa.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:ot.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):$n.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,It.toString(n))}gt(t,n){return this.setLimit("min",t,!1,It.toString(n))}lte(t,n){return this.setLimit("max",t,!0,It.toString(n))}lt(t,n){return this.setLimit("max",t,!1,It.toString(n))}setLimit(t,n,r,i){return new yc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:It.toString(i)}]})}_addCheck(t){return new yc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:It.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:It.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:It.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:It.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:It.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new yc({checks:[],typeName:Lt.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...ln(e)})};class eg extends fn{_parse(t){if(this._def.coerce&&(t.data=Boolean(t.data)),this._getType(t)!==mt.boolean){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.boolean,received:r.parsedType}),rn}return ji(t.data)}}eg.create=e=>new eg({typeName:Lt.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...ln(e)});class Nu extends fn{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==mt.date){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_type,expected:mt.date,received:a.parsedType}),rn}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return ht(a,{code:ot.invalid_date}),rn}const r=new Pi;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()a.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:ot.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):$n.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Nu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:It.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:It.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew Nu({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Lt.ZodDate,...ln(e)});class gv extends fn{_parse(t){if(this._getType(t)!==mt.symbol){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.symbol,received:r.parsedType}),rn}return ji(t.data)}}gv.create=e=>new gv({typeName:Lt.ZodSymbol,...ln(e)});class tg extends fn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.undefined,received:r.parsedType}),rn}return ji(t.data)}}tg.create=e=>new tg({typeName:Lt.ZodUndefined,...ln(e)});class ng extends fn{_parse(t){if(this._getType(t)!==mt.null){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.null,received:r.parsedType}),rn}return ji(t.data)}}ng.create=e=>new ng({typeName:Lt.ZodNull,...ln(e)});class wp extends fn{constructor(){super(...arguments),this._any=!0}_parse(t){return ji(t.data)}}wp.create=e=>new wp({typeName:Lt.ZodAny,...ln(e)});class vu extends fn{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ji(t.data)}}vu.create=e=>new vu({typeName:Lt.ZodUnknown,...ln(e)});class fl extends fn{_parse(t){const n=this._getOrReturnCtx(t);return ht(n,{code:ot.invalid_type,expected:mt.never,received:n.parsedType}),rn}}fl.create=e=>new fl({typeName:Lt.ZodNever,...ln(e)});class hv extends fn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.void,received:r.parsedType}),rn}return ji(t.data)}}hv.create=e=>new hv({typeName:Lt.ZodVoid,...ln(e)});class Uo extends fn{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==mt.array)return ht(n,{code:ot.invalid_type,expected:mt.array,received:n.parsedType}),rn;if(i.exactLength!==null){const l=n.data.length>i.exactLength.value,s=n.data.lengthi.maxLength.value&&(ht(n,{code:ot.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((l,s)=>i.type._parseAsync(new _s(n,l,n.path,s)))).then(l=>Pi.mergeArray(r,l));const a=[...n.data].map((l,s)=>i.type._parseSync(new _s(n,l,n.path,s)));return Pi.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new Uo({...this._def,minLength:{value:t,message:It.toString(n)}})}max(t,n){return new Uo({...this._def,maxLength:{value:t,message:It.toString(n)}})}length(t,n){return new Uo({...this._def,exactLength:{value:t,message:It.toString(n)}})}nonempty(t){return this.min(1,t)}}Uo.create=(e,t)=>new Uo({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...ln(t)});function Od(e){if(e instanceof Or){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ll.create(Od(r))}return new Or({...e._def,shape:()=>t})}else return e instanceof Uo?new Uo({...e._def,type:Od(e.element)}):e instanceof ll?ll.create(Od(e.unwrap())):e instanceof Pu?Pu.create(Od(e.unwrap())):e instanceof vs?vs.create(e.items.map(t=>Od(t))):e}class Or extends fn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=$n.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==mt.object){const o=this._getOrReturnCtx(t);return ht(o,{code:ot.invalid_type,expected:mt.object,received:o.parsedType}),rn}const{status:r,ctx:i}=this._processInputParams(t),{shape:a,keys:l}=this._getCached(),s=[];if(!(this._def.catchall instanceof fl&&this._def.unknownKeys==="strip"))for(const o in i.data)l.includes(o)||s.push(o);const u=[];for(const o of l){const c=a[o],d=i.data[o];u.push({key:{status:"valid",value:o},value:c._parse(new _s(i,d,i.path,o)),alwaysSet:o in i.data})}if(this._def.catchall instanceof fl){const o=this._def.unknownKeys;if(o==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(o==="strict")s.length>0&&(ht(i,{code:ot.unrecognized_keys,keys:s}),r.dirty());else if(o!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const o=this._def.catchall;for(const c of s){const d=i.data[c];u.push({key:{status:"valid",value:c},value:o._parse(new _s(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const o=[];for(const c of u){const d=await c.key;o.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return o}).then(o=>Pi.mergeObjectSync(r,o)):Pi.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return It.errToObj,new Or({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,a,l,s;const u=(l=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,n,r).message)!==null&&l!==void 0?l:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=It.errToObj(t).message)!==null&&s!==void 0?s:u}:{message:u}}}:{}})}strip(){return new Or({...this._def,unknownKeys:"strip"})}passthrough(){return new Or({...this._def,unknownKeys:"passthrough"})}extend(t){return new Or({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Or({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Lt.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Or({...this._def,catchall:t})}pick(t){const n={};return $n.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Or({...this._def,shape:()=>n})}omit(t){const n={};return $n.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new Or({...this._def,shape:()=>n})}deepPartial(){return Od(this)}partial(t){const n={};return $n.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new Or({...this._def,shape:()=>n})}required(t){const n={};return $n.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof ll;)a=a._def.innerType;n[r]=a}}),new Or({...this._def,shape:()=>n})}keyof(){return X3($n.objectKeys(this.shape))}}Or.create=(e,t)=>new Or({shape:()=>e,unknownKeys:"strip",catchall:fl.create(),typeName:Lt.ZodObject,...ln(t)});Or.strictCreate=(e,t)=>new Or({shape:()=>e,unknownKeys:"strict",catchall:fl.create(),typeName:Lt.ZodObject,...ln(t)});Or.lazycreate=(e,t)=>new Or({shape:e,unknownKeys:"strip",catchall:fl.create(),typeName:Lt.ZodObject,...ln(t)});class rg extends fn{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const l=a.map(s=>new Bo(s.ctx.common.issues));return ht(n,{code:ot.invalid_union,unionErrors:l}),rn}if(n.common.async)return Promise.all(r.map(async a=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(i);{let a;const l=[];for(const u of r){const o={...n,common:{...n.common,issues:[]},parent:null},c=u._parseSync({data:n.data,path:n.path,parent:o});if(c.status==="valid")return c;c.status==="dirty"&&!a&&(a={result:c,ctx:o}),o.common.issues.length&&l.push(o.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const s=l.map(u=>new Bo(u));return ht(n,{code:ot.invalid_union,unionErrors:s}),rn}}get options(){return this._def.options}}rg.create=(e,t)=>new rg({options:e,typeName:Lt.ZodUnion,...ln(t)});const v0=e=>e instanceof og?v0(e.schema):e instanceof Go?v0(e.innerType()):e instanceof sg?[e.value]:e instanceof Sc?e.options:e instanceof lg?Object.keys(e.enum):e instanceof cg?v0(e._def.innerType):e instanceof tg?[void 0]:e instanceof ng?[null]:null;class Mb extends fn{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.object)return ht(n,{code:ot.invalid_type,expected:mt.object,received:n.parsedType}),rn;const r=this.discriminator,i=n.data[r],a=this.optionsMap.get(i);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(ht(n,{code:ot.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),rn)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const i=new Map;for(const a of n){const l=v0(a.shape[t]);if(!l)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of l){if(i.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);i.set(s,a)}}return new Mb({typeName:Lt.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...ln(r)})}}function FC(e,t){const n=Xl(e),r=Xl(t);if(e===t)return{valid:!0,data:e};if(n===mt.object&&r===mt.object){const i=$n.objectKeys(t),a=$n.objectKeys(e).filter(s=>i.indexOf(s)!==-1),l={...e,...t};for(const s of a){const u=FC(e[s],t[s]);if(!u.valid)return{valid:!1};l[s]=u.data}return{valid:!0,data:l}}else if(n===mt.array&&r===mt.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a{if($C(a)||$C(l))return rn;const s=FC(a.value,l.value);return s.valid?((LC(a)||LC(l))&&n.dirty(),{status:n.value,value:s.data}):(ht(r,{code:ot.invalid_intersection_types}),rn)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,l])=>i(a,l)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ig.create=(e,t,n)=>new ig({left:e,right:t,typeName:Lt.ZodIntersection,...ln(n)});class vs extends fn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.array)return ht(r,{code:ot.invalid_type,expected:mt.array,received:r.parsedType}),rn;if(r.data.lengththis._def.items.length&&(ht(r,{code:ot.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((l,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new _s(r,l,r.path,s)):null}).filter(l=>!!l);return r.common.async?Promise.all(a).then(l=>Pi.mergeArray(n,l)):Pi.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new vs({...this._def,rest:t})}}vs.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new vs({items:e,typeName:Lt.ZodTuple,rest:null,...ln(t)})};class ag extends fn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.object)return ht(r,{code:ot.invalid_type,expected:mt.object,received:r.parsedType}),rn;const i=[],a=this._def.keyType,l=this._def.valueType;for(const s in r.data)i.push({key:a._parse(new _s(r,s,r.path,s)),value:l._parse(new _s(r,r.data[s],r.path,s))});return r.common.async?Pi.mergeObjectAsync(n,i):Pi.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof fn?new ag({keyType:t,valueType:n,typeName:Lt.ZodRecord,...ln(r)}):new ag({keyType:Do.create(),valueType:t,typeName:Lt.ZodRecord,...ln(n)})}}class _v extends fn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.map)return ht(r,{code:ot.invalid_type,expected:mt.map,received:r.parsedType}),rn;const i=this._def.keyType,a=this._def.valueType,l=[...r.data.entries()].map(([s,u],o)=>({key:i._parse(new _s(r,s,r.path,[o,"key"])),value:a._parse(new _s(r,u,r.path,[o,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of l){const o=await u.key,c=await u.value;if(o.status==="aborted"||c.status==="aborted")return rn;(o.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(o.value,c.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const u of l){const o=u.key,c=u.value;if(o.status==="aborted"||c.status==="aborted")return rn;(o.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(o.value,c.value)}return{status:n.value,value:s}}}}_v.create=(e,t,n)=>new _v({valueType:t,keyType:e,typeName:Lt.ZodMap,...ln(n)});class Du extends fn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.set)return ht(r,{code:ot.invalid_type,expected:mt.set,received:r.parsedType}),rn;const i=this._def;i.minSize!==null&&r.data.sizei.maxSize.value&&(ht(r,{code:ot.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const a=this._def.valueType;function l(u){const o=new Set;for(const c of u){if(c.status==="aborted")return rn;c.status==="dirty"&&n.dirty(),o.add(c.value)}return{status:n.value,value:o}}const s=[...r.data.values()].map((u,o)=>a._parse(new _s(r,u,r.path,o)));return r.common.async?Promise.all(s).then(u=>l(u)):l(s)}min(t,n){return new Du({...this._def,minSize:{value:t,message:It.toString(n)}})}max(t,n){return new Du({...this._def,maxSize:{value:t,message:It.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Du.create=(e,t)=>new Du({valueType:e,minSize:null,maxSize:null,typeName:Lt.ZodSet,...ln(t)});class ep extends fn{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.function)return ht(n,{code:ot.invalid_type,expected:mt.function,received:n.parsedType}),rn;function r(s,u){return fv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pv(),Xm].filter(o=>!!o),issueData:{code:ot.invalid_arguments,argumentsError:u}})}function i(s,u){return fv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,pv(),Xm].filter(o=>!!o),issueData:{code:ot.invalid_return_type,returnTypeError:u}})}const a={errorMap:n.common.contextualErrorMap},l=n.data;if(this._def.returns instanceof xp){const s=this;return ji(async function(...u){const o=new Bo([]),c=await s._def.args.parseAsync(u,a).catch(f=>{throw o.addIssue(r(u,f)),o}),d=await Reflect.apply(l,this,c);return await s._def.returns._def.type.parseAsync(d,a).catch(f=>{throw o.addIssue(i(d,f)),o})})}else{const s=this;return ji(function(...u){const o=s._def.args.safeParse(u,a);if(!o.success)throw new Bo([r(u,o.error)]);const c=Reflect.apply(l,this,o.data),d=s._def.returns.safeParse(c,a);if(!d.success)throw new Bo([i(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new ep({...this._def,args:vs.create(t).rest(vu.create())})}returns(t){return new ep({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new ep({args:t||vs.create([]).rest(vu.create()),returns:n||vu.create(),typeName:Lt.ZodFunction,...ln(r)})}}class og extends fn{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}og.create=(e,t)=>new og({getter:e,typeName:Lt.ZodLazy,...ln(t)});class sg extends fn{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ht(n,{received:n.data,code:ot.invalid_literal,expected:this._def.value}),rn}return{status:"valid",value:t.data}}get value(){return this._def.value}}sg.create=(e,t)=>new sg({value:e,typeName:Lt.ZodLiteral,...ln(t)});function X3(e,t){return new Sc({values:e,typeName:Lt.ZodEnum,...ln(t)})}class Sc extends fn{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{expected:$n.joinValues(r),received:n.parsedType,code:ot.invalid_type}),rn}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{received:n.data,code:ot.invalid_enum_value,options:r}),rn}return ji(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return Sc.create(t)}exclude(t){return Sc.create(this.options.filter(n=>!t.includes(n)))}}Sc.create=X3;class lg extends fn{_parse(t){const n=$n.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==mt.string&&r.parsedType!==mt.number){const i=$n.objectValues(n);return ht(r,{expected:$n.joinValues(i),received:r.parsedType,code:ot.invalid_type}),rn}if(n.indexOf(t.data)===-1){const i=$n.objectValues(n);return ht(r,{received:r.data,code:ot.invalid_enum_value,options:i}),rn}return ji(t.data)}get enum(){return this._def.values}}lg.create=(e,t)=>new lg({values:e,typeName:Lt.ZodNativeEnum,...ln(t)});class xp extends fn{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.promise&&n.common.async===!1)return ht(n,{code:ot.invalid_type,expected:mt.promise,received:n.parsedType}),rn;const r=n.parsedType===mt.promise?n.data:Promise.resolve(n.data);return ji(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}xp.create=(e,t)=>new xp({type:e,typeName:Lt.ZodPromise,...ln(t)});class Go extends fn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:l=>{ht(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const l=i.transform(r.data,a);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(l).then(s=>this._def.schema._parseAsync({data:s,path:r.path,parent:r})):this._def.schema._parseSync({data:l,path:r.path,parent:r})}if(i.type==="refinement"){const l=s=>{const u=i.refinement(s,a);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?rn:(s.status==="dirty"&&n.dirty(),l(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?rn:(s.status==="dirty"&&n.dirty(),l(s.value).then(()=>({status:n.value,value:s.value}))))}if(i.type==="transform")if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Jm(l))return l;const s=i.transform(l.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>Jm(l)?Promise.resolve(i.transform(l.value,a)).then(s=>({status:n.value,value:s})):l);$n.assertNever(i)}}Go.create=(e,t,n)=>new Go({schema:e,typeName:Lt.ZodEffects,effect:t,...ln(n)});Go.createWithPreprocess=(e,t,n)=>new Go({schema:t,effect:{type:"preprocess",transform:e},typeName:Lt.ZodEffects,...ln(n)});class ll extends fn{_parse(t){return this._getType(t)===mt.undefined?ji(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ll.create=(e,t)=>new ll({innerType:e,typeName:Lt.ZodOptional,...ln(t)});class Pu extends fn{_parse(t){return this._getType(t)===mt.null?ji(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Pu.create=(e,t)=>new Pu({innerType:e,typeName:Lt.ZodNullable,...ln(t)});class cg extends fn{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===mt.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}cg.create=(e,t)=>new cg({innerType:e,typeName:Lt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ln(t)});class vv extends fn{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return mv(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Bo(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Bo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}vv.create=(e,t)=>new vv({innerType:e,typeName:Lt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ln(t)});class bv extends fn{_parse(t){if(this._getType(t)!==mt.nan){const r=this._getOrReturnCtx(t);return ht(r,{code:ot.invalid_type,expected:mt.nan,received:r.parsedType}),rn}return{status:"valid",value:t.data}}}bv.create=e=>new bv({typeName:Lt.ZodNaN,...ln(e)});const Use=Symbol("zod_brand");class J3 extends fn{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class zg extends fn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?rn:a.status==="dirty"?(n.dirty(),Q3(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?rn:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new zg({in:t,out:n,typeName:Lt.ZodPipeline})}}class yv extends fn{_parse(t){const n=this._def.innerType._parse(t);return Jm(n)&&(n.value=Object.freeze(n.value)),n}}yv.create=(e,t)=>new yv({innerType:e,typeName:Lt.ZodReadonly,...ln(t)});const eF=(e,t={},n)=>e?wp.create().superRefine((r,i)=>{var a,l;if(!e(r)){const s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,u=(l=(a=s.fatal)!==null&&a!==void 0?a:n)!==null&&l!==void 0?l:!0,o=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...o,fatal:u})}}):wp.create(),Hse={object:Or.lazycreate};var Lt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Lt||(Lt={}));const zse=(e,t={message:`Input not instance of ${e.name}`})=>eF(n=>n instanceof e,t),tF=Do.create,nF=bc.create,Vse=bv.create,Gse=yc.create,rF=eg.create,Yse=Nu.create,jse=gv.create,Wse=tg.create,qse=ng.create,Kse=wp.create,Zse=vu.create,Qse=fl.create,Xse=hv.create,Jse=Uo.create,ele=Or.create,tle=Or.strictCreate,nle=rg.create,rle=Mb.create,ile=ig.create,ale=vs.create,ole=ag.create,sle=_v.create,lle=Du.create,cle=ep.create,ule=og.create,dle=sg.create,ple=Sc.create,fle=lg.create,mle=xp.create,WD=Go.create,gle=ll.create,hle=Pu.create,_le=Go.createWithPreprocess,vle=zg.create,ble=()=>tF().optional(),yle=()=>nF().optional(),Sle=()=>rF().optional(),Ele={string:e=>Do.create({...e,coerce:!0}),number:e=>bc.create({...e,coerce:!0}),boolean:e=>eg.create({...e,coerce:!0}),bigint:e=>yc.create({...e,coerce:!0}),date:e=>Nu.create({...e,coerce:!0})},Cle=rn;var mWe=Object.freeze({__proto__:null,defaultErrorMap:Xm,setErrorMap:Ose,getErrorMap:pv,makeIssue:fv,EMPTY_PATH:Rse,addIssueToContext:ht,ParseStatus:Pi,INVALID:rn,DIRTY:Q3,OK:ji,isAborted:$C,isDirty:LC,isValid:Jm,isAsync:mv,get util(){return $n},get objectUtil(){return kC},ZodParsedType:mt,getParsedType:Xl,ZodType:fn,ZodString:Do,ZodNumber:bc,ZodBigInt:yc,ZodBoolean:eg,ZodDate:Nu,ZodSymbol:gv,ZodUndefined:tg,ZodNull:ng,ZodAny:wp,ZodUnknown:vu,ZodNever:fl,ZodVoid:hv,ZodArray:Uo,ZodObject:Or,ZodUnion:rg,ZodDiscriminatedUnion:Mb,ZodIntersection:ig,ZodTuple:vs,ZodRecord:ag,ZodMap:_v,ZodSet:Du,ZodFunction:ep,ZodLazy:og,ZodLiteral:sg,ZodEnum:Sc,ZodNativeEnum:lg,ZodPromise:xp,ZodEffects:Go,ZodTransformer:Go,ZodOptional:ll,ZodNullable:Pu,ZodDefault:cg,ZodCatch:vv,ZodNaN:bv,BRAND:Use,ZodBranded:J3,ZodPipeline:zg,ZodReadonly:yv,custom:eF,Schema:fn,ZodSchema:fn,late:Hse,get ZodFirstPartyTypeKind(){return Lt},coerce:Ele,any:Kse,array:Jse,bigint:Gse,boolean:rF,date:Yse,discriminatedUnion:rle,effect:WD,enum:ple,function:cle,instanceof:zse,intersection:ile,lazy:ule,literal:dle,map:sle,nan:Vse,nativeEnum:fle,never:Qse,null:qse,nullable:hle,number:nF,object:ele,oboolean:Sle,onumber:yle,optional:gle,ostring:ble,pipeline:vle,preprocess:_le,promise:mle,record:ole,set:lle,strictObject:tle,string:tF,symbol:jse,transformer:WD,tuple:ale,undefined:Wse,union:nle,unknown:Zse,void:Xse,NEVER:Cle,ZodIssueCode:ot,quotelessJson:xse,ZodError:Bo});const gWe=(e,t)=>{Object.keys(t).forEach(n=>{e.component(n,t[n])})},eo=class{static init(){eo.createContainer(),eo.addStylesheetToDocument()}static createContainer(){eo.toastContainer=document.createElement("div"),Object.assign(eo.toastContainer.style,Tle),document.body.appendChild(eo.toastContainer)}static addStylesheetToDocument(){const t=document.createElement("style");t.innerHTML=wle,document.head.appendChild(t)}static info(t,n=1e4){eo.showMessage(t,n)}static error(t,n=1e4){eo.showMessage(t,n,{"background-color":"#ffaaaa","font-family":"monospace",color:"#000000"})}static showMessage(t,n,r={}){if(!eo.toastContainer)throw new Error("Toast not initialized");if(!t.trim())return;const i=eo.makeToastMessageElement(t);Object.assign(i.style,r),eo.toastContainer.appendChild(i),setTimeout(()=>i.remove(),n)}static makeToastMessageElement(t){const n=document.createElement("div");return n.innerHTML=t,n.classList.add("abstra-toast-message"),n.onclick=n.remove,n}};let pE=eo;yn(pE,"toastContainer",null);const Tle={position:"fixed",bottom:"10px",right:"0",left:"0",display:"flex",flexDirection:"column",alignItems:"center"},wle=` .abstra-toast-message { padding: 15px; margin-top: 5px; @@ -276,7 +276,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-submenu-arrow, ${t}-submenu-expand-icon `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:d,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:i}},[`${t}-item-group-title`]:R(R({},gl),{paddingInline:f})}}]},W1e=j1e,Sk=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:a,motionEaseOut:l,iconCls:s,controlHeightSM:u}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${a}`].join(","),[`${t}-item-icon, ${s}`]:{minWidth:n,fontSize:n,transition:[`font-size ${i} ${l}`,`margin ${r} ${a}`,`color ${r}`].join(","),"+ span":{marginInlineStart:u-n,opacity:1,transition:[`opacity ${r} ${a}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:R({},Hb()),[`&${t}-item-only-child`]:{[`> ${s}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ek=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:a,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{["&-expand-icon, &-arrow"]:{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:a*.6,height:a*.15,backgroundColor:"currentcolor",borderRadius:i,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${l})`},"&::after":{transform:`rotate(-45deg) translateY(${l})`}}}}},q1e=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:a,motionEaseInOut:l,lineHeight:s,paddingXS:u,padding:o,colorSplit:c,lineWidth:d,zIndexPopup:p,borderRadiusLG:f,radiusSubMenuItem:g,menuArrowSize:m,menuArrowOffset:h,lineType:v,menuPanelMaskInset:b}=e;return[{"":{[`${n}`]:R(R({},Mu()),{["&-hidden"]:{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:R(R(R(R(R(R(R({},Nn(e)),Mu()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,["ul, ol"]:{margin:0,padding:0,listStyle:"none"},["&-overflow"]:{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${u}px ${o}px`,fontSize:r,lineHeight:s,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${i} ${l}`,`background ${i} ${l}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i} ${l}`,`background ${i} ${l}`,`padding ${a} ${l}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${i} ${l}`,`padding ${i} ${l}`].join(",")},[`${n}-title-content`]:{transition:`color ${i}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Sk(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${o}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,background:"transparent",borderRadius:f,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},[`> ${n}`]:R(R(R({borderRadius:f},Sk(e)),Ek(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:g},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${l}`}})}}),Ek(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${h})`},"&::after":{transform:`rotate(45deg) translateX(-${h})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${m*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${h})`},"&::before":{transform:`rotate(45deg) translateX(${h})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},K1e=(e,t)=>Mn("Menu",(r,i)=>{let{overrideComponentToken:a}=i;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:l,colorPrimary:s,colorError:u,colorErrorHover:o,colorTextLightSolid:c}=r,{controlHeightLG:d,fontSize:p}=r,f=p/7*5,g=jt(r,{menuItemHeight:d,menuItemPaddingInline:r.margin,menuArrowSize:f,menuHorizontalHeight:d*1.15,menuArrowOffset:`${f*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:l}),m=new Sn(c).setAlpha(.65).toRgbString(),h=jt(g,{colorItemText:m,colorItemTextHover:c,colorGroupTitle:m,colorItemTextSelected:c,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:s,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Sn(c).setAlpha(.25).toRgbString(),colorDangerItemText:u,colorDangerItemTextHover:o,colorDangerItemTextSelected:c,colorDangerItemBgActive:u,colorDangerItemBgSelected:u,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:c,colorItemBgSelectedHorizontal:s},R({},a));return[q1e(g),z1e(g),W1e(g),bk(g,"light"),bk(h,"dark"),G1e(g),uy(g),Cc(g,"slide-up"),Cc(g,"slide-down"),uf(g,"zoom-big")]},r=>{const{colorPrimary:i,colorError:a,colorTextDisabled:l,colorErrorBg:s,colorText:u,colorTextDescription:o,colorBgContainer:c,colorFillAlter:d,colorFillContent:p,lineWidth:f,lineWidthBold:g,controlItemBgActive:m,colorBgTextHover:h}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:u,colorItemTextHover:u,colorItemTextHoverHorizontal:i,colorGroupTitle:o,colorItemTextSelected:i,colorItemTextSelectedHorizontal:i,colorItemBg:c,colorItemBgHover:h,colorItemBgActive:p,colorSubItemBg:d,colorItemBgSelected:m,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:g,colorActiveBarBorderSize:f,colorItemTextDisabled:l,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,itemMarginInline:r.marginXXS}})(e),Z1e=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),Ck=[],lo=Ce({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:Z1e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{direction:a,getPrefixCls:l}=At("menu",e),s=r5(),u=$(()=>{var ee;return l("menu",e.prefixCls||((ee=s==null?void 0:s.prefixCls)===null||ee===void 0?void 0:ee.value))}),[o,c]=K1e(u,$(()=>!s)),d=Pe(new Map),p=He(x1e,Oe(void 0)),f=$(()=>p.value!==void 0?p.value:e.inlineCollapsed),{itemsNodes:g}=U1e(e),m=Pe(!1);_t(()=>{m.value=!0}),Rt(()=>{Mr(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Mr(!(p.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const h=Oe([]),v=Oe([]),b=Oe({});ze(d,()=>{const ee={};for(const ne of d.value.values())ee[ne.key]=ne;b.value=ee},{flush:"post"}),Rt(()=>{if(e.activeKey!==void 0){let ee=[];const ne=e.activeKey?b.value[e.activeKey]:void 0;ne&&e.activeKey!==void 0?ee=kE([].concat(je(ne.parentKeys),e.activeKey)):ee=[],Id(h.value,ee)||(h.value=ee)}}),ze(()=>e.selectedKeys,ee=>{ee&&(v.value=ee.slice())},{immediate:!0,deep:!0});const y=Oe([]);ze([b,v],()=>{let ee=[];v.value.forEach(ne=>{const _e=b.value[ne];_e&&(ee=ee.concat(je(_e.parentKeys)))}),ee=kE(ee),Id(y.value,ee)||(y.value=ee)},{immediate:!0});const S=ee=>{if(e.selectable){const{key:ne}=ee,_e=v.value.includes(ne);let ue;e.multiple?_e?ue=v.value.filter(fe=>fe!==ne):ue=[...v.value,ne]:ue=[ne];const be=R(R({},ee),{selectedKeys:ue});Id(ue,v.value)||(e.selectedKeys===void 0&&(v.value=ue),r("update:selectedKeys",ue),_e&&e.multiple?r("deselect",be):r("select",be))}N.value!=="inline"&&!e.multiple&&C.value.length&&P(Ck)},C=Oe([]);ze(()=>e.openKeys,function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C.value;Id(C.value,ee)||(C.value=ee.slice())},{immediate:!0,deep:!0});let w;const T=ee=>{clearTimeout(w),w=setTimeout(()=>{e.activeKey===void 0&&(h.value=ee),r("update:activeKey",ee[ee.length-1])})},O=$(()=>!!e.disabled),I=$(()=>a.value==="rtl"),N=Oe("vertical"),M=Pe(!1);Rt(()=>{var ee;(e.mode==="inline"||e.mode==="vertical")&&f.value?(N.value="vertical",M.value=f.value):(N.value=e.mode,M.value=!1),!((ee=s==null?void 0:s.mode)===null||ee===void 0)&&ee.value&&(N.value=s.mode.value)});const B=$(()=>N.value==="inline"),P=ee=>{C.value=ee,r("update:openKeys",ee),r("openChange",ee)},k=Oe(C.value),D=Pe(!1);ze(C,()=>{B.value&&(k.value=C.value)},{immediate:!0}),ze(B,()=>{if(!D.value){D.value=!0;return}B.value?C.value=k.value:P(Ck)},{immediate:!0});const F=$(()=>({[`${u.value}`]:!0,[`${u.value}-root`]:!0,[`${u.value}-${N.value}`]:!0,[`${u.value}-inline-collapsed`]:M.value,[`${u.value}-rtl`]:I.value,[`${u.value}-${e.theme}`]:!0})),U=$(()=>l()),z=$(()=>({horizontal:{name:`${U.value}-slide-up`},inline:py,other:{name:`${U.value}-zoom-big`}}));u5(!0);const Y=function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ne=[],_e=d.value;return ee.forEach(ue=>{const{key:be,childrenEventKeys:fe}=_e.get(ue);ne.push(be,...Y(je(fe)))}),ne},G=ee=>{var ne;r("click",ee),S(ee),(ne=s==null?void 0:s.onClick)===null||ne===void 0||ne.call(s)},K=(ee,ne)=>{var _e;const ue=((_e=b.value[ee])===null||_e===void 0?void 0:_e.childrenEventKeys)||[];let be=C.value.filter(fe=>fe!==ee);if(ne)be.push(ee);else if(N.value!=="inline"){const fe=Y(je(ue));be=kE(be.filter(W=>!fe.includes(W)))}Id(C,be)||P(be)},X=(ee,ne)=>{d.value.set(ee,ne),d.value=new Map(d.value)},ie=ee=>{d.value.delete(ee),d.value=new Map(d.value)},se=Oe(0),q=$(()=>{var ee;return e.expandIcon||n.expandIcon||((ee=s==null?void 0:s.expandIcon)===null||ee===void 0?void 0:ee.value)?ne=>{let _e=e.expandIcon||n.expandIcon;return _e=typeof _e=="function"?_e(ne):_e,gr(_e,{class:`${u.value}-submenu-expand-icon`},!1)}:null});return w1e({prefixCls:u,activeKeys:h,openKeys:C,selectedKeys:v,changeActiveKeys:T,disabled:O,rtl:I,mode:N,inlineIndent:$(()=>e.inlineIndent),subMenuCloseDelay:$(()=>e.subMenuCloseDelay),subMenuOpenDelay:$(()=>e.subMenuOpenDelay),builtinPlacements:$(()=>e.builtinPlacements),triggerSubMenuAction:$(()=>e.triggerSubMenuAction),getPopupContainer:$(()=>e.getPopupContainer),inlineCollapsed:M,theme:$(()=>e.theme),siderCollapsed:p,defaultMotions:$(()=>m.value?z.value:null),motion:$(()=>m.value?e.motion:null),overflowDisabled:Pe(void 0),onOpenChange:K,onItemClick:G,registerMenuInfo:X,unRegisterMenuInfo:ie,selectedSubMenuKeys:y,expandIcon:q,forceSubMenuRender:$(()=>e.forceSubMenuRender),rootClassName:c}),()=>{var ee,ne;const _e=g.value||ni((ee=n.default)===null||ee===void 0?void 0:ee.call(n)),ue=se.value>=_e.length-1||N.value!=="horizontal"||e.disabledOverflow,be=N.value!=="horizontal"||e.disabledOverflow?_e:_e.map((W,J)=>x(Bv,{key:W.key,overflowDisabled:J>se.value},{default:()=>W})),fe=((ne=n.overflowedIndicator)===null||ne===void 0?void 0:ne.call(n))||x(e5,null,null);return o(x(ip,Z(Z({},i),{},{onMousedown:e.onMousedown,prefixCls:`${u.value}-overflow`,component:"ul",itemComponent:zp,class:[F.value,i.class,c.value],role:"menu",id:e.id,data:be,renderRawItem:W=>W,renderRawRest:W=>{const J=W.length,de=J?_e.slice(-J):null;return x(tt,null,[x(Vp,{eventKey:X_,key:X_,title:fe,disabled:ue,internalPopupClose:J===0},{default:()=>de}),x(fk,null,{default:()=>[x(Vp,{eventKey:X_,key:X_,title:fe,disabled:ue,internalPopupClose:J===0},{default:()=>de})]})])},maxCount:N.value!=="horizontal"||e.disabledOverflow?ip.INVALIDATE:ip.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:W=>{se.value=W}}),{default:()=>[x(Ug,{to:"body"},{default:()=>[x("div",{style:{display:"none"},"aria-hidden":!0},[x(fk,null,{default:()=>[be]})])]})]}))}}});lo.install=function(e){return e.component(lo.name,lo),e.component(zp.name,zp),e.component(Vp.name,Vp),e.component(Hv.name,Hv),e.component(Uv.name,Uv),e};lo.Item=zp;lo.Divider=Hv;lo.SubMenu=Vp;lo.ItemGroup=Uv;var ra=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Q1e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function X1e(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var _5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",l="second",s="minute",u="hour",o="day",c="week",d="month",p="quarter",f="year",g="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(k){var D=["th","st","nd","rd"],F=k%100;return"["+k+(D[(F-20)%10]||D[F]||D[0])+"]"}},y=function(k,D,F){var U=String(k);return!U||U.length>=D?k:""+Array(D+1-U.length).join(F)+k},S={s:y,z:function(k){var D=-k.utcOffset(),F=Math.abs(D),U=Math.floor(F/60),z=F%60;return(D<=0?"+":"-")+y(U,2,"0")+":"+y(z,2,"0")},m:function k(D,F){if(D.date()1)return k(G[0])}else{var K=D.name;w[K]=D,z=K}return!U&&z&&(C=z),z||!U&&C},N=function(k,D){if(O(k))return k.clone();var F=typeof D=="object"?D:{};return F.date=k,F.args=arguments,new B(F)},M=S;M.l=I,M.i=O,M.w=function(k,D){return N(k,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var B=function(){function k(F){this.$L=I(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[T]=!0}var D=k.prototype;return D.parse=function(F){this.$d=function(U){var z=U.date,Y=U.utc;if(z===null)return new Date(NaN);if(M.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var G=z.match(h);if(G){var K=G[2]-1||0,X=(G[7]||"0").substring(0,3);return Y?new Date(Date.UTC(G[1],K,G[3]||1,G[4]||0,G[5]||0,G[6]||0,X)):new Date(G[1],K,G[3]||1,G[4]||0,G[5]||0,G[6]||0,X)}}return new Date(z)}(F),this.init()},D.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},D.$utils=function(){return M},D.isValid=function(){return this.$d.toString()!==m},D.isSame=function(F,U){var z=N(F);return this.startOf(U)<=z&&z<=this.endOf(U)},D.isAfter=function(F,U){return N(F)25){var c=l(this).startOf(r).add(1,r).date(o),d=l(this).endOf(n);if(c.isBefore(d))return 1}var p=l(this).startOf(r).date(o).startOf(n).subtract(1,"millisecond"),f=this.diff(p,n,!0);return f<0?l(this).startOf("week").week():Math.ceil(f)},s.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(y5);const tCe=y5.exports;var S5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),a=this.week(),l=this.year();return a===1&&i===11?l+1:i===0&&a>=52?l-1:l}}})})(S5);const nCe=S5.exports;var E5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n="month",r="quarter";return function(i,a){var l=a.prototype;l.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var s=l.add;l.add=function(o,c){return o=Number(o),this.$utils().p(c)===r?this.add(3*o,n):s.bind(this)(o,c)};var u=l.startOf;l.startOf=function(o,c){var d=this.$utils(),p=!!d.u(c)||c;if(d.p(o)===r){var f=this.quarter()-1;return p?this.month(3*f).startOf(n).startOf("day"):this.month(3*f+2).endOf(n).endOf("day")}return u.bind(this)(o,c)}}})})(E5);const rCe=E5.exports;var C5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){return function(n,r){var i=r.prototype,a=i.format;i.format=function(l){var s=this,u=this.$locale();if(!this.isValid())return a.bind(this)(l);var o=this.$utils(),c=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return u.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return u.ordinal(s.week(),"W");case"w":case"ww":return o.s(s.week(),d==="w"?1:2,"0");case"W":case"WW":return o.s(s.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return o.s(String(s.$H===0?24:s.$H),d==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return d}});return a.bind(this)(c)}}})})(C5);const iCe=C5.exports;var T5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,s={},u=function(m){return(m=+m)+(m>68?1900:2e3)},o=function(m){return function(h){this[m]=+h}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(h){if(!h||h==="Z")return 0;var v=h.match(/([+-]|\d\d)/g),b=60*v[1]+(+v[2]||0);return b===0?0:v[0]==="+"?-b:b}(m)}],d=function(m){var h=s[m];return h&&(h.indexOf?h:h.s.concat(h.f))},p=function(m,h){var v,b=s.meridiem;if(b){for(var y=1;y<=24;y+=1)if(m.indexOf(b(y,0,h))>-1){v=y>12;break}}else v=m===(h?"pm":"PM");return v},f={A:[l,function(m){this.afternoon=p(m,!1)}],a:[l,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[i,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[a,o("seconds")],ss:[a,o("seconds")],m:[a,o("minutes")],mm:[a,o("minutes")],H:[a,o("hours")],h:[a,o("hours")],HH:[a,o("hours")],hh:[a,o("hours")],D:[a,o("day")],DD:[i,o("day")],Do:[l,function(m){var h=s.ordinal,v=m.match(/\d+/);if(this.day=v[0],h)for(var b=1;b<=31;b+=1)h(b).replace(/\[|\]/g,"")===m&&(this.day=b)}],M:[a,o("month")],MM:[i,o("month")],MMM:[l,function(m){var h=d("months"),v=(d("monthsShort")||h.map(function(b){return b.slice(0,3)})).indexOf(m)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[l,function(m){var h=d("months").indexOf(m)+1;if(h<1)throw new Error;this.month=h%12||h}],Y:[/[+-]?\d+/,o("year")],YY:[i,function(m){this.year=u(m)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function g(m){var h,v;h=m,v=s&&s.formats;for(var b=(m=h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,N,M){var B=M&&M.toUpperCase();return N||v[M]||n[M]||v[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,k,D){return k||D.slice(1)})})).match(r),y=b.length,S=0;S-1)return new Date((U==="X"?1e3:1)*F);var Y=g(U)(F),G=Y.year,K=Y.month,X=Y.day,ie=Y.hours,se=Y.minutes,q=Y.seconds,ee=Y.milliseconds,ne=Y.zone,_e=new Date,ue=X||(G||K?1:_e.getDate()),be=G||_e.getFullYear(),fe=0;G&&!K||(fe=K>0?K-1:_e.getMonth());var W=ie||0,J=se||0,de=q||0,ve=ee||0;return ne?new Date(Date.UTC(be,fe,ue,W,J,de,ve+60*ne.offset*1e3)):z?new Date(Date.UTC(be,fe,ue,W,J,de,ve)):new Date(be,fe,ue,W,J,de,ve)}catch{return new Date("")}}(C,O,w),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),M&&C!=this.format(O)&&(this.$d=new Date("")),s={}}else if(O instanceof Array)for(var P=O.length,k=1;k<=P;k+=1){T[1]=O[k-1];var D=v.apply(this,T);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}k===P&&(this.$d=new Date(""))}else y.call(this,S)}}})})(T5);const aCe=T5.exports;tr.extend(aCe);tr.extend(iCe);tr.extend(J1e);tr.extend(eCe);tr.extend(tCe);tr.extend(nCe);tr.extend(rCe);tr.extend((e,t)=>{const n=t.prototype,r=n.format;n.format=function(a){const l=(a||"").replace("Wo","wo");return r.bind(this)(l)}});const oCe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},jc=e=>oCe[e]||e.split("_")[0],Tk=()=>{Pce(!1,"Not match any format. Please help to fire a issue about this.")},sCe=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function wk(e,t,n){const r=[...new Set(e.split(n))];let i=0;for(let a=0;at)return l;i+=n.length}}const xk=(e,t)=>{if(!e)return null;if(tr.isDayjs(e))return e;const n=t.matchAll(sCe);let r=tr(e,t);if(n===null)return r;for(const i of n){const a=i[0],l=i.index;if(a==="Q"){const s=e.slice(l-1,l),u=wk(e,l,s).match(/\d+/)[0];r=r.quarter(parseInt(u))}if(a.toLowerCase()==="wo"){const s=e.slice(l-1,l),u=wk(e,l,s).match(/\d+/)[0];r=r.week(parseInt(u))}a.toLowerCase()==="ww"&&(r=r.week(parseInt(e.slice(l,l+a.length)))),a.toLowerCase()==="w"&&(r=r.week(parseInt(e.slice(l,l+a.length+1))))}return r},lCe={getNow:()=>tr(),getFixedDate:e=>tr(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>tr().locale(jc(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(jc(e)).weekday(0),getWeek:(e,t)=>t.locale(jc(e)).week(),getShortWeekDays:e=>tr().locale(jc(e)).localeData().weekdaysMin(),getShortMonths:e=>tr().locale(jc(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(jc(e)).format(n),parse:(e,t,n)=>{const r=jc(e);for(let i=0;iArray.isArray(e)?e.map(n=>xk(n,t)):xk(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>tr.isDayjs(n)?n.format(t):n):tr.isDayjs(e)?e.format(t):e},w5=lCe;function kr(e){const t=s3();return R(R({},e),t)}const x5=Symbol("PanelContextProps"),WO=e=>{Dt(x5,e)},ys=()=>He(x5,{}),J_={visibility:"hidden"};function Oc(e,t){let{slots:n}=t;var r;const i=kr(e),{prefixCls:a,prevIcon:l="\u2039",nextIcon:s="\u203A",superPrevIcon:u="\xAB",superNextIcon:o="\xBB",onSuperPrev:c,onSuperNext:d,onPrev:p,onNext:f}=i,{hideNextBtn:g,hidePrevBtn:m}=ys();return x("div",{class:a},[c&&x("button",{type:"button",onClick:c,tabindex:-1,class:`${a}-super-prev-btn`,style:m.value?J_:{}},[u]),p&&x("button",{type:"button",onClick:p,tabindex:-1,class:`${a}-prev-btn`,style:m.value?J_:{}},[l]),x("div",{class:`${a}-view`},[(r=n.default)===null||r===void 0?void 0:r.call(n)]),f&&x("button",{type:"button",onClick:f,tabindex:-1,class:`${a}-next-btn`,style:g.value?J_:{}},[s]),d&&x("button",{type:"button",onClick:d,tabindex:-1,class:`${a}-super-next-btn`,style:g.value?J_:{}},[o])])}Oc.displayName="Header";Oc.inheritAttrs=!1;function qO(e){const t=kr(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecades:a,onNextDecades:l}=t,{hideHeader:s}=ys();if(s)return null;const u=`${n}-header`,o=r.getYear(i),c=Math.floor(o/il)*il,d=c+il-1;return x(Oc,Z(Z({},t),{},{prefixCls:u,onSuperPrev:a,onSuperNext:l}),{default:()=>[c,Zn("-"),d]})}qO.displayName="DecadeHeader";qO.inheritAttrs=!1;function O5(e,t,n,r,i){let a=e.setHour(t,n);return a=e.setMinute(a,r),a=e.setSecond(a,i),a}function O0(e,t,n){if(!n)return t;let r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function cCe(e,t,n,r,i,a){const l=Math.floor(e/r)*r;if(l{k.stopPropagation(),B||r(M)},onMouseenter:()=>{!B&&v&&v(M)},onMouseleave:()=>{!B&&b&&b(M)}},[p?p(M):x("div",{class:`${S}-inner`},[d(M)])]))}C.push(x("tr",{key:w,class:u&&u(O)},[T]))}return x("div",{class:`${t}-body`},[x("table",{class:`${t}-content`},[h&&x("thead",null,[x("tr",null,[h])]),x("tbody",null,[C])])])}Wu.displayName="PanelBody";Wu.inheritAttrs=!1;const vT=3,Ok=4;function KO(e){const t=kr(e),n=Ao-1,{prefixCls:r,viewDate:i,generateConfig:a}=t,l=`${r}-cell`,s=a.getYear(i),u=Math.floor(s/Ao)*Ao,o=Math.floor(s/il)*il,c=o+il-1,d=a.setYear(i,o-Math.ceil((vT*Ok*Ao-il)/2)),p=f=>{const g=a.getYear(f),m=g+n;return{[`${l}-in-view`]:o<=g&&m<=c,[`${l}-selected`]:g===u}};return x(Wu,Z(Z({},t),{},{rowNum:Ok,colNum:vT,baseDate:d,getCellText:f=>{const g=a.getYear(f);return`${g}-${g+n}`},getCellClassName:p,getCellDate:(f,g)=>a.addYear(f,g*Ao)}),null)}KO.displayName="DecadeBody";KO.inheritAttrs=!1;const e0=new Map;function dCe(e,t){let n;function r(){Gb(e)?t():n=Ot(()=>{r()})}return r(),()=>{Ot.cancel(n)}}function bT(e,t,n){if(e0.get(e)&&Ot.cancel(e0.get(e)),n<=0){e0.set(e,Ot(()=>{e.scrollTop=t}));return}const i=(t-e.scrollTop)/n*10;e0.set(e,Ot(()=>{e.scrollTop+=i,e.scrollTop!==t&&bT(e,t,n-10)}))}function df(e,t){let{onLeftRight:n,onCtrlLeftRight:r,onUpDown:i,onPageUpDown:a,onEnter:l}=t;const{which:s,ctrlKey:u,metaKey:o}=e;switch(s){case rt.LEFT:if(u||o){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case rt.RIGHT:if(u||o){if(r)return r(1),!0}else if(n)return n(1),!0;break;case rt.UP:if(i)return i(-1),!0;break;case rt.DOWN:if(i)return i(1),!0;break;case rt.PAGE_UP:if(a)return a(-1),!0;break;case rt.PAGE_DOWN:if(a)return a(1),!0;break;case rt.ENTER:if(l)return l(),!0;break}return!1}function R5(e,t,n,r){let i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function I5(e,t,n){const r=e==="time"?8:10,i=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,i)+2}let kf=null;const t0=new Set;function pCe(e){return!kf&&typeof window<"u"&&window.addEventListener&&(kf=t=>{[...t0].forEach(n=>{n(t)})},window.addEventListener("mousedown",kf)),t0.add(e),()=>{t0.delete(e),t0.size===0&&(window.removeEventListener("mousedown",kf),kf=null)}}function fCe(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const mCe=e=>e==="month"||e==="date"?"year":e,gCe=e=>e==="date"?"month":e,hCe=e=>e==="month"||e==="date"?"quarter":e,_Ce=e=>e==="date"?"week":e,vCe={year:mCe,month:gCe,quarter:hCe,week:_Ce,time:null,date:null};function A5(e,t){return e.some(n=>n&&n.contains(t))}const Ao=10,il=Ao*10;function ZO(e){const t=kr(e),{prefixCls:n,onViewDateChange:r,generateConfig:i,viewDate:a,operationRef:l,onSelect:s,onPanelChange:u}=t,o=`${n}-decade-panel`;l.value={onKeydown:p=>df(p,{onLeftRight:f=>{s(i.addYear(a,f*Ao),"key")},onCtrlLeftRight:f=>{s(i.addYear(a,f*il),"key")},onUpDown:f=>{s(i.addYear(a,f*Ao*vT),"key")},onEnter:()=>{u("year",a)}})};const c=p=>{const f=i.addYear(a,p*il);r(f),u(null,f)},d=p=>{s(p,"mouse"),u("year",p)};return x("div",{class:o},[x(qO,Z(Z({},t),{},{prefixCls:n,onPrevDecades:()=>{c(-1)},onNextDecades:()=>{c(1)}}),null),x(KO,Z(Z({},t),{},{prefixCls:n,onSelect:d}),null)])}ZO.displayName="DecadePanel";ZO.inheritAttrs=!1;const R0=7;function qu(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function bCe(e,t,n){const r=qu(t,n);if(typeof r=="boolean")return r;const i=Math.floor(e.getYear(t)/10),a=Math.floor(e.getYear(n)/10);return i===a}function fy(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)}function yT(e,t){return Math.floor(e.getMonth(t)/3)+1}function N5(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:fy(e,t,n)&&yT(e,t)===yT(e,n)}function QO(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:fy(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function al(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function yCe(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function D5(e,t,n,r){const i=qu(n,r);return typeof i=="boolean"?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function ap(e,t,n){return al(e,t,n)&&yCe(e,t,n)}function n0(e,t,n,r){return!t||!n||!r?!1:!al(e,t,r)&&!al(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r)}function SCe(e,t,n){const r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),a=t.getWeekDay(i);let l=t.addDate(i,r-a);return t.getMonth(l)===t.getMonth(n)&&t.getDate(l)>1&&(l=t.addDate(l,-7)),l}function Sm(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function yi(e,t){let{generateConfig:n,locale:r,format:i}=t;return typeof i=="function"?i(e):n.locale.format(r.locale,e,i)}function P5(e,t){let{generateConfig:n,locale:r,formatList:i}=t;return!e||typeof i[0]=="function"?null:n.locale.parse(r.locale,e,i)}function ST(e){let{cellDate:t,mode:n,disabledDate:r,generateConfig:i}=e;if(!r)return!1;const a=(l,s,u)=>{let o=s;for(;o<=u;){let c;switch(l){case"date":{if(c=i.setDate(t,o),!r(c))return!1;break}case"month":{if(c=i.setMonth(t,o),!ST({cellDate:c,mode:"month",generateConfig:i,disabledDate:r}))return!1;break}case"year":{if(c=i.setYear(t,o),!ST({cellDate:c,mode:"year",generateConfig:i,disabledDate:r}))return!1;break}}o+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{const s=i.getDate(i.getEndDate(t));return a("date",1,s)}case"quarter":{const l=Math.floor(i.getMonth(t)/3)*3,s=l+2;return a("month",l,s)}case"year":return a("month",0,11);case"decade":{const l=i.getYear(t),s=Math.floor(l/Ao)*Ao,u=s+Ao-1;return a("year",s,u)}}}function XO(e){const t=kr(e),{hideHeader:n}=ys();if(n.value)return null;const{prefixCls:r,generateConfig:i,locale:a,value:l,format:s}=t,u=`${r}-header`;return x(Oc,{prefixCls:u},{default:()=>[l?yi(l,{locale:a,format:s,generateConfig:i}):"\xA0"]})}XO.displayName="TimeHeader";XO.inheritAttrs=!1;const r0=Ce({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=ys(),n=Oe(null),r=Oe(new Map),i=Oe();return ze(()=>e.value,()=>{const a=r.value.get(e.value);a&&t.value!==!1&&bT(n.value,a.offsetTop,120)}),Xt(()=>{var a;(a=i.value)===null||a===void 0||a.call(i)}),ze(t,()=>{var a;(a=i.value)===null||a===void 0||a.call(i),sn(()=>{if(t.value){const l=r.value.get(e.value);l&&(i.value=dCe(l,()=>{bT(n.value,l.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:a,units:l,onSelect:s,value:u,active:o,hideDisabledOptions:c}=e,d=`${a}-cell`;return x("ul",{class:Fe(`${a}-column`,{[`${a}-column-active`]:o}),ref:n,style:{position:"relative"}},[l.map(p=>c&&p.disabled?null:x("li",{key:p.value,ref:f=>{r.value.set(p.value,f)},class:Fe(d,{[`${d}-disabled`]:p.disabled,[`${d}-selected`]:u===p.value}),onClick:()=>{p.disabled||s(p.value)}},[x("div",{class:`${d}-inner`},[p.label])]))])}}});function M5(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);for(;r.length{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function Cn(e,t){return e?e[t]:null}function to(e,t,n){const r=[Cn(e,0),Cn(e,1)];return r[n]=typeof t=="function"?t(r[n]):t,!r[0]&&!r[1]?null:r}function zE(e,t,n,r){const i=[];for(let a=e;a<=t;a+=n)i.push({label:M5(a,2),value:a,disabled:(r||[]).includes(a)});return i}const CCe=Ce({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=$(()=>e.value?e.generateConfig.getHour(e.value):-1),n=$(()=>e.use12Hours?t.value>=12:!1),r=$(()=>e.use12Hours?t.value%12:t.value),i=$(()=>e.value?e.generateConfig.getMinute(e.value):-1),a=$(()=>e.value?e.generateConfig.getSecond(e.value):-1),l=Oe(e.generateConfig.getNow()),s=Oe(),u=Oe(),o=Oe();Bg(()=>{l.value=e.generateConfig.getNow()}),Rt(()=>{if(e.disabledTime){const h=e.disabledTime(l);[s.value,u.value,o.value]=[h.disabledHours,h.disabledMinutes,h.disabledSeconds]}else[s.value,u.value,o.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const c=(h,v,b,y)=>{let S=e.value||e.generateConfig.getNow();const C=Math.max(0,v),w=Math.max(0,b),T=Math.max(0,y);return S=O5(e.generateConfig,S,!e.use12Hours||!h?C:C+12,w,T),S},d=$(()=>{var h;return zE(0,23,(h=e.hourStep)!==null&&h!==void 0?h:1,s.value&&s.value())}),p=$(()=>{if(!e.use12Hours)return[!1,!1];const h=[!0,!0];return d.value.forEach(v=>{let{disabled:b,value:y}=v;b||(y>=12?h[1]=!1:h[0]=!1)}),h}),f=$(()=>e.use12Hours?d.value.filter(n.value?h=>h.value>=12:h=>h.value<12).map(h=>{const v=h.value%12,b=v===0?"12":M5(v,2);return R(R({},h),{label:b,value:v})}):d.value),g=$(()=>{var h;return zE(0,59,(h=e.minuteStep)!==null&&h!==void 0?h:1,u.value&&u.value(t.value))}),m=$(()=>{var h;return zE(0,59,(h=e.secondStep)!==null&&h!==void 0?h:1,o.value&&o.value(t.value,i.value))});return()=>{const{prefixCls:h,operationRef:v,activeColumnIndex:b,showHour:y,showMinute:S,showSecond:C,use12Hours:w,hideDisabledOptions:T,onSelect:O}=e,I=[],N=`${h}-content`,M=`${h}-time-panel`;v.value={onUpDown:k=>{const D=I[b];if(D){const F=D.units.findIndex(z=>z.value===D.value),U=D.units.length;for(let z=1;z{O(c(n.value,k,i.value,a.value),"mouse")}),B(S,x(r0,{key:"minute"},null),i.value,g.value,k=>{O(c(n.value,r.value,k,a.value),"mouse")}),B(C,x(r0,{key:"second"},null),a.value,m.value,k=>{O(c(n.value,r.value,i.value,k),"mouse")});let P=-1;return typeof n.value=="boolean"&&(P=n.value?1:0),B(w===!0,x(r0,{key:"12hours"},null),P,[{label:"AM",value:0,disabled:p.value[0]},{label:"PM",value:1,disabled:p.value[1]}],k=>{O(c(!!k,r.value,i.value,a.value),"mouse")}),x("div",{class:N},[I.map(k=>{let{node:D}=k;return D})])}}}),TCe=CCe,wCe=e=>e.filter(t=>t!==!1).length;function my(e){const t=kr(e),{generateConfig:n,format:r="HH:mm:ss",prefixCls:i,active:a,operationRef:l,showHour:s,showMinute:u,showSecond:o,use12Hours:c=!1,onSelect:d,value:p}=t,f=`${i}-time-panel`,g=Oe(),m=Oe(-1),h=wCe([s,u,o,c]);return l.value={onKeydown:v=>df(v,{onLeftRight:b=>{m.value=(m.value+b+h)%h},onUpDown:b=>{m.value===-1?m.value=0:g.value&&g.value.onUpDown(b)},onEnter:()=>{d(p||n.getNow(),"key"),m.value=-1}}),onBlur:()=>{m.value=-1}},x("div",{class:Fe(f,{[`${f}-active`]:a})},[x(XO,Z(Z({},t),{},{format:r,prefixCls:i}),null),x(TCe,Z(Z({},t),{},{prefixCls:i,activeColumnIndex:m.value,operationRef:g}),null)])}my.displayName="TimePanel";my.inheritAttrs=!1;function gy(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:r,hoverRangedValue:i,isInView:a,isSameCell:l,offsetCell:s,today:u,value:o}=e;function c(d){const p=s(d,-1),f=s(d,1),g=Cn(r,0),m=Cn(r,1),h=Cn(i,0),v=Cn(i,1),b=n0(n,h,v,d);function y(I){return l(g,I)}function S(I){return l(m,I)}const C=l(h,d),w=l(v,d),T=(b||w)&&(!a(p)||S(p)),O=(b||C)&&(!a(f)||y(f));return{[`${t}-in-view`]:a(d),[`${t}-in-range`]:n0(n,g,m,d),[`${t}-range-start`]:y(d),[`${t}-range-end`]:S(d),[`${t}-range-start-single`]:y(d)&&!m,[`${t}-range-end-single`]:S(d)&&!g,[`${t}-range-start-near-hover`]:y(d)&&(l(p,h)||n0(n,h,v,p)),[`${t}-range-end-near-hover`]:S(d)&&(l(f,v)||n0(n,h,v,f)),[`${t}-range-hover`]:b,[`${t}-range-hover-start`]:C,[`${t}-range-hover-end`]:w,[`${t}-range-hover-edge-start`]:T,[`${t}-range-hover-edge-end`]:O,[`${t}-range-hover-edge-start-near-range`]:T&&l(p,m),[`${t}-range-hover-edge-end-near-range`]:O&&l(f,g),[`${t}-today`]:l(u,d),[`${t}-selected`]:l(o,d)}}return c}const L5=Symbol("RangeContextProps"),xCe=e=>{Dt(L5,e)},eh=()=>He(L5,{rangedValue:Oe(),hoverRangedValue:Oe(),inRange:Oe(),panelPosition:Oe()}),OCe=Ce({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const r={rangedValue:Oe(e.value.rangedValue),hoverRangedValue:Oe(e.value.hoverRangedValue),inRange:Oe(e.value.inRange),panelPosition:Oe(e.value.panelPosition)};return xCe(r),ze(()=>e.value,()=>{Object.keys(e.value).forEach(i=>{r[i]&&(r[i].value=e.value[i])})}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});function hy(e){const t=kr(e),{prefixCls:n,generateConfig:r,prefixColumn:i,locale:a,rowCount:l,viewDate:s,value:u,dateRender:o}=t,{rangedValue:c,hoverRangedValue:d}=eh(),p=SCe(a.locale,r,s),f=`${n}-cell`,g=r.locale.getWeekFirstDay(a.locale),m=r.getNow(),h=[],v=a.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(a.locale):[]);i&&h.push(x("th",{key:"empty","aria-label":"empty cell"},null));for(let S=0;Sal(r,S,C),isInView:S=>QO(r,S,s),offsetCell:(S,C)=>r.addDate(S,C)}),y=o?S=>o({current:S,today:m}):void 0;return x(Wu,Z(Z({},t),{},{rowNum:l,colNum:R0,baseDate:p,getCellNode:y,getCellText:r.getDate,getCellClassName:b,getCellDate:r.addDate,titleCell:S=>yi(S,{locale:a,format:"YYYY-MM-DD",generateConfig:r}),headerCells:h}),null)}hy.displayName="DateBody";hy.inheritAttrs=!1;hy.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function JO(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:a,onNextMonth:l,onPrevMonth:s,onNextYear:u,onPrevYear:o,onYearClick:c,onMonthClick:d}=t,{hideHeader:p}=ys();if(p.value)return null;const f=`${n}-header`,g=i.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(i.locale):[]),m=r.getMonth(a),h=x("button",{type:"button",key:"year",onClick:c,tabindex:-1,class:`${n}-year-btn`},[yi(a,{locale:i,format:i.yearFormat,generateConfig:r})]),v=x("button",{type:"button",key:"month",onClick:d,tabindex:-1,class:`${n}-month-btn`},[i.monthFormat?yi(a,{locale:i,format:i.monthFormat,generateConfig:r}):g[m]]),b=i.monthBeforeYear?[v,h]:[h,v];return x(Oc,Z(Z({},t),{},{prefixCls:f,onSuperPrev:o,onPrev:s,onNext:l,onSuperNext:u}),{default:()=>[b]})}JO.displayName="DateHeader";JO.inheritAttrs=!1;const RCe=6;function th(e){const t=kr(e),{prefixCls:n,panelName:r="date",keyboardConfig:i,active:a,operationRef:l,generateConfig:s,value:u,viewDate:o,onViewDateChange:c,onPanelChange:d,onSelect:p}=t,f=`${n}-${r}-panel`;l.value={onKeydown:h=>df(h,R({onLeftRight:v=>{p(s.addDate(u||o,v),"key")},onCtrlLeftRight:v=>{p(s.addYear(u||o,v),"key")},onUpDown:v=>{p(s.addDate(u||o,v*R0),"key")},onPageUpDown:v=>{p(s.addMonth(u||o,v),"key")}},i))};const g=h=>{const v=s.addYear(o,h);c(v),d(null,v)},m=h=>{const v=s.addMonth(o,h);c(v),d(null,v)};return x("div",{class:Fe(f,{[`${f}-active`]:a})},[x(JO,Z(Z({},t),{},{prefixCls:n,value:u,viewDate:o,onPrevYear:()=>{g(-1)},onNextYear:()=>{g(1)},onPrevMonth:()=>{m(-1)},onNextMonth:()=>{m(1)},onMonthClick:()=>{d("month",o)},onYearClick:()=>{d("year",o)}}),null),x(hy,Z(Z({},t),{},{onSelect:h=>p(h,"mouse"),prefixCls:n,value:u,viewDate:o,rowCount:RCe}),null)])}th.displayName="DatePanel";th.inheritAttrs=!1;const Rk=ECe("date","time");function eR(e){const t=kr(e),{prefixCls:n,operationRef:r,generateConfig:i,value:a,defaultValue:l,disabledTime:s,showTime:u,onSelect:o}=t,c=`${n}-datetime-panel`,d=Oe(null),p=Oe({}),f=Oe({}),g=typeof u=="object"?R({},u):{};function m(y){const S=Rk.indexOf(d.value)+y;return Rk[S]||null}const h=y=>{f.value.onBlur&&f.value.onBlur(y),d.value=null};r.value={onKeydown:y=>{if(y.which===rt.TAB){const S=m(y.shiftKey?-1:1);return d.value=S,S&&y.preventDefault(),!0}if(d.value){const S=d.value==="date"?p:f;return S.value&&S.value.onKeydown&&S.value.onKeydown(y),!0}return[rt.LEFT,rt.RIGHT,rt.UP,rt.DOWN].includes(y.which)?(d.value="date",!0):!1},onBlur:h,onClose:h};const v=(y,S)=>{let C=y;S==="date"&&!a&&g.defaultValue?(C=i.setHour(C,i.getHour(g.defaultValue)),C=i.setMinute(C,i.getMinute(g.defaultValue)),C=i.setSecond(C,i.getSecond(g.defaultValue))):S==="time"&&!a&&l&&(C=i.setYear(C,i.getYear(l)),C=i.setMonth(C,i.getMonth(l)),C=i.setDate(C,i.getDate(l))),o&&o(C,"mouse")},b=s?s(a||null):{};return x("div",{class:Fe(c,{[`${c}-active`]:d.value})},[x(th,Z(Z({},t),{},{operationRef:p,active:d.value==="date",onSelect:y=>{v(O0(i,y,!a&&typeof u=="object"?u.defaultValue:null),"date")}}),null),x(my,Z(Z(Z(Z({},t),{},{format:void 0},g),b),{},{disabledTime:null,defaultValue:void 0,operationRef:f,active:d.value==="time",onSelect:y=>{v(y,"time")}}),null)])}eR.displayName="DatetimePanel";eR.inheritAttrs=!1;function tR(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,value:a}=t,l=`${n}-cell`,s=c=>x("td",{key:"week",class:Fe(l,`${l}-week`)},[r.locale.getWeek(i.locale,c)]),u=`${n}-week-panel-row`,o=c=>Fe(u,{[`${u}-selected`]:D5(r,i.locale,a,c)});return x(th,Z(Z({},t),{},{panelName:"week",prefixColumn:s,rowClassName:o,keyboardConfig:{onLeftRight:null}}),null)}tR.displayName="WeekPanel";tR.inheritAttrs=!1;function nR(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:a,onNextYear:l,onPrevYear:s,onYearClick:u}=t,{hideHeader:o}=ys();if(o.value)return null;const c=`${n}-header`;return x(Oc,Z(Z({},t),{},{prefixCls:c,onSuperPrev:s,onSuperNext:l}),{default:()=>[x("button",{type:"button",onClick:u,class:`${n}-year-btn`},[yi(a,{locale:i,format:i.yearFormat,generateConfig:r})])]})}nR.displayName="MonthHeader";nR.inheritAttrs=!1;const F5=3,ICe=4;function rR(e){const t=kr(e),{prefixCls:n,locale:r,value:i,viewDate:a,generateConfig:l,monthCellRender:s}=t,{rangedValue:u,hoverRangedValue:o}=eh(),c=`${n}-cell`,d=gy({cellPrefixCls:c,value:i,generateConfig:l,rangedValue:u.value,hoverRangedValue:o.value,isSameCell:(m,h)=>QO(l,m,h),isInView:()=>!0,offsetCell:(m,h)=>l.addMonth(m,h)}),p=r.shortMonths||(l.locale.getShortMonths?l.locale.getShortMonths(r.locale):[]),f=l.setMonth(a,0),g=s?m=>s({current:m,locale:r}):void 0;return x(Wu,Z(Z({},t),{},{rowNum:ICe,colNum:F5,baseDate:f,getCellNode:g,getCellText:m=>r.monthFormat?yi(m,{locale:r,format:r.monthFormat,generateConfig:l}):p[l.getMonth(m)],getCellClassName:d,getCellDate:l.addMonth,titleCell:m=>yi(m,{locale:r,format:"YYYY-MM",generateConfig:l})}),null)}rR.displayName="MonthBody";rR.inheritAttrs=!1;function iR(e){const t=kr(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:a,value:l,viewDate:s,onPanelChange:u,onSelect:o}=t,c=`${n}-month-panel`;r.value={onKeydown:p=>df(p,{onLeftRight:f=>{o(a.addMonth(l||s,f),"key")},onCtrlLeftRight:f=>{o(a.addYear(l||s,f),"key")},onUpDown:f=>{o(a.addMonth(l||s,f*F5),"key")},onEnter:()=>{u("date",l||s)}})};const d=p=>{const f=a.addYear(s,p);i(f),u(null,f)};return x("div",{class:c},[x(nR,Z(Z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{u("year",s)}}),null),x(rR,Z(Z({},t),{},{prefixCls:n,onSelect:p=>{o(p,"mouse"),u("date",p)}}),null)])}iR.displayName="MonthPanel";iR.inheritAttrs=!1;function aR(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:a,onNextYear:l,onPrevYear:s,onYearClick:u}=t,{hideHeader:o}=ys();if(o.value)return null;const c=`${n}-header`;return x(Oc,Z(Z({},t),{},{prefixCls:c,onSuperPrev:s,onSuperNext:l}),{default:()=>[x("button",{type:"button",onClick:u,class:`${n}-year-btn`},[yi(a,{locale:i,format:i.yearFormat,generateConfig:r})])]})}aR.displayName="QuarterHeader";aR.inheritAttrs=!1;const ACe=4,NCe=1;function oR(e){const t=kr(e),{prefixCls:n,locale:r,value:i,viewDate:a,generateConfig:l}=t,{rangedValue:s,hoverRangedValue:u}=eh(),o=`${n}-cell`,c=gy({cellPrefixCls:o,value:i,generateConfig:l,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(p,f)=>N5(l,p,f),isInView:()=>!0,offsetCell:(p,f)=>l.addMonth(p,f*3)}),d=l.setDate(l.setMonth(a,0),1);return x(Wu,Z(Z({},t),{},{rowNum:NCe,colNum:ACe,baseDate:d,getCellText:p=>yi(p,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:l}),getCellClassName:c,getCellDate:(p,f)=>l.addMonth(p,f*3),titleCell:p=>yi(p,{locale:r,format:"YYYY-[Q]Q",generateConfig:l})}),null)}oR.displayName="QuarterBody";oR.inheritAttrs=!1;function sR(e){const t=kr(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:a,value:l,viewDate:s,onPanelChange:u,onSelect:o}=t,c=`${n}-quarter-panel`;r.value={onKeydown:p=>df(p,{onLeftRight:f=>{o(a.addMonth(l||s,f*3),"key")},onCtrlLeftRight:f=>{o(a.addYear(l||s,f),"key")},onUpDown:f=>{o(a.addYear(l||s,f),"key")}})};const d=p=>{const f=a.addYear(s,p);i(f),u(null,f)};return x("div",{class:c},[x(aR,Z(Z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{u("year",s)}}),null),x(oR,Z(Z({},t),{},{prefixCls:n,onSelect:p=>{o(p,"mouse")}}),null)])}sR.displayName="QuarterPanel";sR.inheritAttrs=!1;function lR(e){const t=kr(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecade:a,onNextDecade:l,onDecadeClick:s}=t,{hideHeader:u}=ys();if(u.value)return null;const o=`${n}-header`,c=r.getYear(i),d=Math.floor(c/ac)*ac,p=d+ac-1;return x(Oc,Z(Z({},t),{},{prefixCls:o,onSuperPrev:a,onSuperNext:l}),{default:()=>[x("button",{type:"button",onClick:s,class:`${n}-decade-btn`},[d,Zn("-"),p])]})}lR.displayName="YearHeader";lR.inheritAttrs=!1;const ET=3,Ik=4;function cR(e){const t=kr(e),{prefixCls:n,value:r,viewDate:i,locale:a,generateConfig:l}=t,{rangedValue:s,hoverRangedValue:u}=eh(),o=`${n}-cell`,c=l.getYear(i),d=Math.floor(c/ac)*ac,p=d+ac-1,f=l.setYear(i,d-Math.ceil((ET*Ik-ac)/2)),g=h=>{const v=l.getYear(h);return d<=v&&v<=p},m=gy({cellPrefixCls:o,value:r,generateConfig:l,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(h,v)=>fy(l,h,v),isInView:g,offsetCell:(h,v)=>l.addYear(h,v)});return x(Wu,Z(Z({},t),{},{rowNum:Ik,colNum:ET,baseDate:f,getCellText:l.getYear,getCellClassName:m,getCellDate:l.addYear,titleCell:h=>yi(h,{locale:a,format:"YYYY",generateConfig:l})}),null)}cR.displayName="YearBody";cR.inheritAttrs=!1;const ac=10;function uR(e){const t=kr(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:a,value:l,viewDate:s,sourceMode:u,onSelect:o,onPanelChange:c}=t,d=`${n}-year-panel`;r.value={onKeydown:f=>df(f,{onLeftRight:g=>{o(a.addYear(l||s,g),"key")},onCtrlLeftRight:g=>{o(a.addYear(l||s,g*ac),"key")},onUpDown:g=>{o(a.addYear(l||s,g*ET),"key")},onEnter:()=>{c(u==="date"?"date":"month",l||s)}})};const p=f=>{const g=a.addYear(s,f*10);i(g),c(null,g)};return x("div",{class:d},[x(lR,Z(Z({},t),{},{prefixCls:n,onPrevDecade:()=>{p(-1)},onNextDecade:()=>{p(1)},onDecadeClick:()=>{c("decade",s)}}),null),x(cR,Z(Z({},t),{},{prefixCls:n,onSelect:f=>{c(u==="date"?"date":"month",f),o(f,"mouse")}}),null)])}uR.displayName="YearPanel";uR.inheritAttrs=!1;function B5(e,t,n){return n?x("div",{class:`${e}-footer-extra`},[n(t)]):null}function U5(e){let{prefixCls:t,components:n={},needConfirmButton:r,onNow:i,onOk:a,okDisabled:l,showNow:s,locale:u}=e,o,c;if(r){const d=n.button||"button";i&&s!==!1&&(o=x("li",{class:`${t}-now`},[x("a",{class:`${t}-now-btn`,onClick:i},[u.now])])),c=r&&x("li",{class:`${t}-ok`},[x(d,{disabled:l,onClick:p=>{p.stopPropagation(),a&&a()}},{default:()=>[u.ok]})])}return!o&&!c?null:x("ul",{class:`${t}-ranges`},[o,c])}function DCe(){return Ce({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const r=$(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),i=$(()=>24%e.hourStep===0),a=$(()=>60%e.minuteStep===0),l=$(()=>60%e.secondStep===0),s=ys(),{operationRef:u,onSelect:o,hideRanges:c,defaultOpenValue:d}=s,{inRange:p,panelPosition:f,rangedValue:g,hoverRangedValue:m}=eh(),h=Oe({}),[v,b]=Zr(null,{value:xt(e,"value"),defaultValue:e.defaultValue,postState:U=>!U&&(d==null?void 0:d.value)&&e.picker==="time"?d.value:U}),[y,S]=Zr(null,{value:xt(e,"pickerValue"),defaultValue:e.defaultPickerValue||v.value,postState:U=>{const{generateConfig:z,showTime:Y,defaultValue:G}=e,K=z.getNow();return U?!v.value&&e.showTime?typeof Y=="object"?O0(z,Array.isArray(U)?U[0]:U,Y.defaultValue||K):G?O0(z,Array.isArray(U)?U[0]:U,G):O0(z,Array.isArray(U)?U[0]:U,K):U:K}}),C=U=>{S(U),e.onPickerValueChange&&e.onPickerValueChange(U)},w=U=>{const z=vCe[e.picker];return z?z(U):U},[T,O]=Zr(()=>e.picker==="time"?"time":w("date"),{value:xt(e,"mode")});ze(()=>e.picker,()=>{O(e.picker)});const I=Oe(T.value),N=U=>{I.value=U},M=(U,z)=>{const{onPanelChange:Y,generateConfig:G}=e,K=w(U||T.value);N(T.value),O(K),Y&&(T.value!==K||ap(G,y.value,y.value))&&Y(z,K)},B=function(U,z){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:G,generateConfig:K,onSelect:X,onChange:ie,disabledDate:se}=e;(T.value===G||Y)&&(b(U),X&&X(U),o&&o(U,z),ie&&!ap(K,U,v.value)&&!(se!=null&&se(U))&&ie(U))},P=U=>h.value&&h.value.onKeydown?([rt.LEFT,rt.RIGHT,rt.UP,rt.DOWN,rt.PAGE_UP,rt.PAGE_DOWN,rt.ENTER].includes(U.which)&&U.preventDefault(),h.value.onKeydown(U)):!1,k=U=>{h.value&&h.value.onBlur&&h.value.onBlur(U)},D=()=>{const{generateConfig:U,hourStep:z,minuteStep:Y,secondStep:G}=e,K=U.getNow(),X=cCe(U.getHour(K),U.getMinute(K),U.getSecond(K),i.value?z:1,a.value?Y:1,l.value?G:1),ie=O5(U,K,X[0],X[1],X[2]);B(ie,"submit")},F=$(()=>{const{prefixCls:U,direction:z}=e;return Fe(`${U}-panel`,{[`${U}-panel-has-range`]:g&&g.value&&g.value[0]&&g.value[1],[`${U}-panel-has-range-hover`]:m&&m.value&&m.value[0]&&m.value[1],[`${U}-panel-rtl`]:z==="rtl"})});return WO(R(R({},s),{mode:T,hideHeader:$(()=>{var U;return e.hideHeader!==void 0?e.hideHeader:(U=s.hideHeader)===null||U===void 0?void 0:U.value}),hidePrevBtn:$(()=>p.value&&f.value==="right"),hideNextBtn:$(()=>p.value&&f.value==="left")})),ze(()=>e.value,()=>{e.value&&S(e.value)}),()=>{const{prefixCls:U="ant-picker",locale:z,generateConfig:Y,disabledDate:G,picker:K="date",tabindex:X=0,showNow:ie,showTime:se,showToday:q,renderExtraFooter:ee,onMousedown:ne,onOk:_e,components:ue}=e;u&&f.value!=="right"&&(u.value={onKeydown:P,onClose:()=>{h.value&&h.value.onClose&&h.value.onClose()}});let be;const fe=R(R(R({},n),e),{operationRef:h,prefixCls:U,viewDate:y.value,value:v.value,onViewDateChange:C,sourceMode:I.value,onPanelChange:M,disabledDate:G});switch(delete fe.onChange,delete fe.onSelect,T.value){case"decade":be=x(ZO,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"year":be=x(uR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"month":be=x(iR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"quarter":be=x(sR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"week":be=x(tR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"time":delete fe.showTime,be=x(my,Z(Z(Z({},fe),typeof se=="object"?se:null),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;default:se?be=x(eR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null):be=x(th,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null)}let W,J;c!=null&&c.value||(W=B5(U,T.value,ee),J=U5({prefixCls:U,components:ue,needConfirmButton:r.value,okDisabled:!v.value||G&&G(v.value),locale:z,showNow:ie,onNow:r.value&&D,onOk:()=>{v.value&&(B(v.value,"submit",!0),_e&&_e(v.value))}}));let de;if(q&&T.value==="date"&&K==="date"&&!se){const ve=Y.getNow(),he=`${U}-today-btn`,Te=G&&G(ve);de=x("a",{class:Fe(he,Te&&`${he}-disabled`),"aria-disabled":Te,onClick:()=>{Te||B(ve,"mouse",!0)}},[z.today])}return x("div",{tabindex:X,class:Fe(F.value,n.class),style:n.style,onKeydown:P,onBlur:k,onMousedown:ne},[be,W||J||de?x("div",{class:`${U}-footer`},[W,J,de]):null])}}})}const PCe=DCe(),dR=e=>x(PCe,e),MCe={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function H5(e,t){let{slots:n}=t;const{prefixCls:r,popupStyle:i,visible:a,dropdownClassName:l,dropdownAlign:s,transitionName:u,getPopupContainer:o,range:c,popupPlacement:d,direction:p}=kr(e),f=`${r}-dropdown`;return x(qg,{showAction:[],hideAction:[],popupPlacement:(()=>d!==void 0?d:p==="rtl"?"bottomRight":"bottomLeft")(),builtinPlacements:MCe,prefixCls:f,popupTransitionName:u,popupAlign:s,popupVisible:a,popupClassName:Fe(l,{[`${f}-range`]:c,[`${f}-rtl`]:p==="rtl"}),popupStyle:i,getPopupContainer:o},{default:n.default,popup:n.popupElement})}const z5=Ce({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?x("div",{class:`${e.prefixCls}-presets`},[x("ul",null,[e.presets.map((t,n)=>{let{label:r,value:i}=t;return x("li",{key:n,onClick:()=>{e.onClick(i)},onMouseenter:()=>{var a;(a=e.onHover)===null||a===void 0||a.call(e,i)},onMouseleave:()=>{var a;(a=e.onHover)===null||a===void 0||a.call(e,null)}},[r])})])]):null}});function CT(e){let{open:t,value:n,isClickOutside:r,triggerOpen:i,forwardKeydown:a,onKeydown:l,blurToCancel:s,onSubmit:u,onCancel:o,onFocus:c,onBlur:d}=e;const p=Pe(!1),f=Pe(!1),g=Pe(!1),m=Pe(!1),h=Pe(!1),v=$(()=>({onMousedown:()=>{p.value=!0,i(!0)},onKeydown:y=>{if(l(y,()=>{h.value=!0}),!h.value){switch(y.which){case rt.ENTER:{t.value?u()!==!1&&(p.value=!0):i(!0),y.preventDefault();return}case rt.TAB:{p.value&&t.value&&!y.shiftKey?(p.value=!1,y.preventDefault()):!p.value&&t.value&&!a(y)&&y.shiftKey&&(p.value=!0,y.preventDefault());return}case rt.ESC:{p.value=!0,o();return}}!t.value&&![rt.SHIFT].includes(y.which)?i(!0):p.value||a(y)}},onFocus:y=>{p.value=!0,f.value=!0,c&&c(y)},onBlur:y=>{if(g.value||!r(document.activeElement)){g.value=!1;return}s.value?setTimeout(()=>{let{activeElement:S}=document;for(;S&&S.shadowRoot;)S=S.shadowRoot.activeElement;r(S)&&o()},0):t.value&&(i(!1),m.value&&u()),f.value=!1,d&&d(y)}}));ze(t,()=>{m.value=!1}),ze(n,()=>{m.value=!0});const b=Pe();return _t(()=>{b.value=pCe(y=>{const S=fCe(y);if(t.value){const C=r(S);C?(!f.value||C)&&i(!1):(g.value=!0,Ot(()=>{g.value=!1}))}})}),Xt(()=>{b.value&&b.value()}),[v,{focused:f,typing:p}]}function TT(e){let{valueTexts:t,onTextChange:n}=e;const r=Oe("");function i(l){r.value=l,n(l)}function a(){r.value=t.value[0]}return ze(()=>[...t.value],function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];l.join("||")!==s.join("||")&&t.value.every(u=>u!==r.value)&&a()},{immediate:!0}),[r,i,a]}function zv(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const a=t9(()=>{if(!e.value)return[[""],""];let u="";const o=[];for(let c=0;co[0]!==u[0]||!Id(o[1],u[1])),l=$(()=>a.value[0]),s=$(()=>a.value[1]);return[l,s]}function wT(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const a=Oe(null);let l;function s(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ot.cancel(l),p){a.value=d;return}l=Ot(()=>{a.value=d})}const[,u]=zv(a,{formatList:n,generateConfig:r,locale:i});function o(d){s(d)}function c(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;s(null,d)}return ze(e,()=>{c(!0)}),Xt(()=>{Ot.cancel(l)}),[u,o,c]}function V5(e,t){return $(()=>e!=null&&e.value?e.value:t!=null&&t.value?(Lb(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(r=>{const i=t.value[r],a=typeof i=="function"?i():i;return{label:r,value:a}})):[])}function kCe(){return Ce({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:r}=t;const i=Oe(null),a=$(()=>e.presets),l=V5(a),s=$(()=>{var G;return(G=e.picker)!==null&&G!==void 0?G:"date"}),u=$(()=>s.value==="date"&&!!e.showTime||s.value==="time"),o=$(()=>k5(R5(e.format,s.value,e.showTime,e.use12Hours))),c=Oe(null),d=Oe(null),p=Oe(null),[f,g]=Zr(null,{value:xt(e,"value"),defaultValue:e.defaultValue}),m=Oe(f.value),h=G=>{m.value=G},v=Oe(null),[b,y]=Zr(!1,{value:xt(e,"open"),defaultValue:e.defaultOpen,postState:G=>e.disabled?!1:G,onChange:G=>{e.onOpenChange&&e.onOpenChange(G),!G&&v.value&&v.value.onClose&&v.value.onClose()}}),[S,C]=zv(m,{formatList:o,generateConfig:xt(e,"generateConfig"),locale:xt(e,"locale")}),[w,T,O]=TT({valueTexts:S,onTextChange:G=>{const K=P5(G,{locale:e.locale,formatList:o.value,generateConfig:e.generateConfig});K&&(!e.disabledDate||!e.disabledDate(K))&&h(K)}}),I=G=>{const{onChange:K,generateConfig:X,locale:ie}=e;h(G),g(G),K&&!ap(X,f.value,G)&&K(G,G?yi(G,{generateConfig:X,locale:ie,format:o.value[0]}):"")},N=G=>{e.disabled&&G||y(G)},M=G=>b.value&&v.value&&v.value.onKeydown?v.value.onKeydown(G):!1,B=function(){e.onMouseup&&e.onMouseup(...arguments),i.value&&(i.value.focus(),N(!0))},[P,{focused:k,typing:D}]=CT({blurToCancel:u,open:b,value:w,triggerOpen:N,forwardKeydown:M,isClickOutside:G=>!A5([c.value,d.value,p.value],G),onSubmit:()=>!m.value||e.disabledDate&&e.disabledDate(m.value)?!1:(I(m.value),N(!1),O(),!0),onCancel:()=>{N(!1),h(f.value),O()},onKeydown:(G,K)=>{var X;(X=e.onKeydown)===null||X===void 0||X.call(e,G,K)},onFocus:G=>{var K;(K=e.onFocus)===null||K===void 0||K.call(e,G)},onBlur:G=>{var K;(K=e.onBlur)===null||K===void 0||K.call(e,G)}});ze([b,S],()=>{b.value||(h(f.value),!S.value.length||S.value[0]===""?T(""):C.value!==w.value&&O())}),ze(s,()=>{b.value||O()}),ze(f,()=>{h(f.value)});const[F,U,z]=wT(w,{formatList:o,generateConfig:xt(e,"generateConfig"),locale:xt(e,"locale")}),Y=(G,K)=>{(K==="submit"||K!=="key"&&!u.value)&&(I(G),N(!1))};return WO({operationRef:v,hideHeader:$(()=>s.value==="time"),onSelect:Y,open:b,defaultOpenValue:xt(e,"defaultOpenValue"),onDateMouseenter:U,onDateMouseleave:z}),r({focus:()=>{i.value&&i.value.focus()},blur:()=>{i.value&&i.value.blur()}}),()=>{const{prefixCls:G="rc-picker",id:K,tabindex:X,dropdownClassName:ie,dropdownAlign:se,popupStyle:q,transitionName:ee,generateConfig:ne,locale:_e,inputReadOnly:ue,allowClear:be,autofocus:fe,picker:W="date",defaultOpenValue:J,suffixIcon:de,clearIcon:ve,disabled:he,placeholder:Te,getPopupContainer:Ae,panelRender:Ne,onMousedown:we,onMouseenter:ge,onMouseleave:Me,onContextmenu:ke,onClick:Ue,onSelect:xe,direction:ye,autocomplete:j="off"}=e,L=R(R(R({},e),n),{class:Fe({[`${G}-panel-focused`]:!D.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let H=x("div",{class:`${G}-panel-layout`},[x(z5,{prefixCls:G,presets:l.value,onClick:We=>{I(We),N(!1)}},null),x(dR,Z(Z({},L),{},{generateConfig:ne,value:m.value,locale:_e,tabindex:-1,onSelect:We=>{xe==null||xe(We),h(We)},direction:ye,onPanelChange:(We,Je)=>{const{onPanelChange:st}=e;z(!0),st==null||st(We,Je)}}),null)]);Ne&&(H=Ne(H));const te=x("div",{class:`${G}-panel-container`,ref:c,onMousedown:We=>{We.preventDefault()}},[H]);let re;de&&(re=x("span",{class:`${G}-suffix`},[de]));let me;be&&f.value&&!he&&(me=x("span",{onMousedown:We=>{We.preventDefault(),We.stopPropagation()},onMouseup:We=>{We.preventDefault(),We.stopPropagation(),I(null),N(!1)},class:`${G}-clear`,role:"button"},[ve||x("span",{class:`${G}-clear-btn`},null)]));const Se=R(R(R(R({id:K,tabindex:X,disabled:he,readonly:ue||typeof o.value[0]=="function"||!D.value,value:F.value||w.value,onInput:We=>{T(We.target.value)},autofocus:fe,placeholder:Te,ref:i,title:w.value},P.value),{size:I5(W,o.value[0],ne)}),$5(e)),{autocomplete:j}),Ye=e.inputRender?e.inputRender(Se):x("input",Se,null),Ze=ye==="rtl"?"bottomRight":"bottomLeft";return x("div",{ref:p,class:Fe(G,n.class,{[`${G}-disabled`]:he,[`${G}-focused`]:k.value,[`${G}-rtl`]:ye==="rtl"}),style:n.style,onMousedown:we,onMouseup:B,onMouseenter:ge,onMouseleave:Me,onContextmenu:ke,onClick:Ue},[x("div",{class:Fe(`${G}-input`,{[`${G}-input-placeholder`]:!!F.value}),ref:d},[Ye,re,me]),x(H5,{visible:b.value,popupStyle:q,prefixCls:G,dropdownClassName:ie,dropdownAlign:se,getPopupContainer:Ae,transitionName:ee,popupPlacement:Ze,direction:ye},{default:()=>[x("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>te})])}}})}const $Ce=kCe();function LCe(e,t){let{picker:n,locale:r,selectedValue:i,disabledDate:a,disabled:l,generateConfig:s}=e;const u=$(()=>Cn(i.value,0)),o=$(()=>Cn(i.value,1));function c(m){return s.value.locale.getWeekFirstDate(r.value.locale,m)}function d(m){const h=s.value.getYear(m),v=s.value.getMonth(m);return h*100+v}function p(m){const h=s.value.getYear(m),v=yT(s.value,m);return h*10+v}return[m=>{var h;if(a&&((h=a==null?void 0:a.value)===null||h===void 0?void 0:h.call(a,m)))return!0;if(l[1]&&o)return!al(s.value,m,o.value)&&s.value.isAfter(m,o.value);if(t.value[1]&&o.value)switch(n.value){case"quarter":return p(m)>p(o.value);case"month":return d(m)>d(o.value);case"week":return c(m)>c(o.value);default:return!al(s.value,m,o.value)&&s.value.isAfter(m,o.value)}return!1},m=>{var h;if(!((h=a.value)===null||h===void 0)&&h.call(a,m))return!0;if(l[0]&&u)return!al(s.value,m,o.value)&&s.value.isAfter(u.value,m);if(t.value[0]&&u.value)switch(n.value){case"quarter":return p(m)bCe(r,l,s));case"quarter":case"month":return a((l,s)=>fy(r,l,s));default:return a((l,s)=>QO(r,l,s))}}function BCe(e,t,n,r){const i=Cn(e,0),a=Cn(e,1);if(t===0)return i;if(i&&a)switch(FCe(i,a,n,r)){case"same":return i;case"closing":return i;default:return Sm(a,n,r,-1)}return i}function UCe(e){let{values:t,picker:n,defaultDates:r,generateConfig:i}=e;const a=Oe([Cn(r,0),Cn(r,1)]),l=Oe(null),s=$(()=>Cn(t.value,0)),u=$(()=>Cn(t.value,1)),o=f=>a.value[f]?a.value[f]:Cn(l.value,f)||BCe(t.value,f,n.value,i.value)||s.value||u.value||i.value.getNow(),c=Oe(null),d=Oe(null);Rt(()=>{c.value=o(0),d.value=o(1)});function p(f,g){if(f){let m=to(l.value,f,g);a.value=to(a.value,null,g)||[null,null];const h=(g+1)%2;Cn(t.value,h)||(m=to(m,f,h)),l.value=m}else(s.value||u.value)&&(l.value=null)}return[c,d,p]}function HCe(e){return tx()?(T8(e),!0):!1}function zCe(e){return typeof e=="function"?e():je(e)}function G5(e){var t;const n=zCe(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function VCe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;hr()?_t(e):t?e():sn(e)}function GCe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=Pe(),r=()=>n.value=Boolean(e());return r(),VCe(r,t),n}var VE;const nh=typeof window<"u";nh&&((VE=window==null?void 0:window.navigator)===null||VE===void 0?void 0:VE.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const YCe=nh?window:void 0;nh&&window.document;nh&&window.navigator;nh&&window.location;var jCe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=YCe}=n,i=jCe(n,["window"]);let a;const l=GCe(()=>r&&"ResizeObserver"in r),s=()=>{a&&(a.disconnect(),a=void 0)},u=ze(()=>G5(e),c=>{s(),l.value&&r&&c&&(a=new ResizeObserver(t),a.observe(c,i))},{immediate:!0,flush:"post"}),o=()=>{s(),u()};return HCe(o),{isSupported:l,stop:o}}function $f(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:r="content-box"}=n,i=Pe(t.width),a=Pe(t.height);return WCe(e,l=>{let[s]=l;const u=r==="border-box"?s.borderBoxSize:r==="content-box"?s.contentBoxSize:s.devicePixelContentBoxSize;u?(i.value=u.reduce((o,c)=>{let{inlineSize:d}=c;return o+d},0),a.value=u.reduce((o,c)=>{let{blockSize:d}=c;return o+d},0)):(i.value=s.contentRect.width,a.value=s.contentRect.height)},n),ze(()=>G5(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function Ak(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function Nk(e,t,n,r){return!!(e||r&&r[t]||n[(t+1)%2])}function qCe(){return Ce({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets"],setup(e,t){let{attrs:n,expose:r}=t;const i=$(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),a=$(()=>e.presets),l=$(()=>e.ranges),s=V5(a,l),u=Oe({}),o=Oe(null),c=Oe(null),d=Oe(null),p=Oe(null),f=Oe(null),g=Oe(null),m=Oe(null),h=Oe(null),v=$(()=>k5(R5(e.format,e.picker,e.showTime,e.use12Hours))),[b,y]=Zr(0,{value:xt(e,"activePickerIndex")}),S=Oe(null),C=$(()=>{const{disabled:le}=e;return Array.isArray(le)?le:[le||!1,le||!1]}),[w,T]=Zr(null,{value:xt(e,"value"),defaultValue:e.defaultValue,postState:le=>e.picker==="time"&&!e.order?le:Ak(le,e.generateConfig)}),[O,I,N]=UCe({values:w,picker:xt(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:xt(e,"generateConfig")}),[M,B]=Zr(w.value,{postState:le=>{let Le=le;if(C.value[0]&&C.value[1])return Le;for(let Ve=0;Ve<2;Ve+=1)C.value[Ve]&&!Cn(Le,Ve)&&!Cn(e.allowEmpty,Ve)&&(Le=to(Le,e.generateConfig.getNow(),Ve));return Le}}),[P,k]=Zr([e.picker,e.picker],{value:xt(e,"mode")});ze(()=>e.picker,()=>{k([e.picker,e.picker])});const D=(le,Le)=>{var Ve;k(le),(Ve=e.onPanelChange)===null||Ve===void 0||Ve.call(e,Le,le)},[F,U]=LCe({picker:xt(e,"picker"),selectedValue:M,locale:xt(e,"locale"),disabled:C,disabledDate:xt(e,"disabledDate"),generateConfig:xt(e,"generateConfig")},u),[z,Y]=Zr(!1,{value:xt(e,"open"),defaultValue:e.defaultOpen,postState:le=>C.value[b.value]?!1:le,onChange:le=>{var Le;(Le=e.onOpenChange)===null||Le===void 0||Le.call(e,le),!le&&S.value&&S.value.onClose&&S.value.onClose()}}),G=$(()=>z.value&&b.value===0),K=$(()=>z.value&&b.value===1),X=Oe(0),ie=Oe(0),se=Oe(0),{width:q}=$f(o);ze([z,q],()=>{!z.value&&o.value&&(se.value=q.value)});const{width:ee}=$f(c),{width:ne}=$f(h),{width:_e}=$f(d),{width:ue}=$f(f);ze([b,z,ee,ne,_e,ue,()=>e.direction],()=>{ie.value=0,z.value&&b.value?d.value&&f.value&&c.value&&(ie.value=_e.value+ue.value,ee.value&&ne.value&&ie.value>ee.value-ne.value-(e.direction==="rtl"||h.value.offsetLeft>ie.value?0:h.value.offsetLeft)&&(X.value=ie.value)):b.value===0&&(X.value=0)},{immediate:!0});const be=Oe();function fe(le,Le){if(le)clearTimeout(be.value),u.value[Le]=!0,y(Le),Y(le),z.value||N(null,Le);else if(b.value===Le){Y(le);const Ve=u.value;be.value=setTimeout(()=>{Ve===u.value&&(u.value={})})}}function W(le){fe(!0,le),setTimeout(()=>{const Le=[g,m][le];Le.value&&Le.value.focus()},0)}function J(le,Le){let Ve=le,ct=Cn(Ve,0),qt=Cn(Ve,1);const{generateConfig:Kt,locale:lt,picker:at,order:yt,onCalendarChange:gn,allowEmpty:hn,onChange:_n,showTime:Qr}=e;ct&&qt&&Kt.isAfter(ct,qt)&&(at==="week"&&!D5(Kt,lt.locale,ct,qt)||at==="quarter"&&!N5(Kt,ct,qt)||at!=="week"&&at!=="quarter"&&at!=="time"&&!(Qr?ap(Kt,ct,qt):al(Kt,ct,qt))?(Le===0?(Ve=[ct,null],qt=null):(ct=null,Ve=[null,qt]),u.value={[Le]:!0}):(at!=="time"||yt!==!1)&&(Ve=Ak(Ve,Kt))),B(Ve);const Yr=Ve&&Ve[0]?yi(Ve[0],{generateConfig:Kt,locale:lt,format:v.value[0]}):"",ua=Ve&&Ve[1]?yi(Ve[1],{generateConfig:Kt,locale:lt,format:v.value[0]}):"";gn&&gn(Ve,[Yr,ua],{range:Le===0?"start":"end"});const Li=Nk(ct,0,C.value,hn),wi=Nk(qt,1,C.value,hn);(Ve===null||Li&&wi)&&(T(Ve),_n&&(!ap(Kt,Cn(w.value,0),ct)||!ap(Kt,Cn(w.value,1),qt))&&_n(Ve,[Yr,ua]));let Lr=null;Le===0&&!C.value[1]?Lr=1:Le===1&&!C.value[0]&&(Lr=0),Lr!==null&&Lr!==b.value&&(!u.value[Lr]||!Cn(Ve,Lr))&&Cn(Ve,Le)?W(Lr):fe(!1,Le)}const de=le=>z&&S.value&&S.value.onKeydown?S.value.onKeydown(le):!1,ve={formatList:v,generateConfig:xt(e,"generateConfig"),locale:xt(e,"locale")},[he,Te]=zv($(()=>Cn(M.value,0)),ve),[Ae,Ne]=zv($(()=>Cn(M.value,1)),ve),we=(le,Le)=>{const Ve=P5(le,{locale:e.locale,formatList:v.value,generateConfig:e.generateConfig});Ve&&!(Le===0?F:U)(Ve)&&(B(to(M.value,Ve,Le)),N(Ve,Le))},[ge,Me,ke]=TT({valueTexts:he,onTextChange:le=>we(le,0)}),[Ue,xe,ye]=TT({valueTexts:Ae,onTextChange:le=>we(le,1)}),[j,L]=li(null),[H,te]=li(null),[re,me,Se]=wT(ge,ve),[Ye,Ze,We]=wT(Ue,ve),Je=le=>{te(to(M.value,le,b.value)),b.value===0?me(le):Ze(le)},st=()=>{te(to(M.value,null,b.value)),b.value===0?Se():We()},Ht=(le,Le)=>({forwardKeydown:de,onBlur:Ve=>{var ct;(ct=e.onBlur)===null||ct===void 0||ct.call(e,Ve)},isClickOutside:Ve=>!A5([c.value,d.value,p.value,o.value],Ve),onFocus:Ve=>{var ct;y(le),(ct=e.onFocus)===null||ct===void 0||ct.call(e,Ve)},triggerOpen:Ve=>{fe(Ve,le)},onSubmit:()=>{if(!M.value||e.disabledDate&&e.disabledDate(M.value[le]))return!1;J(M.value,le),Le()},onCancel:()=>{fe(!1,le),B(w.value),Le()}}),[Pt,{focused:pt,typing:Ft}]=CT(R(R({},Ht(0,ke)),{blurToCancel:i,open:G,value:ge,onKeydown:(le,Le)=>{var Ve;(Ve=e.onKeydown)===null||Ve===void 0||Ve.call(e,le,Le)}})),[Bn,{focused:Xn,typing:ur}]=CT(R(R({},Ht(1,ye)),{blurToCancel:i,open:K,value:Ue,onKeydown:(le,Le)=>{var Ve;(Ve=e.onKeydown)===null||Ve===void 0||Ve.call(e,le,Le)}})),Jn=le=>{var Le;(Le=e.onClick)===null||Le===void 0||Le.call(e,le),!z.value&&!g.value.contains(le.target)&&!m.value.contains(le.target)&&(C.value[0]?C.value[1]||W(1):W(0))},Rr=le=>{var Le;(Le=e.onMousedown)===null||Le===void 0||Le.call(e,le),z.value&&(pt.value||Xn.value)&&!g.value.contains(le.target)&&!m.value.contains(le.target)&&le.preventDefault()},$r=$(()=>{var le;return!((le=w.value)===null||le===void 0)&&le[0]?yi(w.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),Gr=$(()=>{var le;return!((le=w.value)===null||le===void 0)&&le[1]?yi(w.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});ze([z,he,Ae],()=>{z.value||(B(w.value),!he.value.length||he.value[0]===""?Me(""):Te.value!==ge.value&&ke(),!Ae.value.length||Ae.value[0]===""?xe(""):Ne.value!==Ue.value&&ye())}),ze([$r,Gr],()=>{B(w.value)}),r({focus:()=>{g.value&&g.value.focus()},blur:()=>{g.value&&g.value.blur(),m.value&&m.value.blur()}});const $i=$(()=>z.value&&H.value&&H.value[0]&&H.value[1]&&e.generateConfig.isAfter(H.value[1],H.value[0])?H.value:null);function _r(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:Ve,showTime:ct,dateRender:qt,direction:Kt,disabledTime:lt,prefixCls:at,locale:yt}=e;let gn=ct;if(ct&&typeof ct=="object"&&ct.defaultValue){const _n=ct.defaultValue;gn=R(R({},ct),{defaultValue:Cn(_n,b.value)||void 0})}let hn=null;return qt&&(hn=_n=>{let{current:Qr,today:Yr}=_n;return qt({current:Qr,today:Yr,info:{range:b.value?"end":"start"}})}),x(OCe,{value:{inRange:!0,panelPosition:le,rangedValue:j.value||M.value,hoverRangedValue:$i.value}},{default:()=>[x(dR,Z(Z(Z({},e),Le),{},{dateRender:hn,showTime:gn,mode:P.value[b.value],generateConfig:Ve,style:void 0,direction:Kt,disabledDate:b.value===0?F:U,disabledTime:_n=>lt?lt(_n,b.value===0?"start":"end"):!1,class:Fe({[`${at}-panel-focused`]:b.value===0?!Ft.value:!ur.value}),value:Cn(M.value,b.value),locale:yt,tabIndex:-1,onPanelChange:(_n,Qr)=>{b.value===0&&Se(!0),b.value===1&&We(!0),D(to(P.value,Qr,b.value),to(M.value,_n,b.value));let Yr=_n;le==="right"&&P.value[b.value]===Qr&&(Yr=Sm(Yr,Qr,Ve,-1)),N(Yr,b.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:b.value===0?Cn(M.value,1):Cn(M.value,0)}),null)]})}const ui=(le,Le)=>{const Ve=to(M.value,le,b.value);Le==="submit"||Le!=="key"&&!i.value?(J(Ve,b.value),b.value===0?Se():We()):B(Ve)};return WO({operationRef:S,hideHeader:$(()=>e.picker==="time"),onDateMouseenter:Je,onDateMouseleave:st,hideRanges:$(()=>!0),onSelect:ui,open:z}),()=>{const{prefixCls:le="rc-picker",id:Le,popupStyle:Ve,dropdownClassName:ct,transitionName:qt,dropdownAlign:Kt,getPopupContainer:lt,generateConfig:at,locale:yt,placeholder:gn,autofocus:hn,picker:_n="date",showTime:Qr,separator:Yr="~",disabledDate:ua,panelRender:Li,allowClear:wi,suffixIcon:di,clearIcon:Lr,inputReadOnly:$a,renderExtraFooter:Qo,onMouseenter:Rc,onMouseleave:Cl,onMouseup:Tl,onOk:Cs,components:qi,direction:La,autocomplete:Ts="off"}=e,Ic=La==="rtl"?{right:`${ie.value}px`}:{left:`${ie.value}px`};function wl(){let zn;const Ir=B5(le,P.value[b.value],Qo),Fa=U5({prefixCls:le,components:qi,needConfirmButton:i.value,okDisabled:!Cn(M.value,b.value)||ua&&ua(M.value[b.value]),locale:yt,onOk:()=>{Cn(M.value,b.value)&&(J(M.value,b.value),Cs&&Cs(M.value))}});if(_n!=="time"&&!Qr){const Fr=b.value===0?O.value:I.value,xs=Sm(Fr,_n,at),vo=P.value[b.value]===_n,da=_r(vo?"left":!1,{pickerValue:Fr,onPickerValueChange:Xo=>{N(Xo,b.value)}}),Rs=_r("right",{pickerValue:xs,onPickerValueChange:Xo=>{N(Sm(Xo,_n,at,-1),b.value)}});La==="rtl"?zn=x(tt,null,[Rs,vo&&da]):zn=x(tt,null,[da,vo&&Rs])}else zn=_r();let wr=x("div",{class:`${le}-panel-layout`},[x(z5,{prefixCls:le,presets:s.value,onClick:Fr=>{J(Fr,null),fe(!1,b.value)},onHover:Fr=>{L(Fr)}},null),x("div",null,[x("div",{class:`${le}-panels`},[zn]),(Ir||Fa)&&x("div",{class:`${le}-footer`},[Ir,Fa])])]);return Li&&(wr=Li(wr)),x("div",{class:`${le}-panel-container`,style:{marginLeft:`${X.value}px`},ref:c,onMousedown:Fr=>{Fr.preventDefault()}},[wr])}const _o=x("div",{class:Fe(`${le}-range-wrapper`,`${le}-${_n}-range-wrapper`),style:{minWidth:`${se.value}px`}},[x("div",{ref:h,class:`${le}-range-arrow`,style:Ic},null),wl()]);let ws;di&&(ws=x("span",{class:`${le}-suffix`},[di]));let it;wi&&(Cn(w.value,0)&&!C.value[0]||Cn(w.value,1)&&!C.value[1])&&(it=x("span",{onMousedown:zn=>{zn.preventDefault(),zn.stopPropagation()},onMouseup:zn=>{zn.preventDefault(),zn.stopPropagation();let Ir=w.value;C.value[0]||(Ir=to(Ir,null,0)),C.value[1]||(Ir=to(Ir,null,1)),J(Ir,null),fe(!1,b.value)},class:`${le}-clear`},[Lr||x("span",{class:`${le}-clear-btn`},null)]));const Tt={size:I5(_n,v.value[0],at)};let Jt=0,vn=0;d.value&&p.value&&f.value&&(b.value===0?vn=d.value.offsetWidth:(Jt=ie.value,vn=p.value.offsetWidth));const or=La==="rtl"?{right:`${Jt}px`}:{left:`${Jt}px`};return x("div",Z({ref:o,class:Fe(le,`${le}-range`,n.class,{[`${le}-disabled`]:C.value[0]&&C.value[1],[`${le}-focused`]:b.value===0?pt.value:Xn.value,[`${le}-rtl`]:La==="rtl"}),style:n.style,onClick:Jn,onMouseenter:Rc,onMouseleave:Cl,onMousedown:Rr,onMouseup:Tl},$5(e)),[x("div",{class:Fe(`${le}-input`,{[`${le}-input-active`]:b.value===0,[`${le}-input-placeholder`]:!!re.value}),ref:d},[x("input",Z(Z(Z({id:Le,disabled:C.value[0],readonly:$a||typeof v.value[0]=="function"||!Ft.value,value:re.value||ge.value,onInput:zn=>{Me(zn.target.value)},autofocus:hn,placeholder:Cn(gn,0)||"",ref:g},Pt.value),Tt),{},{autocomplete:Ts}),null)]),x("div",{class:`${le}-range-separator`,ref:f},[Yr]),x("div",{class:Fe(`${le}-input`,{[`${le}-input-active`]:b.value===1,[`${le}-input-placeholder`]:!!Ye.value}),ref:p},[x("input",Z(Z(Z({disabled:C.value[1],readonly:$a||typeof v.value[0]=="function"||!ur.value,value:Ye.value||Ue.value,onInput:zn=>{xe(zn.target.value)},placeholder:Cn(gn,1)||"",ref:m},Bn.value),Tt),{},{autocomplete:Ts}),null)]),x("div",{class:`${le}-active-bar`,style:R(R({},or),{width:`${vn}px`,position:"absolute"})},null),ws,it,x(H5,{visible:z.value,popupStyle:Ve,prefixCls:le,dropdownClassName:ct,dropdownAlign:Kt,getPopupContainer:lt,transitionName:qt,range:!0,direction:La},{default:()=>[x("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>_o})])}}})}const KCe=qCe(),ZCe=KCe;var QCe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.checked,()=>{a.value=e.checked}),i({focus(){var c;(c=l.value)===null||c===void 0||c.focus()},blur(){var c;(c=l.value)===null||c===void 0||c.blur()}});const s=Oe(),u=c=>{if(e.disabled)return;e.checked===void 0&&(a.value=c.target.checked),c.shiftKey=s.value;const d={target:R(R({},e),{checked:c.target.checked}),stopPropagation(){c.stopPropagation()},preventDefault(){c.preventDefault()},nativeEvent:c};e.checked!==void 0&&(l.value.checked=!!e.checked),r("change",d),s.value=!1},o=c=>{r("click",c),s.value=c.shiftKey};return()=>{const{prefixCls:c,name:d,id:p,type:f,disabled:g,readonly:m,tabindex:h,autofocus:v,value:b,required:y}=e,S=QCe(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:C,onFocus:w,onBlur:T,onKeydown:O,onKeypress:I,onKeyup:N}=n,M=R(R({},S),n),B=Object.keys(M).reduce((D,F)=>((F.startsWith("data-")||F.startsWith("aria-")||F==="role")&&(D[F]=M[F]),D),{}),P=Fe(c,C,{[`${c}-checked`]:a.value,[`${c}-disabled`]:g}),k=R(R({name:d,id:p,type:f,readonly:m,disabled:g,tabindex:h,class:`${c}-input`,checked:!!a.value,autofocus:v,value:b},B),{onChange:u,onClick:o,onFocus:w,onBlur:T,onKeydown:O,onKeypress:I,onKeyup:N,required:y});return x("span",{class:P},[x("input",Z({ref:l},k),null),x("span",{class:`${c}-inner`},null)])}}}),j5=Symbol("radioGroupContextKey"),JCe=e=>{Dt(j5,e)},eTe=()=>He(j5,void 0),W5=Symbol("radioOptionTypeContextKey"),tTe=e=>{Dt(W5,e)},nTe=()=>He(W5,void 0),rTe=new Yt("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),iTe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:R(R({},Nn(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},aTe=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:i,motionDurationSlow:a,motionDurationMid:l,motionEaseInOut:s,motionEaseInOutCirc:u,radioButtonBg:o,colorBorder:c,lineWidth:d,radioDotSize:p,colorBgContainerDisabled:f,colorTextDisabled:g,paddingXS:m,radioDotDisabledColor:h,lineType:v,radioDotDisabledSize:b,wireframe:y,colorWhite:S}=e,C=`${t}-inner`;return{[`${t}-wrapper`]:R(R({},Nn(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${v} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:rTe,animationDuration:a,animationTimingFunction:s,animationFillMode:"both",content:'""'},[t]:R(R({},Nn(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${h})`},"&::after":{transform:`rotate(45deg) translateX(-${h})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${m*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${h})`},"&::before":{transform:`rotate(45deg) translateX(${h})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},K1e=(e,t)=>Mn("Menu",(r,i)=>{let{overrideComponentToken:a}=i;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:l,colorPrimary:s,colorError:u,colorErrorHover:o,colorTextLightSolid:c}=r,{controlHeightLG:d,fontSize:p}=r,f=p/7*5,g=jt(r,{menuItemHeight:d,menuItemPaddingInline:r.margin,menuArrowSize:f,menuHorizontalHeight:d*1.15,menuArrowOffset:`${f*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:l}),m=new Sn(c).setAlpha(.65).toRgbString(),h=jt(g,{colorItemText:m,colorItemTextHover:c,colorGroupTitle:m,colorItemTextSelected:c,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:s,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Sn(c).setAlpha(.25).toRgbString(),colorDangerItemText:u,colorDangerItemTextHover:o,colorDangerItemTextSelected:c,colorDangerItemBgActive:u,colorDangerItemBgSelected:u,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:c,colorItemBgSelectedHorizontal:s},R({},a));return[q1e(g),z1e(g),W1e(g),bk(g,"light"),bk(h,"dark"),G1e(g),uy(g),Cc(g,"slide-up"),Cc(g,"slide-down"),uf(g,"zoom-big")]},r=>{const{colorPrimary:i,colorError:a,colorTextDisabled:l,colorErrorBg:s,colorText:u,colorTextDescription:o,colorBgContainer:c,colorFillAlter:d,colorFillContent:p,lineWidth:f,lineWidthBold:g,controlItemBgActive:m,colorBgTextHover:h}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:u,colorItemTextHover:u,colorItemTextHoverHorizontal:i,colorGroupTitle:o,colorItemTextSelected:i,colorItemTextSelectedHorizontal:i,colorItemBg:c,colorItemBgHover:h,colorItemBgActive:p,colorSubItemBg:d,colorItemBgSelected:m,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:g,colorActiveBarBorderSize:f,colorItemTextDisabled:l,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,itemMarginInline:r.marginXXS}})(e),Z1e=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),Ck=[],lo=Ce({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:Z1e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{direction:a,getPrefixCls:l}=At("menu",e),s=r5(),u=$(()=>{var ee;return l("menu",e.prefixCls||((ee=s==null?void 0:s.prefixCls)===null||ee===void 0?void 0:ee.value))}),[o,c]=K1e(u,$(()=>!s)),d=Pe(new Map),p=He(x1e,Oe(void 0)),f=$(()=>p.value!==void 0?p.value:e.inlineCollapsed),{itemsNodes:g}=U1e(e),m=Pe(!1);_t(()=>{m.value=!0}),Rt(()=>{Mr(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Mr(!(p.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const h=Oe([]),v=Oe([]),b=Oe({});ze(d,()=>{const ee={};for(const ne of d.value.values())ee[ne.key]=ne;b.value=ee},{flush:"post"}),Rt(()=>{if(e.activeKey!==void 0){let ee=[];const ne=e.activeKey?b.value[e.activeKey]:void 0;ne&&e.activeKey!==void 0?ee=kE([].concat(je(ne.parentKeys),e.activeKey)):ee=[],Id(h.value,ee)||(h.value=ee)}}),ze(()=>e.selectedKeys,ee=>{ee&&(v.value=ee.slice())},{immediate:!0,deep:!0});const y=Oe([]);ze([b,v],()=>{let ee=[];v.value.forEach(ne=>{const _e=b.value[ne];_e&&(ee=ee.concat(je(_e.parentKeys)))}),ee=kE(ee),Id(y.value,ee)||(y.value=ee)},{immediate:!0});const S=ee=>{if(e.selectable){const{key:ne}=ee,_e=v.value.includes(ne);let ue;e.multiple?_e?ue=v.value.filter(fe=>fe!==ne):ue=[...v.value,ne]:ue=[ne];const be=R(R({},ee),{selectedKeys:ue});Id(ue,v.value)||(e.selectedKeys===void 0&&(v.value=ue),r("update:selectedKeys",ue),_e&&e.multiple?r("deselect",be):r("select",be))}N.value!=="inline"&&!e.multiple&&C.value.length&&P(Ck)},C=Oe([]);ze(()=>e.openKeys,function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C.value;Id(C.value,ee)||(C.value=ee.slice())},{immediate:!0,deep:!0});let w;const T=ee=>{clearTimeout(w),w=setTimeout(()=>{e.activeKey===void 0&&(h.value=ee),r("update:activeKey",ee[ee.length-1])})},O=$(()=>!!e.disabled),I=$(()=>a.value==="rtl"),N=Oe("vertical"),M=Pe(!1);Rt(()=>{var ee;(e.mode==="inline"||e.mode==="vertical")&&f.value?(N.value="vertical",M.value=f.value):(N.value=e.mode,M.value=!1),!((ee=s==null?void 0:s.mode)===null||ee===void 0)&&ee.value&&(N.value=s.mode.value)});const B=$(()=>N.value==="inline"),P=ee=>{C.value=ee,r("update:openKeys",ee),r("openChange",ee)},k=Oe(C.value),D=Pe(!1);ze(C,()=>{B.value&&(k.value=C.value)},{immediate:!0}),ze(B,()=>{if(!D.value){D.value=!0;return}B.value?C.value=k.value:P(Ck)},{immediate:!0});const F=$(()=>({[`${u.value}`]:!0,[`${u.value}-root`]:!0,[`${u.value}-${N.value}`]:!0,[`${u.value}-inline-collapsed`]:M.value,[`${u.value}-rtl`]:I.value,[`${u.value}-${e.theme}`]:!0})),U=$(()=>l()),z=$(()=>({horizontal:{name:`${U.value}-slide-up`},inline:py,other:{name:`${U.value}-zoom-big`}}));u5(!0);const Y=function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ne=[],_e=d.value;return ee.forEach(ue=>{const{key:be,childrenEventKeys:fe}=_e.get(ue);ne.push(be,...Y(je(fe)))}),ne},G=ee=>{var ne;r("click",ee),S(ee),(ne=s==null?void 0:s.onClick)===null||ne===void 0||ne.call(s)},K=(ee,ne)=>{var _e;const ue=((_e=b.value[ee])===null||_e===void 0?void 0:_e.childrenEventKeys)||[];let be=C.value.filter(fe=>fe!==ee);if(ne)be.push(ee);else if(N.value!=="inline"){const fe=Y(je(ue));be=kE(be.filter(W=>!fe.includes(W)))}Id(C,be)||P(be)},X=(ee,ne)=>{d.value.set(ee,ne),d.value=new Map(d.value)},ie=ee=>{d.value.delete(ee),d.value=new Map(d.value)},se=Oe(0),q=$(()=>{var ee;return e.expandIcon||n.expandIcon||((ee=s==null?void 0:s.expandIcon)===null||ee===void 0?void 0:ee.value)?ne=>{let _e=e.expandIcon||n.expandIcon;return _e=typeof _e=="function"?_e(ne):_e,gr(_e,{class:`${u.value}-submenu-expand-icon`},!1)}:null});return w1e({prefixCls:u,activeKeys:h,openKeys:C,selectedKeys:v,changeActiveKeys:T,disabled:O,rtl:I,mode:N,inlineIndent:$(()=>e.inlineIndent),subMenuCloseDelay:$(()=>e.subMenuCloseDelay),subMenuOpenDelay:$(()=>e.subMenuOpenDelay),builtinPlacements:$(()=>e.builtinPlacements),triggerSubMenuAction:$(()=>e.triggerSubMenuAction),getPopupContainer:$(()=>e.getPopupContainer),inlineCollapsed:M,theme:$(()=>e.theme),siderCollapsed:p,defaultMotions:$(()=>m.value?z.value:null),motion:$(()=>m.value?e.motion:null),overflowDisabled:Pe(void 0),onOpenChange:K,onItemClick:G,registerMenuInfo:X,unRegisterMenuInfo:ie,selectedSubMenuKeys:y,expandIcon:q,forceSubMenuRender:$(()=>e.forceSubMenuRender),rootClassName:c}),()=>{var ee,ne;const _e=g.value||ni((ee=n.default)===null||ee===void 0?void 0:ee.call(n)),ue=se.value>=_e.length-1||N.value!=="horizontal"||e.disabledOverflow,be=N.value!=="horizontal"||e.disabledOverflow?_e:_e.map((W,J)=>x(Bv,{key:W.key,overflowDisabled:J>se.value},{default:()=>W})),fe=((ne=n.overflowedIndicator)===null||ne===void 0?void 0:ne.call(n))||x(e5,null,null);return o(x(ip,Z(Z({},i),{},{onMousedown:e.onMousedown,prefixCls:`${u.value}-overflow`,component:"ul",itemComponent:zp,class:[F.value,i.class,c.value],role:"menu",id:e.id,data:be,renderRawItem:W=>W,renderRawRest:W=>{const J=W.length,de=J?_e.slice(-J):null;return x(tt,null,[x(Vp,{eventKey:X_,key:X_,title:fe,disabled:ue,internalPopupClose:J===0},{default:()=>de}),x(fk,null,{default:()=>[x(Vp,{eventKey:X_,key:X_,title:fe,disabled:ue,internalPopupClose:J===0},{default:()=>de})]})])},maxCount:N.value!=="horizontal"||e.disabledOverflow?ip.INVALIDATE:ip.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:W=>{se.value=W}}),{default:()=>[x(Ug,{to:"body"},{default:()=>[x("div",{style:{display:"none"},"aria-hidden":!0},[x(fk,null,{default:()=>[be]})])]})]}))}}});lo.install=function(e){return e.component(lo.name,lo),e.component(zp.name,zp),e.component(Vp.name,Vp),e.component(Hv.name,Hv),e.component(Uv.name,Uv),e};lo.Item=zp;lo.Divider=Hv;lo.SubMenu=Vp;lo.ItemGroup=Uv;var ra=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Q1e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function X1e(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var _5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",l="second",s="minute",u="hour",o="day",c="week",d="month",p="quarter",f="year",g="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(k){var D=["th","st","nd","rd"],F=k%100;return"["+k+(D[(F-20)%10]||D[F]||D[0])+"]"}},y=function(k,D,F){var U=String(k);return!U||U.length>=D?k:""+Array(D+1-U.length).join(F)+k},S={s:y,z:function(k){var D=-k.utcOffset(),F=Math.abs(D),U=Math.floor(F/60),z=F%60;return(D<=0?"+":"-")+y(U,2,"0")+":"+y(z,2,"0")},m:function k(D,F){if(D.date()1)return k(G[0])}else{var K=D.name;w[K]=D,z=K}return!U&&z&&(C=z),z||!U&&C},N=function(k,D){if(O(k))return k.clone();var F=typeof D=="object"?D:{};return F.date=k,F.args=arguments,new B(F)},M=S;M.l=I,M.i=O,M.w=function(k,D){return N(k,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var B=function(){function k(F){this.$L=I(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[T]=!0}var D=k.prototype;return D.parse=function(F){this.$d=function(U){var z=U.date,Y=U.utc;if(z===null)return new Date(NaN);if(M.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var G=z.match(h);if(G){var K=G[2]-1||0,X=(G[7]||"0").substring(0,3);return Y?new Date(Date.UTC(G[1],K,G[3]||1,G[4]||0,G[5]||0,G[6]||0,X)):new Date(G[1],K,G[3]||1,G[4]||0,G[5]||0,G[6]||0,X)}}return new Date(z)}(F),this.init()},D.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},D.$utils=function(){return M},D.isValid=function(){return this.$d.toString()!==m},D.isSame=function(F,U){var z=N(F);return this.startOf(U)<=z&&z<=this.endOf(U)},D.isAfter=function(F,U){return N(F)25){var c=l(this).startOf(r).add(1,r).date(o),d=l(this).endOf(n);if(c.isBefore(d))return 1}var p=l(this).startOf(r).date(o).startOf(n).subtract(1,"millisecond"),f=this.diff(p,n,!0);return f<0?l(this).startOf("week").week():Math.ceil(f)},s.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(y5);const tCe=y5.exports;var S5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),a=this.week(),l=this.year();return a===1&&i===11?l+1:i===0&&a>=52?l-1:l}}})})(S5);const nCe=S5.exports;var E5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n="month",r="quarter";return function(i,a){var l=a.prototype;l.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var s=l.add;l.add=function(o,c){return o=Number(o),this.$utils().p(c)===r?this.add(3*o,n):s.bind(this)(o,c)};var u=l.startOf;l.startOf=function(o,c){var d=this.$utils(),p=!!d.u(c)||c;if(d.p(o)===r){var f=this.quarter()-1;return p?this.month(3*f).startOf(n).startOf("day"):this.month(3*f+2).endOf(n).endOf("day")}return u.bind(this)(o,c)}}})})(E5);const rCe=E5.exports;var C5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){return function(n,r){var i=r.prototype,a=i.format;i.format=function(l){var s=this,u=this.$locale();if(!this.isValid())return a.bind(this)(l);var o=this.$utils(),c=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return u.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return u.ordinal(s.week(),"W");case"w":case"ww":return o.s(s.week(),d==="w"?1:2,"0");case"W":case"WW":return o.s(s.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return o.s(String(s.$H===0?24:s.$H),d==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return d}});return a.bind(this)(c)}}})})(C5);const iCe=C5.exports;var T5={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,s={},u=function(m){return(m=+m)+(m>68?1900:2e3)},o=function(m){return function(h){this[m]=+h}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(h){if(!h||h==="Z")return 0;var v=h.match(/([+-]|\d\d)/g),b=60*v[1]+(+v[2]||0);return b===0?0:v[0]==="+"?-b:b}(m)}],d=function(m){var h=s[m];return h&&(h.indexOf?h:h.s.concat(h.f))},p=function(m,h){var v,b=s.meridiem;if(b){for(var y=1;y<=24;y+=1)if(m.indexOf(b(y,0,h))>-1){v=y>12;break}}else v=m===(h?"pm":"PM");return v},f={A:[l,function(m){this.afternoon=p(m,!1)}],a:[l,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[i,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[a,o("seconds")],ss:[a,o("seconds")],m:[a,o("minutes")],mm:[a,o("minutes")],H:[a,o("hours")],h:[a,o("hours")],HH:[a,o("hours")],hh:[a,o("hours")],D:[a,o("day")],DD:[i,o("day")],Do:[l,function(m){var h=s.ordinal,v=m.match(/\d+/);if(this.day=v[0],h)for(var b=1;b<=31;b+=1)h(b).replace(/\[|\]/g,"")===m&&(this.day=b)}],M:[a,o("month")],MM:[i,o("month")],MMM:[l,function(m){var h=d("months"),v=(d("monthsShort")||h.map(function(b){return b.slice(0,3)})).indexOf(m)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[l,function(m){var h=d("months").indexOf(m)+1;if(h<1)throw new Error;this.month=h%12||h}],Y:[/[+-]?\d+/,o("year")],YY:[i,function(m){this.year=u(m)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function g(m){var h,v;h=m,v=s&&s.formats;for(var b=(m=h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,N,M){var B=M&&M.toUpperCase();return N||v[M]||n[M]||v[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,k,D){return k||D.slice(1)})})).match(r),y=b.length,S=0;S-1)return new Date((U==="X"?1e3:1)*F);var Y=g(U)(F),G=Y.year,K=Y.month,X=Y.day,ie=Y.hours,se=Y.minutes,q=Y.seconds,ee=Y.milliseconds,ne=Y.zone,_e=new Date,ue=X||(G||K?1:_e.getDate()),be=G||_e.getFullYear(),fe=0;G&&!K||(fe=K>0?K-1:_e.getMonth());var W=ie||0,J=se||0,de=q||0,ve=ee||0;return ne?new Date(Date.UTC(be,fe,ue,W,J,de,ve+60*ne.offset*1e3)):z?new Date(Date.UTC(be,fe,ue,W,J,de,ve)):new Date(be,fe,ue,W,J,de,ve)}catch{return new Date("")}}(C,O,w),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),M&&C!=this.format(O)&&(this.$d=new Date("")),s={}}else if(O instanceof Array)for(var P=O.length,k=1;k<=P;k+=1){T[1]=O[k-1];var D=v.apply(this,T);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}k===P&&(this.$d=new Date(""))}else y.call(this,S)}}})})(T5);const aCe=T5.exports;tr.extend(aCe);tr.extend(iCe);tr.extend(J1e);tr.extend(eCe);tr.extend(tCe);tr.extend(nCe);tr.extend(rCe);tr.extend((e,t)=>{const n=t.prototype,r=n.format;n.format=function(a){const l=(a||"").replace("Wo","wo");return r.bind(this)(l)}});const oCe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},jc=e=>oCe[e]||e.split("_")[0],Tk=()=>{Pce(!1,"Not match any format. Please help to fire a issue about this.")},sCe=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function wk(e,t,n){const r=[...new Set(e.split(n))];let i=0;for(let a=0;at)return l;i+=n.length}}const xk=(e,t)=>{if(!e)return null;if(tr.isDayjs(e))return e;const n=t.matchAll(sCe);let r=tr(e,t);if(n===null)return r;for(const i of n){const a=i[0],l=i.index;if(a==="Q"){const s=e.slice(l-1,l),u=wk(e,l,s).match(/\d+/)[0];r=r.quarter(parseInt(u))}if(a.toLowerCase()==="wo"){const s=e.slice(l-1,l),u=wk(e,l,s).match(/\d+/)[0];r=r.week(parseInt(u))}a.toLowerCase()==="ww"&&(r=r.week(parseInt(e.slice(l,l+a.length)))),a.toLowerCase()==="w"&&(r=r.week(parseInt(e.slice(l,l+a.length+1))))}return r},lCe={getNow:()=>tr(),getFixedDate:e=>tr(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>tr().locale(jc(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(jc(e)).weekday(0),getWeek:(e,t)=>t.locale(jc(e)).week(),getShortWeekDays:e=>tr().locale(jc(e)).localeData().weekdaysMin(),getShortMonths:e=>tr().locale(jc(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(jc(e)).format(n),parse:(e,t,n)=>{const r=jc(e);for(let i=0;iArray.isArray(e)?e.map(n=>xk(n,t)):xk(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>tr.isDayjs(n)?n.format(t):n):tr.isDayjs(e)?e.format(t):e},w5=lCe;function kr(e){const t=s3();return R(R({},e),t)}const x5=Symbol("PanelContextProps"),WO=e=>{Dt(x5,e)},ys=()=>He(x5,{}),J_={visibility:"hidden"};function Oc(e,t){let{slots:n}=t;var r;const i=kr(e),{prefixCls:a,prevIcon:l="\u2039",nextIcon:s="\u203A",superPrevIcon:u="\xAB",superNextIcon:o="\xBB",onSuperPrev:c,onSuperNext:d,onPrev:p,onNext:f}=i,{hideNextBtn:g,hidePrevBtn:m}=ys();return x("div",{class:a},[c&&x("button",{type:"button",onClick:c,tabindex:-1,class:`${a}-super-prev-btn`,style:m.value?J_:{}},[u]),p&&x("button",{type:"button",onClick:p,tabindex:-1,class:`${a}-prev-btn`,style:m.value?J_:{}},[l]),x("div",{class:`${a}-view`},[(r=n.default)===null||r===void 0?void 0:r.call(n)]),f&&x("button",{type:"button",onClick:f,tabindex:-1,class:`${a}-next-btn`,style:g.value?J_:{}},[s]),d&&x("button",{type:"button",onClick:d,tabindex:-1,class:`${a}-super-next-btn`,style:g.value?J_:{}},[o])])}Oc.displayName="Header";Oc.inheritAttrs=!1;function qO(e){const t=kr(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecades:a,onNextDecades:l}=t,{hideHeader:s}=ys();if(s)return null;const u=`${n}-header`,o=r.getYear(i),c=Math.floor(o/il)*il,d=c+il-1;return x(Oc,Z(Z({},t),{},{prefixCls:u,onSuperPrev:a,onSuperNext:l}),{default:()=>[c,Zn("-"),d]})}qO.displayName="DecadeHeader";qO.inheritAttrs=!1;function O5(e,t,n,r,i){let a=e.setHour(t,n);return a=e.setMinute(a,r),a=e.setSecond(a,i),a}function O0(e,t,n){if(!n)return t;let r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function cCe(e,t,n,r,i,a){const l=Math.floor(e/r)*r;if(l{k.stopPropagation(),B||r(M)},onMouseenter:()=>{!B&&v&&v(M)},onMouseleave:()=>{!B&&b&&b(M)}},[p?p(M):x("div",{class:`${S}-inner`},[d(M)])]))}C.push(x("tr",{key:w,class:u&&u(O)},[T]))}return x("div",{class:`${t}-body`},[x("table",{class:`${t}-content`},[h&&x("thead",null,[x("tr",null,[h])]),x("tbody",null,[C])])])}Wu.displayName="PanelBody";Wu.inheritAttrs=!1;const vT=3,Ok=4;function KO(e){const t=kr(e),n=Ao-1,{prefixCls:r,viewDate:i,generateConfig:a}=t,l=`${r}-cell`,s=a.getYear(i),u=Math.floor(s/Ao)*Ao,o=Math.floor(s/il)*il,c=o+il-1,d=a.setYear(i,o-Math.ceil((vT*Ok*Ao-il)/2)),p=f=>{const g=a.getYear(f),m=g+n;return{[`${l}-in-view`]:o<=g&&m<=c,[`${l}-selected`]:g===u}};return x(Wu,Z(Z({},t),{},{rowNum:Ok,colNum:vT,baseDate:d,getCellText:f=>{const g=a.getYear(f);return`${g}-${g+n}`},getCellClassName:p,getCellDate:(f,g)=>a.addYear(f,g*Ao)}),null)}KO.displayName="DecadeBody";KO.inheritAttrs=!1;const e0=new Map;function dCe(e,t){let n;function r(){Gb(e)?t():n=Ot(()=>{r()})}return r(),()=>{Ot.cancel(n)}}function bT(e,t,n){if(e0.get(e)&&Ot.cancel(e0.get(e)),n<=0){e0.set(e,Ot(()=>{e.scrollTop=t}));return}const i=(t-e.scrollTop)/n*10;e0.set(e,Ot(()=>{e.scrollTop+=i,e.scrollTop!==t&&bT(e,t,n-10)}))}function df(e,t){let{onLeftRight:n,onCtrlLeftRight:r,onUpDown:i,onPageUpDown:a,onEnter:l}=t;const{which:s,ctrlKey:u,metaKey:o}=e;switch(s){case rt.LEFT:if(u||o){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case rt.RIGHT:if(u||o){if(r)return r(1),!0}else if(n)return n(1),!0;break;case rt.UP:if(i)return i(-1),!0;break;case rt.DOWN:if(i)return i(1),!0;break;case rt.PAGE_UP:if(a)return a(-1),!0;break;case rt.PAGE_DOWN:if(a)return a(1),!0;break;case rt.ENTER:if(l)return l(),!0;break}return!1}function R5(e,t,n,r){let i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function I5(e,t,n){const r=e==="time"?8:10,i=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,i)+2}let kf=null;const t0=new Set;function pCe(e){return!kf&&typeof window<"u"&&window.addEventListener&&(kf=t=>{[...t0].forEach(n=>{n(t)})},window.addEventListener("mousedown",kf)),t0.add(e),()=>{t0.delete(e),t0.size===0&&(window.removeEventListener("mousedown",kf),kf=null)}}function fCe(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const mCe=e=>e==="month"||e==="date"?"year":e,gCe=e=>e==="date"?"month":e,hCe=e=>e==="month"||e==="date"?"quarter":e,_Ce=e=>e==="date"?"week":e,vCe={year:mCe,month:gCe,quarter:hCe,week:_Ce,time:null,date:null};function A5(e,t){return e.some(n=>n&&n.contains(t))}const Ao=10,il=Ao*10;function ZO(e){const t=kr(e),{prefixCls:n,onViewDateChange:r,generateConfig:i,viewDate:a,operationRef:l,onSelect:s,onPanelChange:u}=t,o=`${n}-decade-panel`;l.value={onKeydown:p=>df(p,{onLeftRight:f=>{s(i.addYear(a,f*Ao),"key")},onCtrlLeftRight:f=>{s(i.addYear(a,f*il),"key")},onUpDown:f=>{s(i.addYear(a,f*Ao*vT),"key")},onEnter:()=>{u("year",a)}})};const c=p=>{const f=i.addYear(a,p*il);r(f),u(null,f)},d=p=>{s(p,"mouse"),u("year",p)};return x("div",{class:o},[x(qO,Z(Z({},t),{},{prefixCls:n,onPrevDecades:()=>{c(-1)},onNextDecades:()=>{c(1)}}),null),x(KO,Z(Z({},t),{},{prefixCls:n,onSelect:d}),null)])}ZO.displayName="DecadePanel";ZO.inheritAttrs=!1;const R0=7;function qu(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function bCe(e,t,n){const r=qu(t,n);if(typeof r=="boolean")return r;const i=Math.floor(e.getYear(t)/10),a=Math.floor(e.getYear(n)/10);return i===a}function fy(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)}function yT(e,t){return Math.floor(e.getMonth(t)/3)+1}function N5(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:fy(e,t,n)&&yT(e,t)===yT(e,n)}function QO(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:fy(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function al(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function yCe(e,t,n){const r=qu(t,n);return typeof r=="boolean"?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function D5(e,t,n,r){const i=qu(n,r);return typeof i=="boolean"?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function ap(e,t,n){return al(e,t,n)&&yCe(e,t,n)}function n0(e,t,n,r){return!t||!n||!r?!1:!al(e,t,r)&&!al(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r)}function SCe(e,t,n){const r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),a=t.getWeekDay(i);let l=t.addDate(i,r-a);return t.getMonth(l)===t.getMonth(n)&&t.getDate(l)>1&&(l=t.addDate(l,-7)),l}function Sm(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function yi(e,t){let{generateConfig:n,locale:r,format:i}=t;return typeof i=="function"?i(e):n.locale.format(r.locale,e,i)}function P5(e,t){let{generateConfig:n,locale:r,formatList:i}=t;return!e||typeof i[0]=="function"?null:n.locale.parse(r.locale,e,i)}function ST(e){let{cellDate:t,mode:n,disabledDate:r,generateConfig:i}=e;if(!r)return!1;const a=(l,s,u)=>{let o=s;for(;o<=u;){let c;switch(l){case"date":{if(c=i.setDate(t,o),!r(c))return!1;break}case"month":{if(c=i.setMonth(t,o),!ST({cellDate:c,mode:"month",generateConfig:i,disabledDate:r}))return!1;break}case"year":{if(c=i.setYear(t,o),!ST({cellDate:c,mode:"year",generateConfig:i,disabledDate:r}))return!1;break}}o+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{const s=i.getDate(i.getEndDate(t));return a("date",1,s)}case"quarter":{const l=Math.floor(i.getMonth(t)/3)*3,s=l+2;return a("month",l,s)}case"year":return a("month",0,11);case"decade":{const l=i.getYear(t),s=Math.floor(l/Ao)*Ao,u=s+Ao-1;return a("year",s,u)}}}function XO(e){const t=kr(e),{hideHeader:n}=ys();if(n.value)return null;const{prefixCls:r,generateConfig:i,locale:a,value:l,format:s}=t,u=`${r}-header`;return x(Oc,{prefixCls:u},{default:()=>[l?yi(l,{locale:a,format:s,generateConfig:i}):"\xA0"]})}XO.displayName="TimeHeader";XO.inheritAttrs=!1;const r0=Ce({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=ys(),n=Oe(null),r=Oe(new Map),i=Oe();return ze(()=>e.value,()=>{const a=r.value.get(e.value);a&&t.value!==!1&&bT(n.value,a.offsetTop,120)}),Xt(()=>{var a;(a=i.value)===null||a===void 0||a.call(i)}),ze(t,()=>{var a;(a=i.value)===null||a===void 0||a.call(i),sn(()=>{if(t.value){const l=r.value.get(e.value);l&&(i.value=dCe(l,()=>{bT(n.value,l.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:a,units:l,onSelect:s,value:u,active:o,hideDisabledOptions:c}=e,d=`${a}-cell`;return x("ul",{class:Fe(`${a}-column`,{[`${a}-column-active`]:o}),ref:n,style:{position:"relative"}},[l.map(p=>c&&p.disabled?null:x("li",{key:p.value,ref:f=>{r.value.set(p.value,f)},class:Fe(d,{[`${d}-disabled`]:p.disabled,[`${d}-selected`]:u===p.value}),onClick:()=>{p.disabled||s(p.value)}},[x("div",{class:`${d}-inner`},[p.label])]))])}}});function M5(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);for(;r.length{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function Cn(e,t){return e?e[t]:null}function to(e,t,n){const r=[Cn(e,0),Cn(e,1)];return r[n]=typeof t=="function"?t(r[n]):t,!r[0]&&!r[1]?null:r}function zE(e,t,n,r){const i=[];for(let a=e;a<=t;a+=n)i.push({label:M5(a,2),value:a,disabled:(r||[]).includes(a)});return i}const CCe=Ce({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=$(()=>e.value?e.generateConfig.getHour(e.value):-1),n=$(()=>e.use12Hours?t.value>=12:!1),r=$(()=>e.use12Hours?t.value%12:t.value),i=$(()=>e.value?e.generateConfig.getMinute(e.value):-1),a=$(()=>e.value?e.generateConfig.getSecond(e.value):-1),l=Oe(e.generateConfig.getNow()),s=Oe(),u=Oe(),o=Oe();Bg(()=>{l.value=e.generateConfig.getNow()}),Rt(()=>{if(e.disabledTime){const h=e.disabledTime(l);[s.value,u.value,o.value]=[h.disabledHours,h.disabledMinutes,h.disabledSeconds]}else[s.value,u.value,o.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const c=(h,v,b,y)=>{let S=e.value||e.generateConfig.getNow();const C=Math.max(0,v),w=Math.max(0,b),T=Math.max(0,y);return S=O5(e.generateConfig,S,!e.use12Hours||!h?C:C+12,w,T),S},d=$(()=>{var h;return zE(0,23,(h=e.hourStep)!==null&&h!==void 0?h:1,s.value&&s.value())}),p=$(()=>{if(!e.use12Hours)return[!1,!1];const h=[!0,!0];return d.value.forEach(v=>{let{disabled:b,value:y}=v;b||(y>=12?h[1]=!1:h[0]=!1)}),h}),f=$(()=>e.use12Hours?d.value.filter(n.value?h=>h.value>=12:h=>h.value<12).map(h=>{const v=h.value%12,b=v===0?"12":M5(v,2);return R(R({},h),{label:b,value:v})}):d.value),g=$(()=>{var h;return zE(0,59,(h=e.minuteStep)!==null&&h!==void 0?h:1,u.value&&u.value(t.value))}),m=$(()=>{var h;return zE(0,59,(h=e.secondStep)!==null&&h!==void 0?h:1,o.value&&o.value(t.value,i.value))});return()=>{const{prefixCls:h,operationRef:v,activeColumnIndex:b,showHour:y,showMinute:S,showSecond:C,use12Hours:w,hideDisabledOptions:T,onSelect:O}=e,I=[],N=`${h}-content`,M=`${h}-time-panel`;v.value={onUpDown:k=>{const D=I[b];if(D){const F=D.units.findIndex(z=>z.value===D.value),U=D.units.length;for(let z=1;z{O(c(n.value,k,i.value,a.value),"mouse")}),B(S,x(r0,{key:"minute"},null),i.value,g.value,k=>{O(c(n.value,r.value,k,a.value),"mouse")}),B(C,x(r0,{key:"second"},null),a.value,m.value,k=>{O(c(n.value,r.value,i.value,k),"mouse")});let P=-1;return typeof n.value=="boolean"&&(P=n.value?1:0),B(w===!0,x(r0,{key:"12hours"},null),P,[{label:"AM",value:0,disabled:p.value[0]},{label:"PM",value:1,disabled:p.value[1]}],k=>{O(c(!!k,r.value,i.value,a.value),"mouse")}),x("div",{class:N},[I.map(k=>{let{node:D}=k;return D})])}}}),TCe=CCe,wCe=e=>e.filter(t=>t!==!1).length;function my(e){const t=kr(e),{generateConfig:n,format:r="HH:mm:ss",prefixCls:i,active:a,operationRef:l,showHour:s,showMinute:u,showSecond:o,use12Hours:c=!1,onSelect:d,value:p}=t,f=`${i}-time-panel`,g=Oe(),m=Oe(-1),h=wCe([s,u,o,c]);return l.value={onKeydown:v=>df(v,{onLeftRight:b=>{m.value=(m.value+b+h)%h},onUpDown:b=>{m.value===-1?m.value=0:g.value&&g.value.onUpDown(b)},onEnter:()=>{d(p||n.getNow(),"key"),m.value=-1}}),onBlur:()=>{m.value=-1}},x("div",{class:Fe(f,{[`${f}-active`]:a})},[x(XO,Z(Z({},t),{},{format:r,prefixCls:i}),null),x(TCe,Z(Z({},t),{},{prefixCls:i,activeColumnIndex:m.value,operationRef:g}),null)])}my.displayName="TimePanel";my.inheritAttrs=!1;function gy(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:r,hoverRangedValue:i,isInView:a,isSameCell:l,offsetCell:s,today:u,value:o}=e;function c(d){const p=s(d,-1),f=s(d,1),g=Cn(r,0),m=Cn(r,1),h=Cn(i,0),v=Cn(i,1),b=n0(n,h,v,d);function y(I){return l(g,I)}function S(I){return l(m,I)}const C=l(h,d),w=l(v,d),T=(b||w)&&(!a(p)||S(p)),O=(b||C)&&(!a(f)||y(f));return{[`${t}-in-view`]:a(d),[`${t}-in-range`]:n0(n,g,m,d),[`${t}-range-start`]:y(d),[`${t}-range-end`]:S(d),[`${t}-range-start-single`]:y(d)&&!m,[`${t}-range-end-single`]:S(d)&&!g,[`${t}-range-start-near-hover`]:y(d)&&(l(p,h)||n0(n,h,v,p)),[`${t}-range-end-near-hover`]:S(d)&&(l(f,v)||n0(n,h,v,f)),[`${t}-range-hover`]:b,[`${t}-range-hover-start`]:C,[`${t}-range-hover-end`]:w,[`${t}-range-hover-edge-start`]:T,[`${t}-range-hover-edge-end`]:O,[`${t}-range-hover-edge-start-near-range`]:T&&l(p,m),[`${t}-range-hover-edge-end-near-range`]:O&&l(f,g),[`${t}-today`]:l(u,d),[`${t}-selected`]:l(o,d)}}return c}const L5=Symbol("RangeContextProps"),xCe=e=>{Dt(L5,e)},eh=()=>He(L5,{rangedValue:Oe(),hoverRangedValue:Oe(),inRange:Oe(),panelPosition:Oe()}),OCe=Ce({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const r={rangedValue:Oe(e.value.rangedValue),hoverRangedValue:Oe(e.value.hoverRangedValue),inRange:Oe(e.value.inRange),panelPosition:Oe(e.value.panelPosition)};return xCe(r),ze(()=>e.value,()=>{Object.keys(e.value).forEach(i=>{r[i]&&(r[i].value=e.value[i])})}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});function hy(e){const t=kr(e),{prefixCls:n,generateConfig:r,prefixColumn:i,locale:a,rowCount:l,viewDate:s,value:u,dateRender:o}=t,{rangedValue:c,hoverRangedValue:d}=eh(),p=SCe(a.locale,r,s),f=`${n}-cell`,g=r.locale.getWeekFirstDay(a.locale),m=r.getNow(),h=[],v=a.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(a.locale):[]);i&&h.push(x("th",{key:"empty","aria-label":"empty cell"},null));for(let S=0;Sal(r,S,C),isInView:S=>QO(r,S,s),offsetCell:(S,C)=>r.addDate(S,C)}),y=o?S=>o({current:S,today:m}):void 0;return x(Wu,Z(Z({},t),{},{rowNum:l,colNum:R0,baseDate:p,getCellNode:y,getCellText:r.getDate,getCellClassName:b,getCellDate:r.addDate,titleCell:S=>yi(S,{locale:a,format:"YYYY-MM-DD",generateConfig:r}),headerCells:h}),null)}hy.displayName="DateBody";hy.inheritAttrs=!1;hy.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function JO(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:a,onNextMonth:l,onPrevMonth:s,onNextYear:u,onPrevYear:o,onYearClick:c,onMonthClick:d}=t,{hideHeader:p}=ys();if(p.value)return null;const f=`${n}-header`,g=i.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(i.locale):[]),m=r.getMonth(a),h=x("button",{type:"button",key:"year",onClick:c,tabindex:-1,class:`${n}-year-btn`},[yi(a,{locale:i,format:i.yearFormat,generateConfig:r})]),v=x("button",{type:"button",key:"month",onClick:d,tabindex:-1,class:`${n}-month-btn`},[i.monthFormat?yi(a,{locale:i,format:i.monthFormat,generateConfig:r}):g[m]]),b=i.monthBeforeYear?[v,h]:[h,v];return x(Oc,Z(Z({},t),{},{prefixCls:f,onSuperPrev:o,onPrev:s,onNext:l,onSuperNext:u}),{default:()=>[b]})}JO.displayName="DateHeader";JO.inheritAttrs=!1;const RCe=6;function th(e){const t=kr(e),{prefixCls:n,panelName:r="date",keyboardConfig:i,active:a,operationRef:l,generateConfig:s,value:u,viewDate:o,onViewDateChange:c,onPanelChange:d,onSelect:p}=t,f=`${n}-${r}-panel`;l.value={onKeydown:h=>df(h,R({onLeftRight:v=>{p(s.addDate(u||o,v),"key")},onCtrlLeftRight:v=>{p(s.addYear(u||o,v),"key")},onUpDown:v=>{p(s.addDate(u||o,v*R0),"key")},onPageUpDown:v=>{p(s.addMonth(u||o,v),"key")}},i))};const g=h=>{const v=s.addYear(o,h);c(v),d(null,v)},m=h=>{const v=s.addMonth(o,h);c(v),d(null,v)};return x("div",{class:Fe(f,{[`${f}-active`]:a})},[x(JO,Z(Z({},t),{},{prefixCls:n,value:u,viewDate:o,onPrevYear:()=>{g(-1)},onNextYear:()=>{g(1)},onPrevMonth:()=>{m(-1)},onNextMonth:()=>{m(1)},onMonthClick:()=>{d("month",o)},onYearClick:()=>{d("year",o)}}),null),x(hy,Z(Z({},t),{},{onSelect:h=>p(h,"mouse"),prefixCls:n,value:u,viewDate:o,rowCount:RCe}),null)])}th.displayName="DatePanel";th.inheritAttrs=!1;const Rk=ECe("date","time");function eR(e){const t=kr(e),{prefixCls:n,operationRef:r,generateConfig:i,value:a,defaultValue:l,disabledTime:s,showTime:u,onSelect:o}=t,c=`${n}-datetime-panel`,d=Oe(null),p=Oe({}),f=Oe({}),g=typeof u=="object"?R({},u):{};function m(y){const S=Rk.indexOf(d.value)+y;return Rk[S]||null}const h=y=>{f.value.onBlur&&f.value.onBlur(y),d.value=null};r.value={onKeydown:y=>{if(y.which===rt.TAB){const S=m(y.shiftKey?-1:1);return d.value=S,S&&y.preventDefault(),!0}if(d.value){const S=d.value==="date"?p:f;return S.value&&S.value.onKeydown&&S.value.onKeydown(y),!0}return[rt.LEFT,rt.RIGHT,rt.UP,rt.DOWN].includes(y.which)?(d.value="date",!0):!1},onBlur:h,onClose:h};const v=(y,S)=>{let C=y;S==="date"&&!a&&g.defaultValue?(C=i.setHour(C,i.getHour(g.defaultValue)),C=i.setMinute(C,i.getMinute(g.defaultValue)),C=i.setSecond(C,i.getSecond(g.defaultValue))):S==="time"&&!a&&l&&(C=i.setYear(C,i.getYear(l)),C=i.setMonth(C,i.getMonth(l)),C=i.setDate(C,i.getDate(l))),o&&o(C,"mouse")},b=s?s(a||null):{};return x("div",{class:Fe(c,{[`${c}-active`]:d.value})},[x(th,Z(Z({},t),{},{operationRef:p,active:d.value==="date",onSelect:y=>{v(O0(i,y,!a&&typeof u=="object"?u.defaultValue:null),"date")}}),null),x(my,Z(Z(Z(Z({},t),{},{format:void 0},g),b),{},{disabledTime:null,defaultValue:void 0,operationRef:f,active:d.value==="time",onSelect:y=>{v(y,"time")}}),null)])}eR.displayName="DatetimePanel";eR.inheritAttrs=!1;function tR(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,value:a}=t,l=`${n}-cell`,s=c=>x("td",{key:"week",class:Fe(l,`${l}-week`)},[r.locale.getWeek(i.locale,c)]),u=`${n}-week-panel-row`,o=c=>Fe(u,{[`${u}-selected`]:D5(r,i.locale,a,c)});return x(th,Z(Z({},t),{},{panelName:"week",prefixColumn:s,rowClassName:o,keyboardConfig:{onLeftRight:null}}),null)}tR.displayName="WeekPanel";tR.inheritAttrs=!1;function nR(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:a,onNextYear:l,onPrevYear:s,onYearClick:u}=t,{hideHeader:o}=ys();if(o.value)return null;const c=`${n}-header`;return x(Oc,Z(Z({},t),{},{prefixCls:c,onSuperPrev:s,onSuperNext:l}),{default:()=>[x("button",{type:"button",onClick:u,class:`${n}-year-btn`},[yi(a,{locale:i,format:i.yearFormat,generateConfig:r})])]})}nR.displayName="MonthHeader";nR.inheritAttrs=!1;const F5=3,ICe=4;function rR(e){const t=kr(e),{prefixCls:n,locale:r,value:i,viewDate:a,generateConfig:l,monthCellRender:s}=t,{rangedValue:u,hoverRangedValue:o}=eh(),c=`${n}-cell`,d=gy({cellPrefixCls:c,value:i,generateConfig:l,rangedValue:u.value,hoverRangedValue:o.value,isSameCell:(m,h)=>QO(l,m,h),isInView:()=>!0,offsetCell:(m,h)=>l.addMonth(m,h)}),p=r.shortMonths||(l.locale.getShortMonths?l.locale.getShortMonths(r.locale):[]),f=l.setMonth(a,0),g=s?m=>s({current:m,locale:r}):void 0;return x(Wu,Z(Z({},t),{},{rowNum:ICe,colNum:F5,baseDate:f,getCellNode:g,getCellText:m=>r.monthFormat?yi(m,{locale:r,format:r.monthFormat,generateConfig:l}):p[l.getMonth(m)],getCellClassName:d,getCellDate:l.addMonth,titleCell:m=>yi(m,{locale:r,format:"YYYY-MM",generateConfig:l})}),null)}rR.displayName="MonthBody";rR.inheritAttrs=!1;function iR(e){const t=kr(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:a,value:l,viewDate:s,onPanelChange:u,onSelect:o}=t,c=`${n}-month-panel`;r.value={onKeydown:p=>df(p,{onLeftRight:f=>{o(a.addMonth(l||s,f),"key")},onCtrlLeftRight:f=>{o(a.addYear(l||s,f),"key")},onUpDown:f=>{o(a.addMonth(l||s,f*F5),"key")},onEnter:()=>{u("date",l||s)}})};const d=p=>{const f=a.addYear(s,p);i(f),u(null,f)};return x("div",{class:c},[x(nR,Z(Z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{u("year",s)}}),null),x(rR,Z(Z({},t),{},{prefixCls:n,onSelect:p=>{o(p,"mouse"),u("date",p)}}),null)])}iR.displayName="MonthPanel";iR.inheritAttrs=!1;function aR(e){const t=kr(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:a,onNextYear:l,onPrevYear:s,onYearClick:u}=t,{hideHeader:o}=ys();if(o.value)return null;const c=`${n}-header`;return x(Oc,Z(Z({},t),{},{prefixCls:c,onSuperPrev:s,onSuperNext:l}),{default:()=>[x("button",{type:"button",onClick:u,class:`${n}-year-btn`},[yi(a,{locale:i,format:i.yearFormat,generateConfig:r})])]})}aR.displayName="QuarterHeader";aR.inheritAttrs=!1;const ACe=4,NCe=1;function oR(e){const t=kr(e),{prefixCls:n,locale:r,value:i,viewDate:a,generateConfig:l}=t,{rangedValue:s,hoverRangedValue:u}=eh(),o=`${n}-cell`,c=gy({cellPrefixCls:o,value:i,generateConfig:l,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(p,f)=>N5(l,p,f),isInView:()=>!0,offsetCell:(p,f)=>l.addMonth(p,f*3)}),d=l.setDate(l.setMonth(a,0),1);return x(Wu,Z(Z({},t),{},{rowNum:NCe,colNum:ACe,baseDate:d,getCellText:p=>yi(p,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:l}),getCellClassName:c,getCellDate:(p,f)=>l.addMonth(p,f*3),titleCell:p=>yi(p,{locale:r,format:"YYYY-[Q]Q",generateConfig:l})}),null)}oR.displayName="QuarterBody";oR.inheritAttrs=!1;function sR(e){const t=kr(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:a,value:l,viewDate:s,onPanelChange:u,onSelect:o}=t,c=`${n}-quarter-panel`;r.value={onKeydown:p=>df(p,{onLeftRight:f=>{o(a.addMonth(l||s,f*3),"key")},onCtrlLeftRight:f=>{o(a.addYear(l||s,f),"key")},onUpDown:f=>{o(a.addYear(l||s,f),"key")}})};const d=p=>{const f=a.addYear(s,p);i(f),u(null,f)};return x("div",{class:c},[x(aR,Z(Z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{u("year",s)}}),null),x(oR,Z(Z({},t),{},{prefixCls:n,onSelect:p=>{o(p,"mouse")}}),null)])}sR.displayName="QuarterPanel";sR.inheritAttrs=!1;function lR(e){const t=kr(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecade:a,onNextDecade:l,onDecadeClick:s}=t,{hideHeader:u}=ys();if(u.value)return null;const o=`${n}-header`,c=r.getYear(i),d=Math.floor(c/ac)*ac,p=d+ac-1;return x(Oc,Z(Z({},t),{},{prefixCls:o,onSuperPrev:a,onSuperNext:l}),{default:()=>[x("button",{type:"button",onClick:s,class:`${n}-decade-btn`},[d,Zn("-"),p])]})}lR.displayName="YearHeader";lR.inheritAttrs=!1;const ET=3,Ik=4;function cR(e){const t=kr(e),{prefixCls:n,value:r,viewDate:i,locale:a,generateConfig:l}=t,{rangedValue:s,hoverRangedValue:u}=eh(),o=`${n}-cell`,c=l.getYear(i),d=Math.floor(c/ac)*ac,p=d+ac-1,f=l.setYear(i,d-Math.ceil((ET*Ik-ac)/2)),g=h=>{const v=l.getYear(h);return d<=v&&v<=p},m=gy({cellPrefixCls:o,value:r,generateConfig:l,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(h,v)=>fy(l,h,v),isInView:g,offsetCell:(h,v)=>l.addYear(h,v)});return x(Wu,Z(Z({},t),{},{rowNum:Ik,colNum:ET,baseDate:f,getCellText:l.getYear,getCellClassName:m,getCellDate:l.addYear,titleCell:h=>yi(h,{locale:a,format:"YYYY",generateConfig:l})}),null)}cR.displayName="YearBody";cR.inheritAttrs=!1;const ac=10;function uR(e){const t=kr(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:a,value:l,viewDate:s,sourceMode:u,onSelect:o,onPanelChange:c}=t,d=`${n}-year-panel`;r.value={onKeydown:f=>df(f,{onLeftRight:g=>{o(a.addYear(l||s,g),"key")},onCtrlLeftRight:g=>{o(a.addYear(l||s,g*ac),"key")},onUpDown:g=>{o(a.addYear(l||s,g*ET),"key")},onEnter:()=>{c(u==="date"?"date":"month",l||s)}})};const p=f=>{const g=a.addYear(s,f*10);i(g),c(null,g)};return x("div",{class:d},[x(lR,Z(Z({},t),{},{prefixCls:n,onPrevDecade:()=>{p(-1)},onNextDecade:()=>{p(1)},onDecadeClick:()=>{c("decade",s)}}),null),x(cR,Z(Z({},t),{},{prefixCls:n,onSelect:f=>{c(u==="date"?"date":"month",f),o(f,"mouse")}}),null)])}uR.displayName="YearPanel";uR.inheritAttrs=!1;function B5(e,t,n){return n?x("div",{class:`${e}-footer-extra`},[n(t)]):null}function U5(e){let{prefixCls:t,components:n={},needConfirmButton:r,onNow:i,onOk:a,okDisabled:l,showNow:s,locale:u}=e,o,c;if(r){const d=n.button||"button";i&&s!==!1&&(o=x("li",{class:`${t}-now`},[x("a",{class:`${t}-now-btn`,onClick:i},[u.now])])),c=r&&x("li",{class:`${t}-ok`},[x(d,{disabled:l,onClick:p=>{p.stopPropagation(),a&&a()}},{default:()=>[u.ok]})])}return!o&&!c?null:x("ul",{class:`${t}-ranges`},[o,c])}function DCe(){return Ce({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const r=$(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),i=$(()=>24%e.hourStep===0),a=$(()=>60%e.minuteStep===0),l=$(()=>60%e.secondStep===0),s=ys(),{operationRef:u,onSelect:o,hideRanges:c,defaultOpenValue:d}=s,{inRange:p,panelPosition:f,rangedValue:g,hoverRangedValue:m}=eh(),h=Oe({}),[v,b]=Zr(null,{value:xt(e,"value"),defaultValue:e.defaultValue,postState:U=>!U&&(d==null?void 0:d.value)&&e.picker==="time"?d.value:U}),[y,S]=Zr(null,{value:xt(e,"pickerValue"),defaultValue:e.defaultPickerValue||v.value,postState:U=>{const{generateConfig:z,showTime:Y,defaultValue:G}=e,K=z.getNow();return U?!v.value&&e.showTime?typeof Y=="object"?O0(z,Array.isArray(U)?U[0]:U,Y.defaultValue||K):G?O0(z,Array.isArray(U)?U[0]:U,G):O0(z,Array.isArray(U)?U[0]:U,K):U:K}}),C=U=>{S(U),e.onPickerValueChange&&e.onPickerValueChange(U)},w=U=>{const z=vCe[e.picker];return z?z(U):U},[T,O]=Zr(()=>e.picker==="time"?"time":w("date"),{value:xt(e,"mode")});ze(()=>e.picker,()=>{O(e.picker)});const I=Oe(T.value),N=U=>{I.value=U},M=(U,z)=>{const{onPanelChange:Y,generateConfig:G}=e,K=w(U||T.value);N(T.value),O(K),Y&&(T.value!==K||ap(G,y.value,y.value))&&Y(z,K)},B=function(U,z){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:G,generateConfig:K,onSelect:X,onChange:ie,disabledDate:se}=e;(T.value===G||Y)&&(b(U),X&&X(U),o&&o(U,z),ie&&!ap(K,U,v.value)&&!(se!=null&&se(U))&&ie(U))},P=U=>h.value&&h.value.onKeydown?([rt.LEFT,rt.RIGHT,rt.UP,rt.DOWN,rt.PAGE_UP,rt.PAGE_DOWN,rt.ENTER].includes(U.which)&&U.preventDefault(),h.value.onKeydown(U)):!1,k=U=>{h.value&&h.value.onBlur&&h.value.onBlur(U)},D=()=>{const{generateConfig:U,hourStep:z,minuteStep:Y,secondStep:G}=e,K=U.getNow(),X=cCe(U.getHour(K),U.getMinute(K),U.getSecond(K),i.value?z:1,a.value?Y:1,l.value?G:1),ie=O5(U,K,X[0],X[1],X[2]);B(ie,"submit")},F=$(()=>{const{prefixCls:U,direction:z}=e;return Fe(`${U}-panel`,{[`${U}-panel-has-range`]:g&&g.value&&g.value[0]&&g.value[1],[`${U}-panel-has-range-hover`]:m&&m.value&&m.value[0]&&m.value[1],[`${U}-panel-rtl`]:z==="rtl"})});return WO(R(R({},s),{mode:T,hideHeader:$(()=>{var U;return e.hideHeader!==void 0?e.hideHeader:(U=s.hideHeader)===null||U===void 0?void 0:U.value}),hidePrevBtn:$(()=>p.value&&f.value==="right"),hideNextBtn:$(()=>p.value&&f.value==="left")})),ze(()=>e.value,()=>{e.value&&S(e.value)}),()=>{const{prefixCls:U="ant-picker",locale:z,generateConfig:Y,disabledDate:G,picker:K="date",tabindex:X=0,showNow:ie,showTime:se,showToday:q,renderExtraFooter:ee,onMousedown:ne,onOk:_e,components:ue}=e;u&&f.value!=="right"&&(u.value={onKeydown:P,onClose:()=>{h.value&&h.value.onClose&&h.value.onClose()}});let be;const fe=R(R(R({},n),e),{operationRef:h,prefixCls:U,viewDate:y.value,value:v.value,onViewDateChange:C,sourceMode:I.value,onPanelChange:M,disabledDate:G});switch(delete fe.onChange,delete fe.onSelect,T.value){case"decade":be=x(ZO,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"year":be=x(uR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"month":be=x(iR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"quarter":be=x(sR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"week":be=x(tR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;case"time":delete fe.showTime,be=x(my,Z(Z(Z({},fe),typeof se=="object"?se:null),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null);break;default:se?be=x(eR,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null):be=x(th,Z(Z({},fe),{},{onSelect:(ve,he)=>{C(ve),B(ve,he)}}),null)}let W,J;c!=null&&c.value||(W=B5(U,T.value,ee),J=U5({prefixCls:U,components:ue,needConfirmButton:r.value,okDisabled:!v.value||G&&G(v.value),locale:z,showNow:ie,onNow:r.value&&D,onOk:()=>{v.value&&(B(v.value,"submit",!0),_e&&_e(v.value))}}));let de;if(q&&T.value==="date"&&K==="date"&&!se){const ve=Y.getNow(),he=`${U}-today-btn`,Te=G&&G(ve);de=x("a",{class:Fe(he,Te&&`${he}-disabled`),"aria-disabled":Te,onClick:()=>{Te||B(ve,"mouse",!0)}},[z.today])}return x("div",{tabindex:X,class:Fe(F.value,n.class),style:n.style,onKeydown:P,onBlur:k,onMousedown:ne},[be,W||J||de?x("div",{class:`${U}-footer`},[W,J,de]):null])}}})}const PCe=DCe(),dR=e=>x(PCe,e),MCe={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function H5(e,t){let{slots:n}=t;const{prefixCls:r,popupStyle:i,visible:a,dropdownClassName:l,dropdownAlign:s,transitionName:u,getPopupContainer:o,range:c,popupPlacement:d,direction:p}=kr(e),f=`${r}-dropdown`;return x(qg,{showAction:[],hideAction:[],popupPlacement:(()=>d!==void 0?d:p==="rtl"?"bottomRight":"bottomLeft")(),builtinPlacements:MCe,prefixCls:f,popupTransitionName:u,popupAlign:s,popupVisible:a,popupClassName:Fe(l,{[`${f}-range`]:c,[`${f}-rtl`]:p==="rtl"}),popupStyle:i,getPopupContainer:o},{default:n.default,popup:n.popupElement})}const z5=Ce({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?x("div",{class:`${e.prefixCls}-presets`},[x("ul",null,[e.presets.map((t,n)=>{let{label:r,value:i}=t;return x("li",{key:n,onClick:()=>{e.onClick(i)},onMouseenter:()=>{var a;(a=e.onHover)===null||a===void 0||a.call(e,i)},onMouseleave:()=>{var a;(a=e.onHover)===null||a===void 0||a.call(e,null)}},[r])})])]):null}});function CT(e){let{open:t,value:n,isClickOutside:r,triggerOpen:i,forwardKeydown:a,onKeydown:l,blurToCancel:s,onSubmit:u,onCancel:o,onFocus:c,onBlur:d}=e;const p=Pe(!1),f=Pe(!1),g=Pe(!1),m=Pe(!1),h=Pe(!1),v=$(()=>({onMousedown:()=>{p.value=!0,i(!0)},onKeydown:y=>{if(l(y,()=>{h.value=!0}),!h.value){switch(y.which){case rt.ENTER:{t.value?u()!==!1&&(p.value=!0):i(!0),y.preventDefault();return}case rt.TAB:{p.value&&t.value&&!y.shiftKey?(p.value=!1,y.preventDefault()):!p.value&&t.value&&!a(y)&&y.shiftKey&&(p.value=!0,y.preventDefault());return}case rt.ESC:{p.value=!0,o();return}}!t.value&&![rt.SHIFT].includes(y.which)?i(!0):p.value||a(y)}},onFocus:y=>{p.value=!0,f.value=!0,c&&c(y)},onBlur:y=>{if(g.value||!r(document.activeElement)){g.value=!1;return}s.value?setTimeout(()=>{let{activeElement:S}=document;for(;S&&S.shadowRoot;)S=S.shadowRoot.activeElement;r(S)&&o()},0):t.value&&(i(!1),m.value&&u()),f.value=!1,d&&d(y)}}));ze(t,()=>{m.value=!1}),ze(n,()=>{m.value=!0});const b=Pe();return _t(()=>{b.value=pCe(y=>{const S=fCe(y);if(t.value){const C=r(S);C?(!f.value||C)&&i(!1):(g.value=!0,Ot(()=>{g.value=!1}))}})}),Xt(()=>{b.value&&b.value()}),[v,{focused:f,typing:p}]}function TT(e){let{valueTexts:t,onTextChange:n}=e;const r=Oe("");function i(l){r.value=l,n(l)}function a(){r.value=t.value[0]}return ze(()=>[...t.value],function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];l.join("||")!==s.join("||")&&t.value.every(u=>u!==r.value)&&a()},{immediate:!0}),[r,i,a]}function zv(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const a=t9(()=>{if(!e.value)return[[""],""];let u="";const o=[];for(let c=0;co[0]!==u[0]||!Id(o[1],u[1])),l=$(()=>a.value[0]),s=$(()=>a.value[1]);return[l,s]}function wT(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const a=Oe(null);let l;function s(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ot.cancel(l),p){a.value=d;return}l=Ot(()=>{a.value=d})}const[,u]=zv(a,{formatList:n,generateConfig:r,locale:i});function o(d){s(d)}function c(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;s(null,d)}return ze(e,()=>{c(!0)}),Xt(()=>{Ot.cancel(l)}),[u,o,c]}function V5(e,t){return $(()=>e!=null&&e.value?e.value:t!=null&&t.value?(Lb(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(r=>{const i=t.value[r],a=typeof i=="function"?i():i;return{label:r,value:a}})):[])}function kCe(){return Ce({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:r}=t;const i=Oe(null),a=$(()=>e.presets),l=V5(a),s=$(()=>{var G;return(G=e.picker)!==null&&G!==void 0?G:"date"}),u=$(()=>s.value==="date"&&!!e.showTime||s.value==="time"),o=$(()=>k5(R5(e.format,s.value,e.showTime,e.use12Hours))),c=Oe(null),d=Oe(null),p=Oe(null),[f,g]=Zr(null,{value:xt(e,"value"),defaultValue:e.defaultValue}),m=Oe(f.value),h=G=>{m.value=G},v=Oe(null),[b,y]=Zr(!1,{value:xt(e,"open"),defaultValue:e.defaultOpen,postState:G=>e.disabled?!1:G,onChange:G=>{e.onOpenChange&&e.onOpenChange(G),!G&&v.value&&v.value.onClose&&v.value.onClose()}}),[S,C]=zv(m,{formatList:o,generateConfig:xt(e,"generateConfig"),locale:xt(e,"locale")}),[w,T,O]=TT({valueTexts:S,onTextChange:G=>{const K=P5(G,{locale:e.locale,formatList:o.value,generateConfig:e.generateConfig});K&&(!e.disabledDate||!e.disabledDate(K))&&h(K)}}),I=G=>{const{onChange:K,generateConfig:X,locale:ie}=e;h(G),g(G),K&&!ap(X,f.value,G)&&K(G,G?yi(G,{generateConfig:X,locale:ie,format:o.value[0]}):"")},N=G=>{e.disabled&&G||y(G)},M=G=>b.value&&v.value&&v.value.onKeydown?v.value.onKeydown(G):!1,B=function(){e.onMouseup&&e.onMouseup(...arguments),i.value&&(i.value.focus(),N(!0))},[P,{focused:k,typing:D}]=CT({blurToCancel:u,open:b,value:w,triggerOpen:N,forwardKeydown:M,isClickOutside:G=>!A5([c.value,d.value,p.value],G),onSubmit:()=>!m.value||e.disabledDate&&e.disabledDate(m.value)?!1:(I(m.value),N(!1),O(),!0),onCancel:()=>{N(!1),h(f.value),O()},onKeydown:(G,K)=>{var X;(X=e.onKeydown)===null||X===void 0||X.call(e,G,K)},onFocus:G=>{var K;(K=e.onFocus)===null||K===void 0||K.call(e,G)},onBlur:G=>{var K;(K=e.onBlur)===null||K===void 0||K.call(e,G)}});ze([b,S],()=>{b.value||(h(f.value),!S.value.length||S.value[0]===""?T(""):C.value!==w.value&&O())}),ze(s,()=>{b.value||O()}),ze(f,()=>{h(f.value)});const[F,U,z]=wT(w,{formatList:o,generateConfig:xt(e,"generateConfig"),locale:xt(e,"locale")}),Y=(G,K)=>{(K==="submit"||K!=="key"&&!u.value)&&(I(G),N(!1))};return WO({operationRef:v,hideHeader:$(()=>s.value==="time"),onSelect:Y,open:b,defaultOpenValue:xt(e,"defaultOpenValue"),onDateMouseenter:U,onDateMouseleave:z}),r({focus:()=>{i.value&&i.value.focus()},blur:()=>{i.value&&i.value.blur()}}),()=>{const{prefixCls:G="rc-picker",id:K,tabindex:X,dropdownClassName:ie,dropdownAlign:se,popupStyle:q,transitionName:ee,generateConfig:ne,locale:_e,inputReadOnly:ue,allowClear:be,autofocus:fe,picker:W="date",defaultOpenValue:J,suffixIcon:de,clearIcon:ve,disabled:he,placeholder:Te,getPopupContainer:Ae,panelRender:Ne,onMousedown:we,onMouseenter:ge,onMouseleave:Me,onContextmenu:ke,onClick:Ue,onSelect:xe,direction:ye,autocomplete:j="off"}=e,L=R(R(R({},e),n),{class:Fe({[`${G}-panel-focused`]:!D.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let H=x("div",{class:`${G}-panel-layout`},[x(z5,{prefixCls:G,presets:l.value,onClick:We=>{I(We),N(!1)}},null),x(dR,Z(Z({},L),{},{generateConfig:ne,value:m.value,locale:_e,tabindex:-1,onSelect:We=>{xe==null||xe(We),h(We)},direction:ye,onPanelChange:(We,Je)=>{const{onPanelChange:st}=e;z(!0),st==null||st(We,Je)}}),null)]);Ne&&(H=Ne(H));const te=x("div",{class:`${G}-panel-container`,ref:c,onMousedown:We=>{We.preventDefault()}},[H]);let re;de&&(re=x("span",{class:`${G}-suffix`},[de]));let me;be&&f.value&&!he&&(me=x("span",{onMousedown:We=>{We.preventDefault(),We.stopPropagation()},onMouseup:We=>{We.preventDefault(),We.stopPropagation(),I(null),N(!1)},class:`${G}-clear`,role:"button"},[ve||x("span",{class:`${G}-clear-btn`},null)]));const Se=R(R(R(R({id:K,tabindex:X,disabled:he,readonly:ue||typeof o.value[0]=="function"||!D.value,value:F.value||w.value,onInput:We=>{T(We.target.value)},autofocus:fe,placeholder:Te,ref:i,title:w.value},P.value),{size:I5(W,o.value[0],ne)}),$5(e)),{autocomplete:j}),Ye=e.inputRender?e.inputRender(Se):x("input",Se,null),Ze=ye==="rtl"?"bottomRight":"bottomLeft";return x("div",{ref:p,class:Fe(G,n.class,{[`${G}-disabled`]:he,[`${G}-focused`]:k.value,[`${G}-rtl`]:ye==="rtl"}),style:n.style,onMousedown:we,onMouseup:B,onMouseenter:ge,onMouseleave:Me,onContextmenu:ke,onClick:Ue},[x("div",{class:Fe(`${G}-input`,{[`${G}-input-placeholder`]:!!F.value}),ref:d},[Ye,re,me]),x(H5,{visible:b.value,popupStyle:q,prefixCls:G,dropdownClassName:ie,dropdownAlign:se,getPopupContainer:Ae,transitionName:ee,popupPlacement:Ze,direction:ye},{default:()=>[x("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>te})])}}})}const $Ce=kCe();function LCe(e,t){let{picker:n,locale:r,selectedValue:i,disabledDate:a,disabled:l,generateConfig:s}=e;const u=$(()=>Cn(i.value,0)),o=$(()=>Cn(i.value,1));function c(m){return s.value.locale.getWeekFirstDate(r.value.locale,m)}function d(m){const h=s.value.getYear(m),v=s.value.getMonth(m);return h*100+v}function p(m){const h=s.value.getYear(m),v=yT(s.value,m);return h*10+v}return[m=>{var h;if(a&&((h=a==null?void 0:a.value)===null||h===void 0?void 0:h.call(a,m)))return!0;if(l[1]&&o)return!al(s.value,m,o.value)&&s.value.isAfter(m,o.value);if(t.value[1]&&o.value)switch(n.value){case"quarter":return p(m)>p(o.value);case"month":return d(m)>d(o.value);case"week":return c(m)>c(o.value);default:return!al(s.value,m,o.value)&&s.value.isAfter(m,o.value)}return!1},m=>{var h;if(!((h=a.value)===null||h===void 0)&&h.call(a,m))return!0;if(l[0]&&u)return!al(s.value,m,o.value)&&s.value.isAfter(u.value,m);if(t.value[0]&&u.value)switch(n.value){case"quarter":return p(m)bCe(r,l,s));case"quarter":case"month":return a((l,s)=>fy(r,l,s));default:return a((l,s)=>QO(r,l,s))}}function BCe(e,t,n,r){const i=Cn(e,0),a=Cn(e,1);if(t===0)return i;if(i&&a)switch(FCe(i,a,n,r)){case"same":return i;case"closing":return i;default:return Sm(a,n,r,-1)}return i}function UCe(e){let{values:t,picker:n,defaultDates:r,generateConfig:i}=e;const a=Oe([Cn(r,0),Cn(r,1)]),l=Oe(null),s=$(()=>Cn(t.value,0)),u=$(()=>Cn(t.value,1)),o=f=>a.value[f]?a.value[f]:Cn(l.value,f)||BCe(t.value,f,n.value,i.value)||s.value||u.value||i.value.getNow(),c=Oe(null),d=Oe(null);Rt(()=>{c.value=o(0),d.value=o(1)});function p(f,g){if(f){let m=to(l.value,f,g);a.value=to(a.value,null,g)||[null,null];const h=(g+1)%2;Cn(t.value,h)||(m=to(m,f,h)),l.value=m}else(s.value||u.value)&&(l.value=null)}return[c,d,p]}function HCe(e){return tx()?(T6(e),!0):!1}function zCe(e){return typeof e=="function"?e():je(e)}function G5(e){var t;const n=zCe(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function VCe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;hr()?_t(e):t?e():sn(e)}function GCe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=Pe(),r=()=>n.value=Boolean(e());return r(),VCe(r,t),n}var VE;const nh=typeof window<"u";nh&&((VE=window==null?void 0:window.navigator)===null||VE===void 0?void 0:VE.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const YCe=nh?window:void 0;nh&&window.document;nh&&window.navigator;nh&&window.location;var jCe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=YCe}=n,i=jCe(n,["window"]);let a;const l=GCe(()=>r&&"ResizeObserver"in r),s=()=>{a&&(a.disconnect(),a=void 0)},u=ze(()=>G5(e),c=>{s(),l.value&&r&&c&&(a=new ResizeObserver(t),a.observe(c,i))},{immediate:!0,flush:"post"}),o=()=>{s(),u()};return HCe(o),{isSupported:l,stop:o}}function $f(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:r="content-box"}=n,i=Pe(t.width),a=Pe(t.height);return WCe(e,l=>{let[s]=l;const u=r==="border-box"?s.borderBoxSize:r==="content-box"?s.contentBoxSize:s.devicePixelContentBoxSize;u?(i.value=u.reduce((o,c)=>{let{inlineSize:d}=c;return o+d},0),a.value=u.reduce((o,c)=>{let{blockSize:d}=c;return o+d},0)):(i.value=s.contentRect.width,a.value=s.contentRect.height)},n),ze(()=>G5(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function Ak(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function Nk(e,t,n,r){return!!(e||r&&r[t]||n[(t+1)%2])}function qCe(){return Ce({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets"],setup(e,t){let{attrs:n,expose:r}=t;const i=$(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),a=$(()=>e.presets),l=$(()=>e.ranges),s=V5(a,l),u=Oe({}),o=Oe(null),c=Oe(null),d=Oe(null),p=Oe(null),f=Oe(null),g=Oe(null),m=Oe(null),h=Oe(null),v=$(()=>k5(R5(e.format,e.picker,e.showTime,e.use12Hours))),[b,y]=Zr(0,{value:xt(e,"activePickerIndex")}),S=Oe(null),C=$(()=>{const{disabled:le}=e;return Array.isArray(le)?le:[le||!1,le||!1]}),[w,T]=Zr(null,{value:xt(e,"value"),defaultValue:e.defaultValue,postState:le=>e.picker==="time"&&!e.order?le:Ak(le,e.generateConfig)}),[O,I,N]=UCe({values:w,picker:xt(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:xt(e,"generateConfig")}),[M,B]=Zr(w.value,{postState:le=>{let Le=le;if(C.value[0]&&C.value[1])return Le;for(let Ve=0;Ve<2;Ve+=1)C.value[Ve]&&!Cn(Le,Ve)&&!Cn(e.allowEmpty,Ve)&&(Le=to(Le,e.generateConfig.getNow(),Ve));return Le}}),[P,k]=Zr([e.picker,e.picker],{value:xt(e,"mode")});ze(()=>e.picker,()=>{k([e.picker,e.picker])});const D=(le,Le)=>{var Ve;k(le),(Ve=e.onPanelChange)===null||Ve===void 0||Ve.call(e,Le,le)},[F,U]=LCe({picker:xt(e,"picker"),selectedValue:M,locale:xt(e,"locale"),disabled:C,disabledDate:xt(e,"disabledDate"),generateConfig:xt(e,"generateConfig")},u),[z,Y]=Zr(!1,{value:xt(e,"open"),defaultValue:e.defaultOpen,postState:le=>C.value[b.value]?!1:le,onChange:le=>{var Le;(Le=e.onOpenChange)===null||Le===void 0||Le.call(e,le),!le&&S.value&&S.value.onClose&&S.value.onClose()}}),G=$(()=>z.value&&b.value===0),K=$(()=>z.value&&b.value===1),X=Oe(0),ie=Oe(0),se=Oe(0),{width:q}=$f(o);ze([z,q],()=>{!z.value&&o.value&&(se.value=q.value)});const{width:ee}=$f(c),{width:ne}=$f(h),{width:_e}=$f(d),{width:ue}=$f(f);ze([b,z,ee,ne,_e,ue,()=>e.direction],()=>{ie.value=0,z.value&&b.value?d.value&&f.value&&c.value&&(ie.value=_e.value+ue.value,ee.value&&ne.value&&ie.value>ee.value-ne.value-(e.direction==="rtl"||h.value.offsetLeft>ie.value?0:h.value.offsetLeft)&&(X.value=ie.value)):b.value===0&&(X.value=0)},{immediate:!0});const be=Oe();function fe(le,Le){if(le)clearTimeout(be.value),u.value[Le]=!0,y(Le),Y(le),z.value||N(null,Le);else if(b.value===Le){Y(le);const Ve=u.value;be.value=setTimeout(()=>{Ve===u.value&&(u.value={})})}}function W(le){fe(!0,le),setTimeout(()=>{const Le=[g,m][le];Le.value&&Le.value.focus()},0)}function J(le,Le){let Ve=le,ct=Cn(Ve,0),qt=Cn(Ve,1);const{generateConfig:Kt,locale:lt,picker:at,order:yt,onCalendarChange:gn,allowEmpty:hn,onChange:_n,showTime:Qr}=e;ct&&qt&&Kt.isAfter(ct,qt)&&(at==="week"&&!D5(Kt,lt.locale,ct,qt)||at==="quarter"&&!N5(Kt,ct,qt)||at!=="week"&&at!=="quarter"&&at!=="time"&&!(Qr?ap(Kt,ct,qt):al(Kt,ct,qt))?(Le===0?(Ve=[ct,null],qt=null):(ct=null,Ve=[null,qt]),u.value={[Le]:!0}):(at!=="time"||yt!==!1)&&(Ve=Ak(Ve,Kt))),B(Ve);const Yr=Ve&&Ve[0]?yi(Ve[0],{generateConfig:Kt,locale:lt,format:v.value[0]}):"",ua=Ve&&Ve[1]?yi(Ve[1],{generateConfig:Kt,locale:lt,format:v.value[0]}):"";gn&&gn(Ve,[Yr,ua],{range:Le===0?"start":"end"});const Li=Nk(ct,0,C.value,hn),wi=Nk(qt,1,C.value,hn);(Ve===null||Li&&wi)&&(T(Ve),_n&&(!ap(Kt,Cn(w.value,0),ct)||!ap(Kt,Cn(w.value,1),qt))&&_n(Ve,[Yr,ua]));let Lr=null;Le===0&&!C.value[1]?Lr=1:Le===1&&!C.value[0]&&(Lr=0),Lr!==null&&Lr!==b.value&&(!u.value[Lr]||!Cn(Ve,Lr))&&Cn(Ve,Le)?W(Lr):fe(!1,Le)}const de=le=>z&&S.value&&S.value.onKeydown?S.value.onKeydown(le):!1,ve={formatList:v,generateConfig:xt(e,"generateConfig"),locale:xt(e,"locale")},[he,Te]=zv($(()=>Cn(M.value,0)),ve),[Ae,Ne]=zv($(()=>Cn(M.value,1)),ve),we=(le,Le)=>{const Ve=P5(le,{locale:e.locale,formatList:v.value,generateConfig:e.generateConfig});Ve&&!(Le===0?F:U)(Ve)&&(B(to(M.value,Ve,Le)),N(Ve,Le))},[ge,Me,ke]=TT({valueTexts:he,onTextChange:le=>we(le,0)}),[Ue,xe,ye]=TT({valueTexts:Ae,onTextChange:le=>we(le,1)}),[j,L]=li(null),[H,te]=li(null),[re,me,Se]=wT(ge,ve),[Ye,Ze,We]=wT(Ue,ve),Je=le=>{te(to(M.value,le,b.value)),b.value===0?me(le):Ze(le)},st=()=>{te(to(M.value,null,b.value)),b.value===0?Se():We()},Ht=(le,Le)=>({forwardKeydown:de,onBlur:Ve=>{var ct;(ct=e.onBlur)===null||ct===void 0||ct.call(e,Ve)},isClickOutside:Ve=>!A5([c.value,d.value,p.value,o.value],Ve),onFocus:Ve=>{var ct;y(le),(ct=e.onFocus)===null||ct===void 0||ct.call(e,Ve)},triggerOpen:Ve=>{fe(Ve,le)},onSubmit:()=>{if(!M.value||e.disabledDate&&e.disabledDate(M.value[le]))return!1;J(M.value,le),Le()},onCancel:()=>{fe(!1,le),B(w.value),Le()}}),[Pt,{focused:pt,typing:Ft}]=CT(R(R({},Ht(0,ke)),{blurToCancel:i,open:G,value:ge,onKeydown:(le,Le)=>{var Ve;(Ve=e.onKeydown)===null||Ve===void 0||Ve.call(e,le,Le)}})),[Bn,{focused:Xn,typing:ur}]=CT(R(R({},Ht(1,ye)),{blurToCancel:i,open:K,value:Ue,onKeydown:(le,Le)=>{var Ve;(Ve=e.onKeydown)===null||Ve===void 0||Ve.call(e,le,Le)}})),Jn=le=>{var Le;(Le=e.onClick)===null||Le===void 0||Le.call(e,le),!z.value&&!g.value.contains(le.target)&&!m.value.contains(le.target)&&(C.value[0]?C.value[1]||W(1):W(0))},Rr=le=>{var Le;(Le=e.onMousedown)===null||Le===void 0||Le.call(e,le),z.value&&(pt.value||Xn.value)&&!g.value.contains(le.target)&&!m.value.contains(le.target)&&le.preventDefault()},$r=$(()=>{var le;return!((le=w.value)===null||le===void 0)&&le[0]?yi(w.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),Gr=$(()=>{var le;return!((le=w.value)===null||le===void 0)&&le[1]?yi(w.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});ze([z,he,Ae],()=>{z.value||(B(w.value),!he.value.length||he.value[0]===""?Me(""):Te.value!==ge.value&&ke(),!Ae.value.length||Ae.value[0]===""?xe(""):Ne.value!==Ue.value&&ye())}),ze([$r,Gr],()=>{B(w.value)}),r({focus:()=>{g.value&&g.value.focus()},blur:()=>{g.value&&g.value.blur(),m.value&&m.value.blur()}});const $i=$(()=>z.value&&H.value&&H.value[0]&&H.value[1]&&e.generateConfig.isAfter(H.value[1],H.value[0])?H.value:null);function _r(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:Ve,showTime:ct,dateRender:qt,direction:Kt,disabledTime:lt,prefixCls:at,locale:yt}=e;let gn=ct;if(ct&&typeof ct=="object"&&ct.defaultValue){const _n=ct.defaultValue;gn=R(R({},ct),{defaultValue:Cn(_n,b.value)||void 0})}let hn=null;return qt&&(hn=_n=>{let{current:Qr,today:Yr}=_n;return qt({current:Qr,today:Yr,info:{range:b.value?"end":"start"}})}),x(OCe,{value:{inRange:!0,panelPosition:le,rangedValue:j.value||M.value,hoverRangedValue:$i.value}},{default:()=>[x(dR,Z(Z(Z({},e),Le),{},{dateRender:hn,showTime:gn,mode:P.value[b.value],generateConfig:Ve,style:void 0,direction:Kt,disabledDate:b.value===0?F:U,disabledTime:_n=>lt?lt(_n,b.value===0?"start":"end"):!1,class:Fe({[`${at}-panel-focused`]:b.value===0?!Ft.value:!ur.value}),value:Cn(M.value,b.value),locale:yt,tabIndex:-1,onPanelChange:(_n,Qr)=>{b.value===0&&Se(!0),b.value===1&&We(!0),D(to(P.value,Qr,b.value),to(M.value,_n,b.value));let Yr=_n;le==="right"&&P.value[b.value]===Qr&&(Yr=Sm(Yr,Qr,Ve,-1)),N(Yr,b.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:b.value===0?Cn(M.value,1):Cn(M.value,0)}),null)]})}const ui=(le,Le)=>{const Ve=to(M.value,le,b.value);Le==="submit"||Le!=="key"&&!i.value?(J(Ve,b.value),b.value===0?Se():We()):B(Ve)};return WO({operationRef:S,hideHeader:$(()=>e.picker==="time"),onDateMouseenter:Je,onDateMouseleave:st,hideRanges:$(()=>!0),onSelect:ui,open:z}),()=>{const{prefixCls:le="rc-picker",id:Le,popupStyle:Ve,dropdownClassName:ct,transitionName:qt,dropdownAlign:Kt,getPopupContainer:lt,generateConfig:at,locale:yt,placeholder:gn,autofocus:hn,picker:_n="date",showTime:Qr,separator:Yr="~",disabledDate:ua,panelRender:Li,allowClear:wi,suffixIcon:di,clearIcon:Lr,inputReadOnly:$a,renderExtraFooter:Qo,onMouseenter:Rc,onMouseleave:Cl,onMouseup:Tl,onOk:Cs,components:qi,direction:La,autocomplete:Ts="off"}=e,Ic=La==="rtl"?{right:`${ie.value}px`}:{left:`${ie.value}px`};function wl(){let zn;const Ir=B5(le,P.value[b.value],Qo),Fa=U5({prefixCls:le,components:qi,needConfirmButton:i.value,okDisabled:!Cn(M.value,b.value)||ua&&ua(M.value[b.value]),locale:yt,onOk:()=>{Cn(M.value,b.value)&&(J(M.value,b.value),Cs&&Cs(M.value))}});if(_n!=="time"&&!Qr){const Fr=b.value===0?O.value:I.value,xs=Sm(Fr,_n,at),vo=P.value[b.value]===_n,da=_r(vo?"left":!1,{pickerValue:Fr,onPickerValueChange:Xo=>{N(Xo,b.value)}}),Rs=_r("right",{pickerValue:xs,onPickerValueChange:Xo=>{N(Sm(Xo,_n,at,-1),b.value)}});La==="rtl"?zn=x(tt,null,[Rs,vo&&da]):zn=x(tt,null,[da,vo&&Rs])}else zn=_r();let wr=x("div",{class:`${le}-panel-layout`},[x(z5,{prefixCls:le,presets:s.value,onClick:Fr=>{J(Fr,null),fe(!1,b.value)},onHover:Fr=>{L(Fr)}},null),x("div",null,[x("div",{class:`${le}-panels`},[zn]),(Ir||Fa)&&x("div",{class:`${le}-footer`},[Ir,Fa])])]);return Li&&(wr=Li(wr)),x("div",{class:`${le}-panel-container`,style:{marginLeft:`${X.value}px`},ref:c,onMousedown:Fr=>{Fr.preventDefault()}},[wr])}const _o=x("div",{class:Fe(`${le}-range-wrapper`,`${le}-${_n}-range-wrapper`),style:{minWidth:`${se.value}px`}},[x("div",{ref:h,class:`${le}-range-arrow`,style:Ic},null),wl()]);let ws;di&&(ws=x("span",{class:`${le}-suffix`},[di]));let it;wi&&(Cn(w.value,0)&&!C.value[0]||Cn(w.value,1)&&!C.value[1])&&(it=x("span",{onMousedown:zn=>{zn.preventDefault(),zn.stopPropagation()},onMouseup:zn=>{zn.preventDefault(),zn.stopPropagation();let Ir=w.value;C.value[0]||(Ir=to(Ir,null,0)),C.value[1]||(Ir=to(Ir,null,1)),J(Ir,null),fe(!1,b.value)},class:`${le}-clear`},[Lr||x("span",{class:`${le}-clear-btn`},null)]));const Tt={size:I5(_n,v.value[0],at)};let Jt=0,vn=0;d.value&&p.value&&f.value&&(b.value===0?vn=d.value.offsetWidth:(Jt=ie.value,vn=p.value.offsetWidth));const or=La==="rtl"?{right:`${Jt}px`}:{left:`${Jt}px`};return x("div",Z({ref:o,class:Fe(le,`${le}-range`,n.class,{[`${le}-disabled`]:C.value[0]&&C.value[1],[`${le}-focused`]:b.value===0?pt.value:Xn.value,[`${le}-rtl`]:La==="rtl"}),style:n.style,onClick:Jn,onMouseenter:Rc,onMouseleave:Cl,onMousedown:Rr,onMouseup:Tl},$5(e)),[x("div",{class:Fe(`${le}-input`,{[`${le}-input-active`]:b.value===0,[`${le}-input-placeholder`]:!!re.value}),ref:d},[x("input",Z(Z(Z({id:Le,disabled:C.value[0],readonly:$a||typeof v.value[0]=="function"||!Ft.value,value:re.value||ge.value,onInput:zn=>{Me(zn.target.value)},autofocus:hn,placeholder:Cn(gn,0)||"",ref:g},Pt.value),Tt),{},{autocomplete:Ts}),null)]),x("div",{class:`${le}-range-separator`,ref:f},[Yr]),x("div",{class:Fe(`${le}-input`,{[`${le}-input-active`]:b.value===1,[`${le}-input-placeholder`]:!!Ye.value}),ref:p},[x("input",Z(Z(Z({disabled:C.value[1],readonly:$a||typeof v.value[0]=="function"||!ur.value,value:Ye.value||Ue.value,onInput:zn=>{xe(zn.target.value)},placeholder:Cn(gn,1)||"",ref:m},Bn.value),Tt),{},{autocomplete:Ts}),null)]),x("div",{class:`${le}-active-bar`,style:R(R({},or),{width:`${vn}px`,position:"absolute"})},null),ws,it,x(H5,{visible:z.value,popupStyle:Ve,prefixCls:le,dropdownClassName:ct,dropdownAlign:Kt,getPopupContainer:lt,transitionName:qt,range:!0,direction:La},{default:()=>[x("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>_o})])}}})}const KCe=qCe(),ZCe=KCe;var QCe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.checked,()=>{a.value=e.checked}),i({focus(){var c;(c=l.value)===null||c===void 0||c.focus()},blur(){var c;(c=l.value)===null||c===void 0||c.blur()}});const s=Oe(),u=c=>{if(e.disabled)return;e.checked===void 0&&(a.value=c.target.checked),c.shiftKey=s.value;const d={target:R(R({},e),{checked:c.target.checked}),stopPropagation(){c.stopPropagation()},preventDefault(){c.preventDefault()},nativeEvent:c};e.checked!==void 0&&(l.value.checked=!!e.checked),r("change",d),s.value=!1},o=c=>{r("click",c),s.value=c.shiftKey};return()=>{const{prefixCls:c,name:d,id:p,type:f,disabled:g,readonly:m,tabindex:h,autofocus:v,value:b,required:y}=e,S=QCe(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:C,onFocus:w,onBlur:T,onKeydown:O,onKeypress:I,onKeyup:N}=n,M=R(R({},S),n),B=Object.keys(M).reduce((D,F)=>((F.startsWith("data-")||F.startsWith("aria-")||F==="role")&&(D[F]=M[F]),D),{}),P=Fe(c,C,{[`${c}-checked`]:a.value,[`${c}-disabled`]:g}),k=R(R({name:d,id:p,type:f,readonly:m,disabled:g,tabindex:h,class:`${c}-input`,checked:!!a.value,autofocus:v,value:b},B),{onChange:u,onClick:o,onFocus:w,onBlur:T,onKeydown:O,onKeypress:I,onKeyup:N,required:y});return x("span",{class:P},[x("input",Z({ref:l},k),null),x("span",{class:`${c}-inner`},null)])}}}),j5=Symbol("radioGroupContextKey"),JCe=e=>{Dt(j5,e)},eTe=()=>He(j5,void 0),W5=Symbol("radioOptionTypeContextKey"),tTe=e=>{Dt(W5,e)},nTe=()=>He(W5,void 0),rTe=new Yt("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),iTe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:R(R({},Nn(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},aTe=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:i,motionDurationSlow:a,motionDurationMid:l,motionEaseInOut:s,motionEaseInOutCirc:u,radioButtonBg:o,colorBorder:c,lineWidth:d,radioDotSize:p,colorBgContainerDisabled:f,colorTextDisabled:g,paddingXS:m,radioDotDisabledColor:h,lineType:v,radioDotDisabledSize:b,wireframe:y,colorWhite:S}=e,C=`${t}-inner`;return{[`${t}-wrapper`]:R(R({},Nn(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${v} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:rTe,animationDuration:a,animationTimingFunction:s,animationFillMode:"both",content:'""'},[t]:R(R({},Nn(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, &:hover ${C}`]:{borderColor:r},[`${t}-input:focus-visible + ${C}`]:R({},hl(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:i,height:i,marginBlockStart:i/-2,marginInlineStart:i/-2,backgroundColor:y?r:S,borderBlockStart:0,borderInlineStart:0,borderRadius:i,transform:"scale(0)",opacity:0,transition:`all ${a} ${u}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:i,height:i,backgroundColor:o,borderColor:c,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${l}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[C]:{borderColor:r,backgroundColor:y?o:r,"&::after":{transform:`scale(${p/i})`,opacity:1,transition:`all ${a} ${u}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[C]:{backgroundColor:f,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${t}-checked`]:{[C]:{"&::after":{transform:`scale(${b/i})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},oTe=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:a,colorBorder:l,motionDurationSlow:s,motionDurationMid:u,radioButtonPaddingHorizontal:o,fontSize:c,radioButtonBg:d,fontSizeLG:p,controlHeightLG:f,controlHeightSM:g,paddingXS:m,borderRadius:h,borderRadiusSM:v,borderRadiusLG:b,radioCheckedColor:y,radioButtonCheckedBg:S,radioButtonHoverColor:C,radioButtonActiveColor:w,radioSolidCheckedColor:T,colorTextDisabled:O,colorBgContainerDisabled:I,radioDisabledButtonCheckedColor:N,radioDisabledButtonCheckedBg:M}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:o,paddingBlock:0,color:t,fontSize:c,lineHeight:`${n-i*2}px`,background:d,border:`${i}px ${a} ${l}`,borderBlockStartWidth:i+.02,borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${u}`,`background ${u}`,`border-color ${u}`,`box-shadow ${u}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-i,insetInlineStart:-i,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:l,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${i}px ${a} ${l}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:f,fontSize:p,lineHeight:`${f-i*2}px`,"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:g,paddingInline:m-i,paddingBlock:0,lineHeight:`${g-i*2}px`,"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:y},"&:has(:focus-visible)":R({},hl(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:y,background:S,borderColor:y,"&::before":{backgroundColor:y},"&:first-child":{borderColor:y},"&:hover":{color:C,borderColor:C,"&::before":{backgroundColor:C}},"&:active":{color:w,borderColor:w,"&::before":{backgroundColor:w}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:T,background:y,borderColor:y,"&:hover":{color:T,background:C,borderColor:C},"&:active":{color:T,background:w,borderColor:w}},"&-disabled":{color:O,backgroundColor:I,borderColor:l,cursor:"not-allowed","&:first-child, &:hover":{color:O,backgroundColor:I,borderColor:l}},[`&-disabled${r}-button-wrapper-checked`]:{color:N,backgroundColor:M,borderColor:l,boxShadow:"none"}}}},q5=Mn("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:i,colorBgContainer:a,fontSizeLG:l,controlOutline:s,colorPrimaryHover:u,colorPrimaryActive:o,colorText:c,colorPrimary:d,marginXS:p,controlOutlineWidth:f,colorTextLightSolid:g,wireframe:m}=e,h=`0 0 0 ${f}px ${s}`,v=h,b=l,y=4,S=b-y*2,C=m?S:b-(y+n)*2,w=d,T=c,O=u,I=o,N=t-n,P=jt(e,{radioFocusShadow:h,radioButtonFocusShadow:v,radioSize:b,radioDotSize:C,radioDotDisabledSize:S,radioCheckedColor:w,radioDotDisabledColor:i,radioSolidCheckedColor:g,radioButtonBg:a,radioButtonCheckedBg:a,radioButtonColor:T,radioButtonHoverColor:O,radioButtonActiveColor:I,radioButtonPaddingHorizontal:N,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:i,radioWrapperMarginRight:p});return[iTe(P),aTe(P),oTe(P)]});var sTe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,checked:nt(),disabled:nt(),isGroup:nt(),value:Ie.any,name:String,id:String,autofocus:nt(),onChange:qe(),onFocus:qe(),onBlur:qe(),onClick:qe(),"onUpdate:checked":qe(),"onUpdate:value":qe()}),na=Ce({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:K5(),setup(e,t){let{emit:n,expose:r,slots:i,attrs:a}=t;const l=Wi(),s=la.useInject(),u=nTe(),o=eTe(),c=Yo(),d=$(()=>{var O;return(O=m.value)!==null&&O!==void 0?O:c.value}),p=Oe(),{prefixCls:f,direction:g,disabled:m}=At("radio",e),h=$(()=>(o==null?void 0:o.optionType.value)==="button"||u==="button"?`${f.value}-button`:f.value),v=Yo(),[b,y]=q5(f);r({focus:()=>{p.value.focus()},blur:()=>{p.value.blur()}});const w=O=>{const I=O.target.checked;n("update:checked",I),n("update:value",I),n("change",O),l.onFieldChange()},T=O=>{n("change",O),o&&o.onChange&&o.onChange(O)};return()=>{var O;const I=o,{prefixCls:N,id:M=l.id.value}=e,B=sTe(e,["prefixCls","id"]),P=R(R({prefixCls:h.value,id:M},Dn(B,["onUpdate:checked","onUpdate:value"])),{disabled:(O=m.value)!==null&&O!==void 0?O:v.value});I?(P.name=I.name.value,P.onChange=T,P.checked=e.value===I.value.value,P.disabled=d.value||I.disabled.value):P.onChange=w;const k=Fe({[`${h.value}-wrapper`]:!0,[`${h.value}-wrapper-checked`]:P.checked,[`${h.value}-wrapper-disabled`]:P.disabled,[`${h.value}-wrapper-rtl`]:g.value==="rtl",[`${h.value}-wrapper-in-form-item`]:s.isFormItemInput},a.class,y.value);return b(x("label",Z(Z({},a),{},{class:k}),[x(Y5,Z(Z({},P),{},{type:"radio",ref:p}),null),i.default&&x("span",null,[i.default()])]))}}}),lTe=()=>({prefixCls:String,value:Ie.any,size:Bt(),options:Yn(),disabled:nt(),name:String,buttonStyle:Bt("outline"),id:String,optionType:Bt("default"),onChange:qe(),"onUpdate:value":qe()}),pR=Ce({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:lTe(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const a=Wi(),{prefixCls:l,direction:s,size:u}=At("radio",e),[o,c]=q5(l),d=Oe(e.value),p=Oe(!1);return ze(()=>e.value,g=>{d.value=g,p.value=!1}),JCe({onChange:g=>{const m=d.value,{value:h}=g.target;"value"in e||(d.value=h),!p.value&&h!==m&&(p.value=!0,r("update:value",h),r("change",g),a.onFieldChange()),sn(()=>{p.value=!1})},value:d,disabled:$(()=>e.disabled),name:$(()=>e.name),optionType:$(()=>e.optionType)}),()=>{var g;const{options:m,buttonStyle:h,id:v=a.id.value}=e,b=`${l.value}-group`,y=Fe(b,`${b}-${h}`,{[`${b}-${u.value}`]:u.value,[`${b}-rtl`]:s.value==="rtl"},i.class,c.value);let S=null;return m&&m.length>0?S=m.map(C=>{if(typeof C=="string"||typeof C=="number")return x(na,{key:C,prefixCls:l.value,disabled:e.disabled,value:C,checked:d.value===C},{default:()=>[C]});const{value:w,disabled:T,label:O}=C;return x(na,{key:`radio-group-value-options-${w}`,prefixCls:l.value,disabled:T||e.disabled,value:w,checked:d.value===w},{default:()=>[O]})}):S=(g=n.default)===null||g===void 0?void 0:g.call(n),o(x("div",Z(Z({},i),{},{class:y,id:v}),[S]))}}}),xT=Ce({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:K5(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=At("radio",e);return tTe("button"),()=>{var a;return x(na,Z(Z(Z({},r),e),{},{prefixCls:i.value}),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}}});na.Group=pR;na.Button=xT;na.install=function(e){return e.component(na.name,na),e.component(na.Group.name,na.Group),e.component(na.Button.name,na.Button),e};const cTe=10,uTe=20;function Z5(e){const{fullscreen:t,validRange:n,generateConfig:r,locale:i,prefixCls:a,value:l,onChange:s,divRef:u}=e,o=r.getYear(l||r.getNow());let c=o-cTe,d=c+uTe;n&&(c=r.getYear(n[0]),d=r.getYear(n[1])+1);const p=i&&i.year==="\u5E74"?"\u5E74":"",f=[];for(let g=c;g{let m=r.setYear(l,g);if(n){const[h,v]=n,b=r.getYear(m),y=r.getMonth(m);b===r.getYear(v)&&y>r.getMonth(v)&&(m=r.setMonth(m,r.getMonth(v))),b===r.getYear(h)&&yu.value},null)}Z5.inheritAttrs=!1;function Q5(e){const{prefixCls:t,fullscreen:n,validRange:r,value:i,generateConfig:a,locale:l,onChange:s,divRef:u}=e,o=a.getMonth(i||a.getNow());let c=0,d=11;if(r){const[g,m]=r,h=a.getYear(i);a.getYear(m)===h&&(d=a.getMonth(m)),a.getYear(g)===h&&(c=a.getMonth(g))}const p=l.shortMonths||a.locale.getShortMonths(l.locale),f=[];for(let g=c;g<=d;g+=1)f.push({label:p[g],value:g});return x(Hp,{size:n?void 0:"small",class:`${t}-month-select`,value:o,options:f,onChange:g=>{s(a.setMonth(i,g))},getPopupContainer:()=>u.value},null)}Q5.inheritAttrs=!1;function X5(e){const{prefixCls:t,locale:n,mode:r,fullscreen:i,onModeChange:a}=e;return x(pR,{onChange:l=>{let{target:{value:s}}=l;a(s)},value:r,size:i?void 0:"small",class:`${t}-mode-switch`},{default:()=>[x(xT,{value:"month"},{default:()=>[n.month]}),x(xT,{value:"year"},{default:()=>[n.year]})]})}X5.inheritAttrs=!1;const dTe=Ce({name:"CalendarHeader",inheritAttrs:!1,props:["mode","prefixCls","value","validRange","generateConfig","locale","mode","fullscreen"],setup(e,t){let{attrs:n}=t;const r=Oe(null),i=la.useInject();return la.useProvide(i,{isFormItemInput:!1}),()=>{const a=R(R({},e),n),{prefixCls:l,fullscreen:s,mode:u,onChange:o,onModeChange:c}=a,d=R(R({},a),{fullscreen:s,divRef:r});return x("div",{class:`${l}-header`,ref:r},[x(Z5,Z(Z({},d),{},{onChange:p=>{o(p,"year")}}),null),u==="month"&&x(Q5,Z(Z({},d),{},{onChange:p=>{o(p,"month")}}),null),x(X5,Z(Z({},d),{},{onModeChange:c}),null)])}}}),pTe=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),_y=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Gp=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),fTe=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":R({},_y(jt(e,{inputBorderHoverColor:e.colorBorder})))}),J5=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:i,inputPaddingHorizontalLG:a}=e;return{padding:`${t}px ${a}px`,fontSize:n,lineHeight:r,borderRadius:i}},fR=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),eU=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:i,colorErrorOutline:a,colorWarningOutline:l,colorErrorBorderHover:s,colorWarningBorderHover:u}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":R({},Gp(jt(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${n}-prefix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:i,"&:hover":{borderColor:u},"&:focus, &-focused":R({},Gp(jt(e,{inputBorderActiveColor:i,inputBorderHoverColor:i,controlOutline:l}))),[`${n}-prefix`]:{color:i}}}},vy=e=>R(R({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},pTe(e.colorTextPlaceholder)),{"&:hover":R({},_y(e)),"&:focus, &-focused":R({},Gp(e)),"&-disabled, &[disabled]":R({},fTe(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":R({},J5(e)),"&-sm":R({},fR(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),mTe=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:R({},J5(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:R({},fR(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:R(R({display:"block"},Mu()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, & > ${n}-select-auto-complete ${t}, & > ${n}-cascader-picker ${t}, @@ -556,7 +556,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{color:e.colorTextDisabled}}}}}},vke=_ke,bke=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:a}=e,l=`${t}-list-item`,s=`${l}-actions`,u=`${l}-action`,o=Math.round(i*a);return{[`${t}-wrapper`]:{[`${t}-list`]:R(R({},Mu()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:e.lineHeight*i,marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:R(R({},gl),{padding:`0 ${e.paddingXS}px`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{[u]:{opacity:0},[`${u}${n}-btn-sm`]:{height:o,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${u}:focus, &.picture ${u} - `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${l}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:i+e.paddingXS,fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${u}`]:{opacity:1,color:e.colorText},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${r}`]:{color:e.colorError},[s]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yke=bke,AL=new Yt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),NL=new Yt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ske=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:AL},[`${n}-leave`]:{animationName:NL}}},AL,NL]},Eke=Ske,Cke=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[`${a}${a}-picture, ${a}${a}-picture-card`]:{[l]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:R(R({},gl),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:i,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{["svg path[fill='#e6f7ff']"]:{fill:e.colorErrorBg},["svg path[fill='#1890ff']"]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:i}}}}}},Tke=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:R(R({},Mu()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:s,height:s,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card`]:{[`${a}-item-container`]:{display:"inline-block",width:s,height:s,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${l}-actions, ${l}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new Sn(i).setAlpha(.65).toRgbString(),"&:hover":{color:i}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},wke=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},xke=wke,Oke=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:R(R({},Nn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},Rke=Mn("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:a}=e,l=Math.round(n*r),s=jt(e,{uploadThumbnailSize:t*2,uploadProgressOffset:l/2+i,uploadPicCardSize:a*2.55});return[Oke(s),vke(s),Cke(s),Tke(s),yke(s),Eke(s),xke(s),uy(s)]});var Ike=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(c){try{o(r.next(c))}catch(d){l(d)}}function u(c){try{o(r.throw(c))}catch(d){l(d)}}function o(c){c.done?a(c.value):i(c.value).then(s,u)}o((r=r.apply(e,t||[])).next())})},Ake=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var M;return(M=u.value)!==null&&M!==void 0?M:d.value}),[f,g]=Zr(e.defaultFileList||[],{value:xt(e,"fileList"),postState:M=>{const B=Date.now();return(M!=null?M:[]).map((P,k)=>(!P.uid&&!Object.isFrozen(P)&&(P.uid=`__AUTO__${B}_${k}__`),P))}}),m=Oe("drop"),h=Oe(null);_t(()=>{Mr(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),Mr(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),Mr(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const v=(M,B,P)=>{var k,D;let F=[...B];e.maxCount===1?F=F.slice(-1):e.maxCount&&(F=F.slice(0,e.maxCount)),g(F);const U={file:M,fileList:F};P&&(U.event=P),(k=e["onUpdate:fileList"])===null||k===void 0||k.call(e,U.fileList),(D=e.onChange)===null||D===void 0||D.call(e,U),a.onFieldChange()},b=(M,B)=>Ike(this,void 0,void 0,function*(){const{beforeUpload:P,transformFile:k}=e;let D=M;if(P){const F=yield P(M,B);if(F===!1)return!1;if(delete M[Jf],F===Jf)return Object.defineProperty(M,Jf,{value:!0,configurable:!0}),!1;typeof F=="object"&&F&&(D=F)}return k&&(D=yield k(D)),D}),y=M=>{const B=M.filter(D=>!D.file[Jf]);if(!B.length)return;const P=B.map(D=>c0(D.file));let k=[...f.value];P.forEach(D=>{k=u0(D,k)}),P.forEach((D,F)=>{let U=D;if(B[F].parsedFile)D.status="uploading";else{const{originFileObj:z}=D;let Y;try{Y=new File([z],z.name,{type:z.type})}catch{Y=new Blob([z],{type:z.type}),Y.name=z.name,Y.lastModifiedDate=new Date,Y.lastModified=new Date().getTime()}Y.uid=D.uid,U=Y}v(U,k)})},S=(M,B,P)=>{try{typeof M=="string"&&(M=JSON.parse(M))}catch{}if(!f1(B,f.value))return;const k=c0(B);k.status="done",k.percent=100,k.response=M,k.xhr=P;const D=u0(k,f.value);v(k,D)},C=(M,B)=>{if(!f1(B,f.value))return;const P=c0(B);P.status="uploading",P.percent=M.percent;const k=u0(P,f.value);v(P,k,M)},w=(M,B,P)=>{if(!f1(P,f.value))return;const k=c0(P);k.error=M,k.response=B,k.status="error";const D=u0(k,f.value);v(k,D)},T=M=>{let B;const P=e.onRemove||e.remove;Promise.resolve(typeof P=="function"?P(M):P).then(k=>{var D,F;if(k===!1)return;const U=ake(M,f.value);U&&(B=R(R({},M),{status:"removed"}),(D=f.value)===null||D===void 0||D.forEach(z=>{const Y=B.uid!==void 0?"uid":"name";z[Y]===B[Y]&&!Object.isFrozen(z)&&(z.status="removed")}),(F=h.value)===null||F===void 0||F.abort(B),v(B,U))})},O=M=>{var B;m.value=M.type,M.type==="drop"&&((B=e.onDrop)===null||B===void 0||B.call(e,M))};i({onBatchStart:y,onSuccess:S,onProgress:C,onError:w,fileList:f,upload:h});const[I]=Ko("Upload",uo.Upload,$(()=>e.locale)),N=(M,B)=>{const{removeIcon:P,previewIcon:k,downloadIcon:D,previewFile:F,onPreview:U,onDownload:z,isImageUrl:Y,progress:G,itemRender:K,iconRender:X,showUploadList:ie}=e,{showDownloadIcon:se,showPreviewIcon:q,showRemoveIcon:ee}=typeof ie=="boolean"?{}:ie;return ie?x(hke,{prefixCls:l.value,listType:e.listType,items:f.value,previewFile:F,onPreview:U,onDownload:z,onRemove:T,showRemoveIcon:!p.value&&ee,showPreviewIcon:q,showDownloadIcon:se,removeIcon:P,previewIcon:k,downloadIcon:D,iconRender:X,locale:I.value,isImageUrl:Y,progress:G,itemRender:K,appendActionVisible:B,appendAction:M},R({},n)):M==null?void 0:M()};return()=>{var M,B,P;const{listType:k,type:D}=e,{class:F,style:U}=r,z=Ake(r,["class","style"]),Y=R(R(R({onBatchStart:y,onError:w,onProgress:C,onSuccess:S},z),e),{id:(M=e.id)!==null&&M!==void 0?M:a.id.value,prefixCls:l.value,beforeUpload:b,onChange:void 0,disabled:p.value});delete Y.remove,(!n.default||p.value)&&delete Y.id;const G={[`${l.value}-rtl`]:s.value==="rtl"};if(D==="drag"){const se=Fe(l.value,{[`${l.value}-drag`]:!0,[`${l.value}-drag-uploading`]:f.value.some(q=>q.status==="uploading"),[`${l.value}-drag-hover`]:m.value==="dragover",[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:s.value==="rtl"},r.class,c.value);return o(x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,F,c.value)}),[x("div",{class:se,onDrop:O,onDragover:O,onDragleave:O,style:r.style},[x(wL,Z(Z({},Y),{},{ref:h,class:`${l.value}-btn`}),Z({default:()=>[x("div",{class:`${l.value}-drag-container`},[(B=n.default)===null||B===void 0?void 0:B.call(n)])]},n))]),N()]))}const K=Fe(l.value,{[`${l.value}-select`]:!0,[`${l.value}-select-${k}`]:!0,[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:s.value==="rtl"}),X=ni((P=n.default)===null||P===void 0?void 0:P.call(n)),ie=se=>x("div",{class:K,style:se},[x(wL,Z(Z({},Y),{},{ref:h}),n)]);return o(k==="picture-card"?x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,`${l.value}-picture-card-wrapper`,G,r.class,c.value)}),[N(ie,!!(X&&X.length))]):x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,r.class,c.value)}),[ie(X&&X.length?void 0:{display:"none"}),N()]))}}});var DL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{height:i}=e,a=DL(e,["height"]),{style:l}=r,s=DL(r,["style"]),u=R(R(R({},a),s),{type:"drag",style:R(R({},l),{height:typeof i=="number"?`${i}px`:i})});return x(F0,u,n)}}}),Nke=B0,Ez=R(F0,{Dragger:B0,LIST_IGNORE:Jf,install(e){return e.component(F0.name,F0),e.component(B0.name,B0),e}});var Dke={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:n}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:t}}]}},name:"close-circle",theme:"twotone"};const Pke=Dke;var Mke={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:n}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:t}}]}},name:"edit",theme:"twotone"};const kke=Mke;var $ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};const Lke=$ke;var Fke={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z",fill:n}},{tag:"path",attrs:{d:"M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z",fill:t}},{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z",fill:t}}]}},name:"save",theme:"twotone"};const Bke=Fke,Cz=["wrap","nowrap","wrap-reverse"],Tz=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],wz=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],Uke=(e,t)=>{const n={};return Cz.forEach(r=>{n[`${e}-wrap-${r}`]=t.wrap===r}),n},Hke=(e,t)=>{const n={};return wz.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},zke=(e,t)=>{const n={};return Tz.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function Vke(e,t){return Fe(R(R(R({},Uke(e,t)),Hke(e,t)),zke(e,t)))}const Gke=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Yke=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},jke=e=>{const{componentCls:t}=e,n={};return Cz.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},Wke=e=>{const{componentCls:t}=e,n={};return wz.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},qke=e=>{const{componentCls:t}=e,n={};return Tz.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},Kke=Mn("Flex",e=>{const t=jt(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[Gke(t),Yke(t),jke(t),Wke(t),qke(t)]});function PL(e){return["small","middle","large"].includes(e)}const Zke=()=>({prefixCls:Bt(),vertical:nt(),wrap:Bt(),justify:Bt(),align:Bt(),flex:nn([Number,String]),gap:nn([Number,String]),component:br()});var Qke=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var c;return[l.value,u.value,Vke(l.value,e),{[`${l.value}-rtl`]:a.value==="rtl",[`${l.value}-gap-${e.gap}`]:PL(e.gap),[`${l.value}-vertical`]:(c=e.vertical)!==null&&c!==void 0?c:i==null?void 0:i.value.vertical}]});return()=>{var c;const{flex:d,gap:p,component:f="div"}=e,g=Qke(e,["flex","gap","component"]),m={};return d&&(m.flex=d),p&&!PL(p)&&(m.gap=`${p}px`),s(x(f,Z({class:[r.class,o.value],style:[r.style,m]},Dn(g,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),Jke=go(Xke),e$e=["width","height","fill","transform"],t$e={key:0},n$e=Ee("path",{d:"M204.41,51.63a108,108,0,1,0,0,152.74A107.38,107.38,0,0,0,204.41,51.63Zm-17,17A83.85,83.85,0,0,1,196.26,79L169,111.09l-23.3-65.21A83.52,83.52,0,0,1,187.43,68.6Zm-118.85,0a83.44,83.44,0,0,1,51.11-24.2l14.16,39.65L65.71,71.61C66.64,70.59,67.59,69.59,68.58,68.6ZM48,153.7a84.48,84.48,0,0,1,3.4-60.3L92.84,101Zm20.55,33.7A83.94,83.94,0,0,1,59.74,177L87,144.91l23.3,65.21A83.53,83.53,0,0,1,68.58,187.4Zm36.36-63.61,15.18-17.85,23.06,4.21,7.88,22.06-15.17,17.85-23.06-4.21Zm82.49,63.61a83.49,83.49,0,0,1-51.11,24.2L122.15,172l68.14,12.44C189.36,185.41,188.41,186.41,187.43,187.4ZM163.16,155,208,102.3a84.43,84.43,0,0,1-3.41,60.3Z"},null,-1),r$e=[n$e],i$e={key:1},a$e=Ee("path",{d:"M195.88,60.12a96,96,0,1,0,0,135.76A96,96,0,0,0,195.88,60.12Zm-55.34,103h0l-36.68-6.69h0L91.32,121.3l24.14-28.41h0l36.68,6.69,12.54,35.12Z",opacity:"0.2"},null,-1),o$e=Ee("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,65.78a88.18,88.18,0,0,1,11,13.48L167.55,119,139.63,40.78A87.34,87.34,0,0,1,190.23,65.78ZM155.59,133l-18.16,21.37-27.59-5L100.41,123l18.16-21.37,27.59,5ZM65.77,65.78a87.34,87.34,0,0,1,56.66-25.59l17.51,49L58.3,74.32A88,88,0,0,1,65.77,65.78ZM46.65,161.54a88.41,88.41,0,0,1,2.53-72.62l51.21,9.35Zm19.12,28.68a88.18,88.18,0,0,1-11-13.48L88.45,137l27.92,78.18A87.34,87.34,0,0,1,65.77,190.22Zm124.46,0a87.34,87.34,0,0,1-56.66,25.59l-17.51-49,81.64,14.91A88,88,0,0,1,190.23,190.22Zm-34.62-32.49,53.74-63.27a88.41,88.41,0,0,1-2.53,72.62Z"},null,-1),s$e=[a$e,o$e],l$e={key:2},c$e=Ee("path",{d:"M232,128A104,104,0,0,0,54.46,54.46,104,104,0,0,0,128,232h.09A104,104,0,0,0,232,128ZM49.18,88.92l51.21,9.35L46.65,161.53A88.39,88.39,0,0,1,49.18,88.92Zm160.17,5.54a88.41,88.41,0,0,1-2.53,72.62l-51.21-9.35Zm-8.08-15.2L167.55,119,139.63,40.78a87.38,87.38,0,0,1,50.6,25A88.74,88.74,0,0,1,201.27,79.26ZM122.43,40.19l17.51,49L58.3,74.32a89.28,89.28,0,0,1,7.47-8.55A87.37,87.37,0,0,1,122.43,40.19ZM54.73,176.74,88.45,137l27.92,78.18a88,88,0,0,1-61.64-38.48Zm78.84,39.06-17.51-49L139.14,171h0l58.52,10.69a87.5,87.5,0,0,1-64.13,34.12Z"},null,-1),u$e=[c$e],d$e={key:3},p$e=Ee("path",{d:"M200.12,55.88A102,102,0,0,0,55.87,200.12,102,102,0,1,0,200.12,55.88Zm-102,66.67,19.65-23.14,29.86,5.46,10.21,28.58-19.65,23.14-29.86-5.46ZM209.93,90.69a90.24,90.24,0,0,1-2,78.63l-56.14-10.24Zm-6.16-11.28-36.94,43.48L136.66,38.42a89.31,89.31,0,0,1,55,25.94A91.33,91.33,0,0,1,203.77,79.41Zm-139.41-15A89.37,89.37,0,0,1,123.81,38.1L143,91.82,54.75,75.71A91.2,91.2,0,0,1,64.36,64.36ZM48,86.68l56.14,10.24L46.07,165.31a90.24,90.24,0,0,1,2-78.63Zm4.21,89.91,36.94-43.48,30.17,84.47a89.31,89.31,0,0,1-55-25.94A91.33,91.33,0,0,1,52.23,176.59Zm139.41,15a89.32,89.32,0,0,1-59.45,26.26L113,164.18l88.24,16.11A91.2,91.2,0,0,1,191.64,191.64Z"},null,-1),f$e=[p$e],m$e={key:4},g$e=Ee("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,65.78a88.18,88.18,0,0,1,11,13.48L167.55,119,139.63,40.78A87.34,87.34,0,0,1,190.23,65.78ZM155.59,133l-18.16,21.37-27.59-5L100.41,123l18.16-21.37,27.59,5ZM65.77,65.78a87.34,87.34,0,0,1,56.66-25.59l17.51,49L58.3,74.32A88,88,0,0,1,65.77,65.78ZM46.65,161.54a88.41,88.41,0,0,1,2.53-72.62l51.21,9.35Zm19.12,28.68a88.18,88.18,0,0,1-11-13.48L88.45,137l27.92,78.18A87.34,87.34,0,0,1,65.77,190.22Zm124.46,0a87.34,87.34,0,0,1-56.66,25.59l-17.51-49,81.64,14.91A88,88,0,0,1,190.23,190.22Zm-34.62-32.49,53.74-63.27a88.41,88.41,0,0,1-2.53,72.62Z"},null,-1),h$e=[g$e],_$e={key:5},v$e=Ee("path",{d:"M198.71,57.29A100,100,0,1,0,57.29,198.71,100,100,0,1,0,198.71,57.29Zm10.37,114.27-61-11.14L210.4,87a92.26,92.26,0,0,1-1.32,84.52ZM95.87,122.13,117,97.24l32.14,5.86,11,30.77L139,158.76l-32.14-5.86ZM206.24,79.58l-40.13,47.25L133.75,36.2a92.09,92.09,0,0,1,72.49,43.38ZM63,63a91.31,91.31,0,0,1,62.26-26.88L146,94.41,51.32,77.11A92.94,92.94,0,0,1,63,63Zm-16,21.49,61,11.14L45.6,169a92.26,92.26,0,0,1,1.32-84.52Zm2.84,92,40.13-47.25,32.36,90.63a92.09,92.09,0,0,1-72.49-43.38Zm143.29,16.63a91.31,91.31,0,0,1-62.26,26.88L110,161.59l94.72,17.3A92.94,92.94,0,0,1,193.05,193.05Z"},null,-1),b$e=[v$e],y$e={name:"PhAperture"},S$e=Ce({...y$e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",t$e,r$e)):l.value==="duotone"?(oe(),pe("g",i$e,s$e)):l.value==="fill"?(oe(),pe("g",l$e,u$e)):l.value==="light"?(oe(),pe("g",d$e,f$e)):l.value==="regular"?(oe(),pe("g",m$e,h$e)):l.value==="thin"?(oe(),pe("g",_$e,b$e)):ft("",!0)],16,e$e))}}),E$e=["width","height","fill","transform"],C$e={key:0},T$e=Ee("path",{d:"M47.51,112.49a12,12,0,0,1,17-17L116,147V32a12,12,0,0,1,24,0V147l51.51-51.52a12,12,0,0,1,17,17l-72,72a12,12,0,0,1-17,0ZM216,204H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1),w$e=[T$e],x$e={key:1},O$e=Ee("path",{d:"M200,112l-72,72L56,112Z",opacity:"0.2"},null,-1),R$e=Ee("path",{d:"M122.34,189.66a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,200,104H136V32a8,8,0,0,0-16,0v72H56a8,8,0,0,0-5.66,13.66ZM180.69,120,128,172.69,75.31,120ZM224,216a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,216Z"},null,-1),I$e=[O$e,R$e],A$e={key:2},N$e=Ee("path",{d:"M50.34,117.66A8,8,0,0,1,56,104h64V32a8,8,0,0,1,16,0v72h64a8,8,0,0,1,5.66,13.66l-72,72a8,8,0,0,1-11.32,0ZM216,208H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),D$e=[N$e],P$e={key:3},M$e=Ee("path",{d:"M51.76,116.24a6,6,0,0,1,8.48-8.48L122,169.51V32a6,6,0,0,1,12,0V169.51l61.76-61.75a6,6,0,0,1,8.48,8.48l-72,72a6,6,0,0,1-8.48,0ZM216,210H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1),k$e=[M$e],$$e={key:4},L$e=Ee("path",{d:"M50.34,117.66a8,8,0,0,1,11.32-11.32L120,164.69V32a8,8,0,0,1,16,0V164.69l58.34-58.35a8,8,0,0,1,11.32,11.32l-72,72a8,8,0,0,1-11.32,0ZM216,208H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),F$e=[L$e],B$e={key:5},U$e=Ee("path",{d:"M53.17,114.83a4,4,0,0,1,5.66-5.66L124,174.34V32a4,4,0,0,1,8,0V174.34l65.17-65.17a4,4,0,1,1,5.66,5.66l-72,72a4,4,0,0,1-5.66,0ZM216,212H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1),H$e=[U$e],z$e={name:"PhArrowLineDown"},V$e=Ce({...z$e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",C$e,w$e)):l.value==="duotone"?(oe(),pe("g",x$e,I$e)):l.value==="fill"?(oe(),pe("g",A$e,D$e)):l.value==="light"?(oe(),pe("g",P$e,k$e)):l.value==="regular"?(oe(),pe("g",$$e,F$e)):l.value==="thin"?(oe(),pe("g",B$e,H$e)):ft("",!0)],16,E$e))}}),G$e=["width","height","fill","transform"],Y$e={key:0},j$e=Ee("path",{d:"M208,52H182.42L170,33.34A12,12,0,0,0,160,28H96a12,12,0,0,0-10,5.34L73.57,52H48A28,28,0,0,0,20,80V192a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V80A28,28,0,0,0,208,52Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4H80a12,12,0,0,0,10-5.34L102.42,52h51.15L166,70.66A12,12,0,0,0,176,76h32a4,4,0,0,1,4,4ZM128,84a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,84Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,128,156Z"},null,-1),W$e=[j$e],q$e={key:1},K$e=Ee("path",{d:"M208,64H176L160,40H96L80,64H48A16,16,0,0,0,32,80V192a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V80A16,16,0,0,0,208,64ZM128,168a36,36,0,1,1,36-36A36,36,0,0,1,128,168Z",opacity:"0.2"},null,-1),Z$e=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"},null,-1),Q$e=[K$e,Z$e],X$e={key:2},J$e=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm-44,76a36,36,0,1,1-36-36A36,36,0,0,1,164,132Z"},null,-1),eLe=[J$e],tLe={key:3},nLe=Ee("path",{d:"M208,58H179.21L165,36.67A6,6,0,0,0,160,34H96a6,6,0,0,0-5,2.67L76.78,58H48A22,22,0,0,0,26,80V192a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V80A22,22,0,0,0,208,58Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V80A10,10,0,0,1,48,70H80a6,6,0,0,0,5-2.67L99.21,46h57.57L171,67.33A6,6,0,0,0,176,70h32a10,10,0,0,1,10,10ZM128,90a42,42,0,1,0,42,42A42,42,0,0,0,128,90Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,128,162Z"},null,-1),rLe=[nLe],iLe={key:4},aLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"},null,-1),oLe=[aLe],sLe={key:5},lLe=Ee("path",{d:"M208,60H178.13L163.32,37.78A4,4,0,0,0,160,36H96a4,4,0,0,0-3.32,1.78L77.85,60H48A20,20,0,0,0,28,80V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V80A20,20,0,0,0,208,60Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V80A12,12,0,0,1,48,68H80a4,4,0,0,0,3.33-1.78L98.13,44h59.72l14.82,22.22A4,4,0,0,0,176,68h32a12,12,0,0,1,12,12ZM128,92a40,40,0,1,0,40,40A40,40,0,0,0,128,92Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,128,164Z"},null,-1),cLe=[lLe],uLe={name:"PhCamera"},dLe=Ce({...uLe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",Y$e,W$e)):l.value==="duotone"?(oe(),pe("g",q$e,Q$e)):l.value==="fill"?(oe(),pe("g",X$e,eLe)):l.value==="light"?(oe(),pe("g",tLe,rLe)):l.value==="regular"?(oe(),pe("g",iLe,oLe)):l.value==="thin"?(oe(),pe("g",sLe,cLe)):ft("",!0)],16,G$e))}}),pLe=["width","height","fill","transform"],fLe={key:0},mLe=Ee("path",{d:"M208,52H182.42L170,33.34A12,12,0,0,0,160,28H96a12,12,0,0,0-10,5.34L73.57,52H48A28,28,0,0,0,20,80V192a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V80A28,28,0,0,0,208,52Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4H80a12,12,0,0,0,10-5.34L102.42,52h51.15L166,70.66A12,12,0,0,0,176,76h32a4,4,0,0,1,4,4Zm-32-92v20a12,12,0,0,1-12,12H148a12,12,0,0,1-7.76-21.14,28.07,28.07,0,0,0-29,2.73A12,12,0,0,1,96.79,94.4a52.28,52.28,0,0,1,61.14-.91A12,12,0,0,1,180,100Zm-18.41,52.8a12,12,0,0,1-2.38,16.8,51.71,51.71,0,0,1-31.13,10.34,52.3,52.3,0,0,1-30-9.44A12,12,0,0,1,76,164V144a12,12,0,0,1,12-12h20a12,12,0,0,1,7.76,21.14,28.07,28.07,0,0,0,29-2.73A12,12,0,0,1,161.59,152.8Z"},null,-1),gLe=[mLe],hLe={key:1},_Le=Ee("path",{d:"M224,80V192a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64H80L96,40h64l16,24h32A16,16,0,0,1,224,80Z",opacity:"0.2"},null,-1),vLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM176,96v24a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h5.15a32.12,32.12,0,0,0-40.34-1.61A8,8,0,0,1,99.19,97.6,48.21,48.21,0,0,1,160,100.23V96a8,8,0,0,1,16,0Zm-17.61,59.2a8,8,0,0,1-1.58,11.2A48.21,48.21,0,0,1,96,163.77V168a8,8,0,0,1-16,0V144a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16h-5.15a32.12,32.12,0,0,0,40.34,1.61A8,8,0,0,1,158.39,155.2Z"},null,-1),bLe=[_Le,vLe],yLe={key:2},SLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56ZM156.81,166.4A48.21,48.21,0,0,1,96,163.77V168a8,8,0,0,1-16,0V144a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16h-5.15a32.12,32.12,0,0,0,40.34,1.61,8,8,0,0,1,9.62,12.79ZM176,120a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h5.15a32.12,32.12,0,0,0-40.34-1.61A8,8,0,0,1,99.19,97.6,48.21,48.21,0,0,1,160,100.23V96a8,8,0,0,1,16,0Z"},null,-1),ELe=[SLe],CLe={key:3},TLe=Ee("path",{d:"M208,58H179.21L165,36.67A6,6,0,0,0,160,34H96a6,6,0,0,0-5,2.67L76.78,58H48A22,22,0,0,0,26,80V192a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V80A22,22,0,0,0,208,58Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V80A10,10,0,0,1,48,70H80a6,6,0,0,0,5-2.67L99.21,46h57.57L171,67.33A6,6,0,0,0,176,70h32a10,10,0,0,1,10,10ZM174,96v24a6,6,0,0,1-6,6H144a6,6,0,0,1,0-12h10l-2-2.09a34.12,34.12,0,0,0-44.38-3.12,6,6,0,1,1-7.22-9.59,46.2,46.2,0,0,1,60.14,4.27.47.47,0,0,0,.1.1L162,105V96a6,6,0,0,1,12,0Zm-17.2,60.4a6,6,0,0,1-1.19,8.4,46.18,46.18,0,0,1-60.14-4.27l-.1-.1L94,159v9a6,6,0,0,1-12,0V144a6,6,0,0,1,6-6h24a6,6,0,0,1,0,12H102l2,2.09a34.12,34.12,0,0,0,44.38,3.12A6,6,0,0,1,156.8,156.4Z"},null,-1),wLe=[TLe],xLe={key:4},OLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM176,96v24a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h5.15a32.12,32.12,0,0,0-40.34-1.61A8,8,0,0,1,99.19,97.6,48.21,48.21,0,0,1,160,100.23V96a8,8,0,0,1,16,0Zm-17.61,59.2a8,8,0,0,1-1.58,11.2A48.21,48.21,0,0,1,96,163.77V168a8,8,0,0,1-16,0V144a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16h-5.15a32.12,32.12,0,0,0,40.34,1.61A8,8,0,0,1,158.39,155.2Z"},null,-1),RLe=[OLe],ILe={key:5},ALe=Ee("path",{d:"M208,60H178.13L163.32,37.78A4,4,0,0,0,160,36H96a4,4,0,0,0-3.32,1.78L77.85,60H48A20,20,0,0,0,28,80V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V80A20,20,0,0,0,208,60Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V80A12,12,0,0,1,48,68H80a4,4,0,0,0,3.33-1.78L98.13,44h59.72l14.82,22.22A4,4,0,0,0,176,68h32a12,12,0,0,1,12,12ZM172,96v24a4,4,0,0,1-4,4H144a4,4,0,0,1,0-8h14.66l-5.27-5.52a36.12,36.12,0,0,0-47-3.29,4,4,0,1,1-4.8-6.39,44.17,44.17,0,0,1,57.51,4.09L164,110V96a4,4,0,0,1,8,0Zm-16.8,61.6a4,4,0,0,1-.8,5.6,44.15,44.15,0,0,1-57.51-4.09L92,154v14a4,4,0,0,1-8,0V144a4,4,0,0,1,4-4h24a4,4,0,0,1,0,8H97.34l5.27,5.52a36.12,36.12,0,0,0,47,3.29A4,4,0,0,1,155.2,157.6Z"},null,-1),NLe=[ALe],DLe={name:"PhCameraRotate"},PLe=Ce({...DLe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",fLe,gLe)):l.value==="duotone"?(oe(),pe("g",hLe,bLe)):l.value==="fill"?(oe(),pe("g",yLe,ELe)):l.value==="light"?(oe(),pe("g",CLe,wLe)):l.value==="regular"?(oe(),pe("g",xLe,RLe)):l.value==="thin"?(oe(),pe("g",ILe,NLe)):ft("",!0)],16,pLe))}}),MLe=["width","height","fill","transform"],kLe={key:0},$Le=Ee("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},null,-1),LLe=[$Le],FLe={key:1},BLe=Ee("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"},null,-1),ULe=Ee("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1),HLe=[BLe,ULe],zLe={key:2},VLe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1),GLe=[VLe],YLe={key:3},jLe=Ee("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"},null,-1),WLe=[jLe],qLe={key:4},KLe=Ee("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"},null,-1),ZLe=[KLe],QLe={key:5},XLe=Ee("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"},null,-1),JLe=[XLe],e4e={name:"PhCheck"},t4e=Ce({...e4e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",kLe,LLe)):l.value==="duotone"?(oe(),pe("g",FLe,HLe)):l.value==="fill"?(oe(),pe("g",zLe,GLe)):l.value==="light"?(oe(),pe("g",YLe,WLe)):l.value==="regular"?(oe(),pe("g",qLe,ZLe)):l.value==="thin"?(oe(),pe("g",QLe,JLe)):ft("",!0)],16,MLe))}}),n4e=["width","height","fill","transform"],r4e={key:0},i4e=Ee("path",{d:"M71.68,97.22,34.74,128l36.94,30.78a12,12,0,1,1-15.36,18.44l-48-40a12,12,0,0,1,0-18.44l48-40A12,12,0,0,1,71.68,97.22Zm176,21.56-48-40a12,12,0,1,0-15.36,18.44L221.26,128l-36.94,30.78a12,12,0,1,0,15.36,18.44l48-40a12,12,0,0,0,0-18.44ZM164.1,28.72a12,12,0,0,0-15.38,7.18l-64,176a12,12,0,0,0,7.18,15.37A11.79,11.79,0,0,0,96,228a12,12,0,0,0,11.28-7.9l64-176A12,12,0,0,0,164.1,28.72Z"},null,-1),a4e=[i4e],o4e={key:1},s4e=Ee("path",{d:"M240,128l-48,40H64L16,128,64,88H192Z",opacity:"0.2"},null,-1),l4e=Ee("path",{d:"M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z"},null,-1),c4e=[s4e,l4e],u4e={key:2},d4e=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM92.8,145.6a8,8,0,1,1-9.6,12.8l-32-24a8,8,0,0,1,0-12.8l32-24a8,8,0,0,1,9.6,12.8L69.33,128Zm58.89-71.4-32,112a8,8,0,1,1-15.38-4.4l32-112a8,8,0,0,1,15.38,4.4Zm53.11,60.2-32,24a8,8,0,0,1-9.6-12.8L186.67,128,163.2,110.4a8,8,0,1,1,9.6-12.8l32,24a8,8,0,0,1,0,12.8Z"},null,-1),p4e=[d4e],f4e={key:3},m4e=Ee("path",{d:"M67.84,92.61,25.37,128l42.47,35.39a6,6,0,1,1-7.68,9.22l-48-40a6,6,0,0,1,0-9.22l48-40a6,6,0,0,1,7.68,9.22Zm176,30.78-48-40a6,6,0,1,0-7.68,9.22L230.63,128l-42.47,35.39a6,6,0,1,0,7.68,9.22l48-40a6,6,0,0,0,0-9.22Zm-81.79-89A6,6,0,0,0,154.36,38l-64,176A6,6,0,0,0,94,221.64a6.15,6.15,0,0,0,2,.36,6,6,0,0,0,5.64-3.95l64-176A6,6,0,0,0,162.05,34.36Z"},null,-1),g4e=[m4e],h4e={key:4},_4e=Ee("path",{d:"M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z"},null,-1),v4e=[_4e],b4e={key:5},y4e=Ee("path",{d:"M66.56,91.07,22.25,128l44.31,36.93A4,4,0,0,1,64,172a3.94,3.94,0,0,1-2.56-.93l-48-40a4,4,0,0,1,0-6.14l48-40a4,4,0,0,1,5.12,6.14Zm176,33.86-48-40a4,4,0,1,0-5.12,6.14L233.75,128l-44.31,36.93a4,4,0,1,0,5.12,6.14l48-40a4,4,0,0,0,0-6.14ZM161.37,36.24a4,4,0,0,0-5.13,2.39l-64,176a4,4,0,0,0,2.39,5.13A4.12,4.12,0,0,0,96,220a4,4,0,0,0,3.76-2.63l64-176A4,4,0,0,0,161.37,36.24Z"},null,-1),S4e=[y4e],E4e={name:"PhCode"},C4e=Ce({...E4e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",r4e,a4e)):l.value==="duotone"?(oe(),pe("g",o4e,c4e)):l.value==="fill"?(oe(),pe("g",u4e,p4e)):l.value==="light"?(oe(),pe("g",f4e,g4e)):l.value==="regular"?(oe(),pe("g",h4e,v4e)):l.value==="thin"?(oe(),pe("g",b4e,S4e)):ft("",!0)],16,n4e))}}),T4e=["width","height","fill","transform"],w4e={key:0},x4e=Ee("path",{d:"M76,92A16,16,0,1,1,60,76,16,16,0,0,1,76,92Zm52-16a16,16,0,1,0,16,16A16,16,0,0,0,128,76Zm68,32a16,16,0,1,0-16-16A16,16,0,0,0,196,108ZM60,148a16,16,0,1,0,16,16A16,16,0,0,0,60,148Zm68,0a16,16,0,1,0,16,16A16,16,0,0,0,128,148Zm68,0a16,16,0,1,0,16,16A16,16,0,0,0,196,148Z"},null,-1),O4e=[x4e],R4e={key:1},I4e=Ee("path",{d:"M240,64V192a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V64A16,16,0,0,1,32,48H224A16,16,0,0,1,240,64Z",opacity:"0.2"},null,-1),A4e=Ee("path",{d:"M72,92A12,12,0,1,1,60,80,12,12,0,0,1,72,92Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,128,80Zm68,24a12,12,0,1,0-12-12A12,12,0,0,0,196,104ZM60,152a12,12,0,1,0,12,12A12,12,0,0,0,60,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,128,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,196,152Z"},null,-1),N4e=[I4e,A4e],D4e={key:2},P4e=Ee("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM68,168a12,12,0,1,1,12-12A12,12,0,0,1,68,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,68,112Zm60,56a12,12,0,1,1,12-12A12,12,0,0,1,128,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,128,112Zm60,56a12,12,0,1,1,12-12A12,12,0,0,1,188,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,188,112Z"},null,-1),M4e=[P4e],k4e={key:3},$4e=Ee("path",{d:"M70,92A10,10,0,1,1,60,82,10,10,0,0,1,70,92Zm58-10a10,10,0,1,0,10,10A10,10,0,0,0,128,82Zm68,20a10,10,0,1,0-10-10A10,10,0,0,0,196,102ZM60,154a10,10,0,1,0,10,10A10,10,0,0,0,60,154Zm68,0a10,10,0,1,0,10,10A10,10,0,0,0,128,154Zm68,0a10,10,0,1,0,10,10A10,10,0,0,0,196,154Z"},null,-1),L4e=[$4e],F4e={key:4},B4e=Ee("path",{d:"M72,92A12,12,0,1,1,60,80,12,12,0,0,1,72,92Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,128,80Zm68,24a12,12,0,1,0-12-12A12,12,0,0,0,196,104ZM60,152a12,12,0,1,0,12,12A12,12,0,0,0,60,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,128,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,196,152Z"},null,-1),U4e=[B4e],H4e={key:5},z4e=Ee("path",{d:"M68,92a8,8,0,1,1-8-8A8,8,0,0,1,68,92Zm60-8a8,8,0,1,0,8,8A8,8,0,0,0,128,84Zm68,16a8,8,0,1,0-8-8A8,8,0,0,0,196,100ZM60,156a8,8,0,1,0,8,8A8,8,0,0,0,60,156Zm68,0a8,8,0,1,0,8,8A8,8,0,0,0,128,156Zm68,0a8,8,0,1,0,8,8A8,8,0,0,0,196,156Z"},null,-1),V4e=[z4e],G4e={name:"PhDotsSix"},Y4e=Ce({...G4e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",w4e,O4e)):l.value==="duotone"?(oe(),pe("g",R4e,N4e)):l.value==="fill"?(oe(),pe("g",D4e,M4e)):l.value==="light"?(oe(),pe("g",k4e,L4e)):l.value==="regular"?(oe(),pe("g",F4e,U4e)):l.value==="thin"?(oe(),pe("g",H4e,V4e)):ft("",!0)],16,T4e))}}),j4e=["width","height","fill","transform"],W4e={key:0},q4e=Ee("path",{d:"M71.51,88.49a12,12,0,0,1,17-17L116,99V24a12,12,0,0,1,24,0V99l27.51-27.52a12,12,0,0,1,17,17l-48,48a12,12,0,0,1-17,0ZM224,116H188a12,12,0,0,0,0,24h32v56H36V140H68a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116Zm-20,52a16,16,0,1,0-16,16A16,16,0,0,0,204,168Z"},null,-1),K4e=[q4e],Z4e={key:1},Q4e=Ee("path",{d:"M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z",opacity:"0.2"},null,-1),X4e=Ee("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1),J4e=[Q4e,X4e],e6e={key:2},t6e=Ee("path",{d:"M74.34,85.66A8,8,0,0,1,85.66,74.34L120,108.69V24a8,8,0,0,1,16,0v84.69l34.34-34.35a8,8,0,0,1,11.32,11.32l-48,48a8,8,0,0,1-11.32,0ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H84.4a4,4,0,0,1,2.83,1.17L111,145A24,24,0,0,0,145,145l23.8-23.8A4,4,0,0,1,171.6,120H224A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1),n6e=[t6e],r6e={key:3},i6e=Ee("path",{d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H72a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H184a6,6,0,0,1,0-12h40A14,14,0,0,1,238,136Zm-114.24-3.76a6,6,0,0,0,8.48,0l48-48a6,6,0,0,0-8.48-8.48L134,113.51V24a6,6,0,0,0-12,0v89.51L84.24,75.76a6,6,0,0,0-8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"},null,-1),a6e=[i6e],o6e={key:4},s6e=Ee("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1),l6e=[s6e],c6e={key:5},u6e=Ee("path",{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H72a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H184a4,4,0,0,1,0-8h40A12,12,0,0,1,236,136Zm-110.83-5.17a4,4,0,0,0,5.66,0l48-48a4,4,0,1,0-5.66-5.66L132,118.34V24a4,4,0,0,0-8,0v94.34L82.83,77.17a4,4,0,0,0-5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"},null,-1),d6e=[u6e],p6e={name:"PhDownload"},f6e=Ce({...p6e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",W4e,K4e)):l.value==="duotone"?(oe(),pe("g",Z4e,J4e)):l.value==="fill"?(oe(),pe("g",e6e,n6e)):l.value==="light"?(oe(),pe("g",r6e,a6e)):l.value==="regular"?(oe(),pe("g",o6e,l6e)):l.value==="thin"?(oe(),pe("g",c6e,d6e)):ft("",!0)],16,j4e))}}),m6e=["width","height","fill","transform"],g6e={key:0},h6e=Ee("path",{d:"M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM183,80H160V57ZM116,212V192h8a12,12,0,0,0,0-24h-8V152h8a12,12,0,0,0,0-24h-8V116a12,12,0,0,0-24,0v12H84a12,12,0,0,0,0,24h8v16H84a12,12,0,0,0,0,24h8v20H60V44h76V92a12,12,0,0,0,12,12h48V212Z"},null,-1),_6e=[h6e],v6e={key:1},b6e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),y6e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H112V200h8a8,8,0,0,0,0-16h-8V168h8a8,8,0,0,0,0-16h-8V136h8a8,8,0,0,0,0-16h-8v-8a8,8,0,0,0-16,0v8H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),S6e=[b6e,y6e],E6e={key:2},C6e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H92a4,4,0,0,0,4-4V208H88.27A8.17,8.17,0,0,1,80,200.53,8,8,0,0,1,88,192h8V176H88.27A8.17,8.17,0,0,1,80,168.53,8,8,0,0,1,88,160h8V144H88.27A8.17,8.17,0,0,1,80,136.53,8,8,0,0,1,88,128h8v-7.73a8.18,8.18,0,0,1,7.47-8.25,8,8,0,0,1,8.53,8v8h7.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53h-8v16h7.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53h-8v16h7.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53h-8v20a4,4,0,0,0,4,4h84a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"},null,-1),T6e=[C6e],w6e={key:3},x6e=Ee("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H110V198h10a6,6,0,0,0,0-12H110V166h10a6,6,0,0,0,0-12H110V134h10a6,6,0,0,0,0-12H110V112a6,6,0,0,0-12,0v10H88a6,6,0,0,0,0,12H98v20H88a6,6,0,0,0,0,12H98v20H88a6,6,0,0,0,0,12H98v20H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"},null,-1),O6e=[x6e],R6e={key:4},I6e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H112V200h8a8,8,0,0,0,0-16h-8V168h8a8,8,0,0,0,0-16h-8V136h8a8,8,0,0,0,0-16h-8v-8a8,8,0,0,0-16,0v8H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),A6e=[I6e],N6e={key:5},D6e=Ee("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H108V196h12a4,4,0,0,0,0-8H108V164h12a4,4,0,0,0,0-8H108V132h12a4,4,0,0,0,0-8H108V112a4,4,0,0,0-8,0v12H88a4,4,0,0,0,0,8h12v24H88a4,4,0,0,0,0,8h12v24H88a4,4,0,0,0,0,8h12v24H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"},null,-1),P6e=[D6e],M6e={name:"PhFileArchive"},k6e=Ce({...M6e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",g6e,_6e)):l.value==="duotone"?(oe(),pe("g",v6e,S6e)):l.value==="fill"?(oe(),pe("g",E6e,T6e)):l.value==="light"?(oe(),pe("g",w6e,O6e)):l.value==="regular"?(oe(),pe("g",R6e,A6e)):l.value==="thin"?(oe(),pe("g",N6e,P6e)):ft("",!0)],16,m6e))}}),$6e=["width","height","fill","transform"],L6e={key:0},F6e=Ee("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v84a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212H180a12,12,0,0,0,0,24h20a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160Zm-52,67a56,56,0,0,0-50.65,32.09A40,40,0,0,0,60,236h48a56,56,0,0,0,0-112Zm0,88H60a16,16,0,0,1-6.54-30.6,12,12,0,0,0,22.67-4.32,32.78,32.78,0,0,1,.92-5.3c.12-.36.22-.72.31-1.09A32,32,0,1,1,108,212Z"},null,-1),B6e=[F6e],U6e={key:1},H6e=Ee("path",{d:"M208,88H152V32ZM108,136a44,44,0,0,0-42.34,32v0H60a28,28,0,0,0,0,56h48a44,44,0,0,0,0-88Z",opacity:"0.2"},null,-1),z6e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v88a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM108,128a52,52,0,0,0-48,32,36,36,0,0,0,0,72h48a52,52,0,0,0,0-104Zm0,88H60a20,20,0,0,1-3.81-39.64,8,8,0,0,0,16,.36,38,38,0,0,1,1.06-6.09,7.56,7.56,0,0,0,.27-1A36,36,0,1,1,108,216Z"},null,-1),V6e=[H6e,z6e],G6e={key:2},Y6e=Ee("path",{d:"M160,181a52.06,52.06,0,0,1-52,51H60.72C40.87,232,24,215.77,24,195.92a36,36,0,0,1,19.28-31.79,4,4,0,0,1,5.77,4.33,63.53,63.53,0,0,0-1,11.15A8.22,8.22,0,0,0,55.55,188,8,8,0,0,0,64,180a47.55,47.55,0,0,1,4.37-20h0A48,48,0,0,1,160,181Zm56-93V216a16,16,0,0,1-16,16H176a8,8,0,0,1,0-16h24V96H152a8,8,0,0,1-8-8V40H56v88a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z"},null,-1),j6e=[Y6e],W6e={key:3},q6e=Ee("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v88a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2H176a6,6,0,0,0,0,12h24a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM108,130a50,50,0,0,0-46.66,32H60a34,34,0,0,0,0,68h48a50,50,0,0,0,0-100Zm0,88H60a22,22,0,0,1-1.65-43.94c-.06.47-.1.93-.15,1.4a6,6,0,1,0,12,1.08A38.57,38.57,0,0,1,71.3,170a5.71,5.71,0,0,0,.24-.86A38,38,0,1,1,108,218Z"},null,-1),K6e=[q6e],Z6e={key:4},Q6e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v88a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM108,128a52,52,0,0,0-48,32,36,36,0,0,0,0,72h48a52,52,0,0,0,0-104Zm0,88H60a20,20,0,0,1-3.81-39.64,8,8,0,0,0,16,.36,38,38,0,0,1,1.06-6.09,7.56,7.56,0,0,0,.27-1A36,36,0,1,1,108,216Z"},null,-1),X6e=[Q6e],J6e={key:5},e8e=Ee("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v88a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4H176a4,4,0,0,0,0,8h24a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM108,132a47.72,47.72,0,0,0-45.3,32H60a32,32,0,0,0,0,64h48a48,48,0,0,0,0-96Zm0,88H60a24,24,0,0,1,0-48h.66c-.2,1.2-.35,2.41-.46,3.64a4,4,0,0,0,8,.72,41.2,41.2,0,0,1,1.23-6.92,4.68,4.68,0,0,0,.21-.73A40,40,0,1,1,108,220Z"},null,-1),t8e=[e8e],n8e={name:"PhFileCloud"},r8e=Ce({...n8e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",L6e,B6e)):l.value==="duotone"?(oe(),pe("g",U6e,V6e)):l.value==="fill"?(oe(),pe("g",G6e,j6e)):l.value==="light"?(oe(),pe("g",W6e,K6e)):l.value==="regular"?(oe(),pe("g",Z6e,X6e)):l.value==="thin"?(oe(),pe("g",J6e,t8e)):ft("",!0)],16,$6e))}}),i8e=["width","height","fill","transform"],a8e={key:0},o8e=Ee("path",{d:"M48,140H32a12,12,0,0,0-12,12v56a12,12,0,0,0,12,12H48a40,40,0,0,0,0-80Zm0,56H44V164h4a16,16,0,0,1,0,32Zm180.3-3.8a12,12,0,0,1,.37,17A34,34,0,0,1,204,220c-19.85,0-36-17.94-36-40s16.15-40,36-40a34,34,0,0,1,24.67,10.83,12,12,0,0,1-17.34,16.6A10.27,10.27,0,0,0,204,164c-6.5,0-12,7.33-12,16s5.5,16,12,16a10.27,10.27,0,0,0,7.33-3.43A12,12,0,0,1,228.3,192.2ZM128,140c-19.85,0-36,17.94-36,40s16.15,40,36,40,36-17.94,36-40S147.85,140,128,140Zm0,56c-6.5,0-12-7.33-12-16s5.5-16,12-16,12,7.33,12,16S134.5,196,128,196ZM48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.48l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM160,57l23,23H160Z"},null,-1),s8e=[o8e],l8e={key:1},c8e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),u8e=Ee("path",{d:"M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.18,14.18,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.64,0-32,16.15-32,36s14.36,36,32,36,32-16.15,32-36S145.64,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"},null,-1),d8e=[c8e,u8e],p8e={key:2},f8e=Ee("path",{d:"M44,120H212.07a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152.05,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120Zm108-76,44,44h-44ZM52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H51.33C71,216,87.55,200.52,88,180.87A36,36,0,0,0,52,144Zm-.49,56H44V160h8a20,20,0,0,1,20,20.77C71.59,191.59,62.35,200,51.52,200Zm170.67-4.28a8.26,8.26,0,0,1-.73,11.09,30,30,0,0,1-21.4,9.19c-17.65,0-32-16.15-32-36s14.36-36,32-36a30,30,0,0,1,21.4,9.19,8.26,8.26,0,0,1,.73,11.09,8,8,0,0,1-11.9.38A14.21,14.21,0,0,0,200.06,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.25,14.25,0,0,0,10.23-4.66A8,8,0,0,1,222.19,195.72ZM128,144c-17.65,0-32,16.15-32,36s14.37,36,32,36,32-16.15,32-36S145.69,144,128,144Zm0,56c-8.83,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.86,200,128,200Z"},null,-1),m8e=[f8e],g8e={key:3},h8e=Ee("path",{d:"M52,146H36a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6H52a34,34,0,0,0,0-68Zm0,56H42V158H52a22,22,0,0,1,0,44Zm168.15-5.46a6,6,0,0,1,.18,8.48A28.06,28.06,0,0,1,200,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.06,28.06,0,0,1,20.33,9,6,6,0,0,1-8.66,8.3A16.23,16.23,0,0,0,200,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a16.23,16.23,0,0,0,11.67-5.28A6,6,0,0,1,220.15,196.54ZM128,146c-16.54,0-30,15.25-30,34s13.46,34,30,34,30-15.25,30-34S144.54,146,128,146Zm0,56c-9.93,0-18-9.87-18-22s8.07-22,18-22,18,9.87,18,22S137.93,202,128,202ZM48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Z"},null,-1),_8e=[h8e],v8e={key:4},b8e=Ee("path",{d:"M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.65,0-32,16.15-32,36s14.35,36,32,36,32-16.15,32-36S145.65,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"},null,-1),y8e=[b8e],S8e={key:5},E8e=Ee("path",{d:"M52,148H36a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4H52a32,32,0,0,0,0-64Zm0,56H40V156H52a24,24,0,0,1,0,48Zm166.77-6a4,4,0,0,1,.12,5.66A26.11,26.11,0,0,1,200,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a26.11,26.11,0,0,1,18.89,8.36,4,4,0,1,1-5.78,5.54A18.15,18.15,0,0,0,200,156c-11,0-20,10.77-20,24s9,24,20,24a18.15,18.15,0,0,0,13.11-5.9A4,4,0,0,1,218.77,198ZM128,148c-15.44,0-28,14.36-28,32s12.56,32,28,32,28-14.36,28-32S143.44,148,128,148Zm0,56c-11,0-20-10.77-20-24s9-24,20-24,20,10.77,20,24S139,204,128,204ZM48,116a4,4,0,0,0,4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52v20a4,4,0,0,0,8,0V88a4,4,0,0,0-1.17-2.83l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72A4,4,0,0,0,48,116ZM156,41.65,198.34,84H156Z"},null,-1),C8e=[E8e],T8e={name:"PhFileDoc"},w8e=Ce({...T8e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",a8e,s8e)):l.value==="duotone"?(oe(),pe("g",l8e,d8e)):l.value==="fill"?(oe(),pe("g",p8e,m8e)):l.value==="light"?(oe(),pe("g",g8e,_8e)):l.value==="regular"?(oe(),pe("g",v8e,y8e)):l.value==="thin"?(oe(),pe("g",S8e,C8e)):ft("",!0)],16,i8e))}}),x8e=["width","height","fill","transform"],O8e={key:0},R8e=Ee("path",{d:"M200,164v8h12a12,12,0,0,1,0,24H200v12a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12h32a12,12,0,0,1,0,24ZM92,172a32,32,0,0,1-32,32H56v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12H60A32,32,0,0,1,92,172Zm-24,0a8,8,0,0,0-8-8H56v16h4A8,8,0,0,0,68,172Zm100,8a40,40,0,0,1-40,40H112a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,168,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,144,180ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88v20a12,12,0,0,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0ZM160,57V80h23Z"},null,-1),I8e=[R8e],A8e={key:1},N8e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),D8e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),P8e=[N8e,D8e],M8e={key:2},k8e=Ee("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z"},null,-1),$8e=[k8e],L8e={key:3},F8e=Ee("path",{d:"M222,152a6,6,0,0,1-6,6H190v20h18a6,6,0,0,1,0,12H190v18a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h32A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm84,8a34,34,0,0,1-34,34H112a6,6,0,0,1-6-6V152a6,6,0,0,1,6-6h16A34,34,0,0,1,162,180Zm-12,0a22,22,0,0,0-22-22H118v44h10A22,22,0,0,0,150,180ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z"},null,-1),B8e=[F8e],U8e={key:4},H8e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),z8e=[H8e],V8e={key:5},G8e=Ee("path",{d:"M220,152a4,4,0,0,1-4,4H188v24h20a4,4,0,0,1,0,8H188v20a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4h32A4,4,0,0,1,220,152ZM88,172a24,24,0,0,1-24,24H52v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4H64A24,24,0,0,1,88,172Zm-8,0a16,16,0,0,0-16-16H52v32H64A16,16,0,0,0,80,172Zm80,8a32,32,0,0,1-32,32H112a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h16A32,32,0,0,1,160,180Zm-8,0a24,24,0,0,0-24-24H116v48h12A24,24,0,0,0,152,180ZM44,112V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0ZM156,84h42.34L156,41.65Z"},null,-1),Y8e=[G8e],j8e={name:"PhFilePdf"},W8e=Ce({...j8e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",O8e,I8e)):l.value==="duotone"?(oe(),pe("g",A8e,P8e)):l.value==="fill"?(oe(),pe("g",M8e,$8e)):l.value==="light"?(oe(),pe("g",L8e,B8e)):l.value==="regular"?(oe(),pe("g",U8e,z8e)):l.value==="thin"?(oe(),pe("g",V8e,Y8e)):ft("",!0)],16,x8e))}}),q8e=["width","height","fill","transform"],K8e={key:0},Z8e=Ee("path",{d:"M232,152a12,12,0,0,1-12,12h-8v44a12,12,0,0,1-24,0V164h-8a12,12,0,0,1,0-24h40A12,12,0,0,1,232,152ZM92,172a32,32,0,0,1-32,32H56v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12H60A32,32,0,0,1,92,172Zm-24,0a8,8,0,0,0-8-8H56v16h4A8,8,0,0,0,68,172Zm96,0a32,32,0,0,1-32,32h-4v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12h16A32,32,0,0,1,164,172Zm-24,0a8,8,0,0,0-8-8h-4v16h4A8,8,0,0,0,140,172ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88v20a12,12,0,0,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0ZM160,80h23L160,57Z"},null,-1),Q8e=[Z8e],X8e={key:1},J8e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),e3e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H204v48a8,8,0,0,1-16,0V160H176a8,8,0,0,1,0-16h40A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm84,0a28,28,0,0,1-28,28h-8v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172Zm-16,0a12,12,0,0,0-12-12h-8v24h8A12,12,0,0,0,144,172ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),t3e=[J8e,e3e],n3e={key:2},r3e=Ee("path",{d:"M224,152.53a8.17,8.17,0,0,1-8.25,7.47H204v47.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V160H176.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h40A8,8,0,0,1,224,152.53ZM92,172.85C91.54,188.08,78.64,200,63.4,200H56v7.73A8.17,8.17,0,0,1,48.53,216,8,8,0,0,1,40,208V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172.85Zm-16-2A12.25,12.25,0,0,0,63.65,160H56v24h8A12,12,0,0,0,76,170.84Zm84,2C159.54,188.08,146.64,200,131.4,200H124v7.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172.85Zm-16-2A12.25,12.25,0,0,0,131.65,160H124v24h8A12,12,0,0,0,144,170.84ZM40,116V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v28a4,4,0,0,1-4,4H44A4,4,0,0,1,40,116ZM152,88h44L152,44Z"},null,-1),i3e=[r3e],a3e={key:3},o3e=Ee("path",{d:"M222,152a6,6,0,0,1-6,6H202v50a6,6,0,0,1-12,0V158H176a6,6,0,0,1,0-12h40A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm80,0a26,26,0,0,1-26,26H122v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h16A26,26,0,0,1,158,172Zm-12,0a14,14,0,0,0-14-14H122v28h10A14,14,0,0,0,146,172ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z"},null,-1),s3e=[o3e],l3e={key:4},c3e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H204v48a8,8,0,0,1-16,0V160H176a8,8,0,0,1,0-16h40A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm84,0a28,28,0,0,1-28,28h-8v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172Zm-16,0a12,12,0,0,0-12-12h-8v24h8A12,12,0,0,0,144,172ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),u3e=[c3e],d3e={key:5},p3e=Ee("path",{d:"M220,152a4,4,0,0,1-4,4H200v52a4,4,0,0,1-8,0V156H176a4,4,0,0,1,0-8h40A4,4,0,0,1,220,152ZM88,172a24,24,0,0,1-24,24H52v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4H64A24,24,0,0,1,88,172Zm-8,0a16,16,0,0,0-16-16H52v32H64A16,16,0,0,0,80,172Zm76,0a24,24,0,0,1-24,24H120v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4h16A24,24,0,0,1,156,172Zm-8,0a16,16,0,0,0-16-16H120v32h12A16,16,0,0,0,148,172ZM44,112V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0ZM156,84h42.34L156,41.65Z"},null,-1),f3e=[p3e],m3e={name:"PhFilePpt"},g3e=Ce({...m3e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",K8e,Q8e)):l.value==="duotone"?(oe(),pe("g",X8e,t3e)):l.value==="fill"?(oe(),pe("g",n3e,i3e)):l.value==="light"?(oe(),pe("g",a3e,s3e)):l.value==="regular"?(oe(),pe("g",l3e,u3e)):l.value==="thin"?(oe(),pe("g",d3e,f3e)):ft("",!0)],16,q8e))}}),h3e=["width","height","fill","transform"],_3e={key:0},v3e=Ee("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"},null,-1),b3e=[v3e],y3e={key:1},S3e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),E3e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1),C3e=[S3e,E3e],T3e={key:2},w3e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"},null,-1),x3e=[w3e],O3e={key:3},R3e=Ee("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"},null,-1),I3e=[R3e],A3e={key:4},N3e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1),D3e=[N3e],P3e={key:5},M3e=Ee("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"},null,-1),k3e=[M3e],$3e={name:"PhFileText"},L3e=Ce({...$3e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",_3e,b3e)):l.value==="duotone"?(oe(),pe("g",y3e,C3e)):l.value==="fill"?(oe(),pe("g",T3e,x3e)):l.value==="light"?(oe(),pe("g",O3e,I3e)):l.value==="regular"?(oe(),pe("g",A3e,D3e)):l.value==="thin"?(oe(),pe("g",P3e,k3e)):ft("",!0)],16,h3e))}}),F3e=["width","height","fill","transform"],B3e={key:0},U3e=Ee("path",{d:"M160,208a12,12,0,0,1-12,12H120a12,12,0,0,1-12-12V152a12,12,0,0,1,24,0v44h16A12,12,0,0,1,160,208ZM91,142.22A12,12,0,0,0,74.24,145L64,159.34,53.77,145a12,12,0,1,0-19.53,14l15,21-15,21A12,12,0,1,0,53.77,215L64,200.62,74.24,215A12,12,0,0,0,93.77,201l-15-21,15-21A12,12,0,0,0,91,142.22Zm122.53,32.05c-5.12-3.45-11.32-5.24-16.79-6.82a79.69,79.69,0,0,1-7.92-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,211,142a69,69,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.49,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2.48,2.48,0,0,1-.21.71c-1.37,1.55-9.58,1.79-16.39-.06a12,12,0,1,0-6.46,23.11A63.75,63.75,0,0,0,193.1,220c6.46,0,13.73-1.17,19.73-5.15a24.73,24.73,0,0,0,10.95-18C225,187.53,221.33,179.53,213.51,174.27ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z"},null,-1),H3e=[U3e],z3e={key:1},V3e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),G3e=Ee("path",{d:"M156,208a8,8,0,0,1-8,8H120a8,8,0,0,1-8-8V152a8,8,0,0,1,16,0v48h20A8,8,0,0,1,156,208ZM92.65,145.49a8,8,0,0,0-11.16,1.86L68,166.24,54.51,147.35a8,8,0,1,0-13,9.3L58.17,180,41.49,203.35a8,8,0,0,0,13,9.3L68,193.76l13.49,18.89a8,8,0,0,0,13-9.3L77.83,180l16.68-23.35A8,8,0,0,0,92.65,145.49Zm98.94,25.82c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.94c-2,15.89,13.65,20.42,23,23.12,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.15,3.93-4.6,3.06-15.16,1.56-19.54.35A8,8,0,0,0,173.93,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z"},null,-1),Y3e=[V3e,G3e],j3e={key:2},W3e=Ee("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm4,164.53a8.18,8.18,0,0,1-8.25,7.47H120a8,8,0,0,1-8-8V152.27a8.18,8.18,0,0,1,7.47-8.25,8,8,0,0,1,8.53,8v48h20A8,8,0,0,1,156,208.53ZM94.51,156.65,77.83,180l16.68,23.35a8,8,0,0,1-13,9.3L68,193.76,54.51,212.65a8,8,0,1,1-13-9.3L58.17,180,41.49,156.65a8,8,0,0,1,2.3-11.46,8.19,8.19,0,0,1,10.88,2.38L68,166.24l13.49-18.89a8,8,0,0,1,13,9.3Zm121.28,39.66a20.81,20.81,0,0,1-9.18,15.23C201.42,215,194.94,216,189.12,216a60.63,60.63,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.21,14.94,2.71,19.54-.35.89-.6,1.84-1.52,2.15-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,8.95-14.94c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.22-2.56-19.82.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.13,1.08,1.12,1.9,2.31,1.49,6.45,2.68,10.45,3.84C201.48,174.17,218,179,215.79,196.31Z"},null,-1),q3e=[W3e],K3e={key:3},Z3e=Ee("path",{d:"M154,208a6,6,0,0,1-6,6H120a6,6,0,0,1-6-6V152a6,6,0,1,1,12,0v50h22A6,6,0,0,1,154,208ZM91.48,147.11a6,6,0,0,0-8.36,1.39L68,169.67,52.88,148.5a6,6,0,1,0-9.76,7L60.63,180,43.12,204.5a6,6,0,1,0,9.76,7L68,190.31l15.12,21.16A6,6,0,0,0,88,214a5.91,5.91,0,0,0,3.48-1.12,6,6,0,0,0,1.4-8.37L75.37,180l17.51-24.51A6,6,0,0,0,91.48,147.11ZM191,173.22c-10.85-3.13-13.41-4.69-13-7.91a6.59,6.59,0,0,1,2.88-5.08c5.6-3.79,17.65-1.83,21.44-.84a6,6,0,0,0,3.07-11.6c-2-.54-20.1-5-31.21,2.48a18.64,18.64,0,0,0-8.08,13.54c-1.8,14.19,12.26,18.25,21.57,20.94,12.12,3.5,14.77,5.33,14.2,9.76a6.85,6.85,0,0,1-3,5.34c-5.61,3.73-17.48,1.64-21.19.62A6,6,0,0,0,174.47,212a59.41,59.41,0,0,0,14.68,2c5.49,0,11.54-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C215.83,180.39,200.91,176.08,191,173.22ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,1,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0ZM158,82H193.5L158,46.48Z"},null,-1),Q3e=[Z3e],X3e={key:4},J3e=Ee("path",{d:"M156,208a8,8,0,0,1-8,8H120a8,8,0,0,1-8-8V152a8,8,0,0,1,16,0v48h20A8,8,0,0,1,156,208ZM92.65,145.49a8,8,0,0,0-11.16,1.86L68,166.24,54.51,147.35a8,8,0,1,0-13,9.3L58.17,180,41.49,203.35a8,8,0,0,0,13,9.3L68,193.76l13.49,18.89a8,8,0,0,0,13-9.3L77.83,180l16.68-23.35A8,8,0,0,0,92.65,145.49Zm98.94,25.82c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.72,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.15,3.93-4.6,3.06-15.16,1.55-19.54.35A8,8,0,0,0,173.93,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z"},null,-1),eFe=[J3e],tFe={key:5},nFe=Ee("path",{d:"M152,208a4,4,0,0,1-4,4H120a4,4,0,0,1-4-4V152a4,4,0,0,1,8,0v52h24A4,4,0,0,1,152,208ZM90.32,148.75a4,4,0,0,0-5.58.92L68,173.12,51.25,149.67a4,4,0,0,0-6.5,4.66L63.08,180,44.75,205.67a4,4,0,0,0,.93,5.58A3.91,3.91,0,0,0,48,212a4,4,0,0,0,3.25-1.67L68,186.88l16.74,23.45A4,4,0,0,0,88,212a3.91,3.91,0,0,0,2.32-.75,4,4,0,0,0,.93-5.58L72.91,180l18.34-25.67A4,4,0,0,0,90.32,148.75Zm100.17,26.4c-10.53-3-15.08-4.91-14.43-10.08a8.57,8.57,0,0,1,3.75-6.49c6.26-4.23,18.77-2.24,23.07-1.11a4,4,0,0,0,2-7.74,61.33,61.33,0,0,0-10.48-1.61c-8.11-.54-14.54.75-19.09,3.82a16.63,16.63,0,0,0-7.22,12.13c-1.59,12.49,10.46,16,20.14,18.77,11.25,3.25,16.46,5.49,15.63,11.94a8.93,8.93,0,0,1-3.9,6.75c-6.28,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.7,57.7,0,0,0,189.19,212c5.17,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C213.63,181.84,200.26,178,190.49,175.15ZM204,92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0Zm-5.65-8L156,41.65V84Z"},null,-1),rFe=[nFe],iFe={name:"PhFileXls"},aFe=Ce({...iFe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",B3e,H3e)):l.value==="duotone"?(oe(),pe("g",z3e,Y3e)):l.value==="fill"?(oe(),pe("g",j3e,q3e)):l.value==="light"?(oe(),pe("g",K3e,Q3e)):l.value==="regular"?(oe(),pe("g",X3e,eFe)):l.value==="thin"?(oe(),pe("g",tFe,rFe)):ft("",!0)],16,F3e))}}),oFe=["width","height","fill","transform"],sFe={key:0},lFe=Ee("path",{d:"M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z"},null,-1),cFe=[lFe],uFe={key:1},dFe=Ee("path",{d:"M224,56V178.06l-39.72-39.72a8,8,0,0,0-11.31,0L147.31,164,97.66,114.34a8,8,0,0,0-11.32,0L32,168.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),pFe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"},null,-1),fFe=[dFe,pFe],mFe={key:2},gFe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z"},null,-1),hFe=[gFe],_Fe={key:3},vFe=Ee("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V163.57L188.53,134.1a14,14,0,0,0-19.8,0l-21.42,21.42L101.9,110.1a14,14,0,0,0-19.8,0L38,154.2V56A2,2,0,0,1,40,54ZM38,200V171.17l52.58-52.58a2,2,0,0,1,2.84,0L176.83,202H40A2,2,0,0,1,38,200Zm178,2H193.8l-38-38,21.41-21.42a2,2,0,0,1,2.83,0l38,38V200A2,2,0,0,1,216,202ZM146,100a10,10,0,1,1,10,10A10,10,0,0,1,146,100Z"},null,-1),bFe=[vFe],yFe={key:4},SFe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"},null,-1),EFe=[SFe],CFe={key:5},TFe=Ee("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V168.4l-32.89-32.89a12,12,0,0,0-17,0l-22.83,22.83-46.82-46.83a12,12,0,0,0-17,0L36,159V56A4,4,0,0,1,40,52ZM36,200V170.34l53.17-53.17a4,4,0,0,1,5.66,0L181.66,204H40A4,4,0,0,1,36,200Zm180,4H193l-40-40,22.83-22.83a4,4,0,0,1,5.66,0L220,179.71V200A4,4,0,0,1,216,204ZM148,100a8,8,0,1,1,8,8A8,8,0,0,1,148,100Z"},null,-1),wFe=[TFe],xFe={name:"PhImage"},OFe=Ce({...xFe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",sFe,cFe)):l.value==="duotone"?(oe(),pe("g",uFe,fFe)):l.value==="fill"?(oe(),pe("g",mFe,hFe)):l.value==="light"?(oe(),pe("g",_Fe,bFe)):l.value==="regular"?(oe(),pe("g",yFe,EFe)):l.value==="thin"?(oe(),pe("g",CFe,wFe)):ft("",!0)],16,oFe))}}),RFe=["width","height","fill","transform"],IFe={key:0},AFe=Ee("path",{d:"M160,88a16,16,0,1,1,16,16A16,16,0,0,1,160,88Zm76-32V160a20,20,0,0,1-20,20H204v20a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V88A20,20,0,0,1,40,68H60V56A20,20,0,0,1,80,36H216A20,20,0,0,1,236,56ZM180,180H80a20,20,0,0,1-20-20V92H44V196H180Zm-21.66-24L124,121.66,89.66,156ZM212,60H84v67.72l25.86-25.86a20,20,0,0,1,28.28,0L192.28,156H212Z"},null,-1),NFe=[AFe],DFe={key:1},PFe=Ee("path",{d:"M224,56v82.06l-23.72-23.72a8,8,0,0,0-11.31,0L163.31,140,113.66,90.34a8,8,0,0,0-11.32,0L64,128.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),MFe=Ee("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,56H216v62.75l-10.07-10.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L72,109.37ZM184,200H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V132l36-36,49.66,49.66a8,8,0,0,0,11.31,0L194.63,120,216,141.38V168ZM160,84a12,12,0,1,1,12,12A12,12,0,0,1,160,84Z"},null,-1),kFe=[PFe,MFe],$Fe={key:2},LFe=Ee("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM172,72a12,12,0,1,1-12,12A12,12,0,0,1,172,72Zm12,128H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V120.69l30.34-30.35a8,8,0,0,1,11.32,0L163.31,140,189,114.34a8,8,0,0,1,11.31,0L216,130.07V168Z"},null,-1),FFe=[LFe],BFe={key:3},UFe=Ee("path",{d:"M216,42H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H184a14,14,0,0,0,14-14V182h18a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM70,56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v67.57L204.53,110.1a14,14,0,0,0-19.8,0l-21.42,21.41L117.9,86.1a14,14,0,0,0-19.8,0L70,114.2ZM186,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V88a2,2,0,0,1,2-2H58v82a14,14,0,0,0,14,14H186Zm30-30H72a2,2,0,0,1-2-2V131.17l36.58-36.58a2,2,0,0,1,2.83,0l49.66,49.66a6,6,0,0,0,8.49,0l25.65-25.66a2,2,0,0,1,2.83,0l22,22V168A2,2,0,0,1,216,170ZM162,84a10,10,0,1,1,10,10A10,10,0,0,1,162,84Z"},null,-1),HFe=[UFe],zFe={key:4},VFe=Ee("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,56H216v62.75l-10.07-10.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L72,109.37ZM184,200H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V132l36-36,49.66,49.66a8,8,0,0,0,11.31,0L194.63,120,216,141.38V168ZM160,84a12,12,0,1,1,12,12A12,12,0,0,1,160,84Z"},null,-1),GFe=[VFe],YFe={key:5},jFe=Ee("path",{d:"M216,44H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12V180h20a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM68,56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v72.4l-16.89-16.89a12,12,0,0,0-17,0l-22.83,22.83L116.49,87.51a12,12,0,0,0-17,0L68,119ZM188,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4H60v84a12,12,0,0,0,12,12H188Zm28-28H72a4,4,0,0,1-4-4V130.34l37.17-37.17a4,4,0,0,1,5.66,0l49.66,49.66a4,4,0,0,0,5.65,0l25.66-25.66a4,4,0,0,1,5.66,0L220,139.71V168A4,4,0,0,1,216,172ZM164,84a8,8,0,1,1,8,8A8,8,0,0,1,164,84Z"},null,-1),WFe=[jFe],qFe={name:"PhImages"},KFe=Ce({...qFe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",IFe,NFe)):l.value==="duotone"?(oe(),pe("g",DFe,kFe)):l.value==="fill"?(oe(),pe("g",$Fe,FFe)):l.value==="light"?(oe(),pe("g",BFe,HFe)):l.value==="regular"?(oe(),pe("g",zFe,GFe)):l.value==="thin"?(oe(),pe("g",YFe,WFe)):ft("",!0)],16,RFe))}}),ZFe=["width","height","fill","transform"],QFe={key:0},XFe=Ee("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"},null,-1),JFe=[XFe],eBe={key:1},tBe=Ee("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),nBe=Ee("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"},null,-1),rBe=[tBe,nBe],iBe={key:2},aBe=Ee("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"},null,-1),oBe=[aBe],sBe={key:3},lBe=Ee("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),cBe=[lBe],uBe={key:4},dBe=Ee("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},null,-1),pBe=[dBe],fBe={key:5},mBe=Ee("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),gBe=[mBe],hBe={name:"PhInfo"},_Be=Ce({...hBe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",QFe,JFe)):l.value==="duotone"?(oe(),pe("g",eBe,rBe)):l.value==="fill"?(oe(),pe("g",iBe,oBe)):l.value==="light"?(oe(),pe("g",sBe,cBe)):l.value==="regular"?(oe(),pe("g",uBe,pBe)):l.value==="thin"?(oe(),pe("g",fBe,gBe)):ft("",!0)],16,ZFe))}}),vBe=["width","height","fill","transform"],bBe={key:0},yBe=Ee("path",{d:"M168,120a12,12,0,0,1-5.12,9.83l-40,28A12,12,0,0,1,104,148V92a12,12,0,0,1,18.88-9.83l40,28A12,12,0,0,1,168,120Zm68-56V176a28,28,0,0,1-28,28H48a28,28,0,0,1-28-28V64A28,28,0,0,1,48,36H208A28,28,0,0,1,236,64Zm-24,0a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V176a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4ZM160,216H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Z"},null,-1),SBe=[yBe],EBe={key:1},CBe=Ee("path",{d:"M208,48H48A16,16,0,0,0,32,64V176a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V64A16,16,0,0,0,208,48ZM112,152V88l48,32Z",opacity:"0.2"},null,-1),TBe=Ee("path",{d:"M208,40H48A24,24,0,0,0,24,64V176a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V64A24,24,0,0,0,208,40Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8Zm-48,48a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224Zm-3.56-110.66-48-32A8,8,0,0,0,104,88v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,137.05V103l25.58,17Z"},null,-1),wBe=[CBe,TBe],xBe={key:2},OBe=Ee("path",{d:"M168,224a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224ZM232,64V176a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V64A24,24,0,0,1,48,40H208A24,24,0,0,1,232,64Zm-68,56a8,8,0,0,0-3.41-6.55l-40-28A8,8,0,0,0,108,92v56a8,8,0,0,0,12.59,6.55l40-28A8,8,0,0,0,164,120Z"},null,-1),RBe=[OBe],IBe={key:3},ABe=Ee("path",{d:"M163.33,115l-48-32A6,6,0,0,0,106,88v64a6,6,0,0,0,9.33,5l48-32a6,6,0,0,0,0-10ZM118,140.79V99.21L149.18,120ZM208,42H48A22,22,0,0,0,26,64V176a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V64A22,22,0,0,0,208,42Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V64A10,10,0,0,1,48,54H208a10,10,0,0,1,10,10Zm-52,48a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,224Z"},null,-1),NBe=[ABe],DBe={key:4},PBe=Ee("path",{d:"M208,40H48A24,24,0,0,0,24,64V176a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V64A24,24,0,0,0,208,40Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8Zm-48,48a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224Zm-3.56-110.66-48-32A8,8,0,0,0,104,88v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,137.05V103l25.58,17Z"},null,-1),MBe=[PBe],kBe={key:5},$Be=Ee("path",{d:"M162.22,116.67l-48-32A4,4,0,0,0,108,88v64a4,4,0,0,0,2.11,3.53,4,4,0,0,0,4.11-.2l48-32a4,4,0,0,0,0-6.66ZM116,144.53V95.47L152.79,120ZM208,44H48A20,20,0,0,0,28,64V176a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V64A20,20,0,0,0,208,44Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V64A12,12,0,0,1,48,52H208a12,12,0,0,1,12,12Zm-56,48a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,224Z"},null,-1),LBe=[$Be],FBe={name:"PhMonitorPlay"},BBe=Ce({...FBe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",bBe,SBe)):l.value==="duotone"?(oe(),pe("g",EBe,wBe)):l.value==="fill"?(oe(),pe("g",xBe,RBe)):l.value==="light"?(oe(),pe("g",IBe,NBe)):l.value==="regular"?(oe(),pe("g",DBe,MBe)):l.value==="thin"?(oe(),pe("g",kBe,LBe)):ft("",!0)],16,vBe))}}),UBe=["width","height","fill","transform"],HBe={key:0},zBe=Ee("path",{d:"M200,28H160a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28Zm-4,176H164V52h32ZM96,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H96a20,20,0,0,0,20-20V48A20,20,0,0,0,96,28ZM92,204H60V52H92Z"},null,-1),VBe=[zBe],GBe={key:1},YBe=Ee("path",{d:"M208,48V208a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8h40A8,8,0,0,1,208,48ZM96,40H56a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z",opacity:"0.2"},null,-1),jBe=Ee("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"},null,-1),WBe=[YBe,jBe],qBe={key:2},KBe=Ee("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"},null,-1),ZBe=[KBe],QBe={key:3},XBe=Ee("path",{d:"M200,34H160a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V48A14,14,0,0,0,200,34Zm2,174a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h40a2,2,0,0,1,2,2ZM96,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H96a14,14,0,0,0,14-14V48A14,14,0,0,0,96,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H96a2,2,0,0,1,2,2Z"},null,-1),JBe=[XBe],e9e={key:4},t9e=Ee("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"},null,-1),n9e=[t9e],r9e={key:5},i9e=Ee("path",{d:"M200,36H160a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V48A12,12,0,0,0,200,36Zm4,172a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4ZM96,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4Z"},null,-1),a9e=[i9e],o9e={name:"PhPause"},s9e=Ce({...o9e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",HBe,VBe)):l.value==="duotone"?(oe(),pe("g",GBe,WBe)):l.value==="fill"?(oe(),pe("g",qBe,ZBe)):l.value==="light"?(oe(),pe("g",QBe,JBe)):l.value==="regular"?(oe(),pe("g",e9e,n9e)):l.value==="thin"?(oe(),pe("g",r9e,a9e)):ft("",!0)],16,UBe))}}),l9e=["width","height","fill","transform"],c9e={key:0},u9e=Ee("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"},null,-1),d9e=[u9e],p9e={key:1},f9e=Ee("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"},null,-1),m9e=Ee("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1),g9e=[f9e,m9e],h9e={key:2},_9e=Ee("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"},null,-1),v9e=[_9e],b9e={key:3},y9e=Ee("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"},null,-1),S9e=[y9e],E9e={key:4},C9e=Ee("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1),T9e=[C9e],w9e={key:5},x9e=Ee("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"},null,-1),O9e=[x9e],R9e={name:"PhPlay"},I9e=Ce({...R9e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",c9e,d9e)):l.value==="duotone"?(oe(),pe("g",p9e,g9e)):l.value==="fill"?(oe(),pe("g",h9e,v9e)):l.value==="light"?(oe(),pe("g",b9e,S9e)):l.value==="regular"?(oe(),pe("g",E9e,T9e)):l.value==="thin"?(oe(),pe("g",w9e,O9e)):ft("",!0)],16,l9e))}}),A9e=["width","height","fill","transform"],N9e={key:0},D9e=Ee("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"},null,-1),P9e=[D9e],M9e={key:1},k9e=Ee("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),$9e=Ee("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1),L9e=[k9e,$9e],F9e={key:2},B9e=Ee("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"},null,-1),U9e=[B9e],H9e={key:3},z9e=Ee("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"},null,-1),V9e=[z9e],G9e={key:4},Y9e=Ee("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1),j9e=[Y9e],W9e={key:5},q9e=Ee("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"},null,-1),K9e=[q9e],Z9e={name:"PhTrash"},Q9e=Ce({...Z9e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",N9e,P9e)):l.value==="duotone"?(oe(),pe("g",M9e,L9e)):l.value==="fill"?(oe(),pe("g",F9e,U9e)):l.value==="light"?(oe(),pe("g",H9e,V9e)):l.value==="regular"?(oe(),pe("g",G9e,j9e)):l.value==="thin"?(oe(),pe("g",W9e,K9e)):ft("",!0)],16,A9e))}}),X9e=["width","height","fill","transform"],J9e={key:0},e5e=Ee("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0ZM96.49,80.49,116,61v83a12,12,0,0,0,24,0V61l19.51,19.52a12,12,0,1,0,17-17l-40-40a12,12,0,0,0-17,0l-40,40a12,12,0,1,0,17,17Z"},null,-1),t5e=[e5e],n5e={key:1},r5e=Ee("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),i5e=Ee("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z"},null,-1),a5e=[r5e,i5e],o5e={key:2},s5e=Ee("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM88,80h32v64a8,8,0,0,0,16,0V80h32a8,8,0,0,0,5.66-13.66l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,88,80Z"},null,-1),l5e=[s5e],c5e={key:3},u5e=Ee("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0ZM92.24,76.24,122,46.49V144a6,6,0,0,0,12,0V46.49l29.76,29.75a6,6,0,0,0,8.48-8.48l-40-40a6,6,0,0,0-8.48,0l-40,40a6,6,0,0,0,8.48,8.48Z"},null,-1),d5e=[u5e],p5e={key:4},f5e=Ee("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z"},null,-1),m5e=[f5e],g5e={key:5},h5e=Ee("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0ZM90.83,74.83,124,41.66V144a4,4,0,0,0,8,0V41.66l33.17,33.17a4,4,0,1,0,5.66-5.66l-40-40a4,4,0,0,0-5.66,0l-40,40a4,4,0,0,0,5.66,5.66Z"},null,-1),_5e=[h5e],v5e={name:"PhUploadSimple"},b5e=Ce({...v5e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",J9e,t5e)):l.value==="duotone"?(oe(),pe("g",n5e,a5e)):l.value==="fill"?(oe(),pe("g",o5e,l5e)):l.value==="light"?(oe(),pe("g",c5e,d5e)):l.value==="regular"?(oe(),pe("g",p5e,m5e)):l.value==="thin"?(oe(),pe("g",g5e,_5e)):ft("",!0)],16,X9e))}}),y5e=["width","height","fill","transform"],S5e={key:0},E5e=Ee("path",{d:"M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z"},null,-1),C5e=[E5e],T5e={key:1},w5e=Ee("path",{d:"M208,96v64H48V96Z",opacity:"0.2"},null,-1),x5e=Ee("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"},null,-1),O5e=[w5e,x5e],R5e={key:2},I5e=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z"},null,-1),A5e=[I5e],N5e={key:3},D5e=Ee("path",{d:"M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z"},null,-1),P5e=[D5e],M5e={key:4},k5e=Ee("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"},null,-1),$5e=[k5e],L5e={key:5},F5e=Ee("path",{d:"M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z"},null,-1),B5e=[F5e],U5e={name:"PhWaveform"},H5e=Ce({...U5e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",S5e,C5e)):l.value==="duotone"?(oe(),pe("g",T5e,O5e)):l.value==="fill"?(oe(),pe("g",R5e,A5e)):l.value==="light"?(oe(),pe("g",N5e,P5e)):l.value==="regular"?(oe(),pe("g",M5e,$5e)):l.value==="thin"?(oe(),pe("g",L5e,B5e)):ft("",!0)],16,y5e))}}),z5e=["width","height","fill","transform"],V5e={key:0},G5e=Ee("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"},null,-1),Y5e=[G5e],j5e={key:1},W5e=Ee("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),q5e=Ee("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),K5e=[W5e,q5e],Z5e={key:2},Q5e=Ee("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),X5e=[Q5e],J5e={key:3},eUe=Ee("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"},null,-1),tUe=[eUe],nUe={key:4},rUe=Ee("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),iUe=[rUe],aUe={key:5},oUe=Ee("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"},null,-1),sUe=[oUe],lUe={name:"PhX"},cUe=Ce({...lUe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",V5e,Y5e)):l.value==="duotone"?(oe(),pe("g",j5e,K5e)):l.value==="fill"?(oe(),pe("g",Z5e,X5e)):l.value==="light"?(oe(),pe("g",J5e,tUe)):l.value==="regular"?(oe(),pe("g",nUe,iUe)):l.value==="thin"?(oe(),pe("g",aUe,sUe)):ft("",!0)],16,z5e))}}),uUe={key:0,class:"label"},dUe={key:0},pUe=Ce({__name:"Label",props:{label:{},required:{type:Boolean},hint:{}},setup(e){return(t,n)=>t.label?(oe(),pe("h3",uUe,[Zn(Qt(t.label)+" ",1),t.required?(oe(),pe("span",dUe," * ")):ft("",!0),t.hint?(oe(),Rn(je(zo),{key:1,class:"hint",title:t.hint},{default:pn(()=>[x(je(_Be),{size:"16px",height:"100%"})]),_:1},8,["title"])):ft("",!0)])):ft("",!0)}});const kn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Fn=kn(pUe,[["__scopeId","data-v-16be3530"]]),fUe={class:"appointment-input"},mUe={style:{position:"relative","min-width":"200px","min-height":"200px",height:"100%","overflow-y":"auto"}},gUe={style:{display:"flex","flex-direction":"column",position:"absolute",top:"0",bottom:"0",left:"0",right:"0",gap:"4px"}},hUe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e;function r(m){return tr(m.begin)}function i(){return n.userProps.value?r(n.userProps.slots[n.userProps.value]):r(n.userProps.slots.sort((m,h)=>new Date(m.begin).getTime()-new Date(h.begin).getTime())[0])}const a=i(),l=Oe(a),s=$(()=>{const m=l.value;return n.userProps.slots.reduce((h,v,b)=>new Date(v.begin).getDate()===m.date()&&new Date(v.begin).getMonth()===m.month()&&new Date(v.begin).getFullYear()===m.year()?[...h,{slot:v,idx:b}]:h,[])}),u=$(()=>{const{min:m,max:h}=n.userProps.slots.reduce((v,b)=>{const y=tr(b.start).startOf("day"),S=tr(b.end).startOf("day");return(!v.min||y.isBefore(v.min))&&(v.min=y),(!v.max||S.isAfter(v.max))&&(v.max=S),v},{min:null,max:null});return[m,h.add(1,"day")]});function o(m){const h=m.month(),v=m.year(),b=n.userProps.slots.find(y=>{const S=tr(y.begin);return S.month()===h&&S.year()===v});return tr((b==null?void 0:b.begin)||m)}const c=Oe(!1);function d(m){if(c.value){c.value=!1;return}l.value=m}function p(m){c.value=!0;const h=tr(m);l.value=o(h)}function f(m){t("update:value",m)}function g(m){return!n.userProps.slots.some(h=>m.isSame(tr(h.begin),"day"))}return(m,h)=>(oe(),pe(tt,null,[x(Fn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ee("div",fUe,[x(je(RTe),{value:l.value,"disabled-date":g,fullscreen:!1,"valid-range":u.value,"default-value":je(a),onSelect:d,onPanelChange:p},null,8,["value","valid-range","default-value"]),s.value.length>0?(oe(),Rn(je(Jke),{key:0,vertical:"",gap:"small"},{default:pn(()=>[x(je(sI),{level:4},{default:pn(()=>[Zn("Available slots")]),_:1}),Ee("div",mUe,[Ee("div",gUe,[(oe(!0),pe(tt,null,Di(s.value,({slot:v,idx:b})=>(oe(),Rn(je(fr),{key:b,type:b===m.userProps.value?"primary":"default",onClick:y=>f(b)},{default:pn(()=>[Zn(Qt(je(tr)(v.begin).format("hh:mm A"))+" - "+Qt(je(tr)(v.end).format("hh:mm A")),1)]),_:2},1032,["type","onClick"]))),128))])])]),_:1})):(oe(),Rn(je(ec),{key:1,description:"No slots available"}))])],64))}});const _Ue=kn(hUe,[["__scopeId","data-v-6d1cdd29"]]),vUe={class:"container"},bUe=Ce({__name:"FileIcon",props:{ctrl:{},file:{},size:{}},setup(e){return(t,n)=>(oe(),pe("div",vUe,[(oe(),Rn(hu(t.ctrl.iconPreview(t.file)),{size:t.size},null,8,["size"]))]))}});const xz=kn(bUe,[["__scopeId","data-v-27e5e807"]]),yUe="modulepreload",SUe=function(e){return"/"+e},ML={},Py=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=SUe(a),a in ML)return;ML[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const o=document.createElement("link");if(o.rel=l?"stylesheet":yUe,l||(o.as="script",o.crossOrigin=""),o.href=a,document.head.appendChild(o),l)return new Promise((c,d)=>{o.addEventListener("load",c),o.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},EUe={key:0},CUe=Ee("p",null,"Unsupported file type",-1),TUe=[CUe],wUe=["src"],xUe={key:2,style:{width:"100%",height:"auto"},controls:"",preload:"metadata"},OUe=["src","type"],RUe={key:3,style:{width:"100%"},controls:"",preload:"metadata"},IUe=["src","type"],AUe=["src","type"],NUe={key:5},Oz=Ce({__name:"Preview",props:{ctrl:{}},setup(e){const t=e,n=Oe({hasPreview:!1,filename:"",src:"",previewType:"",file:t.ctrl.state.value.file}),r=Oe();ze(t.ctrl.state,async()=>{const a=t.ctrl.state.value.file;if(n.value.file=a,n.value.hasPreview=t.ctrl.hasPreview(a),n.value.filename=t.ctrl.fileName(a),n.value.src=t.ctrl.fileSrc(a),n.value.previewType=t.ctrl.typeof(a.type),n.value.previewType==="Code"||n.value.previewType==="Text"){const l=await t.ctrl.fetchTextContent(a);i(r.value,l)}});const i=async(a,l,s)=>{(await Py(()=>import("./editor.main.93aaceec.js"),["assets/editor.main.93aaceec.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(a,{language:s,value:l,minimap:{enabled:!1},readOnly:!0,contextmenu:!1,automaticLayout:!0,tabSize:4,renderWhitespace:"none",guides:{indentation:!1},theme:"vs",fontFamily:"monospace",lineNumbers:"on",scrollBeyondLastColumn:5,scrollBeyondLastLine:!1,renderLineHighlight:"all",scrollbar:{alwaysConsumeMouseWheel:!1}})};return(a,l)=>a.ctrl.state.value.open?(oe(),Rn(je(Na),{key:0,open:!0,title:n.value.filename,onCancel:a.ctrl.close,style:{"max-width":"80dvw","min-width":"40dvw",height:"auto"}},{footer:pn(()=>[]),default:pn(()=>[n.value.hasPreview?n.value.previewType==="Image"?(oe(),pe("img",{key:1,style:{width:"100%"},src:n.value.src},null,8,wUe)):n.value.previewType==="Video"?(oe(),pe("video",xUe,[Ee("source",{src:n.value.src,type:n.value.file.type},null,8,OUe)])):n.value.previewType==="Audio"?(oe(),pe("audio",RUe,[Ee("source",{src:n.value.src,type:n.value.file.type},null,8,IUe)])):n.value.previewType==="PDF"?(oe(),pe("embed",{key:4,style:{width:"100%","min-height":"60dvh"},src:n.value.src,type:n.value.file.type},null,8,AUe)):n.value.previewType==="Text"||n.value.previewType==="Code"?(oe(),pe("div",NUe,[Ee("div",{ref_key:"editor",ref:r,style:{width:"100%","min-height":"40dvh"}},null,512)])):ft("",!0):(oe(),pe("div",EUe,TUe))]),_:1},8,["title","onCancel"])):ft("",!0)}}),DUe=["Text","Image","Code","PDF","Video","Audio"];function PUe(e){return DUe.includes(e)}const MUe={Text:L3e,Image:OFe,Code:C4e,PDF:W8e,Video:BBe,Audio:H5e,Archive:k6e,Document:w8e,Presentation:g3e,Spreadsheet:aFe,Unknown:r8e};class Rz{constructor(){yn(this,"state");yn(this,"open",t=>{this.state.value={open:!0,file:t}});yn(this,"close",()=>{this.state.value.open=!1});yn(this,"hasPreview",t=>{const n=this.typeof(t.type);if(!PUe(n))return!1;switch(n){case"Text":case"Image":case"Code":return!0;case"PDF":return window.navigator.pdfViewerEnabled;case"Video":return document.createElement("video").canPlayType(t.type||"")!=="";case"Audio":return document.createElement("audio").canPlayType(t.type||"")!==""}});yn(this,"fileName",t=>(t==null?void 0:t.name)||"");yn(this,"fileSrc",t=>"/_files/"+(t==null?void 0:t.response[0]));yn(this,"fileThumbnail",t=>this.hasPreview(t)?this.fileSrc(t):"");yn(this,"typeof",t=>{if(!t)return"Unknown";if(t==="application/pdf")return"PDF";switch(t.split("/")[0]){case"audio":return"Audio";case"video":return"Video";case"image":return"Image"}if(t.includes("spreadsheet")||t.includes("excel")||t.includes(".sheet"))return"Spreadsheet";if(t.includes(".document"))return"Document";if(t.includes(".presentation"))return"Presentation";switch(t){case"text/plain":case"text/markdown":case"text/csv":return"Text";case"application/zip":case"application/vnd.rar":case"application/x-7z-compressed":case"application/x-tar":case"application/gzip":return"Archive";case"text/html":case"text/css":case"text/x-python-script":case"application/javascript":case"application/typescript":case"application/json":case"application/xml":case"application/x-yaml":case"application/toml":return"Code"}return"Unknown"});yn(this,"handlePreview",t=>{this.hasPreview(t)&&this.open(t)});yn(this,"fetchTextContent",async t=>{const n=this.fileSrc(t);return await(await window.fetch(n)).text()});yn(this,"iconPreview",t=>{const n=this.typeof(t.type);return MUe[n]});this.state=Oe({open:!1,file:{uid:"",name:"",status:"done",response:[],url:"",type:"",size:0}})}}const kUe=[{key:"en",value:"English"},{key:"pt",value:"Portuguese"},{key:"es",value:"Spanish"},{key:"de",value:"German"},{key:"fr",value:"French"},{key:"hi",value:"Hindi"}],d0={i18n_camera_input_take_photo:()=>({en:"Take photo",pt:"Tirar foto",es:"Tomar foto",de:"Foto aufnehmen",fr:"Prendre une photo",hi:"\u092B\u094B\u091F\u094B \u0932\u0947\u0902"}),i18n_camera_input_try_again:()=>({en:"Try again",pt:"Tentar novamente",es:"Intentar de nuevo",de:"Erneut versuchen",fr:"R\xE9essayer",hi:"\u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902"}),i18n_upload_area_click_or_drop_files:()=>({en:"Click or drag file here to upload",pt:"Clique ou arraste o arquivo aqui para fazer upload",es:"Haz clic o arrastra el archivo aqu\xED para subirlo",de:"Klicken oder ziehen Sie die Datei hierher, um sie hochzuladen",fr:"Cliquez ou faites glisser le fichier ici pour le t\xE9l\xE9charger",hi:"\u0905\u092A\u0932\u094B\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092F\u0939\u093E\u0901 \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902 \u092F\u093E \u092B\u093C\u093E\u0907\u0932 \u0916\u0940\u0902\u091A\u0947\u0902"}),i18n_upload_area_drop_here:()=>({en:"Drop files",pt:"Solte os arquivos",es:"Suelta los archivos",de:"Dateien ablegen",fr:"D\xE9poser les fichiers",hi:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902"}),i18n_upload_area_rejected_file_extension:e=>({en:`Invalid file extension. Expected formats: ${e.formats}`,pt:`Extens\xE3o de arquivo inv\xE1lida. Formatos aceitos: ${e.formats}`,es:`Extensi\xF3n de archivo inv\xE1lida. Formatos aceptados: ${e.formats}`,de:`Ung\xFCltige Dateierweiterung. Akzeptierte Formate: ${e.formats}`,fr:`Extension de fichier invalide. Formats accept\xE9s: ${e.formats}`,hi:`\u0905\u092E\u093E\u0928\u094D\u092F \u092B\u093C\u093E\u0907\u0932 \u090F\u0915\u094D\u0938\u091F\u0947\u0902\u0936\u0928\u0964 \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092B\u093C\u0949\u0930\u094D\u092E\u0947\u091F\u094D\u0938: ${e.formats}`}),i18n_upload_max_size_excided:e=>({en:`File ${e.fileName} exceeds size limit of ${e.maxSize}MB`,pt:`Arquivo ${e.fileName} excede o limite de tamanho de ${e.maxSize}MB`,es:`El archivo ${e.fileName} excede el l\xEDmite de tama\xF1o de ${e.maxSize}MB`,de:`Die Datei ${e.fileName} \xFCberschreitet das Gr\xF6\xDFenlimit von ${e.maxSize}MB`,fr:`Le fichier ${e.fileName} d\xE9passe la limite de taille de ${e.maxSize}MB`,hi:`\u092B\u093C\u093E\u0907\u0932 ${e.fileName} ${e.maxSize}MB \u0915\u0940 \u0938\u0940\u092E\u093E \u0938\u0947 \u0905\u0927\u093F\u0915 \u0939\u0948`}),i18n_upload_failed:e=>({en:`File upload failed for ${e.fileName}`,pt:`Falha ao enviar arquivo ${e.fileName}`,es:`Error al subir archivo ${e.fileName}`,de:`Datei-Upload fehlgeschlagen f\xFCr ${e.fileName}`,fr:`\xC9chec du t\xE9l\xE9chargement du fichier ${e.fileName}`,hi:`${e.fileName} \u0915\u0947 \u0932\u093F\u090F \u092B\u093C\u093E\u0907\u0932 \u0905\u092A\u0932\u094B\u0921 \u0935\u093F\u092B\u0932 \u0930\u0939\u093E`}),i18n_login_with_this_project:()=>({en:"Use this project",pt:"Usar este projeto",es:"Usar este proyecto",de:"Dieses Projekt verwenden",fr:"Utiliser ce projet",hi:"\u0907\u0938 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902"}),i18n_watermark_text:()=>({en:"Coded in Python with",pt:"Escrito em Python com",es:"Escrito en Python con",de:"In Python mit",fr:"Cod\xE9 en Python avec",hi:"\u092A\u093E\u092F\u0925\u0928 \u092E\u0947\u0902 \u0932\u093F\u0916\u093E \u0917\u092F\u093E"}),i18n_error_invalid_email:()=>({en:"This email is invalid.",pt:"Este email \xE9 inv\xE1lido.",es:"Este email es inv\xE1lido.",de:"Diese E-Mail ist ung\xFCltig.",fr:"Cet email est invalide.",hi:"\u092F\u0939 \u0908\u092E\u0947\u0932 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_required_field:()=>({en:"This field is required.",pt:"Este campo \xE9 obrigat\xF3rio.",es:"Este campo es obligatorio.",de:"Dieses Feld ist erforderlich.",fr:"Ce champ est obligatoire.",hi:"\u092F\u0939 \u092B\u093C\u0940\u0932\u094D\u0921 \u0906\u0935\u0936\u094D\u092F\u0915 \u0939\u0948\u0964"}),i18n_error_invalid_cnpj:()=>({en:"This CNPJ is invalid.",pt:"Este CNPJ \xE9 inv\xE1lido.",es:"Este CNPJ es inv\xE1lido.",de:"Diese CNPJ ist ung\xFCltig.",fr:"Ce CNPJ est invalide.",hi:"\u092F\u0939 CNPJ \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_invalid_cpf:()=>({en:"This CPF is invalid.",pt:"Este CPF \xE9 inv\xE1lido.",es:"Este CPF es inv\xE1lido.",de:"Diese CPF ist ung\xFCltig.",fr:"Ce CPF est invalide.",hi:"\u092F\u0939 CPF \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_invalid_phone_number:()=>({en:"This phone number is invalid.",pt:"Este n\xFAmero de telefone \xE9 inv\xE1lido.",es:"Este n\xFAmero de tel\xE9fono es inv\xE1lido.",de:"Diese Telefonnummer ist ung\xFCltig.",fr:"Ce num\xE9ro de t\xE9l\xE9phone est invalide.",hi:"\u092F\u0939 \u092B\u093C\u094B\u0928 \u0928\u0902\u092C\u0930 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_invalid_country_code:()=>({en:"This country code is invalid.",pt:"Este c\xF3digo de pa\xEDs \xE9 inv\xE1lido.",es:"Este c\xF3digo de pa\xEDs es inv\xE1lido.",de:"Dieser L\xE4ndercode ist ung\xFCltig.",fr:"Ce code de pays est invalide.",hi:"\u092F\u0939 \u0926\u0947\u0936 \u0915\u094B\u0921 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_min_list:e=>({en:`The minimum number of items is ${e.min}.`,pt:`O n\xFAmero m\xEDnimo de itens \xE9 ${e.min}.`,es:`El n\xFAmero m\xEDnimo de \xEDtems es ${e.min}.`,de:`Die Mindestanzahl an Elementen betr\xE4gt ${e.min}.`,fr:`Le nombre minimum d'\xE9l\xE9ments est ${e.min}.`,hi:`\u0906\u0907\u091F\u092E\u094B\u0902 \u0915\u0940 \u0928\u094D\u092F\u0942\u0928\u0924\u092E \u0938\u0902\u0916\u094D\u092F\u093E ${e.min} \u0939\u0948\u0964`}),i18n_error_max_list:e=>({en:`The maximum number of items is ${e.max}.`,pt:`O n\xFAmero m\xE1ximo de itens \xE9 ${e.max}.`,es:`El n\xFAmero m\xE1ximo de \xEDtems es ${e.max}.`,de:`Die maximale Anzahl an Elementen betr\xE4gt ${e.max}.`,fr:`Le nombre maximum d'\xE9l\xE9ments est ${e.max}.`,hi:`\u0906\u0907\u091F\u092E\u094B\u0902 \u0915\u0940 \u0905\u0927\u093F\u0915\u0924\u092E \u0938\u0902\u0916\u094D\u092F\u093E ${e.max} \u0939\u0948\u0964`}),i18n_error_invalid_list_item:()=>({en:"Some fields are invalid.",pt:"Alguns campos s\xE3o inv\xE1lidos.",es:"Algunos campos son inv\xE1lidos.",de:"Einige Felder sind ung\xFCltig.",fr:"Certains champs sont invalides.",hi:"\u0915\u0941\u091B \u092B\u093C\u0940\u0932\u094D\u0921 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0902\u0964"}),i18n_error_min_number:e=>({en:`The minimum value is ${e.min}.`,pt:`O valor m\xEDnimo \xE9 ${e.min}.`,es:`El valor m\xEDnimo es ${e.min}.`,de:`Der Mindestwert betr\xE4gt ${e.min}.`,fr:`La valeur minimale est ${e.min}.`,hi:`\u0928\u094D\u092F\u0942\u0928\u0924\u092E \u092E\u0942\u0932\u094D\u092F ${e.min} \u0939\u0948\u0964`}),i18n_error_max_number:e=>({en:`The maximum value is ${e.max}.`,pt:`O valor m\xE1ximo \xE9 ${e.max}.`,es:`El valor m\xE1ximo es ${e.max}.`,de:`Der maximale Wert betr\xE4gt ${e.max}.`,fr:`La valeur maximale est ${e.max}.`,hi:`\u0905\u0927\u093F\u0915\u0924\u092E \u092E\u0942$\u0932\u094D\u092F ${e.max} \u0939\u0948\u0964`}),i18n_error_max_amount:e=>({en:`The maximum amount is ${e.max} ${e.currency}.`,pt:`O valor m\xE1ximo \xE9 ${e.max} ${e.currency}.`,es:`El valor m\xE1ximo es ${e.max} ${e.currency}.`,de:`Der maximale Betrag betr\xE4gt ${e.max} ${e.currency}.`,fr:`Le montant maximum est ${e.max} ${e.currency}.`,hi:`\u0905\u0927\u093F\u0915\u0924\u092E \u0930\u093E\u0936\u093F ${e.max} ${e.currency} \u0939\u0948\u0964`}),i18n_error_min_amount:e=>({en:`The minimum amount is ${e.min} ${e.currency}.`,pt:`O valor m\xEDnimo \xE9 ${e.min} ${e.currency}.`,es:`El valor m\xEDnimo es ${e.min} ${e.currency}.`,de:`Der minimale Betrag betr\xE4gt ${e.min} ${e.currency}.`,fr:`Le montant minimum est ${e.min} ${e.currency}.`,hi:`\u0928\u094D\u092F\u0942\u0928\u0924\u092E \u0930\u093E\u0936\u093F ${e.min} ${e.currency} \u0939\u0948\u0964`}),i18n_generic_validation_error:()=>({en:"There are errors in the form.",pt:"Existem erros no formul\xE1rio.",es:"Hay errores en el formulario.",de:"Es gibt Fehler im Formular.",fr:"Il y a des erreurs dans le formulaire.",hi:"\u092B\u0949\u0930\u094D\u092E \u092E\u0947\u0902 \u0924\u094D\u0930\u0941\u091F\u093F\u092F\u093E\u0902 \u0939\u0948\u0902\u0964"}),i18n_back_action:()=>({en:"Back",pt:"Voltar",es:"Volver",de:"Zur\xFCck",fr:"Retour",hi:"\u0935\u093E\u092A\u0938"}),i18n_start_action:()=>({en:"Start",pt:"Iniciar",es:"Comenzar",de:"Starten",fr:"D\xE9marrer",hi:"\u0936\u0941\u0930\u0942"}),i18n_restart_action:()=>({en:"Restart",pt:"Reiniciar",es:"Reiniciar",de:"Neustarten",fr:"Red\xE9marrer",hi:"\u092A\u0941\u0928\u0903 \u0906\u0930\u0902\u092D \u0915\u0930\u0947\u0902"}),i18n_next_action:()=>({en:"Next",pt:"Pr\xF3ximo",es:"Siguiente",de:"N\xE4chster",fr:"Suivant",hi:"\u0905\u0917\u0932\u093E"}),i18n_end_message:()=>({en:"Thank you",pt:"Obrigado",es:"Gracias",de:"Danke",fr:"Merci",hi:"\u0927\u0928\u094D\u092F\u0935\u093E\u0926"}),i18n_error_message:()=>({en:"Oops... something went wrong.",pt:"Oops... algo deu errado.",es:"Oops... algo sali\xF3 mal.",de:"Oops... etwas ist schief gelaufen.",fr:"Oops... quelque chose s'est mal pass\xE9.",hi:"\u0909\u0939... \u0915\u0941\u091B \u0917\u0932\u0924 \u0939\u094B \u0917\u092F\u093E\u0964"}),i18n_lock_failed_running:()=>({en:"This form is already being filled",pt:"Este formul\xE1rio j\xE1 est\xE1 sendo preenchido",es:"Este formulario ya est\xE1 siendo completado",de:"Dieses Formular wird bereits ausgef\xFCllt",fr:"Ce formulaire est d\xE9j\xE0 en cours de remplissage",hi:"\u092F\u0939 \u092B\u0949\u0930\u094D\u092E \u092A\u0939\u0932\u0947 \u0938\u0947 \u092D\u0930 \u0930\u0939\u093E \u0939\u0948"}),i18n_lock_failed_not_running:()=>({en:"This form was already filled",pt:"Este formul\xE1rio j\xE1 foi preenchido",es:"Este formulario ya fue completado",de:"Dieses Formular wurde bereits ausgef\xFCllt",fr:"Ce formulaire a d\xE9j\xE0 \xE9t\xE9 rempli",hi:"\u092F\u0939 \u092B\u0949\u0930\u094D\u092E \u092A\u0939\u0932\u0947 \u0938\u0947 \u092D\u0930\u093E \u0917\u092F\u093E \u0925\u093E"}),i18n_auth_validate_your_email:()=>({en:"Validate your email",pt:"Valide seu email",es:"Valida tu email",de:"\xDCberpr\xFCfen Sie Ihre E-Mail",fr:"Validez votre email",hi:"\u0905\u092A\u0928\u093E \u0908\u092E\u0947\u0932 \u0938\u0924\u094D\u092F\u093E\u092A\u093F\u0924 \u0915\u0930\u0947\u0902"}),i18n_auth_info_description:()=>({en:"Please enter your work email and continue to receive a verification code.",pt:"Por favor, insira seu email de trabalho e continue para receber um c\xF3digo de verifica\xE7\xE3o.",es:"Por favor, introduce tu email de trabajo y contin\xFAa para recibir un c\xF3digo de verificaci\xF3n.",de:"Bitte geben Sie Ihre Arbeits-E-Mail-Adresse ein und fahren Sie fort, um einen Best\xE4tigungscode zu erhalten.",fr:"Veuillez entrer votre email de travail et continuer pour recevoir un code de v\xE9rification.",hi:"\u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u093E \u0915\u093E\u092E \u0915\u093E \u0908\u092E\u0947\u0932 \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902 \u0914\u0930 \u090F\u0915 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u091C\u093E\u0930\u0940 \u0930\u0916\u0947\u0902\u0964"}),i18n_auth_validate_your_email_login:e=>({en:`Login to ${e.brandName||"Abstra Project"}`,pt:`Entrar na ${e.brandName||"Abstra Project"}`,es:`Iniciar sesi\xF3n en ${e.brandName||"Abstra Project"}`,de:`Anmelden bei ${e.brandName||"Abstra Project"}`,fr:`Se connecter \xE0 ${e.brandName||"Abstra Project"}`,hi:`${e.brandName||"Abstra Project"} \u092E\u0947\u0902 \u0932\u0949\u0917 \u0907\u0928 \u0915\u0930\u0947\u0902`}),i18n_auth_enter_your_work_email:()=>({en:"Work email address",pt:"Endere\xE7o de email de trabalho",es:"Direcci\xF3n de correo electr\xF3nico de trabajo",de:"Arbeits-E-Mail-Adresse",fr:"Adresse e-mail professionnelle",hi:"\u0915\u093E\u092E \u0915\u093E \u0908\u092E\u0947\u0932 \u092A\u0924\u093E"}),i18n_auth_enter_your_email:()=>({en:"Email address",pt:"Endere\xE7o de email",es:"Direcci\xF3n de correo electr\xF3nico",de:"E-Mail-Adresse",fr:"Adresse e-mail",hi:"\u0908\u092E\u0947\u0932 \u092A\u0924\u093E"}),i18n_auth_enter_your_token:()=>({en:"Type your verification code",pt:"Digite seu c\xF3digo de verifica\xE7\xE3o",es:"Escribe tu c\xF3digo de verificaci\xF3n",de:"Geben Sie Ihren Best\xE4tigungscode ein",fr:"Tapez votre code de v\xE9rification",hi:"\u0905\u092A\u0928\u093E \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u091F\u093E\u0907\u092A \u0915\u0930\u0947\u0902"}),i18n_connectors_ask_for_access:e=>({en:`I would like to connect my ${e} account`,pt:`Gostaria de conectar minha conta ${e}`,es:`Me gustar\xEDa conectar mi cuenta de ${e}`,de:`Ich m\xF6chte mein ${e}-Konto verbinden`,fr:`Je voudrais connecter mon compte ${e}`,hi:`\u092E\u0948\u0902 \u0905\u092A\u0928\u093E ${e} \u0916\u093E\u0924\u093E \u0915\u0928\u0947\u0915\u094D\u091F \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0942\u0902\u0917\u093E`}),i18n_create_or_choose_project:()=>({en:"Select or create a new project",pt:"Selecione ou crie um novo projeto",es:"Selecciona o crea un nuevo proyecto",de:"W\xE4hlen oder erstellen Sie ein neues Projekt",fr:"S\xE9lectionnez ou cr\xE9ez un nouveau projet",hi:"\u090F\u0915 \u0928\u092F\u093E \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u091A\u0941\u0928\u0947\u0902 \u092F\u093E \u092C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_organization:()=>({en:"Organization",pt:"Organiza\xE7\xE3o",es:"Organizaci\xF3n",de:"Organisation",fr:"Organisation",hi:"\u0938\u0902\u0917\u0920\u0928"}),i18n_get_api_key_choose_organization:()=>({en:"Choose an organization",pt:"Escolha uma organiza\xE7\xE3o",es:"Elige una organizaci\xF3n",de:"W\xE4hlen Sie eine Organisation",fr:"Choisissez une organisation",hi:"\u090F\u0915 \u0938\u0902\u0917\u0920\u0928 \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_new_organization:()=>({en:"New organization",pt:"Nova organiza\xE7\xE3o",es:"Nueva organizaci\xF3n",de:"Neue Organisation",fr:"Nouvelle organisation",hi:"\u0928\u092F\u093E \u0938\u0902\u0917\u0920\u0928"}),i18n_get_api_key_existing_organizations:()=>({en:"Existing organizations",pt:"Organiza\xE7\xF5es existentes",es:"Organizaciones existentes",de:"Bestehende Organisationen",fr:"Organisations existantes",hi:"\u092E\u094C\u091C\u0942\u0926\u093E \u0938\u0902\u0917\u0920\u0928"}),i18n_get_api_key_organization_name:()=>({en:"Organization name",pt:"Nome da organiza\xE7\xE3o",es:"Nombre de la organizaci\xF3n",de:"Organisationsname",fr:"Nom de l'organisation",hi:"\u0938\u0902\u0917\u0920\u0928 \u0915\u093E \u0928\u093E\u092E"}),i18n_get_api_key_choose_organization_name:()=>({en:"Choose a name for your new organization",pt:"Escolha um nome para a sua nova organiza\xE7\xE3o",es:"Elige un nombre para tu nueva organizaci\xF3n",de:"W\xE4hlen Sie einen Namen f\xFCr Ihre neue Organisation",fr:"Choisissez un nom pour votre nouvelle organisation",hi:"\u0905\u092A\u0928\u0947 \u0928\u090F \u0938\u0902\u0917\u0920\u0928 \u0915\u093E \u0928\u093E\u092E \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_project:()=>({en:"Project",pt:"Projeto",es:"Proyecto",de:"Projekt",fr:"Projet",hi:"\u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E"}),i18n_get_api_key_choose_project:()=>({en:"Choose a project",pt:"Escolha um projeto",es:"Elige un proyecto",de:"W\xE4hlen Sie ein Projekt",fr:"Choisissez un projet",hi:"\u090F\u0915 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_project_name:()=>({en:"Project name",pt:"Nome do projeto",es:"Nombre del proyecto",de:"Projektname",fr:"Nom du projet",hi:"\u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0928\u093E\u092E"}),i18n_get_api_key_choose_project_name:()=>({en:"Choose a name for your new project",pt:"Escolha um nome para o seu novo projeto",es:"Elige un nombre para tu nuevo proyecto",de:"W\xE4hlen Sie einen Namen f\xFCr Ihr neues Projekt",fr:"Choisissez un nom pour votre nouveau projet",hi:"\u0905\u092A\u0928\u0947 \u0928\u090F \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0928\u093E\u092E \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_create_new_organization:()=>({en:"Create new organization",pt:"Criar nova organiza\xE7\xE3o",es:"Crear nueva organizaci\xF3n",de:"Neue Organisation erstellen",fr:"Cr\xE9er une nouvelle organisation",hi:"\u0928\u092F\u093E \u0938\u0902\u0917\u0920\u0928 \u092C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_new_project:()=>({en:"New project",pt:"Novo projeto",es:"Nuevo proyecto",de:"Neues Projekt",fr:"Nouveau projet",hi:"\u0928\u0908 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E"}),i18n_get_api_key_existing_projects:()=>({en:"Existing projects",pt:"Projetos existentes",es:"Proyectos existentes",de:"Bestehende Projekte",fr:"Projets existants",hi:"\u092E\u094C\u091C\u0942\u0926\u093E \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_create_new_project:()=>({en:"Create new project",pt:"Criar novo projeto",es:"Crear nuevo proyecto",de:"Neues Projekt erstellen",fr:"Cr\xE9er un nouveau projet",hi:"\u0928\u0908 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u092C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_api_key_info:()=>({en:"Use this API key to access your cloud resources.",pt:"Use esta chave de API para acessar seus recursos na nuvem.",es:"Utiliza esta clave de API para acceder a tus recursos en la nube.",de:"Verwenden Sie diesen API-Schl\xFCssel, um auf Ihre Cloud-Ressourcen zuzugreifen.",fr:"Utilisez cette cl\xE9 API pour acc\xE9der \xE0 vos ressources cloud.",hi:"\u0905\u092A\u0928\u0947 \u0915\u094D\u0932\u093E\u0909\u0921 \u0938\u0902\u0938\u093E\u0927\u0928\u094B\u0902 \u0924\u0915 \u092A\u0939\u0941\u0902\u091A \u0915\u0947 \u0932\u093F\u090F \u0907\u0938 API \u0915\u0941\u0902\u091C\u0940 \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902\u0964"}),i18n_get_api_key_api_key_warning:()=>({en:"This is a secret key. Do not share it with anyone and make sure to store it in a safe place.",pt:"Esta \xE9 uma chave secreta. N\xE3o a compartilhe com ningu\xE9m e certifique-se de armazen\xE1-la em um local seguro.",es:"Esta es una clave secreta. No la compartas con nadie y aseg\xFArate de guardarla en un lugar seguro.",de:"Dies ist ein geheimer Schl\xFCssel. Teilen Sie es nicht mit anderen und stellen Sie sicher, dass Sie es an einem sicheren Ort aufbewahren.",fr:"C'est une cl\xE9 secr\xE8te. Ne le partagez avec personne et assurez-vous de le stocker dans un endroit s\xFBr.",hi:"\u092F\u0939 \u090F\u0915 \u0917\u0941\u092A\u094D\u0924 \u0915\u0941\u0902\u091C\u0940 \u0939\u0948\u0964 \u0907\u0938\u0947 \u0915\u093F\u0938\u0940 \u0915\u0947 \u0938\u093E\u0925 \u0938\u093E\u091D\u093E \u0928 \u0915\u0930\u0947\u0902 \u0914\u0930 \u0938\u0941\u0928\u093F\u0936\u094D\u091A\u093F\u0924 \u0915\u0930\u0947\u0902 \u0915\u093F \u0906\u092A \u0907\u0938\u0947 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0938\u094D\u0925\u093E\u0928 \u092A\u0930 \u0938\u094D\u091F\u094B\u0930 \u0915\u0930\u0947\u0902\u0964"}),i18n_auth_info_invalid_email:()=>({en:"Invalid email, please try again.",pt:"Email inv\xE1lido, tente novamente.",es:"Email inv\xE1lido, int\xE9ntalo de nuevo.",de:"E-Mail ung\xFCltig, bitte versuchen Sie es erneut.",fr:"Email invalide, veuillez r\xE9essayer.",hi:"\u0908\u092E\u0947\u0932 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948, \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964"}),i18n_auth_info_send_code:()=>({en:"Send verification code",pt:"Enviar c\xF3digo de verifica\xE7\xE3o",es:"Enviar c\xF3digo de verificaci\xF3n",de:"Best\xE4tigungscode senden",fr:"Envoyer le code de v\xE9rification",hi:"\u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u092D\u0947\u091C\u0947\u0902"}),i18n_auth_token_label:e=>({en:`Check ${e.email}'s inbox and enter your verification code below`,pt:`Verifique a caixa de entrada de ${e.email} e insira o c\xF3digo de verifica\xE7\xE3o abaixo`,es:`Revisa la bandeja de entrada de ${e.email} y escribe el c\xF3digo de verificaci\xF3n abajo`,de:`\xDCberpr\xFCfen Sie den Posteingang von ${e.email} und geben Sie den Best\xE4tigungscode unten ein`,fr:`V\xE9rifiez la bo\xEEte de r\xE9ception de ${e.email} et entrez le code de v\xE9rification ci-dessous`,hi:`\u091C\u093E\u0901\u091A \u0915\u0930\u0947\u0902 ${e.email} \u0915\u0940 \u0907\u0928\u092C\u0949\u0915\u094D\u0938 \u0914\u0930 \u0928\u0940\u091A\u0947 \u0905\u092A\u0928\u093E \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902`}),i18n_auth_token_development_warning:()=>({en:"You\u2019re in development mode, any token will work",pt:"Voc\xEA est\xE1 em modo de desenvolvimento, qualquer token funcionar\xE1",es:"Est\xE1s en modo de desarrollo, cualquier token funcionar\xE1",de:"Sie sind im Entwicklungsmodus, jeder Token funktioniert",fr:"Vous \xEAtes en mode d\xE9veloppement, n\u2019importe quel token fonctionnera",hi:"\u0906\u092A \u0935\u093F\u0915\u093E\u0938 \u092E\u094B\u0921 \u092E\u0947\u0902 \u0939\u0948\u0902, \u0915\u094B\u0908 \u092D\u0940 \u091F\u094B\u0915\u0928 \u0915\u093E\u092E \u0915\u0930\u0947\u0917\u093E"}),i18n_auth_token_expired:()=>({en:"Token has expired, please retry sending it.",pt:"Token expirou, tente reenviar.",es:"Token ha expirado, int\xE9ntalo reenvi\xE1ndolo.",de:"Token ist abgelaufen, bitte versuchen Sie es erneut zu senden.",fr:"Token est expir\xE9, essayez de le renvoyer.",hi:"\u091F\u094B\u0915\u0928 \u0938\u092E\u092F \u0938\u0940\u092E\u093E \u0938\u092E\u093E\u092A\u094D\u0924, \u0907\u0938\u0947 \u092B\u093F\u0930 \u0938\u0947 \u092D\u0947\u091C\u0928\u0947 \u0915\u093E \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964"}),i18n_auth_token_invalid:()=>({en:"Invalid token, please try again or go back and change you email address.",pt:"Token inv\xE1lido, tente novamente ou volte e altere o seu endere\xE7o de email.",es:"Token inv\xE1lido, por favor intenta de nuevo o vuelve y cambia tu direcci\xF3n de correo electr\xF3nico.",de:"Token ung\xFCltig, bitte versuchen Sie es erneut oder gehen Sie zur\xFCck und \xE4ndern Sie Ihre E-Mail Adresse.",fr:"Token invalide, veuillez r\xE9essayer ou revenir en arri\xE8re et changez votre adresse e-mail.",hi:"\u091F\u094B\u0915\u0928 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948, \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902 \u092F\u093E \u0935\u093E\u092A\u0938 \u091C\u093E\u090F\u0902 \u0914\u0930 \u0906\u092A\u0915\u093E \u0908\u092E\u0947\u0932 \u092A\u0924\u093E \u092C\u0926\u0932\u0947\u0902\u0964"}),i18n_auth_token_verify_email:()=>({en:"Verify email",pt:"Verificar email",es:"Verificar email",de:"E-Mail verifizieren",fr:"V\xE9rifier email",hi:"\u0908\u092E\u0947\u0932 \u0938\u0924\u094D\u092F\u093E\u092A\u093F\u0924 \u0915\u0930\u0947\u0902"}),i18n_auth_edit_email:()=>({en:"Use another email",pt:"Usar outro email",es:"Usar otro email",de:"Eine andere E-Mail-Adresse verwenden",fr:"Utiliser un autre email",hi:"\u0926\u0942\u0938\u0930\u093E \u0908\u092E\u0947\u0932 \u092A\u094D\u0930\u092F\u094B\u0917 \u0915\u0930\u0947\u0902"}),i18n_auth_token_resend_email:()=>({en:"Send new code",pt:"Enviar novo c\xF3digo",es:"Enviar nuevo c\xF3digo",de:"Neuen Code senden",fr:"Envoyer un nouveau code",hi:"\u0928\u092F\u093E \u0915\u094B\u0921 \u092D\u0947\u091C\u0947\u0902"}),i18n_auth_token_footer_alternative_email:()=>({en:"If you haven't received the verification code, please check your spam folder",pt:"Se voc\xEA n\xE3o recebeu o c\xF3digo de verifica\xE7\xE3o, verifique sua caixa de spam",es:"Si no has recibido el c\xF3digo de verificaci\xF3n, por favor revisa tu carpeta de spam",de:"Wenn Sie den Best\xE4tigungscode nicht erhalten haben, \xFCberpr\xFCfen Sie bitte Ihren Spam-Ordner",fr:"Si vous n'avez pas re\xE7u le code de v\xE9rification, veuillez v\xE9rifier votre dossier de spam",hi:"\u092F\u0926\u093F \u0906\u092A\u0928\u0947 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u0939\u0948, \u0924\u094B \u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u0947 \u0938\u094D\u092A\u0948\u092E \u092B\u093C\u094B\u0932\u094D\u0921\u0930 \u0915\u0940 \u091C\u093E\u0901\u091A \u0915\u0930\u0947\u0902"}),i18n_local_auth_info_description:()=>({en:"In development mode any email and code will be accepted.",pt:"No modo de desenvolvimento qualquer email e c\xF3digo ser\xE3o aceitos.",es:"En modo de desarrollo cualquier email y c\xF3digo ser\xE1n aceptados.",de:"Im Entwicklungsmodus werden jede E-Mail und jeder Code akzeptiert.",fr:"En mode d\xE9veloppement, tout email et code seront accept\xE9s.",hi:"\u0935\u093F\u0915\u093E\u0938 \u092E\u094B\u0921 \u092E\u0947\u0902 \u0915\u093F\u0938\u0940 \u092D\u0940 \u0908\u092E\u0947\u0932 \u0914\u0930 \u0915\u094B\u0921 \u0915\u094B \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u093F\u092F\u093E \u091C\u093E\u090F\u0917\u093E\u0964"}),i18n_local_auth_info_authenticate:()=>({en:"Validate email",pt:"Validar email",es:"Validar email",de:"E-Mail best\xE4tigen",fr:"Valider email",hi:"\u0908\u092E\u0947\u0932 \u0938\u0924\u094D\u092F\u093E\u092A\u093F\u0924 \u0915\u0930\u0947\u0902"}),i18n_error_invalid_date:()=>({en:"Invalid date",pt:"Data inv\xE1lida",es:"Fecha no v\xE1lida",de:"Ung\xFCltiges Datum",fr:"Date invalide",hi:"\u0905\u0935\u0948\u0927 \u0924\u093F\u0925\u093F"}),i18n_camera_permission_denied:()=>({en:"Camera access denied",pt:"Acesso \xE0 c\xE2mera negado",es:"Acceso a la c\xE1mara denegado",de:"Kamerazugriff verweigert",fr:"Acc\xE8s \xE0 la cam\xE9ra refus\xE9",hi:"\u0915\u0948\u092E\u0930\u093E \u090F\u0915\u094D\u0938\u0947\u0938 \u0928\u093E\u0907\u091F\u0947\u0921"}),i18n_no_camera_found:()=>({en:"No camera found",pt:"Nenhuma c\xE2mera encontrada",es:"No se encontr\xF3 ninguna c\xE1mara",de:"Keine Kamera gefunden",fr:"Aucune cam\xE9ra trouv\xE9e",hi:"\u0915\u094B\u0908 \u0915\u0948\u092E\u0930\u093E \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E"}),i18n_camera_already_in_use:()=>({en:"Camera is already in use",pt:"C\xE2mera j\xE1 est\xE1 em uso",es:"La c\xE1mara ya est\xE1 en uso",de:"Kamera wird bereits verwendet",fr:"La cam\xE9ra est d\xE9j\xE0 utilis\xE9e",hi:"\u0915\u0948\u092E\u0930\u093E \u092A\u0939\u0932\u0947 \u0938\u0947 \u0939\u0940 \u0909\u092A\u092F\u094B\u0917 \u092E\u0947\u0902 \u0939\u0948"}),i18n_permission_error:()=>({en:"An error occurred while accessing the camera",pt:"Ocorreu um erro ao acessar a c\xE2mera",es:"Se produjo un error al acceder a la c\xE1mara",de:"Beim Zugriff auf die Kamera ist ein Fehler aufgetreten",fr:"Une erreur s'est produite lors de l'acc\xE8s \xE0 la cam\xE9ra",hi:"\u0915\u0948\u092E\u0930\u093E \u0924\u0915 \u092A\u0939\u0941\u0902\u091A\u0924\u0947 \u0938\u092E\u092F \u090F\u0915 \u0924\u094D\u0930\u0941\u091F\u093F \u0906\u0908"}),i18n_access_denied:()=>({en:"Access denied",pt:"Acesso negado",es:"Acceso denegado",de:"Zugriff verweigert",fr:"Acc\xE8s refus\xE9",hi:"\u092A\u0939\u0941\u0902\u091A \u0928\u093F\u0937\u0947\u0927\u093F\u0924"}),i18n_access_denied_message:()=>({en:"You do not have the necessary permissions to access this page. Please contact the administrator to request access.",pt:"Voc\xEA n\xE3o tem as permiss\xF5es necess\xE1rias para acessar esta p\xE1gina. Entre em contato com o administrador para solicitar acesso.",es:"No tienes los permisos necesarios para acceder a esta p\xE1gina. Ponte en contacto con el administrador para solicitar acceso.",de:"Sie haben nicht die erforderlichen Berechtigungen, um auf diese Seite zuzugreifen. Bitte kontaktieren Sie den Administrator, um Zugriff anzufordern.",fr:"Vous n'avez pas les autorisations n\xE9cessaires pour acc\xE9der \xE0 cette page. Veuillez contacter l'administrateur pour demander l'acc\xE8s.",hi:"\u0906\u092A\u0915\u0947 \u092A\u093E\u0938 \u0907\u0938 \u092A\u0947\u091C \u0924\u0915 \u092A\u0939\u0941\u0902\u091A\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0906\u0935\u0936\u094D\u092F\u0915 \u0905\u0928\u0941\u092E\u0924\u093F\u092F\u093E\u0901 \u0928\u0939\u0940\u0902 \u0939\u0948\u0902\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0939\u0941\u0902\u091A \u0915\u0947 \u0932\u093F\u090F \u0905\u0928\u0941\u0930\u094B\u0927 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092A\u094D\u0930\u0936\u093E\u0938\u0915 \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902\u0964"}),i18n_internal_error:()=>({en:"Internal error",pt:"Erro interno",es:"Error interno",de:"Interner Fehler",fr:"Erreur interne",hi:"\u0906\u0902\u0924\u0930\u093F\u0915 \u0924\u094D\u0930\u0941\u091F\u093F"}),i18n_internal_error_message:()=>({en:"An unknown error ocurred. Please try again or contact support.",pt:"Ocorreu um erro desconhecido. Tente novamente ou entre em contato com o suporte.",es:"Se ha producido un error desconocido. Int\xE9ntalo de nuevo o ponte en contacto con el soporte.",de:"Ein unbekannter Fehler ist aufgetreten. Bitte versuchen Sie es erneut oder kontaktieren Sie den Support.",fr:"Une erreur inconnue s\u2019est produite. Veuillez r\xE9essayer ou contacter le support.",hi:"\u090F\u0915 \u0905\u091C\u094D\u091E\u093E\u0924 \u0924\u094D\u0930\u0941\u091F\u093F \u0939\u0941\u0908\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902 \u092F\u093E \u0938\u092E\u0930\u094D\u0925\u0928 \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902\u0964"}),i18n_page_not_found:()=>({en:"Page not found",pt:"P\xE1gina n\xE3o encontrada",es:"P\xE1gina no encontrada",de:"Seite nicht gefunden",fr:"Page non trouv\xE9e",hi:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E"}),i18n_page_not_found_message:()=>({en:"The page you are looking for does not exist. Please check the URL and try again.",pt:"A p\xE1gina que voc\xEA est\xE1 procurando n\xE3o existe. Verifique a URL e tente novamente.",es:"La p\xE1gina que buscas no existe. Por favor, verifica la URL e int\xE9ntalo de nuevo.",de:"Die von Ihnen gesuchte Seite existiert nicht. Bitte \xFCberpr\xFCfen Sie die URL und versuchen Sie es erneut.",fr:"La page que vous recherchez n\u2019existe pas. Veuillez v\xE9rifier l\u2019URL et r\xE9essayer.",hi:"\u0906\u092A \u091C\u093F\u0938 \u092A\u0943\u0937\u094D\u0920 \u0915\u0940 \u0916\u094B\u091C \u0915\u0930 \u0930\u0939\u0947 \u0939\u0948\u0902, \u0935\u0939 \u092E\u094C\u091C\u0942\u0926 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E URL \u0915\u0940 \u091C\u093E\u0901\u091A \u0915\u0930\u0947\u0902 \u0914\u0930 \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964"}),i18n_error_invalid_file_format:e=>({en:`Invalid file extension. Expected formats: ${e.acceptedFormats}`,pt:`Extens\xE3o de arquivo inv\xE1lida. Formatos aceitos: ${e.acceptedFormats}`,es:`Extensi\xF3n de archivo inv\xE1lida. Formatos aceptados: ${e.acceptedFormats}`,de:`Ung\xFCltige Dateierweiterung. Akzeptierte Formate: ${e.acceptedFormats}`,fr:`Extension de fichier invalide. Formats accept\xE9s: ${e.acceptedFormats}`,hi:`\u0905\u092E\u093E\u0928\u094D\u092F \u092B\u093C\u093E\u0907\u0932 \u090F\u0915\u094D\u0938\u091F\u0947\u0902\u0936\u0928\u0964 \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092B\u093C\u0949\u0930\u094D\u092E\u0947\u091F\u094D\u0938: ${e.acceptedFormats}`})},$Ue="en";class LUe{getBrowserLocale(){return navigator.language.split(/[-_]/)[0]}getSupportedLocale(t){return kUe.includes(t)?t:$Ue}translate(t,n=null,...r){if(!(t in d0))throw new Error(`Missing translation for key ${t} in locale ${n}`);if(n==null){const i=this.getBrowserLocale(),a=Oa.getSupportedLocale(i);return d0[t](...r)[a]}return d0[t](...r)[n]}translateIfFound(t,n,...r){return t in d0?this.translate(t,n,...r):t}}const Oa=new LUe,m1={txt:"text/plain",md:"text/markdown",csv:"text/csv",html:"text/html",css:"text/css",py:"text/x-python-script",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",mp3:"audio/mp3",wav:"audio/wav",flac:"audio/flac",aac:"audio/aac",ogg:"audio/ogg",wma:"audio/x-ms-wma",avi:"video/avi",mp4:"video/mp4",mkv:"video/x-matroska",mov:"video/quicktime",webm:"video/webm",flv:"video/x-flv",wmv:"video/x-ms-wmv",m4v:"video/x-m4v",zip:"application/zip",rar:"application/vnd.rar","7z":"application/x-7z-compressed",tar:"application/x-tar",gzip:"application/gzip",js:"application/javascript",ts:"application/typescript",json:"application/json",xml:"application/xml",yaml:"application/x-yaml",toml:"application/toml",pdf:"application/pdf",xls:"application/vnd.ms-excel",doc:"application/msword",ppt:"application/vnd.ms-powerpoint",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",image:"image/*",video:"video/*",audio:"audio/*",text:"text/*",application:"application/*",unknown:"*"},FUe=e=>{const t=e==null?void 0:e.replace(".","");return t in m1?m1[t]:m1.unknown};class Iz{constructor(t,n,r,i,a,l,s,u){yn(this,"initialFileList",()=>this.value.map(t=>{const n=new File([],t);return{uid:t,name:t.split("/").pop()||t,status:"done",response:[t.replace("/_files/","")],url:t,type:FUe(t.split(".").pop()),size:n.size}}));yn(this,"emitValue",t=>{this.value=t,this.emit("update:value",t)});yn(this,"emitErrors",t=>{this.emit("update:errors",t)});yn(this,"handleReject",()=>{var n;const t=((n=this.acceptedFormats)==null?void 0:n.join(", "))||"*";this.emitErrors([Oa.translate("i18n_upload_area_rejected_file_extension",this.locale,{formats:t})])});yn(this,"customData",t=>({filename:t.name}));yn(this,"beforeUpload",t=>this.maxFileSize&&t.size&&t.size/1024/1024>this.maxFileSize?(this.emitErrors([Oa.translate("i18n_upload_max_size_excided",this.locale,{fileName:t.name,maxSize:this.maxFileSize})]),Ez.LIST_IGNORE):!0);yn(this,"handleChange",t=>{t.file.status==="done"&&(t.file.thumbUrl=this.thumbnail(t.file));const r=t.fileList.filter(i=>i.status==="done").map(i=>"/_files/"+i.response[0])||[];this.emitValue(r),t.file.status==="error"&&this.emitErrors([Oa.translate("i18n_upload_failed",this.locale,{fileName:t.file.name})])});this.emit=t,this.value=n,this.thumbnail=r,this.locale=i,this.acceptedFormats=a,this.acceptedMimeTypes=l,this.maxFileSize=s,this.multiple=u}get accept(){return this.acceptedMimeTypes||"*"}get action(){return"/_files/"}get method(){return"PUT"}get headers(){return{cache:"no-cache",mode:"cors"}}get progress(){return{strokeWidth:5,showInfo:!0,format:t=>`${(t==null?void 0:t.toFixed(0))||0}%`}}get maxCount(){return this.multiple?void 0:1}}const BUe=Ce({__name:"CardList",props:{value:{},errors:{},locale:{},acceptedFormats:{},acceptedMimeTypes:{},maxFileSize:{},multiple:{type:Boolean},disabled:{type:Boolean},capture:{type:Boolean}},emits:["update:value","update:errors"],setup(e,{expose:t,emit:n}){const r=e,i=Oe(null),a=new Rz,l=new Iz(n,r.value,a.fileThumbnail,r.locale,r.acceptedFormats,r.acceptedMimeTypes,r.maxFileSize,r.multiple),s=Oe(l.initialFileList()),u=$(()=>r.multiple||s.value.length===0);return t({uploadRef:i}),(o,c)=>(oe(),pe(tt,null,[x(je(Ez),{ref_key:"uploadRef",ref:i,capture:o.capture,fileList:s.value,"onUpdate:fileList":c[0]||(c[0]=d=>s.value=d),accept:je(l).accept,action:je(l).action,method:je(l).method,"max-count":je(l).maxCount,headers:je(l).headers,data:je(l).customData,progress:je(l).progress,"before-upload":je(l).beforeUpload,onChange:je(l).handleChange,onReject:je(l).handleReject,onPreview:je(a).handlePreview,multiple:o.multiple,disabled:o.disabled,"show-upload-list":!0,"list-type":"picture-card"},{iconRender:pn(({file:d})=>[x(xz,{file:d,ctrl:je(a),size:20},null,8,["file","ctrl"])]),default:pn(()=>[u.value?Et(o.$slots,"ui",{key:0},void 0,!0):ft("",!0)]),_:3},8,["capture","fileList","accept","action","method","max-count","headers","data","progress","before-upload","onChange","onReject","onPreview","multiple","disabled"]),x(Oz,{ctrl:je(a)},null,8,["ctrl"])],64))}});const Az=kn(BUe,[["__scopeId","data-v-d80561be"]]);var Nz={},My={};My.byteLength=zUe;My.toByteArray=GUe;My.fromByteArray=WUe;var ds=[],no=[],UUe=typeof Uint8Array<"u"?Uint8Array:Array,g1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Sd=0,HUe=g1.length;Sd0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function zUe(e){var t=Dz(e),n=t[0],r=t[1];return(n+r)*3/4-r}function VUe(e,t,n){return(t+n)*3/4-n}function GUe(e){var t,n=Dz(e),r=n[0],i=n[1],a=new UUe(VUe(e,r,i)),l=0,s=i>0?r-4:r,u;for(u=0;u>16&255,a[l++]=t>>8&255,a[l++]=t&255;return i===2&&(t=no[e.charCodeAt(u)]<<2|no[e.charCodeAt(u+1)]>>4,a[l++]=t&255),i===1&&(t=no[e.charCodeAt(u)]<<10|no[e.charCodeAt(u+1)]<<4|no[e.charCodeAt(u+2)]>>2,a[l++]=t>>8&255,a[l++]=t&255),a}function YUe(e){return ds[e>>18&63]+ds[e>>12&63]+ds[e>>6&63]+ds[e&63]}function jUe(e,t,n){for(var r,i=[],a=t;as?s:l+a));return r===1?(t=e[n-1],i.push(ds[t>>2]+ds[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(ds[t>>10]+ds[t>>4&63]+ds[t<<2&63]+"=")),i.join("")}var pI={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */pI.read=function(e,t,n,r,i){var a,l,s=i*8-r-1,u=(1<>1,c=-7,d=n?i-1:0,p=n?-1:1,f=e[t+d];for(d+=p,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=a*256+e[t+d],d+=p,c-=8);for(l=a&(1<<-c)-1,a>>=-c,c+=r;c>0;l=l*256+e[t+d],d+=p,c-=8);if(a===0)a=1-o;else{if(a===u)return l?NaN:(f?-1:1)*(1/0);l=l+Math.pow(2,r),a=a-o}return(f?-1:1)*l*Math.pow(2,a-r)};pI.write=function(e,t,n,r,i,a){var l,s,u,o=a*8-i-1,c=(1<>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,g=r?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,l=c):(l=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-l))<1&&(l--,u*=2),l+d>=1?t+=p/u:t+=p*Math.pow(2,1-d),t*u>=2&&(l++,u/=2),l+d>=c?(s=0,l=c):l+d>=1?(s=(t*u-1)*Math.pow(2,i),l=l+d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),l=0));i>=8;e[n+f]=s&255,f+=g,s/=256,i-=8);for(l=l<0;e[n+f]=l&255,f+=g,l/=256,o-=8);e[n+f-g]|=m*128};/*! + `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${l}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:i+e.paddingXS,fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${u}`]:{opacity:1,color:e.colorText},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${r}`]:{color:e.colorError},[s]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yke=bke,AL=new Yt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),NL=new Yt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ske=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:AL},[`${n}-leave`]:{animationName:NL}}},AL,NL]},Eke=Ske,Cke=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[`${a}${a}-picture, ${a}${a}-picture-card`]:{[l]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:R(R({},gl),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:i,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{["svg path[fill='#e6f7ff']"]:{fill:e.colorErrorBg},["svg path[fill='#1890ff']"]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:i}}}}}},Tke=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:R(R({},Mu()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:s,height:s,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card`]:{[`${a}-item-container`]:{display:"inline-block",width:s,height:s,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${l}-actions, ${l}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new Sn(i).setAlpha(.65).toRgbString(),"&:hover":{color:i}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},wke=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},xke=wke,Oke=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:R(R({},Nn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},Rke=Mn("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:a}=e,l=Math.round(n*r),s=jt(e,{uploadThumbnailSize:t*2,uploadProgressOffset:l/2+i,uploadPicCardSize:a*2.55});return[Oke(s),vke(s),Cke(s),Tke(s),yke(s),Eke(s),xke(s),uy(s)]});var Ike=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(c){try{o(r.next(c))}catch(d){l(d)}}function u(c){try{o(r.throw(c))}catch(d){l(d)}}function o(c){c.done?a(c.value):i(c.value).then(s,u)}o((r=r.apply(e,t||[])).next())})},Ake=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var M;return(M=u.value)!==null&&M!==void 0?M:d.value}),[f,g]=Zr(e.defaultFileList||[],{value:xt(e,"fileList"),postState:M=>{const B=Date.now();return(M!=null?M:[]).map((P,k)=>(!P.uid&&!Object.isFrozen(P)&&(P.uid=`__AUTO__${B}_${k}__`),P))}}),m=Oe("drop"),h=Oe(null);_t(()=>{Mr(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),Mr(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),Mr(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const v=(M,B,P)=>{var k,D;let F=[...B];e.maxCount===1?F=F.slice(-1):e.maxCount&&(F=F.slice(0,e.maxCount)),g(F);const U={file:M,fileList:F};P&&(U.event=P),(k=e["onUpdate:fileList"])===null||k===void 0||k.call(e,U.fileList),(D=e.onChange)===null||D===void 0||D.call(e,U),a.onFieldChange()},b=(M,B)=>Ike(this,void 0,void 0,function*(){const{beforeUpload:P,transformFile:k}=e;let D=M;if(P){const F=yield P(M,B);if(F===!1)return!1;if(delete M[Jf],F===Jf)return Object.defineProperty(M,Jf,{value:!0,configurable:!0}),!1;typeof F=="object"&&F&&(D=F)}return k&&(D=yield k(D)),D}),y=M=>{const B=M.filter(D=>!D.file[Jf]);if(!B.length)return;const P=B.map(D=>c0(D.file));let k=[...f.value];P.forEach(D=>{k=u0(D,k)}),P.forEach((D,F)=>{let U=D;if(B[F].parsedFile)D.status="uploading";else{const{originFileObj:z}=D;let Y;try{Y=new File([z],z.name,{type:z.type})}catch{Y=new Blob([z],{type:z.type}),Y.name=z.name,Y.lastModifiedDate=new Date,Y.lastModified=new Date().getTime()}Y.uid=D.uid,U=Y}v(U,k)})},S=(M,B,P)=>{try{typeof M=="string"&&(M=JSON.parse(M))}catch{}if(!f1(B,f.value))return;const k=c0(B);k.status="done",k.percent=100,k.response=M,k.xhr=P;const D=u0(k,f.value);v(k,D)},C=(M,B)=>{if(!f1(B,f.value))return;const P=c0(B);P.status="uploading",P.percent=M.percent;const k=u0(P,f.value);v(P,k,M)},w=(M,B,P)=>{if(!f1(P,f.value))return;const k=c0(P);k.error=M,k.response=B,k.status="error";const D=u0(k,f.value);v(k,D)},T=M=>{let B;const P=e.onRemove||e.remove;Promise.resolve(typeof P=="function"?P(M):P).then(k=>{var D,F;if(k===!1)return;const U=ake(M,f.value);U&&(B=R(R({},M),{status:"removed"}),(D=f.value)===null||D===void 0||D.forEach(z=>{const Y=B.uid!==void 0?"uid":"name";z[Y]===B[Y]&&!Object.isFrozen(z)&&(z.status="removed")}),(F=h.value)===null||F===void 0||F.abort(B),v(B,U))})},O=M=>{var B;m.value=M.type,M.type==="drop"&&((B=e.onDrop)===null||B===void 0||B.call(e,M))};i({onBatchStart:y,onSuccess:S,onProgress:C,onError:w,fileList:f,upload:h});const[I]=Ko("Upload",uo.Upload,$(()=>e.locale)),N=(M,B)=>{const{removeIcon:P,previewIcon:k,downloadIcon:D,previewFile:F,onPreview:U,onDownload:z,isImageUrl:Y,progress:G,itemRender:K,iconRender:X,showUploadList:ie}=e,{showDownloadIcon:se,showPreviewIcon:q,showRemoveIcon:ee}=typeof ie=="boolean"?{}:ie;return ie?x(hke,{prefixCls:l.value,listType:e.listType,items:f.value,previewFile:F,onPreview:U,onDownload:z,onRemove:T,showRemoveIcon:!p.value&&ee,showPreviewIcon:q,showDownloadIcon:se,removeIcon:P,previewIcon:k,downloadIcon:D,iconRender:X,locale:I.value,isImageUrl:Y,progress:G,itemRender:K,appendActionVisible:B,appendAction:M},R({},n)):M==null?void 0:M()};return()=>{var M,B,P;const{listType:k,type:D}=e,{class:F,style:U}=r,z=Ake(r,["class","style"]),Y=R(R(R({onBatchStart:y,onError:w,onProgress:C,onSuccess:S},z),e),{id:(M=e.id)!==null&&M!==void 0?M:a.id.value,prefixCls:l.value,beforeUpload:b,onChange:void 0,disabled:p.value});delete Y.remove,(!n.default||p.value)&&delete Y.id;const G={[`${l.value}-rtl`]:s.value==="rtl"};if(D==="drag"){const se=Fe(l.value,{[`${l.value}-drag`]:!0,[`${l.value}-drag-uploading`]:f.value.some(q=>q.status==="uploading"),[`${l.value}-drag-hover`]:m.value==="dragover",[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:s.value==="rtl"},r.class,c.value);return o(x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,F,c.value)}),[x("div",{class:se,onDrop:O,onDragover:O,onDragleave:O,style:r.style},[x(wL,Z(Z({},Y),{},{ref:h,class:`${l.value}-btn`}),Z({default:()=>[x("div",{class:`${l.value}-drag-container`},[(B=n.default)===null||B===void 0?void 0:B.call(n)])]},n))]),N()]))}const K=Fe(l.value,{[`${l.value}-select`]:!0,[`${l.value}-select-${k}`]:!0,[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:s.value==="rtl"}),X=ni((P=n.default)===null||P===void 0?void 0:P.call(n)),ie=se=>x("div",{class:K,style:se},[x(wL,Z(Z({},Y),{},{ref:h}),n)]);return o(k==="picture-card"?x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,`${l.value}-picture-card-wrapper`,G,r.class,c.value)}),[N(ie,!!(X&&X.length))]):x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,r.class,c.value)}),[ie(X&&X.length?void 0:{display:"none"}),N()]))}}});var DL=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{height:i}=e,a=DL(e,["height"]),{style:l}=r,s=DL(r,["style"]),u=R(R(R({},a),s),{type:"drag",style:R(R({},l),{height:typeof i=="number"?`${i}px`:i})});return x(F0,u,n)}}}),Nke=B0,Ez=R(F0,{Dragger:B0,LIST_IGNORE:Jf,install(e){return e.component(F0.name,F0),e.component(B0.name,B0),e}});var Dke={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:n}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:t}}]}},name:"close-circle",theme:"twotone"};const Pke=Dke;var Mke={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:n}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:t}}]}},name:"edit",theme:"twotone"};const kke=Mke;var $ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};const Lke=$ke;var Fke={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z",fill:n}},{tag:"path",attrs:{d:"M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z",fill:t}},{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z",fill:t}}]}},name:"save",theme:"twotone"};const Bke=Fke,Cz=["wrap","nowrap","wrap-reverse"],Tz=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],wz=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],Uke=(e,t)=>{const n={};return Cz.forEach(r=>{n[`${e}-wrap-${r}`]=t.wrap===r}),n},Hke=(e,t)=>{const n={};return wz.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},zke=(e,t)=>{const n={};return Tz.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function Vke(e,t){return Fe(R(R(R({},Uke(e,t)),Hke(e,t)),zke(e,t)))}const Gke=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Yke=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},jke=e=>{const{componentCls:t}=e,n={};return Cz.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},Wke=e=>{const{componentCls:t}=e,n={};return wz.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},qke=e=>{const{componentCls:t}=e,n={};return Tz.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},Kke=Mn("Flex",e=>{const t=jt(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[Gke(t),Yke(t),jke(t),Wke(t),qke(t)]});function PL(e){return["small","middle","large"].includes(e)}const Zke=()=>({prefixCls:Bt(),vertical:nt(),wrap:Bt(),justify:Bt(),align:Bt(),flex:nn([Number,String]),gap:nn([Number,String]),component:br()});var Qke=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var c;return[l.value,u.value,Vke(l.value,e),{[`${l.value}-rtl`]:a.value==="rtl",[`${l.value}-gap-${e.gap}`]:PL(e.gap),[`${l.value}-vertical`]:(c=e.vertical)!==null&&c!==void 0?c:i==null?void 0:i.value.vertical}]});return()=>{var c;const{flex:d,gap:p,component:f="div"}=e,g=Qke(e,["flex","gap","component"]),m={};return d&&(m.flex=d),p&&!PL(p)&&(m.gap=`${p}px`),s(x(f,Z({class:[r.class,o.value],style:[r.style,m]},Dn(g,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),Jke=go(Xke),e$e=["width","height","fill","transform"],t$e={key:0},n$e=Ee("path",{d:"M204.41,51.63a108,108,0,1,0,0,152.74A107.38,107.38,0,0,0,204.41,51.63Zm-17,17A83.85,83.85,0,0,1,196.26,79L169,111.09l-23.3-65.21A83.52,83.52,0,0,1,187.43,68.6Zm-118.85,0a83.44,83.44,0,0,1,51.11-24.2l14.16,39.65L65.71,71.61C66.64,70.59,67.59,69.59,68.58,68.6ZM48,153.7a84.48,84.48,0,0,1,3.4-60.3L92.84,101Zm20.55,33.7A83.94,83.94,0,0,1,59.74,177L87,144.91l23.3,65.21A83.53,83.53,0,0,1,68.58,187.4Zm36.36-63.61,15.18-17.85,23.06,4.21,7.88,22.06-15.17,17.85-23.06-4.21Zm82.49,63.61a83.49,83.49,0,0,1-51.11,24.2L122.15,172l68.14,12.44C189.36,185.41,188.41,186.41,187.43,187.4ZM163.16,155,208,102.3a84.43,84.43,0,0,1-3.41,60.3Z"},null,-1),r$e=[n$e],i$e={key:1},a$e=Ee("path",{d:"M195.88,60.12a96,96,0,1,0,0,135.76A96,96,0,0,0,195.88,60.12Zm-55.34,103h0l-36.68-6.69h0L91.32,121.3l24.14-28.41h0l36.68,6.69,12.54,35.12Z",opacity:"0.2"},null,-1),o$e=Ee("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,65.78a88.18,88.18,0,0,1,11,13.48L167.55,119,139.63,40.78A87.34,87.34,0,0,1,190.23,65.78ZM155.59,133l-18.16,21.37-27.59-5L100.41,123l18.16-21.37,27.59,5ZM65.77,65.78a87.34,87.34,0,0,1,56.66-25.59l17.51,49L58.3,74.32A88,88,0,0,1,65.77,65.78ZM46.65,161.54a88.41,88.41,0,0,1,2.53-72.62l51.21,9.35Zm19.12,28.68a88.18,88.18,0,0,1-11-13.48L88.45,137l27.92,78.18A87.34,87.34,0,0,1,65.77,190.22Zm124.46,0a87.34,87.34,0,0,1-56.66,25.59l-17.51-49,81.64,14.91A88,88,0,0,1,190.23,190.22Zm-34.62-32.49,53.74-63.27a88.41,88.41,0,0,1-2.53,72.62Z"},null,-1),s$e=[a$e,o$e],l$e={key:2},c$e=Ee("path",{d:"M232,128A104,104,0,0,0,54.46,54.46,104,104,0,0,0,128,232h.09A104,104,0,0,0,232,128ZM49.18,88.92l51.21,9.35L46.65,161.53A88.39,88.39,0,0,1,49.18,88.92Zm160.17,5.54a88.41,88.41,0,0,1-2.53,72.62l-51.21-9.35Zm-8.08-15.2L167.55,119,139.63,40.78a87.38,87.38,0,0,1,50.6,25A88.74,88.74,0,0,1,201.27,79.26ZM122.43,40.19l17.51,49L58.3,74.32a89.28,89.28,0,0,1,7.47-8.55A87.37,87.37,0,0,1,122.43,40.19ZM54.73,176.74,88.45,137l27.92,78.18a88,88,0,0,1-61.64-38.48Zm78.84,39.06-17.51-49L139.14,171h0l58.52,10.69a87.5,87.5,0,0,1-64.13,34.12Z"},null,-1),u$e=[c$e],d$e={key:3},p$e=Ee("path",{d:"M200.12,55.88A102,102,0,0,0,55.87,200.12,102,102,0,1,0,200.12,55.88Zm-102,66.67,19.65-23.14,29.86,5.46,10.21,28.58-19.65,23.14-29.86-5.46ZM209.93,90.69a90.24,90.24,0,0,1-2,78.63l-56.14-10.24Zm-6.16-11.28-36.94,43.48L136.66,38.42a89.31,89.31,0,0,1,55,25.94A91.33,91.33,0,0,1,203.77,79.41Zm-139.41-15A89.37,89.37,0,0,1,123.81,38.1L143,91.82,54.75,75.71A91.2,91.2,0,0,1,64.36,64.36ZM48,86.68l56.14,10.24L46.07,165.31a90.24,90.24,0,0,1,2-78.63Zm4.21,89.91,36.94-43.48,30.17,84.47a89.31,89.31,0,0,1-55-25.94A91.33,91.33,0,0,1,52.23,176.59Zm139.41,15a89.32,89.32,0,0,1-59.45,26.26L113,164.18l88.24,16.11A91.2,91.2,0,0,1,191.64,191.64Z"},null,-1),f$e=[p$e],m$e={key:4},g$e=Ee("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,65.78a88.18,88.18,0,0,1,11,13.48L167.55,119,139.63,40.78A87.34,87.34,0,0,1,190.23,65.78ZM155.59,133l-18.16,21.37-27.59-5L100.41,123l18.16-21.37,27.59,5ZM65.77,65.78a87.34,87.34,0,0,1,56.66-25.59l17.51,49L58.3,74.32A88,88,0,0,1,65.77,65.78ZM46.65,161.54a88.41,88.41,0,0,1,2.53-72.62l51.21,9.35Zm19.12,28.68a88.18,88.18,0,0,1-11-13.48L88.45,137l27.92,78.18A87.34,87.34,0,0,1,65.77,190.22Zm124.46,0a87.34,87.34,0,0,1-56.66,25.59l-17.51-49,81.64,14.91A88,88,0,0,1,190.23,190.22Zm-34.62-32.49,53.74-63.27a88.41,88.41,0,0,1-2.53,72.62Z"},null,-1),h$e=[g$e],_$e={key:5},v$e=Ee("path",{d:"M198.71,57.29A100,100,0,1,0,57.29,198.71,100,100,0,1,0,198.71,57.29Zm10.37,114.27-61-11.14L210.4,87a92.26,92.26,0,0,1-1.32,84.52ZM95.87,122.13,117,97.24l32.14,5.86,11,30.77L139,158.76l-32.14-5.86ZM206.24,79.58l-40.13,47.25L133.75,36.2a92.09,92.09,0,0,1,72.49,43.38ZM63,63a91.31,91.31,0,0,1,62.26-26.88L146,94.41,51.32,77.11A92.94,92.94,0,0,1,63,63Zm-16,21.49,61,11.14L45.6,169a92.26,92.26,0,0,1,1.32-84.52Zm2.84,92,40.13-47.25,32.36,90.63a92.09,92.09,0,0,1-72.49-43.38Zm143.29,16.63a91.31,91.31,0,0,1-62.26,26.88L110,161.59l94.72,17.3A92.94,92.94,0,0,1,193.05,193.05Z"},null,-1),b$e=[v$e],y$e={name:"PhAperture"},S$e=Ce({...y$e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",t$e,r$e)):l.value==="duotone"?(oe(),pe("g",i$e,s$e)):l.value==="fill"?(oe(),pe("g",l$e,u$e)):l.value==="light"?(oe(),pe("g",d$e,f$e)):l.value==="regular"?(oe(),pe("g",m$e,h$e)):l.value==="thin"?(oe(),pe("g",_$e,b$e)):ft("",!0)],16,e$e))}}),E$e=["width","height","fill","transform"],C$e={key:0},T$e=Ee("path",{d:"M47.51,112.49a12,12,0,0,1,17-17L116,147V32a12,12,0,0,1,24,0V147l51.51-51.52a12,12,0,0,1,17,17l-72,72a12,12,0,0,1-17,0ZM216,204H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1),w$e=[T$e],x$e={key:1},O$e=Ee("path",{d:"M200,112l-72,72L56,112Z",opacity:"0.2"},null,-1),R$e=Ee("path",{d:"M122.34,189.66a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,200,104H136V32a8,8,0,0,0-16,0v72H56a8,8,0,0,0-5.66,13.66ZM180.69,120,128,172.69,75.31,120ZM224,216a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,216Z"},null,-1),I$e=[O$e,R$e],A$e={key:2},N$e=Ee("path",{d:"M50.34,117.66A8,8,0,0,1,56,104h64V32a8,8,0,0,1,16,0v72h64a8,8,0,0,1,5.66,13.66l-72,72a8,8,0,0,1-11.32,0ZM216,208H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),D$e=[N$e],P$e={key:3},M$e=Ee("path",{d:"M51.76,116.24a6,6,0,0,1,8.48-8.48L122,169.51V32a6,6,0,0,1,12,0V169.51l61.76-61.75a6,6,0,0,1,8.48,8.48l-72,72a6,6,0,0,1-8.48,0ZM216,210H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1),k$e=[M$e],$$e={key:4},L$e=Ee("path",{d:"M50.34,117.66a8,8,0,0,1,11.32-11.32L120,164.69V32a8,8,0,0,1,16,0V164.69l58.34-58.35a8,8,0,0,1,11.32,11.32l-72,72a8,8,0,0,1-11.32,0ZM216,208H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),F$e=[L$e],B$e={key:5},U$e=Ee("path",{d:"M53.17,114.83a4,4,0,0,1,5.66-5.66L124,174.34V32a4,4,0,0,1,8,0V174.34l65.17-65.17a4,4,0,1,1,5.66,5.66l-72,72a4,4,0,0,1-5.66,0ZM216,212H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1),H$e=[U$e],z$e={name:"PhArrowLineDown"},V$e=Ce({...z$e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",C$e,w$e)):l.value==="duotone"?(oe(),pe("g",x$e,I$e)):l.value==="fill"?(oe(),pe("g",A$e,D$e)):l.value==="light"?(oe(),pe("g",P$e,k$e)):l.value==="regular"?(oe(),pe("g",$$e,F$e)):l.value==="thin"?(oe(),pe("g",B$e,H$e)):ft("",!0)],16,E$e))}}),G$e=["width","height","fill","transform"],Y$e={key:0},j$e=Ee("path",{d:"M208,52H182.42L170,33.34A12,12,0,0,0,160,28H96a12,12,0,0,0-10,5.34L73.57,52H48A28,28,0,0,0,20,80V192a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V80A28,28,0,0,0,208,52Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4H80a12,12,0,0,0,10-5.34L102.42,52h51.15L166,70.66A12,12,0,0,0,176,76h32a4,4,0,0,1,4,4ZM128,84a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,84Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,128,156Z"},null,-1),W$e=[j$e],q$e={key:1},K$e=Ee("path",{d:"M208,64H176L160,40H96L80,64H48A16,16,0,0,0,32,80V192a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V80A16,16,0,0,0,208,64ZM128,168a36,36,0,1,1,36-36A36,36,0,0,1,128,168Z",opacity:"0.2"},null,-1),Z$e=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"},null,-1),Q$e=[K$e,Z$e],X$e={key:2},J$e=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm-44,76a36,36,0,1,1-36-36A36,36,0,0,1,164,132Z"},null,-1),eLe=[J$e],tLe={key:3},nLe=Ee("path",{d:"M208,58H179.21L165,36.67A6,6,0,0,0,160,34H96a6,6,0,0,0-5,2.67L76.78,58H48A22,22,0,0,0,26,80V192a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V80A22,22,0,0,0,208,58Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V80A10,10,0,0,1,48,70H80a6,6,0,0,0,5-2.67L99.21,46h57.57L171,67.33A6,6,0,0,0,176,70h32a10,10,0,0,1,10,10ZM128,90a42,42,0,1,0,42,42A42,42,0,0,0,128,90Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,128,162Z"},null,-1),rLe=[nLe],iLe={key:4},aLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"},null,-1),oLe=[aLe],sLe={key:5},lLe=Ee("path",{d:"M208,60H178.13L163.32,37.78A4,4,0,0,0,160,36H96a4,4,0,0,0-3.32,1.78L77.85,60H48A20,20,0,0,0,28,80V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V80A20,20,0,0,0,208,60Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V80A12,12,0,0,1,48,68H80a4,4,0,0,0,3.33-1.78L98.13,44h59.72l14.82,22.22A4,4,0,0,0,176,68h32a12,12,0,0,1,12,12ZM128,92a40,40,0,1,0,40,40A40,40,0,0,0,128,92Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,128,164Z"},null,-1),cLe=[lLe],uLe={name:"PhCamera"},dLe=Ce({...uLe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",Y$e,W$e)):l.value==="duotone"?(oe(),pe("g",q$e,Q$e)):l.value==="fill"?(oe(),pe("g",X$e,eLe)):l.value==="light"?(oe(),pe("g",tLe,rLe)):l.value==="regular"?(oe(),pe("g",iLe,oLe)):l.value==="thin"?(oe(),pe("g",sLe,cLe)):ft("",!0)],16,G$e))}}),pLe=["width","height","fill","transform"],fLe={key:0},mLe=Ee("path",{d:"M208,52H182.42L170,33.34A12,12,0,0,0,160,28H96a12,12,0,0,0-10,5.34L73.57,52H48A28,28,0,0,0,20,80V192a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V80A28,28,0,0,0,208,52Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4H80a12,12,0,0,0,10-5.34L102.42,52h51.15L166,70.66A12,12,0,0,0,176,76h32a4,4,0,0,1,4,4Zm-32-92v20a12,12,0,0,1-12,12H148a12,12,0,0,1-7.76-21.14,28.07,28.07,0,0,0-29,2.73A12,12,0,0,1,96.79,94.4a52.28,52.28,0,0,1,61.14-.91A12,12,0,0,1,180,100Zm-18.41,52.8a12,12,0,0,1-2.38,16.8,51.71,51.71,0,0,1-31.13,10.34,52.3,52.3,0,0,1-30-9.44A12,12,0,0,1,76,164V144a12,12,0,0,1,12-12h20a12,12,0,0,1,7.76,21.14,28.07,28.07,0,0,0,29-2.73A12,12,0,0,1,161.59,152.8Z"},null,-1),gLe=[mLe],hLe={key:1},_Le=Ee("path",{d:"M224,80V192a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64H80L96,40h64l16,24h32A16,16,0,0,1,224,80Z",opacity:"0.2"},null,-1),vLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM176,96v24a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h5.15a32.12,32.12,0,0,0-40.34-1.61A8,8,0,0,1,99.19,97.6,48.21,48.21,0,0,1,160,100.23V96a8,8,0,0,1,16,0Zm-17.61,59.2a8,8,0,0,1-1.58,11.2A48.21,48.21,0,0,1,96,163.77V168a8,8,0,0,1-16,0V144a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16h-5.15a32.12,32.12,0,0,0,40.34,1.61A8,8,0,0,1,158.39,155.2Z"},null,-1),bLe=[_Le,vLe],yLe={key:2},SLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56ZM156.81,166.4A48.21,48.21,0,0,1,96,163.77V168a8,8,0,0,1-16,0V144a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16h-5.15a32.12,32.12,0,0,0,40.34,1.61,8,8,0,0,1,9.62,12.79ZM176,120a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h5.15a32.12,32.12,0,0,0-40.34-1.61A8,8,0,0,1,99.19,97.6,48.21,48.21,0,0,1,160,100.23V96a8,8,0,0,1,16,0Z"},null,-1),ELe=[SLe],CLe={key:3},TLe=Ee("path",{d:"M208,58H179.21L165,36.67A6,6,0,0,0,160,34H96a6,6,0,0,0-5,2.67L76.78,58H48A22,22,0,0,0,26,80V192a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V80A22,22,0,0,0,208,58Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V80A10,10,0,0,1,48,70H80a6,6,0,0,0,5-2.67L99.21,46h57.57L171,67.33A6,6,0,0,0,176,70h32a10,10,0,0,1,10,10ZM174,96v24a6,6,0,0,1-6,6H144a6,6,0,0,1,0-12h10l-2-2.09a34.12,34.12,0,0,0-44.38-3.12,6,6,0,1,1-7.22-9.59,46.2,46.2,0,0,1,60.14,4.27.47.47,0,0,0,.1.1L162,105V96a6,6,0,0,1,12,0Zm-17.2,60.4a6,6,0,0,1-1.19,8.4,46.18,46.18,0,0,1-60.14-4.27l-.1-.1L94,159v9a6,6,0,0,1-12,0V144a6,6,0,0,1,6-6h24a6,6,0,0,1,0,12H102l2,2.09a34.12,34.12,0,0,0,44.38,3.12A6,6,0,0,1,156.8,156.4Z"},null,-1),wLe=[TLe],xLe={key:4},OLe=Ee("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM176,96v24a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h5.15a32.12,32.12,0,0,0-40.34-1.61A8,8,0,0,1,99.19,97.6,48.21,48.21,0,0,1,160,100.23V96a8,8,0,0,1,16,0Zm-17.61,59.2a8,8,0,0,1-1.58,11.2A48.21,48.21,0,0,1,96,163.77V168a8,8,0,0,1-16,0V144a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16h-5.15a32.12,32.12,0,0,0,40.34,1.61A8,8,0,0,1,158.39,155.2Z"},null,-1),RLe=[OLe],ILe={key:5},ALe=Ee("path",{d:"M208,60H178.13L163.32,37.78A4,4,0,0,0,160,36H96a4,4,0,0,0-3.32,1.78L77.85,60H48A20,20,0,0,0,28,80V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V80A20,20,0,0,0,208,60Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V80A12,12,0,0,1,48,68H80a4,4,0,0,0,3.33-1.78L98.13,44h59.72l14.82,22.22A4,4,0,0,0,176,68h32a12,12,0,0,1,12,12ZM172,96v24a4,4,0,0,1-4,4H144a4,4,0,0,1,0-8h14.66l-5.27-5.52a36.12,36.12,0,0,0-47-3.29,4,4,0,1,1-4.8-6.39,44.17,44.17,0,0,1,57.51,4.09L164,110V96a4,4,0,0,1,8,0Zm-16.8,61.6a4,4,0,0,1-.8,5.6,44.15,44.15,0,0,1-57.51-4.09L92,154v14a4,4,0,0,1-8,0V144a4,4,0,0,1,4-4h24a4,4,0,0,1,0,8H97.34l5.27,5.52a36.12,36.12,0,0,0,47,3.29A4,4,0,0,1,155.2,157.6Z"},null,-1),NLe=[ALe],DLe={name:"PhCameraRotate"},PLe=Ce({...DLe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",fLe,gLe)):l.value==="duotone"?(oe(),pe("g",hLe,bLe)):l.value==="fill"?(oe(),pe("g",yLe,ELe)):l.value==="light"?(oe(),pe("g",CLe,wLe)):l.value==="regular"?(oe(),pe("g",xLe,RLe)):l.value==="thin"?(oe(),pe("g",ILe,NLe)):ft("",!0)],16,pLe))}}),MLe=["width","height","fill","transform"],kLe={key:0},$Le=Ee("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},null,-1),LLe=[$Le],FLe={key:1},BLe=Ee("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"},null,-1),ULe=Ee("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1),HLe=[BLe,ULe],zLe={key:2},VLe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1),GLe=[VLe],YLe={key:3},jLe=Ee("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"},null,-1),WLe=[jLe],qLe={key:4},KLe=Ee("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"},null,-1),ZLe=[KLe],QLe={key:5},XLe=Ee("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"},null,-1),JLe=[XLe],e4e={name:"PhCheck"},t4e=Ce({...e4e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",kLe,LLe)):l.value==="duotone"?(oe(),pe("g",FLe,HLe)):l.value==="fill"?(oe(),pe("g",zLe,GLe)):l.value==="light"?(oe(),pe("g",YLe,WLe)):l.value==="regular"?(oe(),pe("g",qLe,ZLe)):l.value==="thin"?(oe(),pe("g",QLe,JLe)):ft("",!0)],16,MLe))}}),n4e=["width","height","fill","transform"],r4e={key:0},i4e=Ee("path",{d:"M71.68,97.22,34.74,128l36.94,30.78a12,12,0,1,1-15.36,18.44l-48-40a12,12,0,0,1,0-18.44l48-40A12,12,0,0,1,71.68,97.22Zm176,21.56-48-40a12,12,0,1,0-15.36,18.44L221.26,128l-36.94,30.78a12,12,0,1,0,15.36,18.44l48-40a12,12,0,0,0,0-18.44ZM164.1,28.72a12,12,0,0,0-15.38,7.18l-64,176a12,12,0,0,0,7.18,15.37A11.79,11.79,0,0,0,96,228a12,12,0,0,0,11.28-7.9l64-176A12,12,0,0,0,164.1,28.72Z"},null,-1),a4e=[i4e],o4e={key:1},s4e=Ee("path",{d:"M240,128l-48,40H64L16,128,64,88H192Z",opacity:"0.2"},null,-1),l4e=Ee("path",{d:"M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z"},null,-1),c4e=[s4e,l4e],u4e={key:2},d4e=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM92.8,145.6a8,8,0,1,1-9.6,12.8l-32-24a8,8,0,0,1,0-12.8l32-24a8,8,0,0,1,9.6,12.8L69.33,128Zm58.89-71.4-32,112a8,8,0,1,1-15.38-4.4l32-112a8,8,0,0,1,15.38,4.4Zm53.11,60.2-32,24a8,8,0,0,1-9.6-12.8L186.67,128,163.2,110.4a8,8,0,1,1,9.6-12.8l32,24a8,8,0,0,1,0,12.8Z"},null,-1),p4e=[d4e],f4e={key:3},m4e=Ee("path",{d:"M67.84,92.61,25.37,128l42.47,35.39a6,6,0,1,1-7.68,9.22l-48-40a6,6,0,0,1,0-9.22l48-40a6,6,0,0,1,7.68,9.22Zm176,30.78-48-40a6,6,0,1,0-7.68,9.22L230.63,128l-42.47,35.39a6,6,0,1,0,7.68,9.22l48-40a6,6,0,0,0,0-9.22Zm-81.79-89A6,6,0,0,0,154.36,38l-64,176A6,6,0,0,0,94,221.64a6.15,6.15,0,0,0,2,.36,6,6,0,0,0,5.64-3.95l64-176A6,6,0,0,0,162.05,34.36Z"},null,-1),g4e=[m4e],h4e={key:4},_4e=Ee("path",{d:"M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z"},null,-1),v4e=[_4e],b4e={key:5},y4e=Ee("path",{d:"M66.56,91.07,22.25,128l44.31,36.93A4,4,0,0,1,64,172a3.94,3.94,0,0,1-2.56-.93l-48-40a4,4,0,0,1,0-6.14l48-40a4,4,0,0,1,5.12,6.14Zm176,33.86-48-40a4,4,0,1,0-5.12,6.14L233.75,128l-44.31,36.93a4,4,0,1,0,5.12,6.14l48-40a4,4,0,0,0,0-6.14ZM161.37,36.24a4,4,0,0,0-5.13,2.39l-64,176a4,4,0,0,0,2.39,5.13A4.12,4.12,0,0,0,96,220a4,4,0,0,0,3.76-2.63l64-176A4,4,0,0,0,161.37,36.24Z"},null,-1),S4e=[y4e],E4e={name:"PhCode"},C4e=Ce({...E4e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",r4e,a4e)):l.value==="duotone"?(oe(),pe("g",o4e,c4e)):l.value==="fill"?(oe(),pe("g",u4e,p4e)):l.value==="light"?(oe(),pe("g",f4e,g4e)):l.value==="regular"?(oe(),pe("g",h4e,v4e)):l.value==="thin"?(oe(),pe("g",b4e,S4e)):ft("",!0)],16,n4e))}}),T4e=["width","height","fill","transform"],w4e={key:0},x4e=Ee("path",{d:"M76,92A16,16,0,1,1,60,76,16,16,0,0,1,76,92Zm52-16a16,16,0,1,0,16,16A16,16,0,0,0,128,76Zm68,32a16,16,0,1,0-16-16A16,16,0,0,0,196,108ZM60,148a16,16,0,1,0,16,16A16,16,0,0,0,60,148Zm68,0a16,16,0,1,0,16,16A16,16,0,0,0,128,148Zm68,0a16,16,0,1,0,16,16A16,16,0,0,0,196,148Z"},null,-1),O4e=[x4e],R4e={key:1},I4e=Ee("path",{d:"M240,64V192a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V64A16,16,0,0,1,32,48H224A16,16,0,0,1,240,64Z",opacity:"0.2"},null,-1),A4e=Ee("path",{d:"M72,92A12,12,0,1,1,60,80,12,12,0,0,1,72,92Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,128,80Zm68,24a12,12,0,1,0-12-12A12,12,0,0,0,196,104ZM60,152a12,12,0,1,0,12,12A12,12,0,0,0,60,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,128,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,196,152Z"},null,-1),N4e=[I4e,A4e],D4e={key:2},P4e=Ee("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM68,168a12,12,0,1,1,12-12A12,12,0,0,1,68,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,68,112Zm60,56a12,12,0,1,1,12-12A12,12,0,0,1,128,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,128,112Zm60,56a12,12,0,1,1,12-12A12,12,0,0,1,188,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,188,112Z"},null,-1),M4e=[P4e],k4e={key:3},$4e=Ee("path",{d:"M70,92A10,10,0,1,1,60,82,10,10,0,0,1,70,92Zm58-10a10,10,0,1,0,10,10A10,10,0,0,0,128,82Zm68,20a10,10,0,1,0-10-10A10,10,0,0,0,196,102ZM60,154a10,10,0,1,0,10,10A10,10,0,0,0,60,154Zm68,0a10,10,0,1,0,10,10A10,10,0,0,0,128,154Zm68,0a10,10,0,1,0,10,10A10,10,0,0,0,196,154Z"},null,-1),L4e=[$4e],F4e={key:4},B4e=Ee("path",{d:"M72,92A12,12,0,1,1,60,80,12,12,0,0,1,72,92Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,128,80Zm68,24a12,12,0,1,0-12-12A12,12,0,0,0,196,104ZM60,152a12,12,0,1,0,12,12A12,12,0,0,0,60,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,128,152Zm68,0a12,12,0,1,0,12,12A12,12,0,0,0,196,152Z"},null,-1),U4e=[B4e],H4e={key:5},z4e=Ee("path",{d:"M68,92a8,8,0,1,1-8-8A8,8,0,0,1,68,92Zm60-8a8,8,0,1,0,8,8A8,8,0,0,0,128,84Zm68,16a8,8,0,1,0-8-8A8,8,0,0,0,196,100ZM60,156a8,8,0,1,0,8,8A8,8,0,0,0,60,156Zm68,0a8,8,0,1,0,8,8A8,8,0,0,0,128,156Zm68,0a8,8,0,1,0,8,8A8,8,0,0,0,196,156Z"},null,-1),V4e=[z4e],G4e={name:"PhDotsSix"},Y4e=Ce({...G4e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",w4e,O4e)):l.value==="duotone"?(oe(),pe("g",R4e,N4e)):l.value==="fill"?(oe(),pe("g",D4e,M4e)):l.value==="light"?(oe(),pe("g",k4e,L4e)):l.value==="regular"?(oe(),pe("g",F4e,U4e)):l.value==="thin"?(oe(),pe("g",H4e,V4e)):ft("",!0)],16,T4e))}}),j4e=["width","height","fill","transform"],W4e={key:0},q4e=Ee("path",{d:"M71.51,88.49a12,12,0,0,1,17-17L116,99V24a12,12,0,0,1,24,0V99l27.51-27.52a12,12,0,0,1,17,17l-48,48a12,12,0,0,1-17,0ZM224,116H188a12,12,0,0,0,0,24h32v56H36V140H68a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116Zm-20,52a16,16,0,1,0-16,16A16,16,0,0,0,204,168Z"},null,-1),K4e=[q4e],Z4e={key:1},Q4e=Ee("path",{d:"M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z",opacity:"0.2"},null,-1),X4e=Ee("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1),J4e=[Q4e,X4e],e8e={key:2},t8e=Ee("path",{d:"M74.34,85.66A8,8,0,0,1,85.66,74.34L120,108.69V24a8,8,0,0,1,16,0v84.69l34.34-34.35a8,8,0,0,1,11.32,11.32l-48,48a8,8,0,0,1-11.32,0ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H84.4a4,4,0,0,1,2.83,1.17L111,145A24,24,0,0,0,145,145l23.8-23.8A4,4,0,0,1,171.6,120H224A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1),n8e=[t8e],r8e={key:3},i8e=Ee("path",{d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H72a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H184a6,6,0,0,1,0-12h40A14,14,0,0,1,238,136Zm-114.24-3.76a6,6,0,0,0,8.48,0l48-48a6,6,0,0,0-8.48-8.48L134,113.51V24a6,6,0,0,0-12,0v89.51L84.24,75.76a6,6,0,0,0-8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"},null,-1),a8e=[i8e],o8e={key:4},s8e=Ee("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1),l8e=[s8e],c8e={key:5},u8e=Ee("path",{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H72a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H184a4,4,0,0,1,0-8h40A12,12,0,0,1,236,136Zm-110.83-5.17a4,4,0,0,0,5.66,0l48-48a4,4,0,1,0-5.66-5.66L132,118.34V24a4,4,0,0,0-8,0v94.34L82.83,77.17a4,4,0,0,0-5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"},null,-1),d8e=[u8e],p8e={name:"PhDownload"},f8e=Ce({...p8e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",W4e,K4e)):l.value==="duotone"?(oe(),pe("g",Z4e,J4e)):l.value==="fill"?(oe(),pe("g",e8e,n8e)):l.value==="light"?(oe(),pe("g",r8e,a8e)):l.value==="regular"?(oe(),pe("g",o8e,l8e)):l.value==="thin"?(oe(),pe("g",c8e,d8e)):ft("",!0)],16,j4e))}}),m8e=["width","height","fill","transform"],g8e={key:0},h8e=Ee("path",{d:"M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM183,80H160V57ZM116,212V192h8a12,12,0,0,0,0-24h-8V152h8a12,12,0,0,0,0-24h-8V116a12,12,0,0,0-24,0v12H84a12,12,0,0,0,0,24h8v16H84a12,12,0,0,0,0,24h8v20H60V44h76V92a12,12,0,0,0,12,12h48V212Z"},null,-1),_8e=[h8e],v8e={key:1},b8e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),y8e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H112V200h8a8,8,0,0,0,0-16h-8V168h8a8,8,0,0,0,0-16h-8V136h8a8,8,0,0,0,0-16h-8v-8a8,8,0,0,0-16,0v8H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),S8e=[b8e,y8e],E8e={key:2},C8e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H92a4,4,0,0,0,4-4V208H88.27A8.17,8.17,0,0,1,80,200.53,8,8,0,0,1,88,192h8V176H88.27A8.17,8.17,0,0,1,80,168.53,8,8,0,0,1,88,160h8V144H88.27A8.17,8.17,0,0,1,80,136.53,8,8,0,0,1,88,128h8v-7.73a8.18,8.18,0,0,1,7.47-8.25,8,8,0,0,1,8.53,8v8h7.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53h-8v16h7.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53h-8v16h7.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53h-8v20a4,4,0,0,0,4,4h84a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"},null,-1),T8e=[C8e],w8e={key:3},x8e=Ee("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H110V198h10a6,6,0,0,0,0-12H110V166h10a6,6,0,0,0,0-12H110V134h10a6,6,0,0,0,0-12H110V112a6,6,0,0,0-12,0v10H88a6,6,0,0,0,0,12H98v20H88a6,6,0,0,0,0,12H98v20H88a6,6,0,0,0,0,12H98v20H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"},null,-1),O8e=[x8e],R8e={key:4},I8e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H112V200h8a8,8,0,0,0,0-16h-8V168h8a8,8,0,0,0,0-16h-8V136h8a8,8,0,0,0,0-16h-8v-8a8,8,0,0,0-16,0v8H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H88a8,8,0,0,0,0,16h8v16H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},null,-1),A8e=[I8e],N8e={key:5},D8e=Ee("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H108V196h12a4,4,0,0,0,0-8H108V164h12a4,4,0,0,0,0-8H108V132h12a4,4,0,0,0,0-8H108V112a4,4,0,0,0-8,0v12H88a4,4,0,0,0,0,8h12v24H88a4,4,0,0,0,0,8h12v24H88a4,4,0,0,0,0,8h12v24H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"},null,-1),P8e=[D8e],M8e={name:"PhFileArchive"},k8e=Ce({...M8e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",g8e,_8e)):l.value==="duotone"?(oe(),pe("g",v8e,S8e)):l.value==="fill"?(oe(),pe("g",E8e,T8e)):l.value==="light"?(oe(),pe("g",w8e,O8e)):l.value==="regular"?(oe(),pe("g",R8e,A8e)):l.value==="thin"?(oe(),pe("g",N8e,P8e)):ft("",!0)],16,m8e))}}),$8e=["width","height","fill","transform"],L8e={key:0},F8e=Ee("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v84a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212H180a12,12,0,0,0,0,24h20a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160Zm-52,67a56,56,0,0,0-50.65,32.09A40,40,0,0,0,60,236h48a56,56,0,0,0,0-112Zm0,88H60a16,16,0,0,1-6.54-30.6,12,12,0,0,0,22.67-4.32,32.78,32.78,0,0,1,.92-5.3c.12-.36.22-.72.31-1.09A32,32,0,1,1,108,212Z"},null,-1),B8e=[F8e],U8e={key:1},H8e=Ee("path",{d:"M208,88H152V32ZM108,136a44,44,0,0,0-42.34,32v0H60a28,28,0,0,0,0,56h48a44,44,0,0,0,0-88Z",opacity:"0.2"},null,-1),z8e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v88a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM108,128a52,52,0,0,0-48,32,36,36,0,0,0,0,72h48a52,52,0,0,0,0-104Zm0,88H60a20,20,0,0,1-3.81-39.64,8,8,0,0,0,16,.36,38,38,0,0,1,1.06-6.09,7.56,7.56,0,0,0,.27-1A36,36,0,1,1,108,216Z"},null,-1),V8e=[H8e,z8e],G8e={key:2},Y8e=Ee("path",{d:"M160,181a52.06,52.06,0,0,1-52,51H60.72C40.87,232,24,215.77,24,195.92a36,36,0,0,1,19.28-31.79,4,4,0,0,1,5.77,4.33,63.53,63.53,0,0,0-1,11.15A8.22,8.22,0,0,0,55.55,188,8,8,0,0,0,64,180a47.55,47.55,0,0,1,4.37-20h0A48,48,0,0,1,160,181Zm56-93V216a16,16,0,0,1-16,16H176a8,8,0,0,1,0-16h24V96H152a8,8,0,0,1-8-8V40H56v88a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z"},null,-1),j8e=[Y8e],W8e={key:3},q8e=Ee("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v88a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2H176a6,6,0,0,0,0,12h24a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM108,130a50,50,0,0,0-46.66,32H60a34,34,0,0,0,0,68h48a50,50,0,0,0,0-100Zm0,88H60a22,22,0,0,1-1.65-43.94c-.06.47-.1.93-.15,1.4a6,6,0,1,0,12,1.08A38.57,38.57,0,0,1,71.3,170a5.71,5.71,0,0,0,.24-.86A38,38,0,1,1,108,218Z"},null,-1),K8e=[q8e],Z8e={key:4},Q8e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v88a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM108,128a52,52,0,0,0-48,32,36,36,0,0,0,0,72h48a52,52,0,0,0,0-104Zm0,88H60a20,20,0,0,1-3.81-39.64,8,8,0,0,0,16,.36,38,38,0,0,1,1.06-6.09,7.56,7.56,0,0,0,.27-1A36,36,0,1,1,108,216Z"},null,-1),X8e=[Q8e],J8e={key:5},e6e=Ee("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v88a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4H176a4,4,0,0,0,0,8h24a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM108,132a47.72,47.72,0,0,0-45.3,32H60a32,32,0,0,0,0,64h48a48,48,0,0,0,0-96Zm0,88H60a24,24,0,0,1,0-48h.66c-.2,1.2-.35,2.41-.46,3.64a4,4,0,0,0,8,.72,41.2,41.2,0,0,1,1.23-6.92,4.68,4.68,0,0,0,.21-.73A40,40,0,1,1,108,220Z"},null,-1),t6e=[e6e],n6e={name:"PhFileCloud"},r6e=Ce({...n6e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",L8e,B8e)):l.value==="duotone"?(oe(),pe("g",U8e,V8e)):l.value==="fill"?(oe(),pe("g",G8e,j8e)):l.value==="light"?(oe(),pe("g",W8e,K8e)):l.value==="regular"?(oe(),pe("g",Z8e,X8e)):l.value==="thin"?(oe(),pe("g",J8e,t6e)):ft("",!0)],16,$8e))}}),i6e=["width","height","fill","transform"],a6e={key:0},o6e=Ee("path",{d:"M48,140H32a12,12,0,0,0-12,12v56a12,12,0,0,0,12,12H48a40,40,0,0,0,0-80Zm0,56H44V164h4a16,16,0,0,1,0,32Zm180.3-3.8a12,12,0,0,1,.37,17A34,34,0,0,1,204,220c-19.85,0-36-17.94-36-40s16.15-40,36-40a34,34,0,0,1,24.67,10.83,12,12,0,0,1-17.34,16.6A10.27,10.27,0,0,0,204,164c-6.5,0-12,7.33-12,16s5.5,16,12,16a10.27,10.27,0,0,0,7.33-3.43A12,12,0,0,1,228.3,192.2ZM128,140c-19.85,0-36,17.94-36,40s16.15,40,36,40,36-17.94,36-40S147.85,140,128,140Zm0,56c-6.5,0-12-7.33-12-16s5.5-16,12-16,12,7.33,12,16S134.5,196,128,196ZM48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.48l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM160,57l23,23H160Z"},null,-1),s6e=[o6e],l6e={key:1},c6e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),u6e=Ee("path",{d:"M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.18,14.18,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.64,0-32,16.15-32,36s14.36,36,32,36,32-16.15,32-36S145.64,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"},null,-1),d6e=[c6e,u6e],p6e={key:2},f6e=Ee("path",{d:"M44,120H212.07a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152.05,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120Zm108-76,44,44h-44ZM52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H51.33C71,216,87.55,200.52,88,180.87A36,36,0,0,0,52,144Zm-.49,56H44V160h8a20,20,0,0,1,20,20.77C71.59,191.59,62.35,200,51.52,200Zm170.67-4.28a8.26,8.26,0,0,1-.73,11.09,30,30,0,0,1-21.4,9.19c-17.65,0-32-16.15-32-36s14.36-36,32-36a30,30,0,0,1,21.4,9.19,8.26,8.26,0,0,1,.73,11.09,8,8,0,0,1-11.9.38A14.21,14.21,0,0,0,200.06,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.25,14.25,0,0,0,10.23-4.66A8,8,0,0,1,222.19,195.72ZM128,144c-17.65,0-32,16.15-32,36s14.37,36,32,36,32-16.15,32-36S145.69,144,128,144Zm0,56c-8.83,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.86,200,128,200Z"},null,-1),m6e=[f6e],g6e={key:3},h6e=Ee("path",{d:"M52,146H36a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6H52a34,34,0,0,0,0-68Zm0,56H42V158H52a22,22,0,0,1,0,44Zm168.15-5.46a6,6,0,0,1,.18,8.48A28.06,28.06,0,0,1,200,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.06,28.06,0,0,1,20.33,9,6,6,0,0,1-8.66,8.3A16.23,16.23,0,0,0,200,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a16.23,16.23,0,0,0,11.67-5.28A6,6,0,0,1,220.15,196.54ZM128,146c-16.54,0-30,15.25-30,34s13.46,34,30,34,30-15.25,30-34S144.54,146,128,146Zm0,56c-9.93,0-18-9.87-18-22s8.07-22,18-22,18,9.87,18,22S137.93,202,128,202ZM48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Z"},null,-1),_6e=[h6e],v6e={key:4},b6e=Ee("path",{d:"M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.65,0-32,16.15-32,36s14.35,36,32,36,32-16.15,32-36S145.65,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"},null,-1),y6e=[b6e],S6e={key:5},E6e=Ee("path",{d:"M52,148H36a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4H52a32,32,0,0,0,0-64Zm0,56H40V156H52a24,24,0,0,1,0,48Zm166.77-6a4,4,0,0,1,.12,5.66A26.11,26.11,0,0,1,200,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a26.11,26.11,0,0,1,18.89,8.36,4,4,0,1,1-5.78,5.54A18.15,18.15,0,0,0,200,156c-11,0-20,10.77-20,24s9,24,20,24a18.15,18.15,0,0,0,13.11-5.9A4,4,0,0,1,218.77,198ZM128,148c-15.44,0-28,14.36-28,32s12.56,32,28,32,28-14.36,28-32S143.44,148,128,148Zm0,56c-11,0-20-10.77-20-24s9-24,20-24,20,10.77,20,24S139,204,128,204ZM48,116a4,4,0,0,0,4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52v20a4,4,0,0,0,8,0V88a4,4,0,0,0-1.17-2.83l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72A4,4,0,0,0,48,116ZM156,41.65,198.34,84H156Z"},null,-1),C6e=[E6e],T6e={name:"PhFileDoc"},w6e=Ce({...T6e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",a6e,s6e)):l.value==="duotone"?(oe(),pe("g",l6e,d6e)):l.value==="fill"?(oe(),pe("g",p6e,m6e)):l.value==="light"?(oe(),pe("g",g6e,_6e)):l.value==="regular"?(oe(),pe("g",v6e,y6e)):l.value==="thin"?(oe(),pe("g",S6e,C6e)):ft("",!0)],16,i6e))}}),x6e=["width","height","fill","transform"],O6e={key:0},R6e=Ee("path",{d:"M200,164v8h12a12,12,0,0,1,0,24H200v12a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12h32a12,12,0,0,1,0,24ZM92,172a32,32,0,0,1-32,32H56v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12H60A32,32,0,0,1,92,172Zm-24,0a8,8,0,0,0-8-8H56v16h4A8,8,0,0,0,68,172Zm100,8a40,40,0,0,1-40,40H112a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,168,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,144,180ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88v20a12,12,0,0,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0ZM160,57V80h23Z"},null,-1),I6e=[R6e],A6e={key:1},N6e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),D6e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),P6e=[N6e,D6e],M6e={key:2},k6e=Ee("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z"},null,-1),$6e=[k6e],L6e={key:3},F6e=Ee("path",{d:"M222,152a6,6,0,0,1-6,6H190v20h18a6,6,0,0,1,0,12H190v18a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h32A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm84,8a34,34,0,0,1-34,34H112a6,6,0,0,1-6-6V152a6,6,0,0,1,6-6h16A34,34,0,0,1,162,180Zm-12,0a22,22,0,0,0-22-22H118v44h10A22,22,0,0,0,150,180ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z"},null,-1),B6e=[F6e],U6e={key:4},H6e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),z6e=[H6e],V6e={key:5},G6e=Ee("path",{d:"M220,152a4,4,0,0,1-4,4H188v24h20a4,4,0,0,1,0,8H188v20a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4h32A4,4,0,0,1,220,152ZM88,172a24,24,0,0,1-24,24H52v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4H64A24,24,0,0,1,88,172Zm-8,0a16,16,0,0,0-16-16H52v32H64A16,16,0,0,0,80,172Zm80,8a32,32,0,0,1-32,32H112a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h16A32,32,0,0,1,160,180Zm-8,0a24,24,0,0,0-24-24H116v48h12A24,24,0,0,0,152,180ZM44,112V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0ZM156,84h42.34L156,41.65Z"},null,-1),Y6e=[G6e],j6e={name:"PhFilePdf"},W6e=Ce({...j6e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",O6e,I6e)):l.value==="duotone"?(oe(),pe("g",A6e,P6e)):l.value==="fill"?(oe(),pe("g",M6e,$6e)):l.value==="light"?(oe(),pe("g",L6e,B6e)):l.value==="regular"?(oe(),pe("g",U6e,z6e)):l.value==="thin"?(oe(),pe("g",V6e,Y6e)):ft("",!0)],16,x6e))}}),q6e=["width","height","fill","transform"],K6e={key:0},Z6e=Ee("path",{d:"M232,152a12,12,0,0,1-12,12h-8v44a12,12,0,0,1-24,0V164h-8a12,12,0,0,1,0-24h40A12,12,0,0,1,232,152ZM92,172a32,32,0,0,1-32,32H56v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12H60A32,32,0,0,1,92,172Zm-24,0a8,8,0,0,0-8-8H56v16h4A8,8,0,0,0,68,172Zm96,0a32,32,0,0,1-32,32h-4v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12h16A32,32,0,0,1,164,172Zm-24,0a8,8,0,0,0-8-8h-4v16h4A8,8,0,0,0,140,172ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88v20a12,12,0,0,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0ZM160,80h23L160,57Z"},null,-1),Q6e=[Z6e],X6e={key:1},J6e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),e3e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H204v48a8,8,0,0,1-16,0V160H176a8,8,0,0,1,0-16h40A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm84,0a28,28,0,0,1-28,28h-8v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172Zm-16,0a12,12,0,0,0-12-12h-8v24h8A12,12,0,0,0,144,172ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),t3e=[J6e,e3e],n3e={key:2},r3e=Ee("path",{d:"M224,152.53a8.17,8.17,0,0,1-8.25,7.47H204v47.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V160H176.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h40A8,8,0,0,1,224,152.53ZM92,172.85C91.54,188.08,78.64,200,63.4,200H56v7.73A8.17,8.17,0,0,1,48.53,216,8,8,0,0,1,40,208V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172.85Zm-16-2A12.25,12.25,0,0,0,63.65,160H56v24h8A12,12,0,0,0,76,170.84Zm84,2C159.54,188.08,146.64,200,131.4,200H124v7.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172.85Zm-16-2A12.25,12.25,0,0,0,131.65,160H124v24h8A12,12,0,0,0,144,170.84ZM40,116V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v28a4,4,0,0,1-4,4H44A4,4,0,0,1,40,116ZM152,88h44L152,44Z"},null,-1),i3e=[r3e],a3e={key:3},o3e=Ee("path",{d:"M222,152a6,6,0,0,1-6,6H202v50a6,6,0,0,1-12,0V158H176a6,6,0,0,1,0-12h40A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm80,0a26,26,0,0,1-26,26H122v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h16A26,26,0,0,1,158,172Zm-12,0a14,14,0,0,0-14-14H122v28h10A14,14,0,0,0,146,172ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z"},null,-1),s3e=[o3e],l3e={key:4},c3e=Ee("path",{d:"M224,152a8,8,0,0,1-8,8H204v48a8,8,0,0,1-16,0V160H176a8,8,0,0,1,0-16h40A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm84,0a28,28,0,0,1-28,28h-8v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172Zm-16,0a12,12,0,0,0-12-12h-8v24h8A12,12,0,0,0,144,172ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"},null,-1),u3e=[c3e],d3e={key:5},p3e=Ee("path",{d:"M220,152a4,4,0,0,1-4,4H200v52a4,4,0,0,1-8,0V156H176a4,4,0,0,1,0-8h40A4,4,0,0,1,220,152ZM88,172a24,24,0,0,1-24,24H52v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4H64A24,24,0,0,1,88,172Zm-8,0a16,16,0,0,0-16-16H52v32H64A16,16,0,0,0,80,172Zm76,0a24,24,0,0,1-24,24H120v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4h16A24,24,0,0,1,156,172Zm-8,0a16,16,0,0,0-16-16H120v32h12A16,16,0,0,0,148,172ZM44,112V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0ZM156,84h42.34L156,41.65Z"},null,-1),f3e=[p3e],m3e={name:"PhFilePpt"},g3e=Ce({...m3e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",K6e,Q6e)):l.value==="duotone"?(oe(),pe("g",X6e,t3e)):l.value==="fill"?(oe(),pe("g",n3e,i3e)):l.value==="light"?(oe(),pe("g",a3e,s3e)):l.value==="regular"?(oe(),pe("g",l3e,u3e)):l.value==="thin"?(oe(),pe("g",d3e,f3e)):ft("",!0)],16,q6e))}}),h3e=["width","height","fill","transform"],_3e={key:0},v3e=Ee("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"},null,-1),b3e=[v3e],y3e={key:1},S3e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),E3e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1),C3e=[S3e,E3e],T3e={key:2},w3e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"},null,-1),x3e=[w3e],O3e={key:3},R3e=Ee("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"},null,-1),I3e=[R3e],A3e={key:4},N3e=Ee("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1),D3e=[N3e],P3e={key:5},M3e=Ee("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"},null,-1),k3e=[M3e],$3e={name:"PhFileText"},L3e=Ce({...$3e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",_3e,b3e)):l.value==="duotone"?(oe(),pe("g",y3e,C3e)):l.value==="fill"?(oe(),pe("g",T3e,x3e)):l.value==="light"?(oe(),pe("g",O3e,I3e)):l.value==="regular"?(oe(),pe("g",A3e,D3e)):l.value==="thin"?(oe(),pe("g",P3e,k3e)):ft("",!0)],16,h3e))}}),F3e=["width","height","fill","transform"],B3e={key:0},U3e=Ee("path",{d:"M160,208a12,12,0,0,1-12,12H120a12,12,0,0,1-12-12V152a12,12,0,0,1,24,0v44h16A12,12,0,0,1,160,208ZM91,142.22A12,12,0,0,0,74.24,145L64,159.34,53.77,145a12,12,0,1,0-19.53,14l15,21-15,21A12,12,0,1,0,53.77,215L64,200.62,74.24,215A12,12,0,0,0,93.77,201l-15-21,15-21A12,12,0,0,0,91,142.22Zm122.53,32.05c-5.12-3.45-11.32-5.24-16.79-6.82a79.69,79.69,0,0,1-7.92-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,211,142a69,69,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.49,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2.48,2.48,0,0,1-.21.71c-1.37,1.55-9.58,1.79-16.39-.06a12,12,0,1,0-6.46,23.11A63.75,63.75,0,0,0,193.1,220c6.46,0,13.73-1.17,19.73-5.15a24.73,24.73,0,0,0,10.95-18C225,187.53,221.33,179.53,213.51,174.27ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z"},null,-1),H3e=[U3e],z3e={key:1},V3e=Ee("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),G3e=Ee("path",{d:"M156,208a8,8,0,0,1-8,8H120a8,8,0,0,1-8-8V152a8,8,0,0,1,16,0v48h20A8,8,0,0,1,156,208ZM92.65,145.49a8,8,0,0,0-11.16,1.86L68,166.24,54.51,147.35a8,8,0,1,0-13,9.3L58.17,180,41.49,203.35a8,8,0,0,0,13,9.3L68,193.76l13.49,18.89a8,8,0,0,0,13-9.3L77.83,180l16.68-23.35A8,8,0,0,0,92.65,145.49Zm98.94,25.82c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.94c-2,15.89,13.65,20.42,23,23.12,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.15,3.93-4.6,3.06-15.16,1.56-19.54.35A8,8,0,0,0,173.93,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z"},null,-1),Y3e=[V3e,G3e],j3e={key:2},W3e=Ee("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm4,164.53a8.18,8.18,0,0,1-8.25,7.47H120a8,8,0,0,1-8-8V152.27a8.18,8.18,0,0,1,7.47-8.25,8,8,0,0,1,8.53,8v48h20A8,8,0,0,1,156,208.53ZM94.51,156.65,77.83,180l16.68,23.35a8,8,0,0,1-13,9.3L68,193.76,54.51,212.65a8,8,0,1,1-13-9.3L58.17,180,41.49,156.65a8,8,0,0,1,2.3-11.46,8.19,8.19,0,0,1,10.88,2.38L68,166.24l13.49-18.89a8,8,0,0,1,13,9.3Zm121.28,39.66a20.81,20.81,0,0,1-9.18,15.23C201.42,215,194.94,216,189.12,216a60.63,60.63,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.21,14.94,2.71,19.54-.35.89-.6,1.84-1.52,2.15-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,8.95-14.94c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.22-2.56-19.82.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.13,1.08,1.12,1.9,2.31,1.49,6.45,2.68,10.45,3.84C201.48,174.17,218,179,215.79,196.31Z"},null,-1),q3e=[W3e],K3e={key:3},Z3e=Ee("path",{d:"M154,208a6,6,0,0,1-6,6H120a6,6,0,0,1-6-6V152a6,6,0,1,1,12,0v50h22A6,6,0,0,1,154,208ZM91.48,147.11a6,6,0,0,0-8.36,1.39L68,169.67,52.88,148.5a6,6,0,1,0-9.76,7L60.63,180,43.12,204.5a6,6,0,1,0,9.76,7L68,190.31l15.12,21.16A6,6,0,0,0,88,214a5.91,5.91,0,0,0,3.48-1.12,6,6,0,0,0,1.4-8.37L75.37,180l17.51-24.51A6,6,0,0,0,91.48,147.11ZM191,173.22c-10.85-3.13-13.41-4.69-13-7.91a6.59,6.59,0,0,1,2.88-5.08c5.6-3.79,17.65-1.83,21.44-.84a6,6,0,0,0,3.07-11.6c-2-.54-20.1-5-31.21,2.48a18.64,18.64,0,0,0-8.08,13.54c-1.8,14.19,12.26,18.25,21.57,20.94,12.12,3.5,14.77,5.33,14.2,9.76a6.85,6.85,0,0,1-3,5.34c-5.61,3.73-17.48,1.64-21.19.62A6,6,0,0,0,174.47,212a59.41,59.41,0,0,0,14.68,2c5.49,0,11.54-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C215.83,180.39,200.91,176.08,191,173.22ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,1,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0ZM158,82H193.5L158,46.48Z"},null,-1),Q3e=[Z3e],X3e={key:4},J3e=Ee("path",{d:"M156,208a8,8,0,0,1-8,8H120a8,8,0,0,1-8-8V152a8,8,0,0,1,16,0v48h20A8,8,0,0,1,156,208ZM92.65,145.49a8,8,0,0,0-11.16,1.86L68,166.24,54.51,147.35a8,8,0,1,0-13,9.3L58.17,180,41.49,203.35a8,8,0,0,0,13,9.3L68,193.76l13.49,18.89a8,8,0,0,0,13-9.3L77.83,180l16.68-23.35A8,8,0,0,0,92.65,145.49Zm98.94,25.82c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.72,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.15,3.93-4.6,3.06-15.16,1.55-19.54.35A8,8,0,0,0,173.93,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z"},null,-1),eFe=[J3e],tFe={key:5},nFe=Ee("path",{d:"M152,208a4,4,0,0,1-4,4H120a4,4,0,0,1-4-4V152a4,4,0,0,1,8,0v52h24A4,4,0,0,1,152,208ZM90.32,148.75a4,4,0,0,0-5.58.92L68,173.12,51.25,149.67a4,4,0,0,0-6.5,4.66L63.08,180,44.75,205.67a4,4,0,0,0,.93,5.58A3.91,3.91,0,0,0,48,212a4,4,0,0,0,3.25-1.67L68,186.88l16.74,23.45A4,4,0,0,0,88,212a3.91,3.91,0,0,0,2.32-.75,4,4,0,0,0,.93-5.58L72.91,180l18.34-25.67A4,4,0,0,0,90.32,148.75Zm100.17,26.4c-10.53-3-15.08-4.91-14.43-10.08a8.57,8.57,0,0,1,3.75-6.49c6.26-4.23,18.77-2.24,23.07-1.11a4,4,0,0,0,2-7.74,61.33,61.33,0,0,0-10.48-1.61c-8.11-.54-14.54.75-19.09,3.82a16.63,16.63,0,0,0-7.22,12.13c-1.59,12.49,10.46,16,20.14,18.77,11.25,3.25,16.46,5.49,15.63,11.94a8.93,8.93,0,0,1-3.9,6.75c-6.28,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.7,57.7,0,0,0,189.19,212c5.17,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C213.63,181.84,200.26,178,190.49,175.15ZM204,92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0Zm-5.65-8L156,41.65V84Z"},null,-1),rFe=[nFe],iFe={name:"PhFileXls"},aFe=Ce({...iFe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",B3e,H3e)):l.value==="duotone"?(oe(),pe("g",z3e,Y3e)):l.value==="fill"?(oe(),pe("g",j3e,q3e)):l.value==="light"?(oe(),pe("g",K3e,Q3e)):l.value==="regular"?(oe(),pe("g",X3e,eFe)):l.value==="thin"?(oe(),pe("g",tFe,rFe)):ft("",!0)],16,F3e))}}),oFe=["width","height","fill","transform"],sFe={key:0},lFe=Ee("path",{d:"M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z"},null,-1),cFe=[lFe],uFe={key:1},dFe=Ee("path",{d:"M224,56V178.06l-39.72-39.72a8,8,0,0,0-11.31,0L147.31,164,97.66,114.34a8,8,0,0,0-11.32,0L32,168.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),pFe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"},null,-1),fFe=[dFe,pFe],mFe={key:2},gFe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z"},null,-1),hFe=[gFe],_Fe={key:3},vFe=Ee("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V163.57L188.53,134.1a14,14,0,0,0-19.8,0l-21.42,21.42L101.9,110.1a14,14,0,0,0-19.8,0L38,154.2V56A2,2,0,0,1,40,54ZM38,200V171.17l52.58-52.58a2,2,0,0,1,2.84,0L176.83,202H40A2,2,0,0,1,38,200Zm178,2H193.8l-38-38,21.41-21.42a2,2,0,0,1,2.83,0l38,38V200A2,2,0,0,1,216,202ZM146,100a10,10,0,1,1,10,10A10,10,0,0,1,146,100Z"},null,-1),bFe=[vFe],yFe={key:4},SFe=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"},null,-1),EFe=[SFe],CFe={key:5},TFe=Ee("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V168.4l-32.89-32.89a12,12,0,0,0-17,0l-22.83,22.83-46.82-46.83a12,12,0,0,0-17,0L36,159V56A4,4,0,0,1,40,52ZM36,200V170.34l53.17-53.17a4,4,0,0,1,5.66,0L181.66,204H40A4,4,0,0,1,36,200Zm180,4H193l-40-40,22.83-22.83a4,4,0,0,1,5.66,0L220,179.71V200A4,4,0,0,1,216,204ZM148,100a8,8,0,1,1,8,8A8,8,0,0,1,148,100Z"},null,-1),wFe=[TFe],xFe={name:"PhImage"},OFe=Ce({...xFe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",sFe,cFe)):l.value==="duotone"?(oe(),pe("g",uFe,fFe)):l.value==="fill"?(oe(),pe("g",mFe,hFe)):l.value==="light"?(oe(),pe("g",_Fe,bFe)):l.value==="regular"?(oe(),pe("g",yFe,EFe)):l.value==="thin"?(oe(),pe("g",CFe,wFe)):ft("",!0)],16,oFe))}}),RFe=["width","height","fill","transform"],IFe={key:0},AFe=Ee("path",{d:"M160,88a16,16,0,1,1,16,16A16,16,0,0,1,160,88Zm76-32V160a20,20,0,0,1-20,20H204v20a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V88A20,20,0,0,1,40,68H60V56A20,20,0,0,1,80,36H216A20,20,0,0,1,236,56ZM180,180H80a20,20,0,0,1-20-20V92H44V196H180Zm-21.66-24L124,121.66,89.66,156ZM212,60H84v67.72l25.86-25.86a20,20,0,0,1,28.28,0L192.28,156H212Z"},null,-1),NFe=[AFe],DFe={key:1},PFe=Ee("path",{d:"M224,56v82.06l-23.72-23.72a8,8,0,0,0-11.31,0L163.31,140,113.66,90.34a8,8,0,0,0-11.32,0L64,128.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),MFe=Ee("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,56H216v62.75l-10.07-10.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L72,109.37ZM184,200H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V132l36-36,49.66,49.66a8,8,0,0,0,11.31,0L194.63,120,216,141.38V168ZM160,84a12,12,0,1,1,12,12A12,12,0,0,1,160,84Z"},null,-1),kFe=[PFe,MFe],$Fe={key:2},LFe=Ee("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM172,72a12,12,0,1,1-12,12A12,12,0,0,1,172,72Zm12,128H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V120.69l30.34-30.35a8,8,0,0,1,11.32,0L163.31,140,189,114.34a8,8,0,0,1,11.31,0L216,130.07V168Z"},null,-1),FFe=[LFe],BFe={key:3},UFe=Ee("path",{d:"M216,42H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H184a14,14,0,0,0,14-14V182h18a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM70,56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v67.57L204.53,110.1a14,14,0,0,0-19.8,0l-21.42,21.41L117.9,86.1a14,14,0,0,0-19.8,0L70,114.2ZM186,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V88a2,2,0,0,1,2-2H58v82a14,14,0,0,0,14,14H186Zm30-30H72a2,2,0,0,1-2-2V131.17l36.58-36.58a2,2,0,0,1,2.83,0l49.66,49.66a6,6,0,0,0,8.49,0l25.65-25.66a2,2,0,0,1,2.83,0l22,22V168A2,2,0,0,1,216,170ZM162,84a10,10,0,1,1,10,10A10,10,0,0,1,162,84Z"},null,-1),HFe=[UFe],zFe={key:4},VFe=Ee("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,56H216v62.75l-10.07-10.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L72,109.37ZM184,200H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V132l36-36,49.66,49.66a8,8,0,0,0,11.31,0L194.63,120,216,141.38V168ZM160,84a12,12,0,1,1,12,12A12,12,0,0,1,160,84Z"},null,-1),GFe=[VFe],YFe={key:5},jFe=Ee("path",{d:"M216,44H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12V180h20a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM68,56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v72.4l-16.89-16.89a12,12,0,0,0-17,0l-22.83,22.83L116.49,87.51a12,12,0,0,0-17,0L68,119ZM188,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4H60v84a12,12,0,0,0,12,12H188Zm28-28H72a4,4,0,0,1-4-4V130.34l37.17-37.17a4,4,0,0,1,5.66,0l49.66,49.66a4,4,0,0,0,5.65,0l25.66-25.66a4,4,0,0,1,5.66,0L220,139.71V168A4,4,0,0,1,216,172ZM164,84a8,8,0,1,1,8,8A8,8,0,0,1,164,84Z"},null,-1),WFe=[jFe],qFe={name:"PhImages"},KFe=Ce({...qFe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",IFe,NFe)):l.value==="duotone"?(oe(),pe("g",DFe,kFe)):l.value==="fill"?(oe(),pe("g",$Fe,FFe)):l.value==="light"?(oe(),pe("g",BFe,HFe)):l.value==="regular"?(oe(),pe("g",zFe,GFe)):l.value==="thin"?(oe(),pe("g",YFe,WFe)):ft("",!0)],16,RFe))}}),ZFe=["width","height","fill","transform"],QFe={key:0},XFe=Ee("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"},null,-1),JFe=[XFe],eBe={key:1},tBe=Ee("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),nBe=Ee("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"},null,-1),rBe=[tBe,nBe],iBe={key:2},aBe=Ee("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"},null,-1),oBe=[aBe],sBe={key:3},lBe=Ee("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),cBe=[lBe],uBe={key:4},dBe=Ee("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},null,-1),pBe=[dBe],fBe={key:5},mBe=Ee("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),gBe=[mBe],hBe={name:"PhInfo"},_Be=Ce({...hBe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",QFe,JFe)):l.value==="duotone"?(oe(),pe("g",eBe,rBe)):l.value==="fill"?(oe(),pe("g",iBe,oBe)):l.value==="light"?(oe(),pe("g",sBe,cBe)):l.value==="regular"?(oe(),pe("g",uBe,pBe)):l.value==="thin"?(oe(),pe("g",fBe,gBe)):ft("",!0)],16,ZFe))}}),vBe=["width","height","fill","transform"],bBe={key:0},yBe=Ee("path",{d:"M168,120a12,12,0,0,1-5.12,9.83l-40,28A12,12,0,0,1,104,148V92a12,12,0,0,1,18.88-9.83l40,28A12,12,0,0,1,168,120Zm68-56V176a28,28,0,0,1-28,28H48a28,28,0,0,1-28-28V64A28,28,0,0,1,48,36H208A28,28,0,0,1,236,64Zm-24,0a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V176a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4ZM160,216H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Z"},null,-1),SBe=[yBe],EBe={key:1},CBe=Ee("path",{d:"M208,48H48A16,16,0,0,0,32,64V176a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V64A16,16,0,0,0,208,48ZM112,152V88l48,32Z",opacity:"0.2"},null,-1),TBe=Ee("path",{d:"M208,40H48A24,24,0,0,0,24,64V176a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V64A24,24,0,0,0,208,40Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8Zm-48,48a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224Zm-3.56-110.66-48-32A8,8,0,0,0,104,88v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,137.05V103l25.58,17Z"},null,-1),wBe=[CBe,TBe],xBe={key:2},OBe=Ee("path",{d:"M168,224a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224ZM232,64V176a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V64A24,24,0,0,1,48,40H208A24,24,0,0,1,232,64Zm-68,56a8,8,0,0,0-3.41-6.55l-40-28A8,8,0,0,0,108,92v56a8,8,0,0,0,12.59,6.55l40-28A8,8,0,0,0,164,120Z"},null,-1),RBe=[OBe],IBe={key:3},ABe=Ee("path",{d:"M163.33,115l-48-32A6,6,0,0,0,106,88v64a6,6,0,0,0,9.33,5l48-32a6,6,0,0,0,0-10ZM118,140.79V99.21L149.18,120ZM208,42H48A22,22,0,0,0,26,64V176a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V64A22,22,0,0,0,208,42Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V64A10,10,0,0,1,48,54H208a10,10,0,0,1,10,10Zm-52,48a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,224Z"},null,-1),NBe=[ABe],DBe={key:4},PBe=Ee("path",{d:"M208,40H48A24,24,0,0,0,24,64V176a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V64A24,24,0,0,0,208,40Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8Zm-48,48a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224Zm-3.56-110.66-48-32A8,8,0,0,0,104,88v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,137.05V103l25.58,17Z"},null,-1),MBe=[PBe],kBe={key:5},$Be=Ee("path",{d:"M162.22,116.67l-48-32A4,4,0,0,0,108,88v64a4,4,0,0,0,2.11,3.53,4,4,0,0,0,4.11-.2l48-32a4,4,0,0,0,0-6.66ZM116,144.53V95.47L152.79,120ZM208,44H48A20,20,0,0,0,28,64V176a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V64A20,20,0,0,0,208,44Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V64A12,12,0,0,1,48,52H208a12,12,0,0,1,12,12Zm-56,48a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,224Z"},null,-1),LBe=[$Be],FBe={name:"PhMonitorPlay"},BBe=Ce({...FBe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",bBe,SBe)):l.value==="duotone"?(oe(),pe("g",EBe,wBe)):l.value==="fill"?(oe(),pe("g",xBe,RBe)):l.value==="light"?(oe(),pe("g",IBe,NBe)):l.value==="regular"?(oe(),pe("g",DBe,MBe)):l.value==="thin"?(oe(),pe("g",kBe,LBe)):ft("",!0)],16,vBe))}}),UBe=["width","height","fill","transform"],HBe={key:0},zBe=Ee("path",{d:"M200,28H160a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28Zm-4,176H164V52h32ZM96,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H96a20,20,0,0,0,20-20V48A20,20,0,0,0,96,28ZM92,204H60V52H92Z"},null,-1),VBe=[zBe],GBe={key:1},YBe=Ee("path",{d:"M208,48V208a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8h40A8,8,0,0,1,208,48ZM96,40H56a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z",opacity:"0.2"},null,-1),jBe=Ee("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"},null,-1),WBe=[YBe,jBe],qBe={key:2},KBe=Ee("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"},null,-1),ZBe=[KBe],QBe={key:3},XBe=Ee("path",{d:"M200,34H160a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V48A14,14,0,0,0,200,34Zm2,174a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h40a2,2,0,0,1,2,2ZM96,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H96a14,14,0,0,0,14-14V48A14,14,0,0,0,96,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H96a2,2,0,0,1,2,2Z"},null,-1),JBe=[XBe],e9e={key:4},t9e=Ee("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"},null,-1),n9e=[t9e],r9e={key:5},i9e=Ee("path",{d:"M200,36H160a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V48A12,12,0,0,0,200,36Zm4,172a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4ZM96,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4Z"},null,-1),a9e=[i9e],o9e={name:"PhPause"},s9e=Ce({...o9e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",HBe,VBe)):l.value==="duotone"?(oe(),pe("g",GBe,WBe)):l.value==="fill"?(oe(),pe("g",qBe,ZBe)):l.value==="light"?(oe(),pe("g",QBe,JBe)):l.value==="regular"?(oe(),pe("g",e9e,n9e)):l.value==="thin"?(oe(),pe("g",r9e,a9e)):ft("",!0)],16,UBe))}}),l9e=["width","height","fill","transform"],c9e={key:0},u9e=Ee("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"},null,-1),d9e=[u9e],p9e={key:1},f9e=Ee("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"},null,-1),m9e=Ee("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1),g9e=[f9e,m9e],h9e={key:2},_9e=Ee("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"},null,-1),v9e=[_9e],b9e={key:3},y9e=Ee("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"},null,-1),S9e=[y9e],E9e={key:4},C9e=Ee("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1),T9e=[C9e],w9e={key:5},x9e=Ee("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"},null,-1),O9e=[x9e],R9e={name:"PhPlay"},I9e=Ce({...R9e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",c9e,d9e)):l.value==="duotone"?(oe(),pe("g",p9e,g9e)):l.value==="fill"?(oe(),pe("g",h9e,v9e)):l.value==="light"?(oe(),pe("g",b9e,S9e)):l.value==="regular"?(oe(),pe("g",E9e,T9e)):l.value==="thin"?(oe(),pe("g",w9e,O9e)):ft("",!0)],16,l9e))}}),A9e=["width","height","fill","transform"],N9e={key:0},D9e=Ee("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"},null,-1),P9e=[D9e],M9e={key:1},k9e=Ee("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),$9e=Ee("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1),L9e=[k9e,$9e],F9e={key:2},B9e=Ee("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"},null,-1),U9e=[B9e],H9e={key:3},z9e=Ee("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"},null,-1),V9e=[z9e],G9e={key:4},Y9e=Ee("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1),j9e=[Y9e],W9e={key:5},q9e=Ee("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"},null,-1),K9e=[q9e],Z9e={name:"PhTrash"},Q9e=Ce({...Z9e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",N9e,P9e)):l.value==="duotone"?(oe(),pe("g",M9e,L9e)):l.value==="fill"?(oe(),pe("g",F9e,U9e)):l.value==="light"?(oe(),pe("g",H9e,V9e)):l.value==="regular"?(oe(),pe("g",G9e,j9e)):l.value==="thin"?(oe(),pe("g",W9e,K9e)):ft("",!0)],16,A9e))}}),X9e=["width","height","fill","transform"],J9e={key:0},e5e=Ee("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0ZM96.49,80.49,116,61v83a12,12,0,0,0,24,0V61l19.51,19.52a12,12,0,1,0,17-17l-40-40a12,12,0,0,0-17,0l-40,40a12,12,0,1,0,17,17Z"},null,-1),t5e=[e5e],n5e={key:1},r5e=Ee("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),i5e=Ee("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z"},null,-1),a5e=[r5e,i5e],o5e={key:2},s5e=Ee("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM88,80h32v64a8,8,0,0,0,16,0V80h32a8,8,0,0,0,5.66-13.66l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,88,80Z"},null,-1),l5e=[s5e],c5e={key:3},u5e=Ee("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0ZM92.24,76.24,122,46.49V144a6,6,0,0,0,12,0V46.49l29.76,29.75a6,6,0,0,0,8.48-8.48l-40-40a6,6,0,0,0-8.48,0l-40,40a6,6,0,0,0,8.48,8.48Z"},null,-1),d5e=[u5e],p5e={key:4},f5e=Ee("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z"},null,-1),m5e=[f5e],g5e={key:5},h5e=Ee("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0ZM90.83,74.83,124,41.66V144a4,4,0,0,0,8,0V41.66l33.17,33.17a4,4,0,1,0,5.66-5.66l-40-40a4,4,0,0,0-5.66,0l-40,40a4,4,0,0,0,5.66,5.66Z"},null,-1),_5e=[h5e],v5e={name:"PhUploadSimple"},b5e=Ce({...v5e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",J9e,t5e)):l.value==="duotone"?(oe(),pe("g",n5e,a5e)):l.value==="fill"?(oe(),pe("g",o5e,l5e)):l.value==="light"?(oe(),pe("g",c5e,d5e)):l.value==="regular"?(oe(),pe("g",p5e,m5e)):l.value==="thin"?(oe(),pe("g",g5e,_5e)):ft("",!0)],16,X9e))}}),y5e=["width","height","fill","transform"],S5e={key:0},E5e=Ee("path",{d:"M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z"},null,-1),C5e=[E5e],T5e={key:1},w5e=Ee("path",{d:"M208,96v64H48V96Z",opacity:"0.2"},null,-1),x5e=Ee("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"},null,-1),O5e=[w5e,x5e],R5e={key:2},I5e=Ee("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z"},null,-1),A5e=[I5e],N5e={key:3},D5e=Ee("path",{d:"M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z"},null,-1),P5e=[D5e],M5e={key:4},k5e=Ee("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"},null,-1),$5e=[k5e],L5e={key:5},F5e=Ee("path",{d:"M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z"},null,-1),B5e=[F5e],U5e={name:"PhWaveform"},H5e=Ce({...U5e,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",S5e,C5e)):l.value==="duotone"?(oe(),pe("g",T5e,O5e)):l.value==="fill"?(oe(),pe("g",R5e,A5e)):l.value==="light"?(oe(),pe("g",N5e,P5e)):l.value==="regular"?(oe(),pe("g",M5e,$5e)):l.value==="thin"?(oe(),pe("g",L5e,B5e)):ft("",!0)],16,y5e))}}),z5e=["width","height","fill","transform"],V5e={key:0},G5e=Ee("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"},null,-1),Y5e=[G5e],j5e={key:1},W5e=Ee("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),q5e=Ee("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),K5e=[W5e,q5e],Z5e={key:2},Q5e=Ee("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),X5e=[Q5e],J5e={key:3},eUe=Ee("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"},null,-1),tUe=[eUe],nUe={key:4},rUe=Ee("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1),iUe=[rUe],aUe={key:5},oUe=Ee("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"},null,-1),sUe=[oUe],lUe={name:"PhX"},cUe=Ce({...lUe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,n=He("weight","regular"),r=He("size","1em"),i=He("color","currentColor"),a=He("mirrored",!1),l=$(()=>{var c;return(c=t.weight)!=null?c:n}),s=$(()=>{var c;return(c=t.size)!=null?c:r}),u=$(()=>{var c;return(c=t.color)!=null?c:i}),o=$(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:a?"scale(-1, 1)":void 0);return(c,d)=>(oe(),pe("svg",An({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:o.value},c.$attrs),[Et(c.$slots,"default"),l.value==="bold"?(oe(),pe("g",V5e,Y5e)):l.value==="duotone"?(oe(),pe("g",j5e,K5e)):l.value==="fill"?(oe(),pe("g",Z5e,X5e)):l.value==="light"?(oe(),pe("g",J5e,tUe)):l.value==="regular"?(oe(),pe("g",nUe,iUe)):l.value==="thin"?(oe(),pe("g",aUe,sUe)):ft("",!0)],16,z5e))}}),uUe={key:0,class:"label"},dUe={key:0},pUe=Ce({__name:"Label",props:{label:{},required:{type:Boolean},hint:{}},setup(e){return(t,n)=>t.label?(oe(),pe("h3",uUe,[Zn(Qt(t.label)+" ",1),t.required?(oe(),pe("span",dUe," * ")):ft("",!0),t.hint?(oe(),Rn(je(zo),{key:1,class:"hint",title:t.hint},{default:pn(()=>[x(je(_Be),{size:"16px",height:"100%"})]),_:1},8,["title"])):ft("",!0)])):ft("",!0)}});const kn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Fn=kn(pUe,[["__scopeId","data-v-16be3530"]]),fUe={class:"appointment-input"},mUe={style:{position:"relative","min-width":"200px","min-height":"200px",height:"100%","overflow-y":"auto"}},gUe={style:{display:"flex","flex-direction":"column",position:"absolute",top:"0",bottom:"0",left:"0",right:"0",gap:"4px"}},hUe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e;function r(m){return tr(m.begin)}function i(){return n.userProps.value?r(n.userProps.slots[n.userProps.value]):r(n.userProps.slots.sort((m,h)=>new Date(m.begin).getTime()-new Date(h.begin).getTime())[0])}const a=i(),l=Oe(a),s=$(()=>{const m=l.value;return n.userProps.slots.reduce((h,v,b)=>new Date(v.begin).getDate()===m.date()&&new Date(v.begin).getMonth()===m.month()&&new Date(v.begin).getFullYear()===m.year()?[...h,{slot:v,idx:b}]:h,[])}),u=$(()=>{const{min:m,max:h}=n.userProps.slots.reduce((v,b)=>{const y=tr(b.start).startOf("day"),S=tr(b.end).startOf("day");return(!v.min||y.isBefore(v.min))&&(v.min=y),(!v.max||S.isAfter(v.max))&&(v.max=S),v},{min:null,max:null});return[m,h.add(1,"day")]});function o(m){const h=m.month(),v=m.year(),b=n.userProps.slots.find(y=>{const S=tr(y.begin);return S.month()===h&&S.year()===v});return tr((b==null?void 0:b.begin)||m)}const c=Oe(!1);function d(m){if(c.value){c.value=!1;return}l.value=m}function p(m){c.value=!0;const h=tr(m);l.value=o(h)}function f(m){t("update:value",m)}function g(m){return!n.userProps.slots.some(h=>m.isSame(tr(h.begin),"day"))}return(m,h)=>(oe(),pe(tt,null,[x(Fn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ee("div",fUe,[x(je(RTe),{value:l.value,"disabled-date":g,fullscreen:!1,"valid-range":u.value,"default-value":je(a),onSelect:d,onPanelChange:p},null,8,["value","valid-range","default-value"]),s.value.length>0?(oe(),Rn(je(Jke),{key:0,vertical:"",gap:"small"},{default:pn(()=>[x(je(sI),{level:4},{default:pn(()=>[Zn("Available slots")]),_:1}),Ee("div",mUe,[Ee("div",gUe,[(oe(!0),pe(tt,null,Di(s.value,({slot:v,idx:b})=>(oe(),Rn(je(fr),{key:b,type:b===m.userProps.value?"primary":"default",onClick:y=>f(b)},{default:pn(()=>[Zn(Qt(je(tr)(v.begin).format("hh:mm A"))+" - "+Qt(je(tr)(v.end).format("hh:mm A")),1)]),_:2},1032,["type","onClick"]))),128))])])]),_:1})):(oe(),Rn(je(ec),{key:1,description:"No slots available"}))])],64))}});const _Ue=kn(hUe,[["__scopeId","data-v-6d1cdd29"]]),vUe={class:"container"},bUe=Ce({__name:"FileIcon",props:{ctrl:{},file:{},size:{}},setup(e){return(t,n)=>(oe(),pe("div",vUe,[(oe(),Rn(hu(t.ctrl.iconPreview(t.file)),{size:t.size},null,8,["size"]))]))}});const xz=kn(bUe,[["__scopeId","data-v-27e5e807"]]),yUe="modulepreload",SUe=function(e){return"/"+e},ML={},Py=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=SUe(a),a in ML)return;ML[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const o=document.createElement("link");if(o.rel=l?"stylesheet":yUe,l||(o.as="script",o.crossOrigin=""),o.href=a,document.head.appendChild(o),l)return new Promise((c,d)=>{o.addEventListener("load",c),o.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},EUe={key:0},CUe=Ee("p",null,"Unsupported file type",-1),TUe=[CUe],wUe=["src"],xUe={key:2,style:{width:"100%",height:"auto"},controls:"",preload:"metadata"},OUe=["src","type"],RUe={key:3,style:{width:"100%"},controls:"",preload:"metadata"},IUe=["src","type"],AUe=["src","type"],NUe={key:5},Oz=Ce({__name:"Preview",props:{ctrl:{}},setup(e){const t=e,n=Oe({hasPreview:!1,filename:"",src:"",previewType:"",file:t.ctrl.state.value.file}),r=Oe();ze(t.ctrl.state,async()=>{const a=t.ctrl.state.value.file;if(n.value.file=a,n.value.hasPreview=t.ctrl.hasPreview(a),n.value.filename=t.ctrl.fileName(a),n.value.src=t.ctrl.fileSrc(a),n.value.previewType=t.ctrl.typeof(a.type),n.value.previewType==="Code"||n.value.previewType==="Text"){const l=await t.ctrl.fetchTextContent(a);i(r.value,l)}});const i=async(a,l,s)=>{(await Py(()=>import("./editor.main.05f77984.js"),["assets/editor.main.05f77984.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(a,{language:s,value:l,minimap:{enabled:!1},readOnly:!0,contextmenu:!1,automaticLayout:!0,tabSize:4,renderWhitespace:"none",guides:{indentation:!1},theme:"vs",fontFamily:"monospace",lineNumbers:"on",scrollBeyondLastColumn:5,scrollBeyondLastLine:!1,renderLineHighlight:"all",scrollbar:{alwaysConsumeMouseWheel:!1}})};return(a,l)=>a.ctrl.state.value.open?(oe(),Rn(je(Na),{key:0,open:!0,title:n.value.filename,onCancel:a.ctrl.close,style:{"max-width":"80dvw","min-width":"40dvw",height:"auto"}},{footer:pn(()=>[]),default:pn(()=>[n.value.hasPreview?n.value.previewType==="Image"?(oe(),pe("img",{key:1,style:{width:"100%"},src:n.value.src},null,8,wUe)):n.value.previewType==="Video"?(oe(),pe("video",xUe,[Ee("source",{src:n.value.src,type:n.value.file.type},null,8,OUe)])):n.value.previewType==="Audio"?(oe(),pe("audio",RUe,[Ee("source",{src:n.value.src,type:n.value.file.type},null,8,IUe)])):n.value.previewType==="PDF"?(oe(),pe("embed",{key:4,style:{width:"100%","min-height":"60dvh"},src:n.value.src,type:n.value.file.type},null,8,AUe)):n.value.previewType==="Text"||n.value.previewType==="Code"?(oe(),pe("div",NUe,[Ee("div",{ref_key:"editor",ref:r,style:{width:"100%","min-height":"40dvh"}},null,512)])):ft("",!0):(oe(),pe("div",EUe,TUe))]),_:1},8,["title","onCancel"])):ft("",!0)}}),DUe=["Text","Image","Code","PDF","Video","Audio"];function PUe(e){return DUe.includes(e)}const MUe={Text:L3e,Image:OFe,Code:C4e,PDF:W6e,Video:BBe,Audio:H5e,Archive:k8e,Document:w6e,Presentation:g3e,Spreadsheet:aFe,Unknown:r6e};class Rz{constructor(){yn(this,"state");yn(this,"open",t=>{this.state.value={open:!0,file:t}});yn(this,"close",()=>{this.state.value.open=!1});yn(this,"hasPreview",t=>{const n=this.typeof(t.type);if(!PUe(n))return!1;switch(n){case"Text":case"Image":case"Code":return!0;case"PDF":return window.navigator.pdfViewerEnabled;case"Video":return document.createElement("video").canPlayType(t.type||"")!=="";case"Audio":return document.createElement("audio").canPlayType(t.type||"")!==""}});yn(this,"fileName",t=>(t==null?void 0:t.name)||"");yn(this,"fileSrc",t=>"/_files/"+(t==null?void 0:t.response[0]));yn(this,"fileThumbnail",t=>this.hasPreview(t)?this.fileSrc(t):"");yn(this,"typeof",t=>{if(!t)return"Unknown";if(t==="application/pdf")return"PDF";switch(t.split("/")[0]){case"audio":return"Audio";case"video":return"Video";case"image":return"Image"}if(t.includes("spreadsheet")||t.includes("excel")||t.includes(".sheet"))return"Spreadsheet";if(t.includes(".document"))return"Document";if(t.includes(".presentation"))return"Presentation";switch(t){case"text/plain":case"text/markdown":case"text/csv":return"Text";case"application/zip":case"application/vnd.rar":case"application/x-7z-compressed":case"application/x-tar":case"application/gzip":return"Archive";case"text/html":case"text/css":case"text/x-python-script":case"application/javascript":case"application/typescript":case"application/json":case"application/xml":case"application/x-yaml":case"application/toml":return"Code"}return"Unknown"});yn(this,"handlePreview",t=>{this.hasPreview(t)&&this.open(t)});yn(this,"fetchTextContent",async t=>{const n=this.fileSrc(t);return await(await window.fetch(n)).text()});yn(this,"iconPreview",t=>{const n=this.typeof(t.type);return MUe[n]});this.state=Oe({open:!1,file:{uid:"",name:"",status:"done",response:[],url:"",type:"",size:0}})}}const kUe=[{key:"en",value:"English"},{key:"pt",value:"Portuguese"},{key:"es",value:"Spanish"},{key:"de",value:"German"},{key:"fr",value:"French"},{key:"hi",value:"Hindi"}],d0={i18n_camera_input_take_photo:()=>({en:"Take photo",pt:"Tirar foto",es:"Tomar foto",de:"Foto aufnehmen",fr:"Prendre une photo",hi:"\u092B\u094B\u091F\u094B \u0932\u0947\u0902"}),i18n_camera_input_try_again:()=>({en:"Try again",pt:"Tentar novamente",es:"Intentar de nuevo",de:"Erneut versuchen",fr:"R\xE9essayer",hi:"\u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902"}),i18n_upload_area_click_or_drop_files:()=>({en:"Click or drag file here to upload",pt:"Clique ou arraste o arquivo aqui para fazer upload",es:"Haz clic o arrastra el archivo aqu\xED para subirlo",de:"Klicken oder ziehen Sie die Datei hierher, um sie hochzuladen",fr:"Cliquez ou faites glisser le fichier ici pour le t\xE9l\xE9charger",hi:"\u0905\u092A\u0932\u094B\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092F\u0939\u093E\u0901 \u0915\u094D\u0932\u093F\u0915 \u0915\u0930\u0947\u0902 \u092F\u093E \u092B\u093C\u093E\u0907\u0932 \u0916\u0940\u0902\u091A\u0947\u0902"}),i18n_upload_area_drop_here:()=>({en:"Drop files",pt:"Solte os arquivos",es:"Suelta los archivos",de:"Dateien ablegen",fr:"D\xE9poser les fichiers",hi:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902"}),i18n_upload_area_rejected_file_extension:e=>({en:`Invalid file extension. Expected formats: ${e.formats}`,pt:`Extens\xE3o de arquivo inv\xE1lida. Formatos aceitos: ${e.formats}`,es:`Extensi\xF3n de archivo inv\xE1lida. Formatos aceptados: ${e.formats}`,de:`Ung\xFCltige Dateierweiterung. Akzeptierte Formate: ${e.formats}`,fr:`Extension de fichier invalide. Formats accept\xE9s: ${e.formats}`,hi:`\u0905\u092E\u093E\u0928\u094D\u092F \u092B\u093C\u093E\u0907\u0932 \u090F\u0915\u094D\u0938\u091F\u0947\u0902\u0936\u0928\u0964 \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092B\u093C\u0949\u0930\u094D\u092E\u0947\u091F\u094D\u0938: ${e.formats}`}),i18n_upload_max_size_excided:e=>({en:`File ${e.fileName} exceeds size limit of ${e.maxSize}MB`,pt:`Arquivo ${e.fileName} excede o limite de tamanho de ${e.maxSize}MB`,es:`El archivo ${e.fileName} excede el l\xEDmite de tama\xF1o de ${e.maxSize}MB`,de:`Die Datei ${e.fileName} \xFCberschreitet das Gr\xF6\xDFenlimit von ${e.maxSize}MB`,fr:`Le fichier ${e.fileName} d\xE9passe la limite de taille de ${e.maxSize}MB`,hi:`\u092B\u093C\u093E\u0907\u0932 ${e.fileName} ${e.maxSize}MB \u0915\u0940 \u0938\u0940\u092E\u093E \u0938\u0947 \u0905\u0927\u093F\u0915 \u0939\u0948`}),i18n_upload_failed:e=>({en:`File upload failed for ${e.fileName}`,pt:`Falha ao enviar arquivo ${e.fileName}`,es:`Error al subir archivo ${e.fileName}`,de:`Datei-Upload fehlgeschlagen f\xFCr ${e.fileName}`,fr:`\xC9chec du t\xE9l\xE9chargement du fichier ${e.fileName}`,hi:`${e.fileName} \u0915\u0947 \u0932\u093F\u090F \u092B\u093C\u093E\u0907\u0932 \u0905\u092A\u0932\u094B\u0921 \u0935\u093F\u092B\u0932 \u0930\u0939\u093E`}),i18n_login_with_this_project:()=>({en:"Use this project",pt:"Usar este projeto",es:"Usar este proyecto",de:"Dieses Projekt verwenden",fr:"Utiliser ce projet",hi:"\u0907\u0938 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902"}),i18n_watermark_text:()=>({en:"Coded in Python with",pt:"Escrito em Python com",es:"Escrito en Python con",de:"In Python mit",fr:"Cod\xE9 en Python avec",hi:"\u092A\u093E\u092F\u0925\u0928 \u092E\u0947\u0902 \u0932\u093F\u0916\u093E \u0917\u092F\u093E"}),i18n_error_invalid_email:()=>({en:"This email is invalid.",pt:"Este email \xE9 inv\xE1lido.",es:"Este email es inv\xE1lido.",de:"Diese E-Mail ist ung\xFCltig.",fr:"Cet email est invalide.",hi:"\u092F\u0939 \u0908\u092E\u0947\u0932 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_required_field:()=>({en:"This field is required.",pt:"Este campo \xE9 obrigat\xF3rio.",es:"Este campo es obligatorio.",de:"Dieses Feld ist erforderlich.",fr:"Ce champ est obligatoire.",hi:"\u092F\u0939 \u092B\u093C\u0940\u0932\u094D\u0921 \u0906\u0935\u0936\u094D\u092F\u0915 \u0939\u0948\u0964"}),i18n_error_invalid_cnpj:()=>({en:"This CNPJ is invalid.",pt:"Este CNPJ \xE9 inv\xE1lido.",es:"Este CNPJ es inv\xE1lido.",de:"Diese CNPJ ist ung\xFCltig.",fr:"Ce CNPJ est invalide.",hi:"\u092F\u0939 CNPJ \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_invalid_cpf:()=>({en:"This CPF is invalid.",pt:"Este CPF \xE9 inv\xE1lido.",es:"Este CPF es inv\xE1lido.",de:"Diese CPF ist ung\xFCltig.",fr:"Ce CPF est invalide.",hi:"\u092F\u0939 CPF \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_invalid_phone_number:()=>({en:"This phone number is invalid.",pt:"Este n\xFAmero de telefone \xE9 inv\xE1lido.",es:"Este n\xFAmero de tel\xE9fono es inv\xE1lido.",de:"Diese Telefonnummer ist ung\xFCltig.",fr:"Ce num\xE9ro de t\xE9l\xE9phone est invalide.",hi:"\u092F\u0939 \u092B\u093C\u094B\u0928 \u0928\u0902\u092C\u0930 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_invalid_country_code:()=>({en:"This country code is invalid.",pt:"Este c\xF3digo de pa\xEDs \xE9 inv\xE1lido.",es:"Este c\xF3digo de pa\xEDs es inv\xE1lido.",de:"Dieser L\xE4ndercode ist ung\xFCltig.",fr:"Ce code de pays est invalide.",hi:"\u092F\u0939 \u0926\u0947\u0936 \u0915\u094B\u0921 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0964"}),i18n_error_min_list:e=>({en:`The minimum number of items is ${e.min}.`,pt:`O n\xFAmero m\xEDnimo de itens \xE9 ${e.min}.`,es:`El n\xFAmero m\xEDnimo de \xEDtems es ${e.min}.`,de:`Die Mindestanzahl an Elementen betr\xE4gt ${e.min}.`,fr:`Le nombre minimum d'\xE9l\xE9ments est ${e.min}.`,hi:`\u0906\u0907\u091F\u092E\u094B\u0902 \u0915\u0940 \u0928\u094D\u092F\u0942\u0928\u0924\u092E \u0938\u0902\u0916\u094D\u092F\u093E ${e.min} \u0939\u0948\u0964`}),i18n_error_max_list:e=>({en:`The maximum number of items is ${e.max}.`,pt:`O n\xFAmero m\xE1ximo de itens \xE9 ${e.max}.`,es:`El n\xFAmero m\xE1ximo de \xEDtems es ${e.max}.`,de:`Die maximale Anzahl an Elementen betr\xE4gt ${e.max}.`,fr:`Le nombre maximum d'\xE9l\xE9ments est ${e.max}.`,hi:`\u0906\u0907\u091F\u092E\u094B\u0902 \u0915\u0940 \u0905\u0927\u093F\u0915\u0924\u092E \u0938\u0902\u0916\u094D\u092F\u093E ${e.max} \u0939\u0948\u0964`}),i18n_error_invalid_list_item:()=>({en:"Some fields are invalid.",pt:"Alguns campos s\xE3o inv\xE1lidos.",es:"Algunos campos son inv\xE1lidos.",de:"Einige Felder sind ung\xFCltig.",fr:"Certains champs sont invalides.",hi:"\u0915\u0941\u091B \u092B\u093C\u0940\u0932\u094D\u0921 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948\u0902\u0964"}),i18n_error_min_number:e=>({en:`The minimum value is ${e.min}.`,pt:`O valor m\xEDnimo \xE9 ${e.min}.`,es:`El valor m\xEDnimo es ${e.min}.`,de:`Der Mindestwert betr\xE4gt ${e.min}.`,fr:`La valeur minimale est ${e.min}.`,hi:`\u0928\u094D\u092F\u0942\u0928\u0924\u092E \u092E\u0942\u0932\u094D\u092F ${e.min} \u0939\u0948\u0964`}),i18n_error_max_number:e=>({en:`The maximum value is ${e.max}.`,pt:`O valor m\xE1ximo \xE9 ${e.max}.`,es:`El valor m\xE1ximo es ${e.max}.`,de:`Der maximale Wert betr\xE4gt ${e.max}.`,fr:`La valeur maximale est ${e.max}.`,hi:`\u0905\u0927\u093F\u0915\u0924\u092E \u092E\u0942$\u0932\u094D\u092F ${e.max} \u0939\u0948\u0964`}),i18n_error_max_amount:e=>({en:`The maximum amount is ${e.max} ${e.currency}.`,pt:`O valor m\xE1ximo \xE9 ${e.max} ${e.currency}.`,es:`El valor m\xE1ximo es ${e.max} ${e.currency}.`,de:`Der maximale Betrag betr\xE4gt ${e.max} ${e.currency}.`,fr:`Le montant maximum est ${e.max} ${e.currency}.`,hi:`\u0905\u0927\u093F\u0915\u0924\u092E \u0930\u093E\u0936\u093F ${e.max} ${e.currency} \u0939\u0948\u0964`}),i18n_error_min_amount:e=>({en:`The minimum amount is ${e.min} ${e.currency}.`,pt:`O valor m\xEDnimo \xE9 ${e.min} ${e.currency}.`,es:`El valor m\xEDnimo es ${e.min} ${e.currency}.`,de:`Der minimale Betrag betr\xE4gt ${e.min} ${e.currency}.`,fr:`Le montant minimum est ${e.min} ${e.currency}.`,hi:`\u0928\u094D\u092F\u0942\u0928\u0924\u092E \u0930\u093E\u0936\u093F ${e.min} ${e.currency} \u0939\u0948\u0964`}),i18n_generic_validation_error:()=>({en:"There are errors in the form.",pt:"Existem erros no formul\xE1rio.",es:"Hay errores en el formulario.",de:"Es gibt Fehler im Formular.",fr:"Il y a des erreurs dans le formulaire.",hi:"\u092B\u0949\u0930\u094D\u092E \u092E\u0947\u0902 \u0924\u094D\u0930\u0941\u091F\u093F\u092F\u093E\u0902 \u0939\u0948\u0902\u0964"}),i18n_back_action:()=>({en:"Back",pt:"Voltar",es:"Volver",de:"Zur\xFCck",fr:"Retour",hi:"\u0935\u093E\u092A\u0938"}),i18n_start_action:()=>({en:"Start",pt:"Iniciar",es:"Comenzar",de:"Starten",fr:"D\xE9marrer",hi:"\u0936\u0941\u0930\u0942"}),i18n_restart_action:()=>({en:"Restart",pt:"Reiniciar",es:"Reiniciar",de:"Neustarten",fr:"Red\xE9marrer",hi:"\u092A\u0941\u0928\u0903 \u0906\u0930\u0902\u092D \u0915\u0930\u0947\u0902"}),i18n_next_action:()=>({en:"Next",pt:"Pr\xF3ximo",es:"Siguiente",de:"N\xE4chster",fr:"Suivant",hi:"\u0905\u0917\u0932\u093E"}),i18n_end_message:()=>({en:"Thank you",pt:"Obrigado",es:"Gracias",de:"Danke",fr:"Merci",hi:"\u0927\u0928\u094D\u092F\u0935\u093E\u0926"}),i18n_error_message:()=>({en:"Oops... something went wrong.",pt:"Oops... algo deu errado.",es:"Oops... algo sali\xF3 mal.",de:"Oops... etwas ist schief gelaufen.",fr:"Oops... quelque chose s'est mal pass\xE9.",hi:"\u0909\u0939... \u0915\u0941\u091B \u0917\u0932\u0924 \u0939\u094B \u0917\u092F\u093E\u0964"}),i18n_lock_failed_running:()=>({en:"This form is already being filled",pt:"Este formul\xE1rio j\xE1 est\xE1 sendo preenchido",es:"Este formulario ya est\xE1 siendo completado",de:"Dieses Formular wird bereits ausgef\xFCllt",fr:"Ce formulaire est d\xE9j\xE0 en cours de remplissage",hi:"\u092F\u0939 \u092B\u0949\u0930\u094D\u092E \u092A\u0939\u0932\u0947 \u0938\u0947 \u092D\u0930 \u0930\u0939\u093E \u0939\u0948"}),i18n_lock_failed_not_running:()=>({en:"This form was already filled",pt:"Este formul\xE1rio j\xE1 foi preenchido",es:"Este formulario ya fue completado",de:"Dieses Formular wurde bereits ausgef\xFCllt",fr:"Ce formulaire a d\xE9j\xE0 \xE9t\xE9 rempli",hi:"\u092F\u0939 \u092B\u0949\u0930\u094D\u092E \u092A\u0939\u0932\u0947 \u0938\u0947 \u092D\u0930\u093E \u0917\u092F\u093E \u0925\u093E"}),i18n_auth_validate_your_email:()=>({en:"Validate your email",pt:"Valide seu email",es:"Valida tu email",de:"\xDCberpr\xFCfen Sie Ihre E-Mail",fr:"Validez votre email",hi:"\u0905\u092A\u0928\u093E \u0908\u092E\u0947\u0932 \u0938\u0924\u094D\u092F\u093E\u092A\u093F\u0924 \u0915\u0930\u0947\u0902"}),i18n_auth_info_description:()=>({en:"Please enter your work email and continue to receive a verification code.",pt:"Por favor, insira seu email de trabalho e continue para receber um c\xF3digo de verifica\xE7\xE3o.",es:"Por favor, introduce tu email de trabajo y contin\xFAa para recibir un c\xF3digo de verificaci\xF3n.",de:"Bitte geben Sie Ihre Arbeits-E-Mail-Adresse ein und fahren Sie fort, um einen Best\xE4tigungscode zu erhalten.",fr:"Veuillez entrer votre email de travail et continuer pour recevoir un code de v\xE9rification.",hi:"\u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u093E \u0915\u093E\u092E \u0915\u093E \u0908\u092E\u0947\u0932 \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902 \u0914\u0930 \u090F\u0915 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u091C\u093E\u0930\u0940 \u0930\u0916\u0947\u0902\u0964"}),i18n_auth_validate_your_email_login:e=>({en:`Login to ${e.brandName||"Abstra Project"}`,pt:`Entrar na ${e.brandName||"Abstra Project"}`,es:`Iniciar sesi\xF3n en ${e.brandName||"Abstra Project"}`,de:`Anmelden bei ${e.brandName||"Abstra Project"}`,fr:`Se connecter \xE0 ${e.brandName||"Abstra Project"}`,hi:`${e.brandName||"Abstra Project"} \u092E\u0947\u0902 \u0932\u0949\u0917 \u0907\u0928 \u0915\u0930\u0947\u0902`}),i18n_auth_enter_your_work_email:()=>({en:"Work email address",pt:"Endere\xE7o de email de trabalho",es:"Direcci\xF3n de correo electr\xF3nico de trabajo",de:"Arbeits-E-Mail-Adresse",fr:"Adresse e-mail professionnelle",hi:"\u0915\u093E\u092E \u0915\u093E \u0908\u092E\u0947\u0932 \u092A\u0924\u093E"}),i18n_auth_enter_your_email:()=>({en:"Email address",pt:"Endere\xE7o de email",es:"Direcci\xF3n de correo electr\xF3nico",de:"E-Mail-Adresse",fr:"Adresse e-mail",hi:"\u0908\u092E\u0947\u0932 \u092A\u0924\u093E"}),i18n_auth_enter_your_token:()=>({en:"Type your verification code",pt:"Digite seu c\xF3digo de verifica\xE7\xE3o",es:"Escribe tu c\xF3digo de verificaci\xF3n",de:"Geben Sie Ihren Best\xE4tigungscode ein",fr:"Tapez votre code de v\xE9rification",hi:"\u0905\u092A\u0928\u093E \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u091F\u093E\u0907\u092A \u0915\u0930\u0947\u0902"}),i18n_connectors_ask_for_access:e=>({en:`I would like to connect my ${e} account`,pt:`Gostaria de conectar minha conta ${e}`,es:`Me gustar\xEDa conectar mi cuenta de ${e}`,de:`Ich m\xF6chte mein ${e}-Konto verbinden`,fr:`Je voudrais connecter mon compte ${e}`,hi:`\u092E\u0948\u0902 \u0905\u092A\u0928\u093E ${e} \u0916\u093E\u0924\u093E \u0915\u0928\u0947\u0915\u094D\u091F \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0942\u0902\u0917\u093E`}),i18n_create_or_choose_project:()=>({en:"Select or create a new project",pt:"Selecione ou crie um novo projeto",es:"Selecciona o crea un nuevo proyecto",de:"W\xE4hlen oder erstellen Sie ein neues Projekt",fr:"S\xE9lectionnez ou cr\xE9ez un nouveau projet",hi:"\u090F\u0915 \u0928\u092F\u093E \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u091A\u0941\u0928\u0947\u0902 \u092F\u093E \u092C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_organization:()=>({en:"Organization",pt:"Organiza\xE7\xE3o",es:"Organizaci\xF3n",de:"Organisation",fr:"Organisation",hi:"\u0938\u0902\u0917\u0920\u0928"}),i18n_get_api_key_choose_organization:()=>({en:"Choose an organization",pt:"Escolha uma organiza\xE7\xE3o",es:"Elige una organizaci\xF3n",de:"W\xE4hlen Sie eine Organisation",fr:"Choisissez une organisation",hi:"\u090F\u0915 \u0938\u0902\u0917\u0920\u0928 \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_new_organization:()=>({en:"New organization",pt:"Nova organiza\xE7\xE3o",es:"Nueva organizaci\xF3n",de:"Neue Organisation",fr:"Nouvelle organisation",hi:"\u0928\u092F\u093E \u0938\u0902\u0917\u0920\u0928"}),i18n_get_api_key_existing_organizations:()=>({en:"Existing organizations",pt:"Organiza\xE7\xF5es existentes",es:"Organizaciones existentes",de:"Bestehende Organisationen",fr:"Organisations existantes",hi:"\u092E\u094C\u091C\u0942\u0926\u093E \u0938\u0902\u0917\u0920\u0928"}),i18n_get_api_key_organization_name:()=>({en:"Organization name",pt:"Nome da organiza\xE7\xE3o",es:"Nombre de la organizaci\xF3n",de:"Organisationsname",fr:"Nom de l'organisation",hi:"\u0938\u0902\u0917\u0920\u0928 \u0915\u093E \u0928\u093E\u092E"}),i18n_get_api_key_choose_organization_name:()=>({en:"Choose a name for your new organization",pt:"Escolha um nome para a sua nova organiza\xE7\xE3o",es:"Elige un nombre para tu nueva organizaci\xF3n",de:"W\xE4hlen Sie einen Namen f\xFCr Ihre neue Organisation",fr:"Choisissez un nom pour votre nouvelle organisation",hi:"\u0905\u092A\u0928\u0947 \u0928\u090F \u0938\u0902\u0917\u0920\u0928 \u0915\u093E \u0928\u093E\u092E \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_project:()=>({en:"Project",pt:"Projeto",es:"Proyecto",de:"Projekt",fr:"Projet",hi:"\u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E"}),i18n_get_api_key_choose_project:()=>({en:"Choose a project",pt:"Escolha um projeto",es:"Elige un proyecto",de:"W\xE4hlen Sie ein Projekt",fr:"Choisissez un projet",hi:"\u090F\u0915 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_project_name:()=>({en:"Project name",pt:"Nome do projeto",es:"Nombre del proyecto",de:"Projektname",fr:"Nom du projet",hi:"\u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0928\u093E\u092E"}),i18n_get_api_key_choose_project_name:()=>({en:"Choose a name for your new project",pt:"Escolha um nome para o seu novo projeto",es:"Elige un nombre para tu nuevo proyecto",de:"W\xE4hlen Sie einen Namen f\xFCr Ihr neues Projekt",fr:"Choisissez un nom pour votre nouveau projet",hi:"\u0905\u092A\u0928\u0947 \u0928\u090F \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u0915\u093E \u0928\u093E\u092E \u091A\u0941\u0928\u0947\u0902"}),i18n_get_api_key_create_new_organization:()=>({en:"Create new organization",pt:"Criar nova organiza\xE7\xE3o",es:"Crear nueva organizaci\xF3n",de:"Neue Organisation erstellen",fr:"Cr\xE9er une nouvelle organisation",hi:"\u0928\u092F\u093E \u0938\u0902\u0917\u0920\u0928 \u092C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_new_project:()=>({en:"New project",pt:"Novo projeto",es:"Nuevo proyecto",de:"Neues Projekt",fr:"Nouveau projet",hi:"\u0928\u0908 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E"}),i18n_get_api_key_existing_projects:()=>({en:"Existing projects",pt:"Projetos existentes",es:"Proyectos existentes",de:"Bestehende Projekte",fr:"Projets existants",hi:"\u092E\u094C\u091C\u0942\u0926\u093E \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_create_new_project:()=>({en:"Create new project",pt:"Criar novo projeto",es:"Crear nuevo proyecto",de:"Neues Projekt erstellen",fr:"Cr\xE9er un nouveau projet",hi:"\u0928\u0908 \u092A\u0930\u093F\u092F\u094B\u091C\u0928\u093E \u092C\u0928\u093E\u090F\u0902"}),i18n_get_api_key_api_key_info:()=>({en:"Use this API key to access your cloud resources.",pt:"Use esta chave de API para acessar seus recursos na nuvem.",es:"Utiliza esta clave de API para acceder a tus recursos en la nube.",de:"Verwenden Sie diesen API-Schl\xFCssel, um auf Ihre Cloud-Ressourcen zuzugreifen.",fr:"Utilisez cette cl\xE9 API pour acc\xE9der \xE0 vos ressources cloud.",hi:"\u0905\u092A\u0928\u0947 \u0915\u094D\u0932\u093E\u0909\u0921 \u0938\u0902\u0938\u093E\u0927\u0928\u094B\u0902 \u0924\u0915 \u092A\u0939\u0941\u0902\u091A \u0915\u0947 \u0932\u093F\u090F \u0907\u0938 API \u0915\u0941\u0902\u091C\u0940 \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902\u0964"}),i18n_get_api_key_api_key_warning:()=>({en:"This is a secret key. Do not share it with anyone and make sure to store it in a safe place.",pt:"Esta \xE9 uma chave secreta. N\xE3o a compartilhe com ningu\xE9m e certifique-se de armazen\xE1-la em um local seguro.",es:"Esta es una clave secreta. No la compartas con nadie y aseg\xFArate de guardarla en un lugar seguro.",de:"Dies ist ein geheimer Schl\xFCssel. Teilen Sie es nicht mit anderen und stellen Sie sicher, dass Sie es an einem sicheren Ort aufbewahren.",fr:"C'est une cl\xE9 secr\xE8te. Ne le partagez avec personne et assurez-vous de le stocker dans un endroit s\xFBr.",hi:"\u092F\u0939 \u090F\u0915 \u0917\u0941\u092A\u094D\u0924 \u0915\u0941\u0902\u091C\u0940 \u0939\u0948\u0964 \u0907\u0938\u0947 \u0915\u093F\u0938\u0940 \u0915\u0947 \u0938\u093E\u0925 \u0938\u093E\u091D\u093E \u0928 \u0915\u0930\u0947\u0902 \u0914\u0930 \u0938\u0941\u0928\u093F\u0936\u094D\u091A\u093F\u0924 \u0915\u0930\u0947\u0902 \u0915\u093F \u0906\u092A \u0907\u0938\u0947 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0938\u094D\u0925\u093E\u0928 \u092A\u0930 \u0938\u094D\u091F\u094B\u0930 \u0915\u0930\u0947\u0902\u0964"}),i18n_auth_info_invalid_email:()=>({en:"Invalid email, please try again.",pt:"Email inv\xE1lido, tente novamente.",es:"Email inv\xE1lido, int\xE9ntalo de nuevo.",de:"E-Mail ung\xFCltig, bitte versuchen Sie es erneut.",fr:"Email invalide, veuillez r\xE9essayer.",hi:"\u0908\u092E\u0947\u0932 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948, \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964"}),i18n_auth_info_send_code:()=>({en:"Send verification code",pt:"Enviar c\xF3digo de verifica\xE7\xE3o",es:"Enviar c\xF3digo de verificaci\xF3n",de:"Best\xE4tigungscode senden",fr:"Envoyer le code de v\xE9rification",hi:"\u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u092D\u0947\u091C\u0947\u0902"}),i18n_auth_token_label:e=>({en:`Check ${e.email}'s inbox and enter your verification code below`,pt:`Verifique a caixa de entrada de ${e.email} e insira o c\xF3digo de verifica\xE7\xE3o abaixo`,es:`Revisa la bandeja de entrada de ${e.email} y escribe el c\xF3digo de verificaci\xF3n abajo`,de:`\xDCberpr\xFCfen Sie den Posteingang von ${e.email} und geben Sie den Best\xE4tigungscode unten ein`,fr:`V\xE9rifiez la bo\xEEte de r\xE9ception de ${e.email} et entrez le code de v\xE9rification ci-dessous`,hi:`\u091C\u093E\u0901\u091A \u0915\u0930\u0947\u0902 ${e.email} \u0915\u0940 \u0907\u0928\u092C\u0949\u0915\u094D\u0938 \u0914\u0930 \u0928\u0940\u091A\u0947 \u0905\u092A\u0928\u093E \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902`}),i18n_auth_token_development_warning:()=>({en:"You\u2019re in development mode, any token will work",pt:"Voc\xEA est\xE1 em modo de desenvolvimento, qualquer token funcionar\xE1",es:"Est\xE1s en modo de desarrollo, cualquier token funcionar\xE1",de:"Sie sind im Entwicklungsmodus, jeder Token funktioniert",fr:"Vous \xEAtes en mode d\xE9veloppement, n\u2019importe quel token fonctionnera",hi:"\u0906\u092A \u0935\u093F\u0915\u093E\u0938 \u092E\u094B\u0921 \u092E\u0947\u0902 \u0939\u0948\u0902, \u0915\u094B\u0908 \u092D\u0940 \u091F\u094B\u0915\u0928 \u0915\u093E\u092E \u0915\u0930\u0947\u0917\u093E"}),i18n_auth_token_expired:()=>({en:"Token has expired, please retry sending it.",pt:"Token expirou, tente reenviar.",es:"Token ha expirado, int\xE9ntalo reenvi\xE1ndolo.",de:"Token ist abgelaufen, bitte versuchen Sie es erneut zu senden.",fr:"Token est expir\xE9, essayez de le renvoyer.",hi:"\u091F\u094B\u0915\u0928 \u0938\u092E\u092F \u0938\u0940\u092E\u093E \u0938\u092E\u093E\u092A\u094D\u0924, \u0907\u0938\u0947 \u092B\u093F\u0930 \u0938\u0947 \u092D\u0947\u091C\u0928\u0947 \u0915\u093E \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964"}),i18n_auth_token_invalid:()=>({en:"Invalid token, please try again or go back and change you email address.",pt:"Token inv\xE1lido, tente novamente ou volte e altere o seu endere\xE7o de email.",es:"Token inv\xE1lido, por favor intenta de nuevo o vuelve y cambia tu direcci\xF3n de correo electr\xF3nico.",de:"Token ung\xFCltig, bitte versuchen Sie es erneut oder gehen Sie zur\xFCck und \xE4ndern Sie Ihre E-Mail Adresse.",fr:"Token invalide, veuillez r\xE9essayer ou revenir en arri\xE8re et changez votre adresse e-mail.",hi:"\u091F\u094B\u0915\u0928 \u0905\u092E\u093E\u0928\u094D\u092F \u0939\u0948, \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902 \u092F\u093E \u0935\u093E\u092A\u0938 \u091C\u093E\u090F\u0902 \u0914\u0930 \u0906\u092A\u0915\u093E \u0908\u092E\u0947\u0932 \u092A\u0924\u093E \u092C\u0926\u0932\u0947\u0902\u0964"}),i18n_auth_token_verify_email:()=>({en:"Verify email",pt:"Verificar email",es:"Verificar email",de:"E-Mail verifizieren",fr:"V\xE9rifier email",hi:"\u0908\u092E\u0947\u0932 \u0938\u0924\u094D\u092F\u093E\u092A\u093F\u0924 \u0915\u0930\u0947\u0902"}),i18n_auth_edit_email:()=>({en:"Use another email",pt:"Usar outro email",es:"Usar otro email",de:"Eine andere E-Mail-Adresse verwenden",fr:"Utiliser un autre email",hi:"\u0926\u0942\u0938\u0930\u093E \u0908\u092E\u0947\u0932 \u092A\u094D\u0930\u092F\u094B\u0917 \u0915\u0930\u0947\u0902"}),i18n_auth_token_resend_email:()=>({en:"Send new code",pt:"Enviar novo c\xF3digo",es:"Enviar nuevo c\xF3digo",de:"Neuen Code senden",fr:"Envoyer un nouveau code",hi:"\u0928\u092F\u093E \u0915\u094B\u0921 \u092D\u0947\u091C\u0947\u0902"}),i18n_auth_token_footer_alternative_email:()=>({en:"If you haven't received the verification code, please check your spam folder",pt:"Se voc\xEA n\xE3o recebeu o c\xF3digo de verifica\xE7\xE3o, verifique sua caixa de spam",es:"Si no has recibido el c\xF3digo de verificaci\xF3n, por favor revisa tu carpeta de spam",de:"Wenn Sie den Best\xE4tigungscode nicht erhalten haben, \xFCberpr\xFCfen Sie bitte Ihren Spam-Ordner",fr:"Si vous n'avez pas re\xE7u le code de v\xE9rification, veuillez v\xE9rifier votre dossier de spam",hi:"\u092F\u0926\u093F \u0906\u092A\u0928\u0947 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0915\u094B\u0921 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u0939\u0948, \u0924\u094B \u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u0947 \u0938\u094D\u092A\u0948\u092E \u092B\u093C\u094B\u0932\u094D\u0921\u0930 \u0915\u0940 \u091C\u093E\u0901\u091A \u0915\u0930\u0947\u0902"}),i18n_local_auth_info_description:()=>({en:"In development mode any email and code will be accepted.",pt:"No modo de desenvolvimento qualquer email e c\xF3digo ser\xE3o aceitos.",es:"En modo de desarrollo cualquier email y c\xF3digo ser\xE1n aceptados.",de:"Im Entwicklungsmodus werden jede E-Mail und jeder Code akzeptiert.",fr:"En mode d\xE9veloppement, tout email et code seront accept\xE9s.",hi:"\u0935\u093F\u0915\u093E\u0938 \u092E\u094B\u0921 \u092E\u0947\u0902 \u0915\u093F\u0938\u0940 \u092D\u0940 \u0908\u092E\u0947\u0932 \u0914\u0930 \u0915\u094B\u0921 \u0915\u094B \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u093F\u092F\u093E \u091C\u093E\u090F\u0917\u093E\u0964"}),i18n_local_auth_info_authenticate:()=>({en:"Validate email",pt:"Validar email",es:"Validar email",de:"E-Mail best\xE4tigen",fr:"Valider email",hi:"\u0908\u092E\u0947\u0932 \u0938\u0924\u094D\u092F\u093E\u092A\u093F\u0924 \u0915\u0930\u0947\u0902"}),i18n_error_invalid_date:()=>({en:"Invalid date",pt:"Data inv\xE1lida",es:"Fecha no v\xE1lida",de:"Ung\xFCltiges Datum",fr:"Date invalide",hi:"\u0905\u0935\u0948\u0927 \u0924\u093F\u0925\u093F"}),i18n_camera_permission_denied:()=>({en:"Camera access denied",pt:"Acesso \xE0 c\xE2mera negado",es:"Acceso a la c\xE1mara denegado",de:"Kamerazugriff verweigert",fr:"Acc\xE8s \xE0 la cam\xE9ra refus\xE9",hi:"\u0915\u0948\u092E\u0930\u093E \u090F\u0915\u094D\u0938\u0947\u0938 \u0928\u093E\u0907\u091F\u0947\u0921"}),i18n_no_camera_found:()=>({en:"No camera found",pt:"Nenhuma c\xE2mera encontrada",es:"No se encontr\xF3 ninguna c\xE1mara",de:"Keine Kamera gefunden",fr:"Aucune cam\xE9ra trouv\xE9e",hi:"\u0915\u094B\u0908 \u0915\u0948\u092E\u0930\u093E \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E"}),i18n_camera_already_in_use:()=>({en:"Camera is already in use",pt:"C\xE2mera j\xE1 est\xE1 em uso",es:"La c\xE1mara ya est\xE1 en uso",de:"Kamera wird bereits verwendet",fr:"La cam\xE9ra est d\xE9j\xE0 utilis\xE9e",hi:"\u0915\u0948\u092E\u0930\u093E \u092A\u0939\u0932\u0947 \u0938\u0947 \u0939\u0940 \u0909\u092A\u092F\u094B\u0917 \u092E\u0947\u0902 \u0939\u0948"}),i18n_permission_error:()=>({en:"An error occurred while accessing the camera",pt:"Ocorreu um erro ao acessar a c\xE2mera",es:"Se produjo un error al acceder a la c\xE1mara",de:"Beim Zugriff auf die Kamera ist ein Fehler aufgetreten",fr:"Une erreur s'est produite lors de l'acc\xE8s \xE0 la cam\xE9ra",hi:"\u0915\u0948\u092E\u0930\u093E \u0924\u0915 \u092A\u0939\u0941\u0902\u091A\u0924\u0947 \u0938\u092E\u092F \u090F\u0915 \u0924\u094D\u0930\u0941\u091F\u093F \u0906\u0908"}),i18n_access_denied:()=>({en:"Access denied",pt:"Acesso negado",es:"Acceso denegado",de:"Zugriff verweigert",fr:"Acc\xE8s refus\xE9",hi:"\u092A\u0939\u0941\u0902\u091A \u0928\u093F\u0937\u0947\u0927\u093F\u0924"}),i18n_access_denied_message:()=>({en:"You do not have the necessary permissions to access this page. Please contact the administrator to request access.",pt:"Voc\xEA n\xE3o tem as permiss\xF5es necess\xE1rias para acessar esta p\xE1gina. Entre em contato com o administrador para solicitar acesso.",es:"No tienes los permisos necesarios para acceder a esta p\xE1gina. Ponte en contacto con el administrador para solicitar acceso.",de:"Sie haben nicht die erforderlichen Berechtigungen, um auf diese Seite zuzugreifen. Bitte kontaktieren Sie den Administrator, um Zugriff anzufordern.",fr:"Vous n'avez pas les autorisations n\xE9cessaires pour acc\xE9der \xE0 cette page. Veuillez contacter l'administrateur pour demander l'acc\xE8s.",hi:"\u0906\u092A\u0915\u0947 \u092A\u093E\u0938 \u0907\u0938 \u092A\u0947\u091C \u0924\u0915 \u092A\u0939\u0941\u0902\u091A\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0906\u0935\u0936\u094D\u092F\u0915 \u0905\u0928\u0941\u092E\u0924\u093F\u092F\u093E\u0901 \u0928\u0939\u0940\u0902 \u0939\u0948\u0902\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0939\u0941\u0902\u091A \u0915\u0947 \u0932\u093F\u090F \u0905\u0928\u0941\u0930\u094B\u0927 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092A\u094D\u0930\u0936\u093E\u0938\u0915 \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902\u0964"}),i18n_internal_error:()=>({en:"Internal error",pt:"Erro interno",es:"Error interno",de:"Interner Fehler",fr:"Erreur interne",hi:"\u0906\u0902\u0924\u0930\u093F\u0915 \u0924\u094D\u0930\u0941\u091F\u093F"}),i18n_internal_error_message:()=>({en:"An unknown error ocurred. Please try again or contact support.",pt:"Ocorreu um erro desconhecido. Tente novamente ou entre em contato com o suporte.",es:"Se ha producido un error desconocido. Int\xE9ntalo de nuevo o ponte en contacto con el soporte.",de:"Ein unbekannter Fehler ist aufgetreten. Bitte versuchen Sie es erneut oder kontaktieren Sie den Support.",fr:"Une erreur inconnue s\u2019est produite. Veuillez r\xE9essayer ou contacter le support.",hi:"\u090F\u0915 \u0905\u091C\u094D\u091E\u093E\u0924 \u0924\u094D\u0930\u0941\u091F\u093F \u0939\u0941\u0908\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902 \u092F\u093E \u0938\u092E\u0930\u094D\u0925\u0928 \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902\u0964"}),i18n_page_not_found:()=>({en:"Page not found",pt:"P\xE1gina n\xE3o encontrada",es:"P\xE1gina no encontrada",de:"Seite nicht gefunden",fr:"Page non trouv\xE9e",hi:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E"}),i18n_page_not_found_message:()=>({en:"The page you are looking for does not exist. Please check the URL and try again.",pt:"A p\xE1gina que voc\xEA est\xE1 procurando n\xE3o existe. Verifique a URL e tente novamente.",es:"La p\xE1gina que buscas no existe. Por favor, verifica la URL e int\xE9ntalo de nuevo.",de:"Die von Ihnen gesuchte Seite existiert nicht. Bitte \xFCberpr\xFCfen Sie die URL und versuchen Sie es erneut.",fr:"La page que vous recherchez n\u2019existe pas. Veuillez v\xE9rifier l\u2019URL et r\xE9essayer.",hi:"\u0906\u092A \u091C\u093F\u0938 \u092A\u0943\u0937\u094D\u0920 \u0915\u0940 \u0916\u094B\u091C \u0915\u0930 \u0930\u0939\u0947 \u0939\u0948\u0902, \u0935\u0939 \u092E\u094C\u091C\u0942\u0926 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E URL \u0915\u0940 \u091C\u093E\u0901\u091A \u0915\u0930\u0947\u0902 \u0914\u0930 \u092A\u0941\u0928: \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964"}),i18n_error_invalid_file_format:e=>({en:`Invalid file extension. Expected formats: ${e.acceptedFormats}`,pt:`Extens\xE3o de arquivo inv\xE1lida. Formatos aceitos: ${e.acceptedFormats}`,es:`Extensi\xF3n de archivo inv\xE1lida. Formatos aceptados: ${e.acceptedFormats}`,de:`Ung\xFCltige Dateierweiterung. Akzeptierte Formate: ${e.acceptedFormats}`,fr:`Extension de fichier invalide. Formats accept\xE9s: ${e.acceptedFormats}`,hi:`\u0905\u092E\u093E\u0928\u094D\u092F \u092B\u093C\u093E\u0907\u0932 \u090F\u0915\u094D\u0938\u091F\u0947\u0902\u0936\u0928\u0964 \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092B\u093C\u0949\u0930\u094D\u092E\u0947\u091F\u094D\u0938: ${e.acceptedFormats}`})},$Ue="en";class LUe{getBrowserLocale(){return navigator.language.split(/[-_]/)[0]}getSupportedLocale(t){return kUe.includes(t)?t:$Ue}translate(t,n=null,...r){if(!(t in d0))throw new Error(`Missing translation for key ${t} in locale ${n}`);if(n==null){const i=this.getBrowserLocale(),a=Oa.getSupportedLocale(i);return d0[t](...r)[a]}return d0[t](...r)[n]}translateIfFound(t,n,...r){return t in d0?this.translate(t,n,...r):t}}const Oa=new LUe,m1={txt:"text/plain",md:"text/markdown",csv:"text/csv",html:"text/html",css:"text/css",py:"text/x-python-script",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",mp3:"audio/mp3",wav:"audio/wav",flac:"audio/flac",aac:"audio/aac",ogg:"audio/ogg",wma:"audio/x-ms-wma",avi:"video/avi",mp4:"video/mp4",mkv:"video/x-matroska",mov:"video/quicktime",webm:"video/webm",flv:"video/x-flv",wmv:"video/x-ms-wmv",m4v:"video/x-m4v",zip:"application/zip",rar:"application/vnd.rar","7z":"application/x-7z-compressed",tar:"application/x-tar",gzip:"application/gzip",js:"application/javascript",ts:"application/typescript",json:"application/json",xml:"application/xml",yaml:"application/x-yaml",toml:"application/toml",pdf:"application/pdf",xls:"application/vnd.ms-excel",doc:"application/msword",ppt:"application/vnd.ms-powerpoint",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",image:"image/*",video:"video/*",audio:"audio/*",text:"text/*",application:"application/*",unknown:"*"},FUe=e=>{const t=e==null?void 0:e.replace(".","");return t in m1?m1[t]:m1.unknown};class Iz{constructor(t,n,r,i,a,l,s,u){yn(this,"initialFileList",()=>this.value.map(t=>{const n=new File([],t);return{uid:t,name:t.split("/").pop()||t,status:"done",response:[t.replace("/_files/","")],url:t,type:FUe(t.split(".").pop()),size:n.size}}));yn(this,"emitValue",t=>{this.value=t,this.emit("update:value",t)});yn(this,"emitErrors",t=>{this.emit("update:errors",t)});yn(this,"handleReject",()=>{var n;const t=((n=this.acceptedFormats)==null?void 0:n.join(", "))||"*";this.emitErrors([Oa.translate("i18n_upload_area_rejected_file_extension",this.locale,{formats:t})])});yn(this,"customData",t=>({filename:t.name}));yn(this,"beforeUpload",t=>this.maxFileSize&&t.size&&t.size/1024/1024>this.maxFileSize?(this.emitErrors([Oa.translate("i18n_upload_max_size_excided",this.locale,{fileName:t.name,maxSize:this.maxFileSize})]),Ez.LIST_IGNORE):!0);yn(this,"handleChange",t=>{t.file.status==="done"&&(t.file.thumbUrl=this.thumbnail(t.file));const r=t.fileList.filter(i=>i.status==="done").map(i=>"/_files/"+i.response[0])||[];this.emitValue(r),t.file.status==="error"&&this.emitErrors([Oa.translate("i18n_upload_failed",this.locale,{fileName:t.file.name})])});this.emit=t,this.value=n,this.thumbnail=r,this.locale=i,this.acceptedFormats=a,this.acceptedMimeTypes=l,this.maxFileSize=s,this.multiple=u}get accept(){return this.acceptedMimeTypes||"*"}get action(){return"/_files/"}get method(){return"PUT"}get headers(){return{cache:"no-cache",mode:"cors"}}get progress(){return{strokeWidth:5,showInfo:!0,format:t=>`${(t==null?void 0:t.toFixed(0))||0}%`}}get maxCount(){return this.multiple?void 0:1}}const BUe=Ce({__name:"CardList",props:{value:{},errors:{},locale:{},acceptedFormats:{},acceptedMimeTypes:{},maxFileSize:{},multiple:{type:Boolean},disabled:{type:Boolean},capture:{type:Boolean}},emits:["update:value","update:errors"],setup(e,{expose:t,emit:n}){const r=e,i=Oe(null),a=new Rz,l=new Iz(n,r.value,a.fileThumbnail,r.locale,r.acceptedFormats,r.acceptedMimeTypes,r.maxFileSize,r.multiple),s=Oe(l.initialFileList()),u=$(()=>r.multiple||s.value.length===0);return t({uploadRef:i}),(o,c)=>(oe(),pe(tt,null,[x(je(Ez),{ref_key:"uploadRef",ref:i,capture:o.capture,fileList:s.value,"onUpdate:fileList":c[0]||(c[0]=d=>s.value=d),accept:je(l).accept,action:je(l).action,method:je(l).method,"max-count":je(l).maxCount,headers:je(l).headers,data:je(l).customData,progress:je(l).progress,"before-upload":je(l).beforeUpload,onChange:je(l).handleChange,onReject:je(l).handleReject,onPreview:je(a).handlePreview,multiple:o.multiple,disabled:o.disabled,"show-upload-list":!0,"list-type":"picture-card"},{iconRender:pn(({file:d})=>[x(xz,{file:d,ctrl:je(a),size:20},null,8,["file","ctrl"])]),default:pn(()=>[u.value?Et(o.$slots,"ui",{key:0},void 0,!0):ft("",!0)]),_:3},8,["capture","fileList","accept","action","method","max-count","headers","data","progress","before-upload","onChange","onReject","onPreview","multiple","disabled"]),x(Oz,{ctrl:je(a)},null,8,["ctrl"])],64))}});const Az=kn(BUe,[["__scopeId","data-v-d80561be"]]);var Nz={},My={};My.byteLength=zUe;My.toByteArray=GUe;My.fromByteArray=WUe;var ds=[],no=[],UUe=typeof Uint8Array<"u"?Uint8Array:Array,g1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Sd=0,HUe=g1.length;Sd0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function zUe(e){var t=Dz(e),n=t[0],r=t[1];return(n+r)*3/4-r}function VUe(e,t,n){return(t+n)*3/4-n}function GUe(e){var t,n=Dz(e),r=n[0],i=n[1],a=new UUe(VUe(e,r,i)),l=0,s=i>0?r-4:r,u;for(u=0;u>16&255,a[l++]=t>>8&255,a[l++]=t&255;return i===2&&(t=no[e.charCodeAt(u)]<<2|no[e.charCodeAt(u+1)]>>4,a[l++]=t&255),i===1&&(t=no[e.charCodeAt(u)]<<10|no[e.charCodeAt(u+1)]<<4|no[e.charCodeAt(u+2)]>>2,a[l++]=t>>8&255,a[l++]=t&255),a}function YUe(e){return ds[e>>18&63]+ds[e>>12&63]+ds[e>>6&63]+ds[e&63]}function jUe(e,t,n){for(var r,i=[],a=t;as?s:l+a));return r===1?(t=e[n-1],i.push(ds[t>>2]+ds[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(ds[t>>10]+ds[t>>4&63]+ds[t<<2&63]+"=")),i.join("")}var pI={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */pI.read=function(e,t,n,r,i){var a,l,s=i*8-r-1,u=(1<>1,c=-7,d=n?i-1:0,p=n?-1:1,f=e[t+d];for(d+=p,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=a*256+e[t+d],d+=p,c-=8);for(l=a&(1<<-c)-1,a>>=-c,c+=r;c>0;l=l*256+e[t+d],d+=p,c-=8);if(a===0)a=1-o;else{if(a===u)return l?NaN:(f?-1:1)*(1/0);l=l+Math.pow(2,r),a=a-o}return(f?-1:1)*l*Math.pow(2,a-r)};pI.write=function(e,t,n,r,i,a){var l,s,u,o=a*8-i-1,c=(1<>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,g=r?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,l=c):(l=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-l))<1&&(l--,u*=2),l+d>=1?t+=p/u:t+=p*Math.pow(2,1-d),t*u>=2&&(l++,u/=2),l+d>=c?(s=0,l=c):l+d>=1?(s=(t*u-1)*Math.pow(2,i),l=l+d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),l=0));i>=8;e[n+f]=s&255,f+=g,s/=256,i-=8);for(l=l<0;e[n+f]=l&255,f+=g,l/=256,o-=8);e[n+f-g]|=m*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -587,7 +587,7 @@ __p += '`),xn&&(et+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+et+`return __p -}`;var dn=AN(function(){return Hn(ce,St+"return "+et).apply(n,Re)});if(dn.source=et,NS(dn))throw dn;return dn}function ZW(_){return Vn(_).toLowerCase()}function QW(_){return Vn(_).toUpperCase()}function XW(_,E,A){if(_=Vn(_),_&&(A||E===n))return BI(_);if(!_||!(E=ga(E)))return _;var V=yo(_),Q=yo(E),ce=UI(V,Q),Re=HI(V,Q)+1;return kl(V,ce,Re).join("")}function JW(_,E,A){if(_=Vn(_),_&&(A||E===n))return _.slice(0,VI(_)+1);if(!_||!(E=ga(E)))return _;var V=yo(_),Q=HI(V,yo(E))+1;return kl(V,0,Q).join("")}function eq(_,E,A){if(_=Vn(_),_&&(A||E===n))return _.replace(le,"");if(!_||!(E=ga(E)))return _;var V=yo(_),Q=UI(V,yo(E));return kl(V,Q).join("")}function tq(_,E){var A=N,V=M;if(xr(E)){var Q="separator"in E?E.separator:Q;A="length"in E?cn(E.length):A,V="omission"in E?ga(E.omission):V}_=Vn(_);var ce=_.length;if(Ju(_)){var Re=yo(_);ce=Re.length}if(A>=ce)return _;var De=A-ed(V);if(De<1)return V;var Be=Re?kl(Re,0,De).join(""):_.slice(0,De);if(Q===n)return Be+V;if(Re&&(De+=Be.length-De),DS(Q)){if(_.slice(De).search(Q)){var Qe,Xe=Be;for(Q.global||(Q=qy(Q.source,Vn(gn.exec(Q))+"g")),Q.lastIndex=0;Qe=Q.exec(Xe);)var et=Qe.index;Be=Be.slice(0,et===n?De:et)}}else if(_.indexOf(ga(Q),De)!=De){var dt=Be.lastIndexOf(Q);dt>-1&&(Be=Be.slice(0,dt))}return Be+V}function nq(_){return _=Vn(_),_&&Bn.test(_)?_.replace(pt,NV):_}var rq=sd(function(_,E,A){return _+(A?" ":"")+E.toUpperCase()}),kS=NA("toUpperCase");function IN(_,E,A){return _=Vn(_),E=A?n:E,E===n?xV(_)?MV(_):_V(_):_.match(E)||[]}var AN=mn(function(_,E){try{return fa(_,n,E)}catch(A){return NS(A)?A:new en(A)}}),iq=Ms(function(_,E){return Ha(E,function(A){A=ts(A),Ds(_,A,IS(_[A],_))}),_});function aq(_){var E=_==null?0:_.length,A=Nt();return _=E?vr(_,function(V){if(typeof V[1]!="function")throw new za(l);return[A(V[0]),V[1]]}):[],mn(function(V){for(var Q=-1;++Qz)return[];var A=K,V=xi(_,K);E=Nt(E),_-=K;for(var Q=Yy(V,E);++A<_;)E(A);return Q}function xq(_){return an(_)?vr(_,ts):ha(_)?[_]:Ki(QA(Vn(_)))}function Oq(_){var E=++FV;return Vn(_)+E}var Rq=kh(function(_,E){return _+E},0),Iq=_S("ceil"),Aq=kh(function(_,E){return _/E},1),Nq=_S("floor");function Dq(_){return _&&_.length?Rh(_,Xi,nS):n}function Pq(_,E){return _&&_.length?Rh(_,Nt(E,2),nS):n}function Mq(_){return LI(_,Xi)}function kq(_,E){return LI(_,Nt(E,2))}function $q(_){return _&&_.length?Rh(_,Xi,oS):n}function Lq(_,E){return _&&_.length?Rh(_,Nt(E,2),oS):n}var Fq=kh(function(_,E){return _*E},1),Bq=_S("round"),Uq=kh(function(_,E){return _-E},0);function Hq(_){return _&&_.length?Gy(_,Xi):0}function zq(_,E){return _&&_.length?Gy(_,Nt(E,2)):0}return ae.after=uj,ae.ary=lN,ae.assign=Qj,ae.assignIn=EN,ae.assignInWith=qh,ae.assignWith=Xj,ae.at=Jj,ae.before=cN,ae.bind=IS,ae.bindAll=iq,ae.bindKey=uN,ae.castArray=Ej,ae.chain=aN,ae.chunk=N7,ae.compact=D7,ae.concat=P7,ae.cond=aq,ae.conforms=oq,ae.constant=$S,ae.countBy=HY,ae.create=eW,ae.curry=dN,ae.curryRight=pN,ae.debounce=fN,ae.defaults=tW,ae.defaultsDeep=nW,ae.defer=dj,ae.delay=pj,ae.difference=M7,ae.differenceBy=k7,ae.differenceWith=$7,ae.drop=L7,ae.dropRight=F7,ae.dropRightWhile=B7,ae.dropWhile=U7,ae.fill=H7,ae.filter=VY,ae.flatMap=jY,ae.flatMapDeep=WY,ae.flatMapDepth=qY,ae.flatten=tN,ae.flattenDeep=z7,ae.flattenDepth=V7,ae.flip=fj,ae.flow=lq,ae.flowRight=cq,ae.fromPairs=G7,ae.functions=cW,ae.functionsIn=uW,ae.groupBy=KY,ae.initial=j7,ae.intersection=W7,ae.intersectionBy=q7,ae.intersectionWith=K7,ae.invert=pW,ae.invertBy=fW,ae.invokeMap=QY,ae.iteratee=LS,ae.keyBy=XY,ae.keys=oi,ae.keysIn=Qi,ae.map=zh,ae.mapKeys=gW,ae.mapValues=hW,ae.matches=uq,ae.matchesProperty=dq,ae.memoize=Gh,ae.merge=_W,ae.mergeWith=CN,ae.method=pq,ae.methodOf=fq,ae.mixin=FS,ae.negate=Yh,ae.nthArg=gq,ae.omit=vW,ae.omitBy=bW,ae.once=mj,ae.orderBy=JY,ae.over=hq,ae.overArgs=gj,ae.overEvery=_q,ae.overSome=vq,ae.partial=AS,ae.partialRight=mN,ae.partition=ej,ae.pick=yW,ae.pickBy=TN,ae.property=NN,ae.propertyOf=bq,ae.pull=J7,ae.pullAll=rN,ae.pullAllBy=eY,ae.pullAllWith=tY,ae.pullAt=nY,ae.range=yq,ae.rangeRight=Sq,ae.rearg=hj,ae.reject=rj,ae.remove=rY,ae.rest=_j,ae.reverse=OS,ae.sampleSize=aj,ae.set=EW,ae.setWith=CW,ae.shuffle=oj,ae.slice=iY,ae.sortBy=cj,ae.sortedUniq=dY,ae.sortedUniqBy=pY,ae.split=jW,ae.spread=vj,ae.tail=fY,ae.take=mY,ae.takeRight=gY,ae.takeRightWhile=hY,ae.takeWhile=_Y,ae.tap=DY,ae.throttle=bj,ae.thru=Hh,ae.toArray=bN,ae.toPairs=wN,ae.toPairsIn=xN,ae.toPath=xq,ae.toPlainObject=SN,ae.transform=TW,ae.unary=yj,ae.union=vY,ae.unionBy=bY,ae.unionWith=yY,ae.uniq=SY,ae.uniqBy=EY,ae.uniqWith=CY,ae.unset=wW,ae.unzip=RS,ae.unzipWith=iN,ae.update=xW,ae.updateWith=OW,ae.values=ud,ae.valuesIn=RW,ae.without=TY,ae.words=IN,ae.wrap=Sj,ae.xor=wY,ae.xorBy=xY,ae.xorWith=OY,ae.zip=RY,ae.zipObject=IY,ae.zipObjectDeep=AY,ae.zipWith=NY,ae.entries=wN,ae.entriesIn=xN,ae.extend=EN,ae.extendWith=qh,FS(ae,ae),ae.add=Rq,ae.attempt=AN,ae.camelCase=DW,ae.capitalize=ON,ae.ceil=Iq,ae.clamp=IW,ae.clone=Cj,ae.cloneDeep=wj,ae.cloneDeepWith=xj,ae.cloneWith=Tj,ae.conformsTo=Oj,ae.deburr=RN,ae.defaultTo=sq,ae.divide=Aq,ae.endsWith=PW,ae.eq=Eo,ae.escape=MW,ae.escapeRegExp=kW,ae.every=zY,ae.find=GY,ae.findIndex=JA,ae.findKey=rW,ae.findLast=YY,ae.findLastIndex=eN,ae.findLastKey=iW,ae.floor=Nq,ae.forEach=oN,ae.forEachRight=sN,ae.forIn=aW,ae.forInRight=oW,ae.forOwn=sW,ae.forOwnRight=lW,ae.get=PS,ae.gt=Rj,ae.gte=Ij,ae.has=dW,ae.hasIn=MS,ae.head=nN,ae.identity=Xi,ae.includes=ZY,ae.indexOf=Y7,ae.inRange=AW,ae.invoke=mW,ae.isArguments=Hc,ae.isArray=an,ae.isArrayBuffer=Aj,ae.isArrayLike=Zi,ae.isArrayLikeObject=Ur,ae.isBoolean=Nj,ae.isBuffer=$l,ae.isDate=Dj,ae.isElement=Pj,ae.isEmpty=Mj,ae.isEqual=kj,ae.isEqualWith=$j,ae.isError=NS,ae.isFinite=Lj,ae.isFunction=$s,ae.isInteger=gN,ae.isLength=jh,ae.isMap=hN,ae.isMatch=Fj,ae.isMatchWith=Bj,ae.isNaN=Uj,ae.isNative=Hj,ae.isNil=Vj,ae.isNull=zj,ae.isNumber=_N,ae.isObject=xr,ae.isObjectLike=Nr,ae.isPlainObject=Rf,ae.isRegExp=DS,ae.isSafeInteger=Gj,ae.isSet=vN,ae.isString=Wh,ae.isSymbol=ha,ae.isTypedArray=cd,ae.isUndefined=Yj,ae.isWeakMap=jj,ae.isWeakSet=Wj,ae.join=Z7,ae.kebabCase=$W,ae.last=ja,ae.lastIndexOf=Q7,ae.lowerCase=LW,ae.lowerFirst=FW,ae.lt=qj,ae.lte=Kj,ae.max=Dq,ae.maxBy=Pq,ae.mean=Mq,ae.meanBy=kq,ae.min=$q,ae.minBy=Lq,ae.stubArray=US,ae.stubFalse=HS,ae.stubObject=Eq,ae.stubString=Cq,ae.stubTrue=Tq,ae.multiply=Fq,ae.nth=X7,ae.noConflict=mq,ae.noop=BS,ae.now=Vh,ae.pad=BW,ae.padEnd=UW,ae.padStart=HW,ae.parseInt=zW,ae.random=NW,ae.reduce=tj,ae.reduceRight=nj,ae.repeat=VW,ae.replace=GW,ae.result=SW,ae.round=Bq,ae.runInContext=$e,ae.sample=ij,ae.size=sj,ae.snakeCase=YW,ae.some=lj,ae.sortedIndex=aY,ae.sortedIndexBy=oY,ae.sortedIndexOf=sY,ae.sortedLastIndex=lY,ae.sortedLastIndexBy=cY,ae.sortedLastIndexOf=uY,ae.startCase=WW,ae.startsWith=qW,ae.subtract=Uq,ae.sum=Hq,ae.sumBy=zq,ae.template=KW,ae.times=wq,ae.toFinite=Ls,ae.toInteger=cn,ae.toLength=yN,ae.toLower=ZW,ae.toNumber=Wa,ae.toSafeInteger=Zj,ae.toString=Vn,ae.toUpper=QW,ae.trim=XW,ae.trimEnd=JW,ae.trimStart=eq,ae.truncate=tq,ae.unescape=nq,ae.uniqueId=Oq,ae.upperCase=rq,ae.upperFirst=kS,ae.each=oN,ae.eachRight=sN,ae.first=nN,FS(ae,function(){var _={};return Jo(ae,function(E,A){Wn.call(ae.prototype,A)||(_[A]=E)}),_}(),{chain:!1}),ae.VERSION=r,Ha(["bind","bindKey","curry","curryRight","partial","partialRight"],function(_){ae[_].placeholder=ae}),Ha(["drop","take"],function(_,E){En.prototype[_]=function(A){A=A===n?1:Jr(cn(A),0);var V=this.__filtered__&&!E?new En(this):this.clone();return V.__filtered__?V.__takeCount__=xi(A,V.__takeCount__):V.__views__.push({size:xi(A,K),type:_+(V.__dir__<0?"Right":"")}),V},En.prototype[_+"Right"]=function(A){return this.reverse()[_](A).reverse()}}),Ha(["filter","map","takeWhile"],function(_,E){var A=E+1,V=A==k||A==F;En.prototype[_]=function(Q){var ce=this.clone();return ce.__iteratees__.push({iteratee:Nt(Q,3),type:A}),ce.__filtered__=ce.__filtered__||V,ce}}),Ha(["head","last"],function(_,E){var A="take"+(E?"Right":"");En.prototype[_]=function(){return this[A](1).value()[0]}}),Ha(["initial","tail"],function(_,E){var A="drop"+(E?"":"Right");En.prototype[_]=function(){return this.__filtered__?new En(this):this[A](1)}}),En.prototype.compact=function(){return this.filter(Xi)},En.prototype.find=function(_){return this.filter(_).head()},En.prototype.findLast=function(_){return this.reverse().find(_)},En.prototype.invokeMap=mn(function(_,E){return typeof _=="function"?new En(this):this.map(function(A){return Ef(A,_,E)})}),En.prototype.reject=function(_){return this.filter(Yh(Nt(_)))},En.prototype.slice=function(_,E){_=cn(_);var A=this;return A.__filtered__&&(_>0||E<0)?new En(A):(_<0?A=A.takeRight(-_):_&&(A=A.drop(_)),E!==n&&(E=cn(E),A=E<0?A.dropRight(-E):A.take(E-_)),A)},En.prototype.takeRightWhile=function(_){return this.reverse().takeWhile(_).reverse()},En.prototype.toArray=function(){return this.take(K)},Jo(En.prototype,function(_,E){var A=/^(?:filter|find|map|reject)|While$/.test(E),V=/^(?:head|last)$/.test(E),Q=ae[V?"take"+(E=="last"?"Right":""):E],ce=V||/^find/.test(E);!Q||(ae.prototype[E]=function(){var Re=this.__wrapped__,De=V?[1]:arguments,Be=Re instanceof En,Qe=De[0],Xe=Be||an(Re),et=function(bn){var xn=Q.apply(ae,Il([bn],De));return V&&dt?xn[0]:xn};Xe&&A&&typeof Qe=="function"&&Qe.length!=1&&(Be=Xe=!1);var dt=this.__chain__,St=!!this.__actions__.length,Mt=ce&&!dt,dn=Be&&!St;if(!ce&&Xe){Re=dn?Re:new En(this);var kt=_.apply(Re,De);return kt.__actions__.push({func:Hh,args:[et],thisArg:n}),new Va(kt,dt)}return Mt&&dn?_.apply(this,De):(kt=this.thru(et),Mt?V?kt.value()[0]:kt.value():kt)})}),Ha(["pop","push","shift","sort","splice","unshift"],function(_){var E=fh[_],A=/^(?:push|sort|unshift)$/.test(_)?"tap":"thru",V=/^(?:pop|shift)$/.test(_);ae.prototype[_]=function(){var Q=arguments;if(V&&!this.__chain__){var ce=this.value();return E.apply(an(ce)?ce:[],Q)}return this[A](function(Re){return E.apply(an(Re)?Re:[],Q)})}}),Jo(En.prototype,function(_,E){var A=ae[E];if(A){var V=A.name+"";Wn.call(id,V)||(id[V]=[]),id[V].push({name:E,func:A})}}),id[Mh(n,v).name]=[{name:"wrapper",func:n}],En.prototype.clone=nG,En.prototype.reverse=rG,En.prototype.value=iG,ae.prototype.at=PY,ae.prototype.chain=MY,ae.prototype.commit=kY,ae.prototype.next=$Y,ae.prototype.plant=FY,ae.prototype.reverse=BY,ae.prototype.toJSON=ae.prototype.valueOf=ae.prototype.value=UY,ae.prototype.first=ae.prototype.head,gf&&(ae.prototype[gf]=LY),ae},td=kV();Pc?((Pc.exports=td)._=td,Ly._=td):pi._=td}).call(ra)})(Da,Da.exports);const IWe=Da.exports,eHe={class:"search"},tHe=["active","onClick"],nHe={key:0,class:"image-container"},rHe=["src"],iHe={class:"text-container"},aHe={key:0,class:"extra"},oHe={key:0,class:"left"},sHe={key:1,class:"right"},lHe={key:1,class:"card-title"},cHe={key:2,class:"card-subtitle"},uHe={key:3,class:"card-description"},dHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:value","update:errors","card-click"],setup(e,{emit:t}){const n=e;function r(f,g){return Da.exports.isEqual(Da.exports.omit(f,["image"]),Da.exports.omit(g,["image"]))}const i=$(()=>{var f;return(f=n.userProps.options)!=null?f:[]}),a=$(()=>{var f;return(f=n.userProps.searchable)!=null?f:!1}),l=Oe(""),s=Oe(n.value);function u(f){return l.value?f.filter(g=>{var m,h,v;return((m=g.title)==null?void 0:m.toLowerCase().includes(l.value.toLowerCase()))||((h=g.subtitle)==null?void 0:h.toLowerCase().includes(l.value.toLowerCase()))||((v=g.description)==null?void 0:v.toLowerCase().includes(l.value.toLowerCase()))}):f}function o(f){return s.value.some(g=>r(g,f))}function c(f){o(f)?s.value=s.value.filter(m=>!r(m,f)):s.value=[...s.value,f]}function d(f){o(f)?s.value=[]:s.value=[f]}function p(f){n.userProps.disabled||(t("card-click",f),n.userProps.multiple?c(f):d(f),t("update:value",s.value))}return ze(()=>n.value,()=>{s.value=n.value}),(f,g)=>{var m;return oe(),pe("div",{class:"cards-input",style:Ni({"--grid-columns":(m=f.userProps.columns)!=null?m:2})},[x(Fn,{label:f.userProps.label,required:!!f.userProps.required,hint:f.userProps.hint},null,8,["label","required","hint"]),Ee("div",eHe,[a.value?mr((oe(),pe("input",{key:0,"onUpdate:modelValue":g[0]||(g[0]=h=>l.value=h),type:"text",class:"input",placeholder:"Search..."},null,512)),[[Au,l.value]]):ft("",!0)]),Ee("div",{class:Vt(["cards",f.userProps.layout||"list"])},[(oe(!0),pe(tt,null,Di(u(i.value),h=>(oe(),pe("div",{key:h.title,class:Vt(["card","clickable",f.userProps.layout||"list",{disabled:f.userProps.disabled}]),active:o(h),onClick:v=>p(h)},[h.image?(oe(),pe("div",nHe,[Ee("img",{class:"card-image",src:h.image},null,8,rHe)])):ft("",!0),Ee("main",iHe,[h.topLeftExtra||h.topRightExtra?(oe(),pe("div",aHe,[h.topLeftExtra?(oe(),pe("p",oHe,Qt(h.topLeftExtra),1)):ft("",!0),h.topRightExtra?(oe(),pe("p",sHe,Qt(h.topRightExtra),1)):ft("",!0)])):ft("",!0),h.title?(oe(),pe("h1",lHe,Qt(h.title),1)):ft("",!0),h.subtitle?(oe(),pe("h2",cHe,Qt(h.subtitle),1)):ft("",!0),h.description?(oe(),pe("p",uHe,Qt(h.description),1)):ft("",!0)])],10,tHe))),128))],2)],4)}}});const pHe=kn(dHe,[["__scopeId","data-v-c4887666"]]),fHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=()=>{r.value=!r.value,t("update:value",r.value)};return ze(()=>n.value,()=>r.value=n.value),(a,l)=>{const s=Jd("Markdown");return oe(),Rn(je(gs),{disabled:a.userProps.disabled,checked:r.value,onClick:i},{default:pn(()=>[x(s,{class:"markdown-output",source:a.userProps.label,html:""},null,8,["source"])]),_:1},8,["disabled","checked"])}}});const mHe=kn(fHe,[["__scopeId","data-v-9503d85c"]]),gHe={class:"checklist-input"},hHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=a=>{t("update:errors",[]),t("update:value",a)};return ze(()=>n.value,()=>r.value=n.value),(a,l)=>(oe(),pe("div",gHe,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),x(je(Cg),{value:r.value,"onUpdate:value":l[0]||(l[0]=s=>r.value=s),disabled:a.userProps.disabled,options:a.userProps.options,onChange:l[1]||(l[1]=s=>i(s))},null,8,["value","disabled","options"])]))}});const _He=kn(hHe,[["__scopeId","data-v-0f1257be"]]),vHe={0:/\d/,a:/[a-zA-Z]/,"*":/./};function Ra(e,t){var l;if(e.length===0||t.length===0)return"";const n=bHe(e,t),r=n[0],i=vHe[r];if(!i)return r+Ra(n.slice(1),t.startsWith(r)?t.slice(1):t);const a=t.match(i);return a?a[0]+Ra(n.slice(1),t.slice(((l=a.index)!=null?l:0)+1)):""}function Wp(e,t){return e.includes("|")?Pz(e).some(r=>r.length==t.length):t.length===e.length}function bHe(e,t){if(!e.includes("|"))return e;const n=Pz(e);for(const r of n)if(t.replace(/\D/g,"").length<=r.replace(/\D/g,"").length)return r;return n[0]}function Pz(e){return e.split("|").sort((n,r)=>n.length-r.length)}const yHe=["disabled","placeholder"],Ff="00.000.000/0000-00",SHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=u=>{if(!u||!(typeof u=="string")||u.length>18)return!1;const c=/^\d{14}$/.test(u),d=/^\d{2}.\d{3}.\d{3}\/\d{4}-\d{2}$/.test(u);if(!(c||d))return!1;const p=u.toString().match(/\d/g),f=Array.isArray(p)?p.map(Number):[];if(f.length!==14||[...new Set(f)].length===1)return!1;const m=y=>{const S=f.slice(0,y);let C=y-7,w=0;for(let O=y;O>=1;O--){const I=S[y-O];w+=I*C--,C<2&&(C=9)}const T=11-w%11;return T>9?0:T},h=f.slice(12);return m(12)!==h[0]?!1:m(13)===h[1]},i=Oe(),a=()=>{var o;const u=[];n.value!==""&&(!Wp(Ff,n.value)||!r(n.value))&&u.push((o=n.userProps.invalidMessage)!=null?o:""),t("update:errors",u)},l=u=>{const o=Ra(Ff,u);i.value.value=o,t("update:value",o)},s=u=>{const o=u.target;Wp(Ff,o.value)&&r(o.value)&&u.preventDefault()};return _t(()=>{!i.value||(i.value.value=Ra(Ff,n.value))}),ze(()=>n.value,()=>{!i.value||(i.value.value=Ra(Ff,n.value))}),(u,o)=>(oe(),pe(tt,null,[x(Fn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ee("input",{ref_key:"input",ref:i,class:Vt(["input",u.errors.length&&"error",u.userProps.disabled&&"disabled"]),disabled:u.userProps.disabled,placeholder:u.userProps.placeholder,onInput:o[0]||(o[0]=c=>l(c.target.value)),onKeypress:o[1]||(o[1]=c=>s(c)),onChange:a,onBlur:a},null,42,yHe)],64))}}),EHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe(),i=async(a,l,s)=>{const o=(await Py(()=>import("./editor.main.93aaceec.js"),["assets/editor.main.93aaceec.js","assets/toggleHighContrast.aa328f74.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(a,{language:s,value:l,minimap:{enabled:!1},readOnly:n.userProps.disabled,contextmenu:!0,automaticLayout:!0,tabSize:4,renderWhitespace:"none",guides:{indentation:!1},theme:"vs",fontFamily:"monospace",lineNumbers:"on",scrollBeyondLastColumn:5,scrollBeyondLastLine:!0,renderLineHighlight:"all",scrollbar:{alwaysConsumeMouseWheel:!1}});o.onDidChangeModelContent(()=>{t("update:value",String(o.getValue()))})};return _t(()=>{var a;i(r.value,(a=n.value)!=null?a:"",n.userProps.language)}),(a,l)=>(oe(),pe(tt,null,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ee("div",{ref_key:"editor",ref:r,class:"input code-editor",style:{height:"500px"}},null,512)],64))}});const CHe=kn(EHe,[["__scopeId","data-v-d10ec25a"]]),THe={class:"cpf-input"},wHe=["disabled","placeholder"],Ed="000.000.000-00",xHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=o=>{const c=o.split(".").join("").split("-").join("");let d,p;if(d=0,c=="00000000000")return!1;for(let f=1;f<=9;f++)d=d+parseInt(c.substring(f-1,f))*(11-f);if(p=d*10%11,(p==10||p==11)&&(p=0),p!=parseInt(c.substring(9,10)))return!1;d=0;for(let f=1;f<=10;f++)d=d+parseInt(c.substring(f-1,f))*(12-f);return p=d*10%11,(p==10||p==11)&&(p=0),p==parseInt(c.substring(10,11))},i=o=>o?Wp(Ed,o)&&r(o):!0,a=o=>{const c=Ra(Ed,o);!u.value||(u.value.value=c,t("update:value",o))},l=o=>{const c=o.target;Wp(Ed,c.value)&&r(c.value)&&o.preventDefault()},s=()=>{var c;const o=[];i(Ra(Ed,n.value))||o.push((c=n.userProps.invalidMessage)!=null?c:""),t("update:errors",o)},u=Oe();return _t(()=>{!u.value||(u.value.value=Ra(Ed,n.value))}),ze(()=>n.value,()=>{!u.value||(u.value.value=Ra(Ed,n.value))}),(o,c)=>(oe(),pe("div",THe,[x(Fn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ee("input",{ref_key:"input",ref:u,class:Vt(["input",n.errors.length&&"error",o.userProps.disabled&&"disabled"]),disabled:o.userProps.disabled,placeholder:o.userProps.placeholder,onInput:c[0]||(c[0]=d=>a(d.target.value)),onKeypress:c[1]||(c[1]=d=>l(d)),onChange:s,onBlur:s},null,42,wHe)]))}}),OHe={class:"currency-input"},RHe={class:"input-wrapper"},IHe=["disabled","placeholder"],AHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe(),i=Oe(!1),a=d=>d.replace(/[^0-9]/g,""),l=d=>{const p=d.target.value,f=a(p),g=u(f),m=s(g);r.value.value=m,g!==n.value&&t("update:value",g)},s=d=>d===null?"":new Intl.NumberFormat(navigator.language,{style:"decimal",minimumFractionDigits:2}).format(d);function u(d){return d?parseInt(d)/100:null}const o=$(()=>Intl.NumberFormat("en-US",{maximumFractionDigits:0,currency:n.userProps.currency,style:"currency",currencyDisplay:"symbol"}).format(0).replace("0","")),c=$(()=>o.value.length*30+"px");return _t(()=>{r.value.value=s(n.value)}),ze(()=>n.value,()=>{r.value.value=s(n.value)}),(d,p)=>(oe(),pe("div",OHe,[x(Fn,{label:d.userProps.label,required:!!d.userProps.required,hint:d.userProps.hint},null,8,["label","required","hint"]),Ee("div",RHe,[Ee("div",{class:Vt(["symbol",{focused:i.value}])},Qt(o.value),3),Ee("input",{ref_key:"input",ref:r,style:Ni({paddingLeft:c.value}),class:Vt(["input",d.errors.length&&"error",d.userProps.disabled&&"disabled"]),disabled:d.userProps.disabled,placeholder:d.userProps.placeholder,onInput:l},null,46,IHe)])]))}});const NHe=kn(AHe,[["__scopeId","data-v-a20018d1"]]),DHe={class:"custom-input",style:{height:"100%",width:"100%"}},PHe=["id","src"],MHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors","custom-event"],setup(e,{emit:t}){const n=e,r={width:"100%",height:n.userProps.height?`${n.userProps.height}px`:"100%",border:"none"},i=Oe(),a=Math.random().toString(36).slice(2),l=Oe(""),s=c=>typeof c=="object"&&c!==null&&"type"in c&&"id"in c&&c.id===a,u=c=>{!s(c.data)||(c.data.type==="change"?t("update:value",c.data.payload):t(c.data.type,c.data.payload))};_t(()=>{window.addEventListener("message",u),o()}),Xt(()=>{window.removeEventListener("message",u)}),ze(()=>n.value,(c,d)=>{Da.exports.isEqual(c,d)||o()}),ze(()=>n.userProps.value,(c,d)=>{Da.exports.isEqual(c,d)||o()}),ze(()=>`${n.userProps.htmlHead}${n.userProps.htmlBody}${n.userProps.css}${n.userProps.js}`,()=>o());const o=()=>{var h,v;const c="script",d=(v=(h=n.value)!=null?h:n.userProps.value)!=null?v:"",{htmlHead:p,htmlBody:f,css:g,js:m}=n.userProps;l.value=window.btoa(` +}`;var dn=AN(function(){return Hn(ce,St+"return "+et).apply(n,Re)});if(dn.source=et,NS(dn))throw dn;return dn}function ZW(_){return Vn(_).toLowerCase()}function QW(_){return Vn(_).toUpperCase()}function XW(_,E,A){if(_=Vn(_),_&&(A||E===n))return BI(_);if(!_||!(E=ga(E)))return _;var V=yo(_),Q=yo(E),ce=UI(V,Q),Re=HI(V,Q)+1;return kl(V,ce,Re).join("")}function JW(_,E,A){if(_=Vn(_),_&&(A||E===n))return _.slice(0,VI(_)+1);if(!_||!(E=ga(E)))return _;var V=yo(_),Q=HI(V,yo(E))+1;return kl(V,0,Q).join("")}function eq(_,E,A){if(_=Vn(_),_&&(A||E===n))return _.replace(le,"");if(!_||!(E=ga(E)))return _;var V=yo(_),Q=UI(V,yo(E));return kl(V,Q).join("")}function tq(_,E){var A=N,V=M;if(xr(E)){var Q="separator"in E?E.separator:Q;A="length"in E?cn(E.length):A,V="omission"in E?ga(E.omission):V}_=Vn(_);var ce=_.length;if(Ju(_)){var Re=yo(_);ce=Re.length}if(A>=ce)return _;var De=A-ed(V);if(De<1)return V;var Be=Re?kl(Re,0,De).join(""):_.slice(0,De);if(Q===n)return Be+V;if(Re&&(De+=Be.length-De),DS(Q)){if(_.slice(De).search(Q)){var Qe,Xe=Be;for(Q.global||(Q=qy(Q.source,Vn(gn.exec(Q))+"g")),Q.lastIndex=0;Qe=Q.exec(Xe);)var et=Qe.index;Be=Be.slice(0,et===n?De:et)}}else if(_.indexOf(ga(Q),De)!=De){var dt=Be.lastIndexOf(Q);dt>-1&&(Be=Be.slice(0,dt))}return Be+V}function nq(_){return _=Vn(_),_&&Bn.test(_)?_.replace(pt,NV):_}var rq=sd(function(_,E,A){return _+(A?" ":"")+E.toUpperCase()}),kS=NA("toUpperCase");function IN(_,E,A){return _=Vn(_),E=A?n:E,E===n?xV(_)?MV(_):_V(_):_.match(E)||[]}var AN=mn(function(_,E){try{return fa(_,n,E)}catch(A){return NS(A)?A:new en(A)}}),iq=Ms(function(_,E){return Ha(E,function(A){A=ts(A),Ds(_,A,IS(_[A],_))}),_});function aq(_){var E=_==null?0:_.length,A=Nt();return _=E?vr(_,function(V){if(typeof V[1]!="function")throw new za(l);return[A(V[0]),V[1]]}):[],mn(function(V){for(var Q=-1;++Qz)return[];var A=K,V=xi(_,K);E=Nt(E),_-=K;for(var Q=Yy(V,E);++A<_;)E(A);return Q}function xq(_){return an(_)?vr(_,ts):ha(_)?[_]:Ki(QA(Vn(_)))}function Oq(_){var E=++FV;return Vn(_)+E}var Rq=kh(function(_,E){return _+E},0),Iq=_S("ceil"),Aq=kh(function(_,E){return _/E},1),Nq=_S("floor");function Dq(_){return _&&_.length?Rh(_,Xi,nS):n}function Pq(_,E){return _&&_.length?Rh(_,Nt(E,2),nS):n}function Mq(_){return LI(_,Xi)}function kq(_,E){return LI(_,Nt(E,2))}function $q(_){return _&&_.length?Rh(_,Xi,oS):n}function Lq(_,E){return _&&_.length?Rh(_,Nt(E,2),oS):n}var Fq=kh(function(_,E){return _*E},1),Bq=_S("round"),Uq=kh(function(_,E){return _-E},0);function Hq(_){return _&&_.length?Gy(_,Xi):0}function zq(_,E){return _&&_.length?Gy(_,Nt(E,2)):0}return ae.after=uj,ae.ary=lN,ae.assign=Qj,ae.assignIn=EN,ae.assignInWith=qh,ae.assignWith=Xj,ae.at=Jj,ae.before=cN,ae.bind=IS,ae.bindAll=iq,ae.bindKey=uN,ae.castArray=Ej,ae.chain=aN,ae.chunk=N7,ae.compact=D7,ae.concat=P7,ae.cond=aq,ae.conforms=oq,ae.constant=$S,ae.countBy=HY,ae.create=eW,ae.curry=dN,ae.curryRight=pN,ae.debounce=fN,ae.defaults=tW,ae.defaultsDeep=nW,ae.defer=dj,ae.delay=pj,ae.difference=M7,ae.differenceBy=k7,ae.differenceWith=$7,ae.drop=L7,ae.dropRight=F7,ae.dropRightWhile=B7,ae.dropWhile=U7,ae.fill=H7,ae.filter=VY,ae.flatMap=jY,ae.flatMapDeep=WY,ae.flatMapDepth=qY,ae.flatten=tN,ae.flattenDeep=z7,ae.flattenDepth=V7,ae.flip=fj,ae.flow=lq,ae.flowRight=cq,ae.fromPairs=G7,ae.functions=cW,ae.functionsIn=uW,ae.groupBy=KY,ae.initial=j7,ae.intersection=W7,ae.intersectionBy=q7,ae.intersectionWith=K7,ae.invert=pW,ae.invertBy=fW,ae.invokeMap=QY,ae.iteratee=LS,ae.keyBy=XY,ae.keys=oi,ae.keysIn=Qi,ae.map=zh,ae.mapKeys=gW,ae.mapValues=hW,ae.matches=uq,ae.matchesProperty=dq,ae.memoize=Gh,ae.merge=_W,ae.mergeWith=CN,ae.method=pq,ae.methodOf=fq,ae.mixin=FS,ae.negate=Yh,ae.nthArg=gq,ae.omit=vW,ae.omitBy=bW,ae.once=mj,ae.orderBy=JY,ae.over=hq,ae.overArgs=gj,ae.overEvery=_q,ae.overSome=vq,ae.partial=AS,ae.partialRight=mN,ae.partition=ej,ae.pick=yW,ae.pickBy=TN,ae.property=NN,ae.propertyOf=bq,ae.pull=J7,ae.pullAll=rN,ae.pullAllBy=eY,ae.pullAllWith=tY,ae.pullAt=nY,ae.range=yq,ae.rangeRight=Sq,ae.rearg=hj,ae.reject=rj,ae.remove=rY,ae.rest=_j,ae.reverse=OS,ae.sampleSize=aj,ae.set=EW,ae.setWith=CW,ae.shuffle=oj,ae.slice=iY,ae.sortBy=cj,ae.sortedUniq=dY,ae.sortedUniqBy=pY,ae.split=jW,ae.spread=vj,ae.tail=fY,ae.take=mY,ae.takeRight=gY,ae.takeRightWhile=hY,ae.takeWhile=_Y,ae.tap=DY,ae.throttle=bj,ae.thru=Hh,ae.toArray=bN,ae.toPairs=wN,ae.toPairsIn=xN,ae.toPath=xq,ae.toPlainObject=SN,ae.transform=TW,ae.unary=yj,ae.union=vY,ae.unionBy=bY,ae.unionWith=yY,ae.uniq=SY,ae.uniqBy=EY,ae.uniqWith=CY,ae.unset=wW,ae.unzip=RS,ae.unzipWith=iN,ae.update=xW,ae.updateWith=OW,ae.values=ud,ae.valuesIn=RW,ae.without=TY,ae.words=IN,ae.wrap=Sj,ae.xor=wY,ae.xorBy=xY,ae.xorWith=OY,ae.zip=RY,ae.zipObject=IY,ae.zipObjectDeep=AY,ae.zipWith=NY,ae.entries=wN,ae.entriesIn=xN,ae.extend=EN,ae.extendWith=qh,FS(ae,ae),ae.add=Rq,ae.attempt=AN,ae.camelCase=DW,ae.capitalize=ON,ae.ceil=Iq,ae.clamp=IW,ae.clone=Cj,ae.cloneDeep=wj,ae.cloneDeepWith=xj,ae.cloneWith=Tj,ae.conformsTo=Oj,ae.deburr=RN,ae.defaultTo=sq,ae.divide=Aq,ae.endsWith=PW,ae.eq=Eo,ae.escape=MW,ae.escapeRegExp=kW,ae.every=zY,ae.find=GY,ae.findIndex=JA,ae.findKey=rW,ae.findLast=YY,ae.findLastIndex=eN,ae.findLastKey=iW,ae.floor=Nq,ae.forEach=oN,ae.forEachRight=sN,ae.forIn=aW,ae.forInRight=oW,ae.forOwn=sW,ae.forOwnRight=lW,ae.get=PS,ae.gt=Rj,ae.gte=Ij,ae.has=dW,ae.hasIn=MS,ae.head=nN,ae.identity=Xi,ae.includes=ZY,ae.indexOf=Y7,ae.inRange=AW,ae.invoke=mW,ae.isArguments=Hc,ae.isArray=an,ae.isArrayBuffer=Aj,ae.isArrayLike=Zi,ae.isArrayLikeObject=Ur,ae.isBoolean=Nj,ae.isBuffer=$l,ae.isDate=Dj,ae.isElement=Pj,ae.isEmpty=Mj,ae.isEqual=kj,ae.isEqualWith=$j,ae.isError=NS,ae.isFinite=Lj,ae.isFunction=$s,ae.isInteger=gN,ae.isLength=jh,ae.isMap=hN,ae.isMatch=Fj,ae.isMatchWith=Bj,ae.isNaN=Uj,ae.isNative=Hj,ae.isNil=Vj,ae.isNull=zj,ae.isNumber=_N,ae.isObject=xr,ae.isObjectLike=Nr,ae.isPlainObject=Rf,ae.isRegExp=DS,ae.isSafeInteger=Gj,ae.isSet=vN,ae.isString=Wh,ae.isSymbol=ha,ae.isTypedArray=cd,ae.isUndefined=Yj,ae.isWeakMap=jj,ae.isWeakSet=Wj,ae.join=Z7,ae.kebabCase=$W,ae.last=ja,ae.lastIndexOf=Q7,ae.lowerCase=LW,ae.lowerFirst=FW,ae.lt=qj,ae.lte=Kj,ae.max=Dq,ae.maxBy=Pq,ae.mean=Mq,ae.meanBy=kq,ae.min=$q,ae.minBy=Lq,ae.stubArray=US,ae.stubFalse=HS,ae.stubObject=Eq,ae.stubString=Cq,ae.stubTrue=Tq,ae.multiply=Fq,ae.nth=X7,ae.noConflict=mq,ae.noop=BS,ae.now=Vh,ae.pad=BW,ae.padEnd=UW,ae.padStart=HW,ae.parseInt=zW,ae.random=NW,ae.reduce=tj,ae.reduceRight=nj,ae.repeat=VW,ae.replace=GW,ae.result=SW,ae.round=Bq,ae.runInContext=$e,ae.sample=ij,ae.size=sj,ae.snakeCase=YW,ae.some=lj,ae.sortedIndex=aY,ae.sortedIndexBy=oY,ae.sortedIndexOf=sY,ae.sortedLastIndex=lY,ae.sortedLastIndexBy=cY,ae.sortedLastIndexOf=uY,ae.startCase=WW,ae.startsWith=qW,ae.subtract=Uq,ae.sum=Hq,ae.sumBy=zq,ae.template=KW,ae.times=wq,ae.toFinite=Ls,ae.toInteger=cn,ae.toLength=yN,ae.toLower=ZW,ae.toNumber=Wa,ae.toSafeInteger=Zj,ae.toString=Vn,ae.toUpper=QW,ae.trim=XW,ae.trimEnd=JW,ae.trimStart=eq,ae.truncate=tq,ae.unescape=nq,ae.uniqueId=Oq,ae.upperCase=rq,ae.upperFirst=kS,ae.each=oN,ae.eachRight=sN,ae.first=nN,FS(ae,function(){var _={};return Jo(ae,function(E,A){Wn.call(ae.prototype,A)||(_[A]=E)}),_}(),{chain:!1}),ae.VERSION=r,Ha(["bind","bindKey","curry","curryRight","partial","partialRight"],function(_){ae[_].placeholder=ae}),Ha(["drop","take"],function(_,E){En.prototype[_]=function(A){A=A===n?1:Jr(cn(A),0);var V=this.__filtered__&&!E?new En(this):this.clone();return V.__filtered__?V.__takeCount__=xi(A,V.__takeCount__):V.__views__.push({size:xi(A,K),type:_+(V.__dir__<0?"Right":"")}),V},En.prototype[_+"Right"]=function(A){return this.reverse()[_](A).reverse()}}),Ha(["filter","map","takeWhile"],function(_,E){var A=E+1,V=A==k||A==F;En.prototype[_]=function(Q){var ce=this.clone();return ce.__iteratees__.push({iteratee:Nt(Q,3),type:A}),ce.__filtered__=ce.__filtered__||V,ce}}),Ha(["head","last"],function(_,E){var A="take"+(E?"Right":"");En.prototype[_]=function(){return this[A](1).value()[0]}}),Ha(["initial","tail"],function(_,E){var A="drop"+(E?"":"Right");En.prototype[_]=function(){return this.__filtered__?new En(this):this[A](1)}}),En.prototype.compact=function(){return this.filter(Xi)},En.prototype.find=function(_){return this.filter(_).head()},En.prototype.findLast=function(_){return this.reverse().find(_)},En.prototype.invokeMap=mn(function(_,E){return typeof _=="function"?new En(this):this.map(function(A){return Ef(A,_,E)})}),En.prototype.reject=function(_){return this.filter(Yh(Nt(_)))},En.prototype.slice=function(_,E){_=cn(_);var A=this;return A.__filtered__&&(_>0||E<0)?new En(A):(_<0?A=A.takeRight(-_):_&&(A=A.drop(_)),E!==n&&(E=cn(E),A=E<0?A.dropRight(-E):A.take(E-_)),A)},En.prototype.takeRightWhile=function(_){return this.reverse().takeWhile(_).reverse()},En.prototype.toArray=function(){return this.take(K)},Jo(En.prototype,function(_,E){var A=/^(?:filter|find|map|reject)|While$/.test(E),V=/^(?:head|last)$/.test(E),Q=ae[V?"take"+(E=="last"?"Right":""):E],ce=V||/^find/.test(E);!Q||(ae.prototype[E]=function(){var Re=this.__wrapped__,De=V?[1]:arguments,Be=Re instanceof En,Qe=De[0],Xe=Be||an(Re),et=function(bn){var xn=Q.apply(ae,Il([bn],De));return V&&dt?xn[0]:xn};Xe&&A&&typeof Qe=="function"&&Qe.length!=1&&(Be=Xe=!1);var dt=this.__chain__,St=!!this.__actions__.length,Mt=ce&&!dt,dn=Be&&!St;if(!ce&&Xe){Re=dn?Re:new En(this);var kt=_.apply(Re,De);return kt.__actions__.push({func:Hh,args:[et],thisArg:n}),new Va(kt,dt)}return Mt&&dn?_.apply(this,De):(kt=this.thru(et),Mt?V?kt.value()[0]:kt.value():kt)})}),Ha(["pop","push","shift","sort","splice","unshift"],function(_){var E=fh[_],A=/^(?:push|sort|unshift)$/.test(_)?"tap":"thru",V=/^(?:pop|shift)$/.test(_);ae.prototype[_]=function(){var Q=arguments;if(V&&!this.__chain__){var ce=this.value();return E.apply(an(ce)?ce:[],Q)}return this[A](function(Re){return E.apply(an(Re)?Re:[],Q)})}}),Jo(En.prototype,function(_,E){var A=ae[E];if(A){var V=A.name+"";Wn.call(id,V)||(id[V]=[]),id[V].push({name:E,func:A})}}),id[Mh(n,v).name]=[{name:"wrapper",func:n}],En.prototype.clone=nG,En.prototype.reverse=rG,En.prototype.value=iG,ae.prototype.at=PY,ae.prototype.chain=MY,ae.prototype.commit=kY,ae.prototype.next=$Y,ae.prototype.plant=FY,ae.prototype.reverse=BY,ae.prototype.toJSON=ae.prototype.valueOf=ae.prototype.value=UY,ae.prototype.first=ae.prototype.head,gf&&(ae.prototype[gf]=LY),ae},td=kV();Pc?((Pc.exports=td)._=td,Ly._=td):pi._=td}).call(ra)})(Da,Da.exports);const IWe=Da.exports,eHe={class:"search"},tHe=["active","onClick"],nHe={key:0,class:"image-container"},rHe=["src"],iHe={class:"text-container"},aHe={key:0,class:"extra"},oHe={key:0,class:"left"},sHe={key:1,class:"right"},lHe={key:1,class:"card-title"},cHe={key:2,class:"card-subtitle"},uHe={key:3,class:"card-description"},dHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:value","update:errors","card-click"],setup(e,{emit:t}){const n=e;function r(f,g){return Da.exports.isEqual(Da.exports.omit(f,["image"]),Da.exports.omit(g,["image"]))}const i=$(()=>{var f;return(f=n.userProps.options)!=null?f:[]}),a=$(()=>{var f;return(f=n.userProps.searchable)!=null?f:!1}),l=Oe(""),s=Oe(n.value);function u(f){return l.value?f.filter(g=>{var m,h,v;return((m=g.title)==null?void 0:m.toLowerCase().includes(l.value.toLowerCase()))||((h=g.subtitle)==null?void 0:h.toLowerCase().includes(l.value.toLowerCase()))||((v=g.description)==null?void 0:v.toLowerCase().includes(l.value.toLowerCase()))}):f}function o(f){return s.value.some(g=>r(g,f))}function c(f){o(f)?s.value=s.value.filter(m=>!r(m,f)):s.value=[...s.value,f]}function d(f){o(f)?s.value=[]:s.value=[f]}function p(f){n.userProps.disabled||(t("card-click",f),n.userProps.multiple?c(f):d(f),t("update:value",s.value))}return ze(()=>n.value,()=>{s.value=n.value}),(f,g)=>{var m;return oe(),pe("div",{class:"cards-input",style:Ni({"--grid-columns":(m=f.userProps.columns)!=null?m:2})},[x(Fn,{label:f.userProps.label,required:!!f.userProps.required,hint:f.userProps.hint},null,8,["label","required","hint"]),Ee("div",eHe,[a.value?mr((oe(),pe("input",{key:0,"onUpdate:modelValue":g[0]||(g[0]=h=>l.value=h),type:"text",class:"input",placeholder:"Search..."},null,512)),[[Au,l.value]]):ft("",!0)]),Ee("div",{class:Vt(["cards",f.userProps.layout||"list"])},[(oe(!0),pe(tt,null,Di(u(i.value),h=>(oe(),pe("div",{key:h.title,class:Vt(["card","clickable",f.userProps.layout||"list",{disabled:f.userProps.disabled}]),active:o(h),onClick:v=>p(h)},[h.image?(oe(),pe("div",nHe,[Ee("img",{class:"card-image",src:h.image},null,8,rHe)])):ft("",!0),Ee("main",iHe,[h.topLeftExtra||h.topRightExtra?(oe(),pe("div",aHe,[h.topLeftExtra?(oe(),pe("p",oHe,Qt(h.topLeftExtra),1)):ft("",!0),h.topRightExtra?(oe(),pe("p",sHe,Qt(h.topRightExtra),1)):ft("",!0)])):ft("",!0),h.title?(oe(),pe("h1",lHe,Qt(h.title),1)):ft("",!0),h.subtitle?(oe(),pe("h2",cHe,Qt(h.subtitle),1)):ft("",!0),h.description?(oe(),pe("p",uHe,Qt(h.description),1)):ft("",!0)])],10,tHe))),128))],2)],4)}}});const pHe=kn(dHe,[["__scopeId","data-v-c4887666"]]),fHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=()=>{r.value=!r.value,t("update:value",r.value)};return ze(()=>n.value,()=>r.value=n.value),(a,l)=>{const s=Jd("Markdown");return oe(),Rn(je(gs),{disabled:a.userProps.disabled,checked:r.value,onClick:i},{default:pn(()=>[x(s,{class:"markdown-output",source:a.userProps.label,html:""},null,8,["source"])]),_:1},8,["disabled","checked"])}}});const mHe=kn(fHe,[["__scopeId","data-v-9503d85c"]]),gHe={class:"checklist-input"},hHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=a=>{t("update:errors",[]),t("update:value",a)};return ze(()=>n.value,()=>r.value=n.value),(a,l)=>(oe(),pe("div",gHe,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),x(je(Cg),{value:r.value,"onUpdate:value":l[0]||(l[0]=s=>r.value=s),disabled:a.userProps.disabled,options:a.userProps.options,onChange:l[1]||(l[1]=s=>i(s))},null,8,["value","disabled","options"])]))}});const _He=kn(hHe,[["__scopeId","data-v-0f1257be"]]),vHe={0:/\d/,a:/[a-zA-Z]/,"*":/./};function Ra(e,t){var l;if(e.length===0||t.length===0)return"";const n=bHe(e,t),r=n[0],i=vHe[r];if(!i)return r+Ra(n.slice(1),t.startsWith(r)?t.slice(1):t);const a=t.match(i);return a?a[0]+Ra(n.slice(1),t.slice(((l=a.index)!=null?l:0)+1)):""}function Wp(e,t){return e.includes("|")?Pz(e).some(r=>r.length==t.length):t.length===e.length}function bHe(e,t){if(!e.includes("|"))return e;const n=Pz(e);for(const r of n)if(t.replace(/\D/g,"").length<=r.replace(/\D/g,"").length)return r;return n[0]}function Pz(e){return e.split("|").sort((n,r)=>n.length-r.length)}const yHe=["disabled","placeholder"],Ff="00.000.000/0000-00",SHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=u=>{if(!u||!(typeof u=="string")||u.length>18)return!1;const c=/^\d{14}$/.test(u),d=/^\d{2}.\d{3}.\d{3}\/\d{4}-\d{2}$/.test(u);if(!(c||d))return!1;const p=u.toString().match(/\d/g),f=Array.isArray(p)?p.map(Number):[];if(f.length!==14||[...new Set(f)].length===1)return!1;const m=y=>{const S=f.slice(0,y);let C=y-7,w=0;for(let O=y;O>=1;O--){const I=S[y-O];w+=I*C--,C<2&&(C=9)}const T=11-w%11;return T>9?0:T},h=f.slice(12);return m(12)!==h[0]?!1:m(13)===h[1]},i=Oe(),a=()=>{var o;const u=[];n.value!==""&&(!Wp(Ff,n.value)||!r(n.value))&&u.push((o=n.userProps.invalidMessage)!=null?o:""),t("update:errors",u)},l=u=>{const o=Ra(Ff,u);i.value.value=o,t("update:value",o)},s=u=>{const o=u.target;Wp(Ff,o.value)&&r(o.value)&&u.preventDefault()};return _t(()=>{!i.value||(i.value.value=Ra(Ff,n.value))}),ze(()=>n.value,()=>{!i.value||(i.value.value=Ra(Ff,n.value))}),(u,o)=>(oe(),pe(tt,null,[x(Fn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ee("input",{ref_key:"input",ref:i,class:Vt(["input",u.errors.length&&"error",u.userProps.disabled&&"disabled"]),disabled:u.userProps.disabled,placeholder:u.userProps.placeholder,onInput:o[0]||(o[0]=c=>l(c.target.value)),onKeypress:o[1]||(o[1]=c=>s(c)),onChange:a,onBlur:a},null,42,yHe)],64))}}),EHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe(),i=async(a,l,s)=>{const o=(await Py(()=>import("./editor.main.05f77984.js"),["assets/editor.main.05f77984.js","assets/toggleHighContrast.4c55b574.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(a,{language:s,value:l,minimap:{enabled:!1},readOnly:n.userProps.disabled,contextmenu:!0,automaticLayout:!0,tabSize:4,renderWhitespace:"none",guides:{indentation:!1},theme:"vs",fontFamily:"monospace",lineNumbers:"on",scrollBeyondLastColumn:5,scrollBeyondLastLine:!0,renderLineHighlight:"all",scrollbar:{alwaysConsumeMouseWheel:!1}});o.onDidChangeModelContent(()=>{t("update:value",String(o.getValue()))})};return _t(()=>{var a;i(r.value,(a=n.value)!=null?a:"",n.userProps.language)}),(a,l)=>(oe(),pe(tt,null,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ee("div",{ref_key:"editor",ref:r,class:"input code-editor",style:{height:"500px"}},null,512)],64))}});const CHe=kn(EHe,[["__scopeId","data-v-d10ec25a"]]),THe={class:"cpf-input"},wHe=["disabled","placeholder"],Ed="000.000.000-00",xHe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=o=>{const c=o.split(".").join("").split("-").join("");let d,p;if(d=0,c=="00000000000")return!1;for(let f=1;f<=9;f++)d=d+parseInt(c.substring(f-1,f))*(11-f);if(p=d*10%11,(p==10||p==11)&&(p=0),p!=parseInt(c.substring(9,10)))return!1;d=0;for(let f=1;f<=10;f++)d=d+parseInt(c.substring(f-1,f))*(12-f);return p=d*10%11,(p==10||p==11)&&(p=0),p==parseInt(c.substring(10,11))},i=o=>o?Wp(Ed,o)&&r(o):!0,a=o=>{const c=Ra(Ed,o);!u.value||(u.value.value=c,t("update:value",o))},l=o=>{const c=o.target;Wp(Ed,c.value)&&r(c.value)&&o.preventDefault()},s=()=>{var c;const o=[];i(Ra(Ed,n.value))||o.push((c=n.userProps.invalidMessage)!=null?c:""),t("update:errors",o)},u=Oe();return _t(()=>{!u.value||(u.value.value=Ra(Ed,n.value))}),ze(()=>n.value,()=>{!u.value||(u.value.value=Ra(Ed,n.value))}),(o,c)=>(oe(),pe("div",THe,[x(Fn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ee("input",{ref_key:"input",ref:u,class:Vt(["input",n.errors.length&&"error",o.userProps.disabled&&"disabled"]),disabled:o.userProps.disabled,placeholder:o.userProps.placeholder,onInput:c[0]||(c[0]=d=>a(d.target.value)),onKeypress:c[1]||(c[1]=d=>l(d)),onChange:s,onBlur:s},null,42,wHe)]))}}),OHe={class:"currency-input"},RHe={class:"input-wrapper"},IHe=["disabled","placeholder"],AHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe(),i=Oe(!1),a=d=>d.replace(/[^0-9]/g,""),l=d=>{const p=d.target.value,f=a(p),g=u(f),m=s(g);r.value.value=m,g!==n.value&&t("update:value",g)},s=d=>d===null?"":new Intl.NumberFormat(navigator.language,{style:"decimal",minimumFractionDigits:2}).format(d);function u(d){return d?parseInt(d)/100:null}const o=$(()=>Intl.NumberFormat("en-US",{maximumFractionDigits:0,currency:n.userProps.currency,style:"currency",currencyDisplay:"symbol"}).format(0).replace("0","")),c=$(()=>o.value.length*30+"px");return _t(()=>{r.value.value=s(n.value)}),ze(()=>n.value,()=>{r.value.value=s(n.value)}),(d,p)=>(oe(),pe("div",OHe,[x(Fn,{label:d.userProps.label,required:!!d.userProps.required,hint:d.userProps.hint},null,8,["label","required","hint"]),Ee("div",RHe,[Ee("div",{class:Vt(["symbol",{focused:i.value}])},Qt(o.value),3),Ee("input",{ref_key:"input",ref:r,style:Ni({paddingLeft:c.value}),class:Vt(["input",d.errors.length&&"error",d.userProps.disabled&&"disabled"]),disabled:d.userProps.disabled,placeholder:d.userProps.placeholder,onInput:l},null,46,IHe)])]))}});const NHe=kn(AHe,[["__scopeId","data-v-a20018d1"]]),DHe={class:"custom-input",style:{height:"100%",width:"100%"}},PHe=["id","src"],MHe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors","custom-event"],setup(e,{emit:t}){const n=e,r={width:"100%",height:n.userProps.height?`${n.userProps.height}px`:"100%",border:"none"},i=Oe(),a=Math.random().toString(36).slice(2),l=Oe(""),s=c=>typeof c=="object"&&c!==null&&"type"in c&&"id"in c&&c.id===a,u=c=>{!s(c.data)||(c.data.type==="change"?t("update:value",c.data.payload):t(c.data.type,c.data.payload))};_t(()=>{window.addEventListener("message",u),o()}),Xt(()=>{window.removeEventListener("message",u)}),ze(()=>n.value,(c,d)=>{Da.exports.isEqual(c,d)||o()}),ze(()=>n.userProps.value,(c,d)=>{Da.exports.isEqual(c,d)||o()}),ze(()=>`${n.userProps.htmlHead}${n.userProps.htmlBody}${n.userProps.css}${n.userProps.js}`,()=>o());const o=()=>{var h,v;const c="script",d=(v=(h=n.value)!=null?h:n.userProps.value)!=null?v:"",{htmlHead:p,htmlBody:f,css:g,js:m}=n.userProps;l.value=window.btoa(` @@ -807,7 +807,7 @@ function print() { __p += __j.call(arguments, '') } `,HL=!1,Ize=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rze;sn(function(){HL||(typeof window<"u"&&window.document&&window.document.documentElement&&xze(t,{prepend:!0}),HL=!0)})},Aze=["icon","primaryColor","secondaryColor"];function Nze(e,t){if(e==null)return{};var n=Dze(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Dze(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function U0(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Kze(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}Vz("#1890ff");var ff=function(t,n){var r,i=GL({},t,n.attrs),a=i.class,l=i.icon,s=i.spin,u=i.rotate,o=i.tabindex,c=i.twoToneColor,d=i.onClick,p=qze(i,zze),f=(r={anticon:!0},dw(r,"anticon-".concat(l.name),Boolean(l.name)),dw(r,a,a),r),g=s===""||!!s||l.name==="loading"?"anticon-spin":"",m=o;m===void 0&&d&&(m=-1,p.tabindex=m);var h=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,v=zz(c),b=Vze(v,2),y=b[0],S=b[1];return x("span",GL({role:"img","aria-label":l.name},p,{onClick:d,class:f}),[x(gI,{class:g,icon:l,primaryColor:y,secondaryColor:S,style:h},null)])};ff.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String};ff.displayName="AntdIcon";ff.inheritAttrs=!1;ff.getTwoToneColor=Hze;ff.setTwoToneColor=Vz;const Ku=ff;function YL(e){for(var t=1;t{l.value=!0},u=()=>{l.value=!1},o=()=>{l.value=!1};return(c,d)=>(oe(),pe(tt,null,[x(je(Nke),{fileList:a.value,"onUpdate:fileList":d[0]||(d[0]=p=>a.value=p),accept:je(i).accept,action:je(i).action,method:je(i).method,"max-count":je(i).maxCount,headers:je(i).headers,data:je(i).customData,progress:je(i).progress,"before-upload":je(i).beforeUpload,multiple:c.multiple,disabled:c.disabled,"show-upload-list":!0,"list-type":"picture-card","is-image-url":()=>!1,onChange:je(i).handleChange,onReject:je(i).handleReject,onDragenter:s,onDragleave:u,onDrop:o,onPreview:je(r).handlePreview},{iconRender:pn(({file:p})=>[x(xz,{file:p,ctrl:je(r),size:30},null,8,["file","ctrl"])]),previewIcon:pn(({file:p})=>[p.thumbUrl?(oe(),Rn(je(rVe),{key:0})):(oe(),Rn(je(tVe),{key:1}))]),default:pn(()=>[l.value?(oe(),pe("div",cVe,[Ee("p",uVe,[x(je(V$e),{class:"icon"})]),Ee("p",null,Qt(je(Oa).translate("i18n_upload_area_drop_here",c.locale)),1)])):(oe(),pe("div",dVe,[Ee("p",pVe,[x(je(b5e),{class:"icon"})]),Ee("p",null,Qt(je(Oa).translate("i18n_upload_area_click_or_drop_files",c.locale)),1)]))]),_:1},8,["fileList","accept","action","method","max-count","headers","data","progress","before-upload","multiple","disabled","onChange","onReject","onPreview"]),x(Oz,{ctrl:je(r)},null,8,["ctrl"])],64))}});const Gz=kn(fVe,[["__scopeId","data-v-e4024366"]]),mVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=r=>{t("update:value",r)};return(r,i)=>(oe(),pe(tt,null,[x(Fn,{label:r.userProps.label,required:!!r.userProps.required,hint:r.userProps.hint},null,8,["label","required","hint"]),x(Gz,{value:r.value,errors:r.errors,"accepted-formats":r.userProps.acceptedFormats||["*"],"accepted-mime-types":r.userProps.acceptedMimeTypes,multiple:r.userProps.multiple,"max-file-size":r.userProps.maxFileSize,disabled:r.userProps.disabled,locale:r.locale,"onUpdate:value":n,"onUpdate:errors":i[0]||(i[0]=a=>r.$emit("update:errors",a))},null,8,["value","errors","accepted-formats","accepted-mime-types","multiple","max-file-size","disabled","locale"])],64))}}),gVe={class:"icon-container"},hVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){return(n,r)=>(oe(),pe(tt,null,[x(Fn,{label:n.userProps.label,required:!!n.userProps.required,hint:n.userProps.hint},null,8,["label","required","hint"]),x(Az,{capture:void 0,"accepted-formats":["image/*"],"accepted-mime-types":"image/*",disabled:n.userProps.disabled,errors:n.errors,"list-type":"picture-card",multiple:n.userProps.multiple,value:n.value,locale:n.locale,"onUpdate:errors":r[0]||(r[0]=i=>t("update:errors",i)),"onUpdate:value":r[1]||(r[1]=i=>t("update:value",i))},{ui:pn(()=>[Ee("div",gVe,[x(je(KFe))])]),_:1},8,["disabled","errors","multiple","value","locale"])],64))}});const _Ve=kn(hVe,[["__scopeId","data-v-731d78af"]]),vVe={class:"list-input"},bVe={class:"item-header"},yVe={key:0,class:"span-error"},SVe=Ce({__name:"component",props:{userProps:{},value:{},errors:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Oe([]),i=Oe(null),a=(b,y,S)=>{};function l(b){if(Da.exports.isEqual(b,n.userProps.schemas))return;const y=S=>S==null?void 0:S.reduce((C,w)=>({...C,[w.key]:w.value}),{});t("update:value",b.map(y))}function s(b){i.value=b}function u(b){if(i.value===null)return;const y=r.value[i.value];y.style.top=`${b.pageY}px`,y.style.left=`${b.pageX}px`,y.style.transform="translate(-50%, -50%)",y.style.position="fixed"}const o=b=>{if(i.value===null)return;const y=b.pageY,S=[];let C=0,w=0;n.userProps.schemas.forEach((T,O)=>{if(O===i.value){w=1;return}const I=r.value[O].getBoundingClientRect().top;if(y>I){S[O-w]=T;return}C||(S[O+C-w]=T,C=1),S[O+C-w]=T}),C||S.push(n.userProps.schemas[i.value]),l(S),i.value=null,r.value.forEach(T=>{T.style.position="static",T.style.transform="translate(0, 0)"})};_t(()=>{document.addEventListener("mouseup",o),document.addEventListener("mousemove",u)});const c=()=>{l([...n.userProps.schemas,null])};function d(b,y,S){var T;const C=Da.exports.cloneDeep(n.userProps.schemas),w=(T=C[b])==null?void 0:T.find(O=>O.key===y);w.value=S,l(C)}const p=Oe([]);function f(b,y){var w,T,O,I;const S=(w=n.userProps.schemas[b])==null?void 0:w.find(N=>N.key===y);return[...(T=S==null?void 0:S.errors)!=null?T:[],...(I=(O=p.value[b])==null?void 0:O[y])!=null?I:[]].map(N=>Oa.translateIfFound(N,n.locale))}function g(b,y,S){p.value[b]||(p.value[b]={}),p.value[b][y]=S,v()}function m(b){const y=Da.exports.cloneDeep(n.userProps.schemas);y.splice(b,1),l(y)}function h(b,y){var C;const S=(C=n.userProps.schemas[b])==null?void 0:C.find(w=>w.key===y);if(!S)throw new Error(`Could not find widget value for ${y} index ${b}`);return S.value}function v(){if(p.value.some(b=>Object.values(b).some(y=>y.length))){t("update:errors",["There are errors in the list"]);return}t("update:errors",[])}return(b,y)=>(oe(),pe("div",vVe,[(oe(!0),pe(tt,null,Di(b.userProps.schemas,(S,C)=>(oe(),pe("div",{key:C,ref_for:!0,ref:"listItems",class:Vt(["list-item","card",{dragging:i.value===C}])},[Ee("div",bVe,[x(je(Y4e),{class:"drag-handler",onMousedown:w=>s(C)},null,8,["onMousedown"]),!n.userProps.min||b.value.length>n.userProps.min?(oe(),Rn(je(Q9e),{key:0,class:"close-button",onClick:w=>m(C)},null,8,["onClick"])):ft("",!0)]),(oe(!0),pe(tt,null,Di(S,(w,T)=>{var O;return oe(),pe("div",{key:(O=w.key)!=null?O:T,class:"widget list-widget"},[(oe(),Rn(hu(w.type),{ref_for:!0,ref:I=>a(I,C,w.key),value:h(C,w.key),errors:f(C,w.key),"user-props":w,"onUpdate:value":I=>d(C,w.key,I),"onUpdate:errors":I=>g(C,w.key,I)},null,40,["value","errors","user-props","onUpdate:value","onUpdate:errors"])),"key"in w&&f(C,w.key).length?(oe(),pe("span",yVe,Qt(f(C,w.key).join(` -`)),1)):ft("",!0)])}),128))],2))),128)),!n.userProps.max||b.value.length{t("update:errors",[]),t("update:value",[s])},l=s=>{t("update:errors",[]),t("update:value",s)};return ze(()=>n.value,()=>{r.value=n.value[0],i.value=n.value}),(s,u)=>(oe(),pe("div",CVe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),s.userProps.multiple?(oe(),Rn(je(Cg),{key:1,value:i.value,"onUpdate:value":u[2]||(u[2]=o=>i.value=o),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[3]||(u[3]=o=>l(o))},null,8,["value","disabled","options"])):(oe(),Rn(je(pR),{key:0,value:r.value,"onUpdate:value":u[0]||(u[0]=o=>r.value=o),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[1]||(u[1]=o=>a(o.target.value))},null,8,["value","disabled","options"]))]))}});const wVe=kn(TVe,[["__scopeId","data-v-8ef177a2"]]),xVe={class:"options"},OVe=["active","onClick"],RVe={class:"nps-hints"},IVe={class:"nps-hint"},AVe={class:"nps-hint"},NVe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=$(()=>{var u;return(u=n.userProps.max)!=null?u:10}),a=$(()=>{var u;return(u=n.userProps.min)!=null?u:0}),l=$(()=>Array(1+i.value-a.value).fill(null).map((u,o)=>o+a.value)),s=u=>{n.userProps.disabled||(r.value=u,t("update:value",r.value))};return ze(()=>n.value,()=>{r.value=n.value}),(u,o)=>(oe(),pe(tt,null,[x(Fn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ee("div",xVe,[(oe(!0),pe(tt,null,Di(l.value,c=>(oe(),pe("button",{key:c,active:r.value!==c,class:Vt(["option","button",{disabled:u.userProps.disabled}]),onClick:d=>s(c)},Qt(c),11,OVe))),128))]),Ee("div",RVe,[Ee("div",IVe,Qt(u.userProps.minHint),1),Ee("div",AVe,Qt(u.userProps.maxHint),1)])],64))}});const DVe=kn(NVe,[["__scopeId","data-v-3fd6eefc"]]),PVe={class:"number-input"},MVe=["disabled","placeholder"],kVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var i,a;const n=e,r=Oe((a=(i=n.value)==null?void 0:i.toString())!=null?a:"");return ze(r,l=>{if(l===""){t("update:value",null);return}const s=Number(l);t("update:value",s)}),ze(()=>n.value,l=>{r.value=(l==null?void 0:l.toString())||""}),(l,s)=>(oe(),pe("div",PVe,[x(Fn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),mr(Ee("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>r.value=u),class:Vt(["input",l.errors.length&&"error",l.userProps.disabled&&"disabled"]),disabled:l.userProps.disabled,type:"number",placeholder:l.userProps.placeholder},null,10,MVe),[[Au,r.value]])]))}});const $Ve=kn(kVe,[["__scopeId","data-v-90c6530c"]]),LVe={class:"number-slider-input"},FVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=l=>{const s=String(l),u=i(Number(l));s!=a.value.value&&(a.value.value=s),u!=n.value&&t("update:value",u)},i=l=>l&&(n.userProps.min&&ln.userProps.max?n.userProps.max:l),a=Oe();return(l,s)=>(oe(),pe("div",LVe,[x(Fn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(je(INe),{ref_key:"input",ref:a,class:Vt([l.errors.length&&"error","slider"]),disabled:l.userProps.disabled,type:"range",min:l.userProps.min||0,max:l.userProps.max||100,step:l.userProps.step||1,onChange:s[0]||(s[0]=u=>r(u))},null,8,["class","disabled","min","max","step"])]))}});const BVe=kn(FVe,[["__scopeId","data-v-3fcc105e"]]),UVe={style:{padding:"8px"}},HVe=["onclick"],zVe={key:1,class:"buttons"},VVe={key:0},GVe=Ce({__name:"ATable",props:{data:{},columns:{},enableSearch:{type:Boolean},editable:{type:Boolean},mainColor:{},actions:{},rowsPerPage:{},selectedIndexes:{},selectable:{},selectionDisabled:{type:Boolean}},emits:["rowEdit","actionClick","rowClick","update:selectedIndexes"],setup(e,{emit:t}){const n=e,r=$(()=>{var b;return(b=n.mainColor)!=null?b:"#D14056"}),i=un({searchText:"",searchedColumn:""}),a=Oe(),l=$(()=>n.data.map((y,S)=>({...y,key:S}))),s=$(()=>{const b=n.columns.map((y,S)=>({title:y.title,dataIndex:y.key,key:y.key,customFilterDropdown:!0,sorter:{compare:(C,w)=>typeof C[y.key]=="number"&&typeof w[y.key]=="number"?C[y.key]-w[y.key]:typeof C[y.key]=="string"&&typeof w[y.key]=="string"?C[y.key].localeCompare(w[y.key]):1,multiple:S},onFilter:(C,w)=>{var T;return(T=w[y.key])==null?void 0:T.toString().toLowerCase().includes(C.toString().toLowerCase())},onFilterDropdownOpenChange:C=>{C&&sn().then(()=>{a.value.focus()})}}));if(n.editable||n.actions){const y=n.editable?80:0,S=n.actions?40:0;b.push({title:"",dataIndex:"buttons",width:y+S,fixed:"right",align:"center"})}return b}),u=(b,y,S)=>{y(),i.searchText=b[0],i.searchedColumn=S},o=b=>{b({confirm:!0}),i.searchText=""},c=un({}),d=b=>{t("rowClick",{row:b})},p=(b,y)=>{t("actionClick",{action:b,row:y})},f=b=>{c[b.index]={...b}},g=b=>{const y=n.data.filter(S=>S.index===b.index);t("rowEdit",{oldRow:y[0],newRow:c[b.index]}),delete c[b.index]},m=b=>{delete c[b.index]},h=Oe([]),v=$(()=>n.selectable?{type:{multiple:"checkbox",single:"radio"}[n.selectable],selectedRowKeys:n.selectedIndexes,onChange:(y,S)=>{h.value=y.map(C=>Number(C)),t("update:selectedIndexes",y.map(C=>Number(C)))},getCheckboxProps:y=>({disabled:n.selectionDisabled,name:y[n.columns[0].key]})}:void 0);return(b,y)=>(oe(),Rn(je($Pe),{"data-source":l.value,columns:s.value,pagination:{position:["bottomCenter"],defaultPageSize:n.rowsPerPage,showSizeChanger:!n.rowsPerPage},"row-selection":v.value,scroll:{x:n.columns.length*200}},bx({bodyCell:pn(({column:S,text:C,record:w})=>[n.columns.map(T=>T.key).includes(S.dataIndex)?(oe(),pe("div",{key:0,onclick:()=>d(w)},[c[w.index]?(oe(),Rn(je(Wr),{key:0,value:c[w.index][S.dataIndex],"onUpdate:value":T=>c[w.index][S.dataIndex]=T,style:{margin:"-5px 0"}},null,8,["value","onUpdate:value"])):(oe(),pe(tt,{key:1},[Zn(Qt(C),1)],64))],8,HVe)):S.dataIndex==="buttons"?(oe(),pe("div",zVe,[c[w.index]?(oe(),Rn(je(fr),{key:0,type:"text",onClick:T=>g(w)},{default:pn(()=>[x(je(sVe),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),c[w.index]?(oe(),Rn(je($Ae),{key:1,title:"Sure to cancel?",onConfirm:T=>m(w)},{default:pn(()=>[x(je(fr),{type:"text"},{default:pn(()=>[x(je(Qze),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:1})]),_:2},1032,["onConfirm"])):ft("",!0),n.editable&&!c[w.index]?(oe(),Rn(je(fr),{key:2,type:"text",onClick:T=>f(w)},{default:pn(()=>[x(je(Jze),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),n.actions&&!c[w.index]?(oe(),Rn(je(pc),{key:3,trigger:"click"},{overlay:pn(()=>[x(je(lo),null,{default:pn(()=>[(oe(!0),pe(tt,null,Di(n.actions,T=>(oe(),Rn(je(zp),{key:T,type:"text",onClick:O=>p(T,w)},{default:pn(()=>[Zn(Qt(T),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),default:pn(()=>[x(je(fr),{type:"text"},{default:pn(()=>[x(je(aVe),{style:Ni({color:r.value})},null,8,["style"])]),_:1})]),_:2},1024)):ft("",!0)])):(oe(),pe(tt,{key:2},[i.searchText&&i.searchedColumn===S.dataIndex?(oe(),pe("span",VVe,[(oe(!0),pe(tt,null,Di(C.toString().split(new RegExp(`(?<=${i.searchText})|(?=${i.searchText})`,"i")),(T,O)=>(oe(),pe(tt,null,[T.toLowerCase()===i.searchText.toLowerCase()?(oe(),pe("mark",{key:O,class:"highlight"},Qt(T),1)):(oe(),pe(tt,{key:1},[Zn(Qt(T),1)],64))],64))),256))])):ft("",!0)],64))]),default:pn(()=>[n.enableSearch?(oe(),Rn(je(XL),{key:0,"two-tone-color":r.value},null,8,["two-tone-color"])):ft("",!0)]),_:2},[n.enableSearch?{name:"customFilterDropdown",fn:pn(({setSelectedKeys:S,selectedKeys:C,confirm:w,clearFilters:T,column:O})=>[Ee("div",UVe,[x(je(Wr),{ref_key:"searchInput",ref:a,placeholder:`Search ${O.dataIndex}`,value:C[0],style:{width:"188px","margin-bottom":"8px",display:"block"},onChange:I=>S(I.target.value?[I.target.value]:[]),onPressEnter:I=>u(C,w,O.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),x(je(fr),{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:I=>u(C,w,O.dataIndex)},{icon:pn(()=>[x(je(XL))]),default:pn(()=>[Zn(" Search ")]),_:2},1032,["onClick"]),x(je(fr),{size:"small",style:{width:"90px"},onClick:I=>o(T)},{default:pn(()=>[Zn(" Reset ")]),_:2},1032,["onClick"])])]),key:"0"}:void 0]),1032,["data-source","columns","pagination","row-selection","scroll"]))}});const Yz=kn(GVe,[["__scopeId","data-v-ec6ca817"]]),YVe=["height","width"],jVe=10,WVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe([]),i=$(()=>(n.userProps.displayIndex?n.userProps.table.schema.fields:n.userProps.table.schema.fields.filter(s=>s.name!="index")).map(s=>({...s,title:s.name.toString(),key:s.name.toString()}))),a=s=>{Da.exports.isEqual(s,n.value)||t("update:value",s)},l=$(()=>{var s;return(s=n.userProps.pageSize)!=null?s:jVe});return ze(()=>r.value,()=>{a(r.value.map(s=>n.userProps.table.data[s]))}),_t(()=>{r.value=[...n.value]}),(s,u)=>(oe(),pe("div",{height:s.containerHeight,width:s.containerWidth},[x(Fn,{label:s.userProps.label,required:!1,hint:s.userProps.hint},null,8,["label","hint"]),x(Yz,{data:s.userProps.table.data,"onUpdate:data":u[0]||(u[0]=o=>s.userProps.table.data=o),"selected-indexes":r.value,"onUpdate:selectedIndexes":u[1]||(u[1]=o=>r.value=o),"enable-search":"",columns:i.value,"rows-per-page":l.value,selectable:s.userProps.multiple?"multiple":"single","selection-disabled":s.userProps.disabled},null,8,["data","selected-indexes","columns","rows-per-page","selectable","selection-disabled"])],8,YVe))}}),qVe={class:"password-input"},KVe=["pattern","required","disabled","placeholder"],ZVe=["required","placeholder"],QVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=$(()=>n.userProps.pattern?n.userProps.pattern:[()=>{const f=n.userProps.lowercaseRequired;let g="";return f&&(g+="(?=.*[a-z])"),g},()=>{const f=n.userProps.uppercaseRequired;let g="";return f&&(g+="(?=.*[A-Z])"),g},()=>{const f=n.userProps.digitRequired;let g="";return f&&(g+="(?=.*\\d)"),g},()=>{const f=n.userProps.specialRequired;let g="";return f&&(g+="(?=.*[!?@#$\\-%^&+=])"),g},()=>{var v,b,y;const f=(v=n.userProps.minLength)!=null?v:null,g=(b=n.userProps.maxLength)!=null?b:null,m=(y=n.userProps.size)!=null?y:null;let h="";return m?h+=`(.{${m},${m}})`:f&&g?h+=`(.{${f},${g}})`:f?h+=`(.{${f},})`:g&&(h+=`(.{,${g}})`),h}].reduce((f,g)=>f+g(),"")||null),i=()=>{const s=n.value,f=[()=>n.userProps.digitRequired&&!/[0-9]/.test(s)?"Your password must have at least one digit between 0 and 9":null,()=>{const g=/[a-z]/g;return n.userProps.lowercaseRequired&&!g.test(s)?"Your password must have at least one lowercase letter":null},()=>{var b,y,S;const g=(b=n.userProps.minLength)!=null?b:null,m=(y=n.userProps.maxLength)!=null?y:null,h=(S=n.userProps.size)!=null?S:null,v=s.length;return h&&v!==h?`Your password must have ${h} characters`:g&&m&&(vm)?`Your password must have between ${g} and ${m} characters`:g&&vm?`Your password must have at most ${m} characters`:null},()=>n.userProps.specialRequired&&!/[!?@#$\-%^&+=]/g.test(s)?"Your password must have at least one special character":null,()=>{const g=/[A-Z]/g;return n.userProps.uppercaseRequired&&!g.test(s)?"Your password must have at leat one uppercase letter":null}].reduce((g,m)=>{const h=m();return h&&g.push(h),g},[]);t("update:errors",f)},a=s=>{t("update:value",s)},l=Oe();return ze(()=>n.value,()=>{!l.value||(l.value.value=n.value)}),(s,u)=>(oe(),pe("div",qVe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),pe("input",{key:0,ref_key:"input",ref:l,type:"password",pattern:r.value,required:!!s.userProps.required,class:Vt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onInput:u[0]||(u[0]=o=>a(o.target.value)),onBlur:i},null,42,KVe)):(oe(),pe("input",{key:1,ref_key:"input",ref:l,type:"password",required:!!s.userProps.required,class:Vt(["input",s.errors.length&&"error"]),placeholder:s.userProps.placeholder,onInput:u[1]||(u[1]=o=>a(o.target.value)),onBlur:i},null,42,ZVe))]))}}),XVe=[{code:"93",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"355",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"213",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"376",placeholder:"000-000",mask:"000-000"},{code:"244",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"1",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"54",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"374",placeholder:"00-000-000",mask:"00-000-000"},{code:"297",placeholder:"000-0000",mask:"000-0000"},{code:"61",placeholder:"0-0000-0000",mask:"0-0000-0000"},{code:"43",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"994",placeholder:"00-000-00-00",mask:"00-000-00-00"},{code:"973",placeholder:"0000-0000",mask:"0000-0000"},{code:"880",placeholder:"1000-000000",mask:"1000-000000"},{code:"375",placeholder:"(00)000-00-00",mask:"(00)000-00-00"},{code:"32",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"501",placeholder:"000-0000",mask:"000-0000"},{code:"229",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"975",placeholder:"17-000-000",mask:"17-000-000|0-000-000"},{code:"591",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"387",placeholder:"00-0000",mask:"00-0000|00-00000"},{code:"267",placeholder:"00-000-000",mask:"00-000-000"},{code:"55",placeholder:"(00)0000-0000",mask:"(00)0000-0000|(00)00000-0000"},{code:"673",placeholder:"000-0000",mask:"000-0000"},{code:"359",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"226",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"257",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"855",placeholder:"00-000-000",mask:"00-000-000"},{code:"237",placeholder:"0000-0000",mask:"0000-0000"},{code:"238",placeholder:"(000)00-00",mask:"(000)00-00"},{code:"236",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"235",placeholder:"00-00-00-00",mask:"00-00-00-00"},{code:"56",placeholder:"0-0000-0000",mask:"0-0000-0000"},{code:"86",placeholder:"(000)0000-000",mask:"(000)0000-000|(000)0000-0000|00-00000-00000"},{code:"57",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"269",placeholder:"00-00000",mask:"00-00000"},{code:"242",placeholder:"00-00000",mask:"00-00000"},{code:"506",placeholder:"0000-0000",mask:"0000-0000"},{code:"385",placeholder:"00-000-000",mask:"00-000-000"},{code:"53",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"357",placeholder:"00-000-000",mask:"00-000-000"},{code:"420",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"243",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"45",placeholder:"00-00-00-00",mask:"00-00-00-00"},{code:"253",placeholder:"00-00-00-00",mask:"00-00-00-00"},{code:"593",placeholder:"0-000-0000",mask:"0-000-0000|00-000-0000"},{code:"20",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"503",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"240",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"291",placeholder:"0-000-000",mask:"0-000-000"},{code:"372",placeholder:"000-0000",mask:"000-0000|0000-0000"},{code:"268",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"251",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"679",placeholder:"00-00000",mask:"00-00000"},{code:"358",placeholder:"(000)000-00-00",mask:"(000)000-00-00"},{code:"33",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"241",placeholder:"0-00-00-00",mask:"0-00-00-00"},{code:"220",placeholder:"(000)00-00",mask:"(000)00-00"},{code:"995",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"49",placeholder:"000-000",mask:"000-000|(000)00-00|(000)00-000|(000)00-0000|(000)000-0000|(0000)000-0000"},{code:"233",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"30",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"502",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"224",placeholder:"00-000-000",mask:"00-000-000|00-000-0000"},{code:"245",placeholder:"0-000000",mask:"0-000000"},{code:"592",placeholder:"000-0000",mask:"000-0000"},{code:"509",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"504",placeholder:"0000-0000",mask:"0000-0000"},{code:"852",placeholder:"0000-0000",mask:"0000-0000"},{code:"36",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"354",placeholder:"000-0000",mask:"000-0000"},{code:"91",placeholder:"(0000)000-000",mask:"(0000)000-000"},{code:"62",placeholder:"00-000-00",mask:"00-000-00|00-000-000|00-000-0000|(800)000-000|(800)000-00-000"},{code:"98",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"924",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"353",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"972",placeholder:"0-000-0000",mask:"0-000-0000|50-000-0000"},{code:"39",placeholder:"(000)0000-000",mask:"(000)0000-000"},{code:"225",placeholder:"00-000-000",mask:"00-000-000"},{code:"81",placeholder:"(000)000-000",mask:"(000)000-000|00-0000-0000"},{code:"962",placeholder:"0-0000-0000",mask:"0-0000-0000"},{code:"77",placeholder:"(600)000-00-00",mask:"(600)000-00-00|(700)000-00-00"},{code:"254",placeholder:"000-000000",mask:"000-000000"},{code:"850",placeholder:"000-000",mask:"000-000|0000-0000|00-000-000|000-0000-000|191-000-0000|0000-0000000000000"},{code:"82",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"965",placeholder:"0000-0000",mask:"0000-0000"},{code:"996",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"856",placeholder:"00-000-000",mask:"00-000-000|(2000)000-000"},{code:"371",placeholder:"00-000-000",mask:"00-000-000"},{code:"961",placeholder:"0-000-000",mask:"0-000-000|00-000-000"},{code:"266",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"231",placeholder:"00-000-000",mask:"00-000-000"},{code:"218",placeholder:"00-000-000",mask:"00-000-000|21-000-0000"},{code:"423",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"370",placeholder:"(000)00-000",mask:"(000)00-000"},{code:"352",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"261",placeholder:"00-00-00000",mask:"00-00-00000"},{code:"265",placeholder:"1-000-000",mask:"1-000-000|0-0000-0000"},{code:"60",placeholder:"0-000-000",mask:"0-000-000|00-000-000|(000)000-000|00-000-0000"},{code:"960",placeholder:"000-0000",mask:"000-0000"},{code:"223",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"356",placeholder:"0000-0000",mask:"0000-0000"},{code:"596",placeholder:"(000)00-00-00",mask:"(000)00-00-00"},{code:"222",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"230",placeholder:"000-0000",mask:"000-0000"},{code:"52",placeholder:"00-00-0000",mask:"00-00-0000|(000)000-0000"},{code:"691",placeholder:"000-0000",mask:"000-0000"},{code:"373",placeholder:"0000-0000",mask:"0000-0000"},{code:"377",placeholder:"00-000-000",mask:"00-000-000|(000)000-000"},{code:"976",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"382",placeholder:"00-000-000",mask:"00-000-000"},{code:"212",placeholder:"00-0000-000",mask:"00-0000-000"},{code:"258",placeholder:"00-000-000",mask:"00-000-000"},{code:"95",placeholder:"000-000",mask:"000-000|0-000-000|00-000-000"},{code:"674",placeholder:"000-0000",mask:"000-0000"},{code:"977",placeholder:"00-000-000",mask:"00-000-000"},{code:"31",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"24",placeholder:"0-000-000",mask:"0-000-000|(000)000-000|(000)000-0000"},{code:"505",placeholder:"0000-0000",mask:"0000-0000"},{code:"227",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"234",placeholder:"00-000-00",mask:"00-000-00|00-000-000|(000)000-0000"},{code:"389",placeholder:"00-000-000",mask:"00-000-000"},{code:"47",placeholder:"(000)00-000",mask:"(000)00-000"},{code:"968",placeholder:"00-000-000",mask:"00-000-000"},{code:"92",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"680",placeholder:"000-0000",mask:"000-0000"},{code:"970",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"507",placeholder:"000-0000",mask:"000-0000"},{code:"675",placeholder:"(000)00-000",mask:"(000)00-000"},{code:"595",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"51",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"63",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"48",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"351",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"974",placeholder:"0000-0000",mask:"0000-0000"},{code:"40",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"7",placeholder:"(000)000-00-00",mask:"(000)000-00-00"},{code:"250",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"685",placeholder:"00-0000",mask:"00-0000"},{code:"378",placeholder:"0000-000000",mask:"0000-000000"},{code:"239",placeholder:"00-00000",mask:"00-00000"},{code:"966",placeholder:"0-000-0000",mask:"0-000-0000|50-0000-0000"},{code:"221",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"381",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"248",placeholder:"0-000-000",mask:"0-000-000"},{code:"232",placeholder:"00-000000",mask:"00-000000"},{code:"65",placeholder:"0000-0000",mask:"0000-0000"},{code:"421",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"386",placeholder:"00-000-000",mask:"00-000-000"},{code:"677",placeholder:"00000",mask:"00000|000-0000"},{code:"252",placeholder:"0-000-000",mask:"0-000-000|00-000-000"},{code:"27",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"211",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"34",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"94",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"249",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"597",placeholder:"000-000",mask:"000-000|000-0000"},{code:"46",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"41",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"963",placeholder:"00-0000-000",mask:"00-0000-000"},{code:"992",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"255",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"66",placeholder:"00-000-000",mask:"00-000-000|00-000-0000"},{code:"670",placeholder:"000-0000",mask:"000-0000|770-00000|780-00000"},{code:"228",placeholder:"00-000-000",mask:"00-000-000"},{code:"676",placeholder:"00000",mask:"00000"},{code:"216",placeholder:"00-000-000",mask:"00-000-000"},{code:"90",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"993",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"256",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"380",placeholder:"(00)000-00-00",mask:"(00)000-00-00"},{code:"971",placeholder:"0-000-0000",mask:"0-000-0000|50-000-0000"},{code:"44",placeholder:"00-0000-0000",mask:"00-0000-0000"},{code:"598",placeholder:"0-000-00-00",mask:"0-000-00-00"},{code:"998",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"678",placeholder:"00000",mask:"00000|00-00000"},{code:"58",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"84",placeholder:"00-0000-000",mask:"00-0000-000|(000)0000-000"},{code:"967",placeholder:"0-000-000",mask:"0-000-000|00-000-000|000-000-000"},{code:"260",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"263",placeholder:"",mask:""}],JVe={class:"phone-input"},eGe={class:"flex"},tGe=["value","disabled"],nGe=["value","disabled","placeholder"],rGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=$(()=>{var m;return n.userProps.placeholder||((m=s(a.value))==null?void 0:m.placeholder)||""}),i=Oe(u(n.value.nationalNumber,n.value.countryCode)),a=Oe(o(n.value.countryCode));function l(m){return m.replace(/\D/g,"")}function s(m){var h;return(h=XVe.find(v=>v.code===l(m)))!=null?h:null}function u(m,h){var b;const v=(b=s(h))==null?void 0:b.mask;return v?Ra(v,m):""}function o(m){return Ra("+000",m)}function c(){t("update:value",{countryCode:l(a.value),nationalNumber:i.value})}const d=m=>{const h=m.target.value;a.value=o(h)},p=m=>{const h=m.target.value;a.value=o(h)},f=m=>{const h=m.target.value;i.value=u(h,a.value),c()},g=()=>{var b;if(!n.userProps.required&&!i.value&&!a.value){t("update:errors",[]);return}const m=[],h=(b=s(a.value))==null?void 0:b.mask;if(!h){t("update:errors",["i18n_error_invalid_country_code"]);return}Wp(h,i.value)||m.push(n.userProps.invalidMessage),t("update:errors",m)};return Rt(()=>{i.value=u(n.value.nationalNumber,n.value.countryCode),a.value=o(n.value.countryCode)}),(m,h)=>(oe(),pe("div",JVe,[x(Fn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ee("div",eGe,[Ee("input",{value:a.value,class:Vt(["select",["input",m.errors.length&&"error"]]),maxlength:"4",placeholder:"+1",disabled:m.userProps.disabled,onInput:p,onChange:d,onBlur:g},null,42,tGe),Ee("input",{value:i.value,class:Vt(["input",m.errors.length&&"error"]),disabled:m.userProps.disabled||!s(a.value),placeholder:r.value,onBlur:g,onInput:f,onChange:g},null,42,nGe)])]))}});const iGe=kn(rGe,[["__scopeId","data-v-9372fb2a"]]),aGe={class:"rating-input"},oGe={ref:"input",class:"rating-icons"},sGe=["onClick"],lGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=s=>{var u;return s<((u=i.value)!=null?u:0)},i=Oe(n.value),a=$(()=>{var s,u;return Array((s=n.userProps.max)!=null?s:5).fill((u=n.userProps.char)!=null?u:"\u2B50")}),l=s=>{n.userProps.disabled||(i.value=s,t("update:value",i.value))};return ze(()=>n.value,()=>{i.value=n.value}),(s,u)=>(oe(),pe("div",aGe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ee("div",oGe,[(oe(!0),pe(tt,null,Di(a.value,(o,c)=>(oe(),pe("div",{key:c,class:Vt(["rating-icon",{active:r(c),disabled:s.userProps.disabled}]),tabindex:"0",onClick:d=>l(c+1)},Qt(o),11,sGe))),128))],512)]))}});const cGe=kn(lGe,[["__scopeId","data-v-1108054a"]]);const uGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(null);window.document&&Py(()=>import("./vue-quill.esm-bundler.53d1533d.js"),[]).then(s=>{r.value=s.QuillEditor});const i=()=>{var u,o;const s=(o=(u=a.value)==null?void 0:u.getHTML())!=null?o:"";t("update:value",s)},a=Oe(),l=()=>{var s;n.value&&((s=a.value)==null||s.setHTML(n.value))};return ze(()=>n.value,()=>{var u;(((u=a.value)==null?void 0:u.getHTML())||"")!==n.value&&l()}),(s,u)=>(oe(),pe(tt,null,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),Rn(hu(r.value),{key:0,ref_key:"input",ref:a,style:{height:"100%"},class:Vt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onReady:l,"onUpdate:content":u[0]||(u[0]=o=>i())},null,40,["class","disabled","placeholder"])):ft("",!0)],64))}});const dGe="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",pGe={class:"tag-input"},fGe={class:"tags"},mGe={class:"remove-icon",viewBox:"0 0 24 24"},gGe=["d"],hGe=["disabled","placeholder"],_Ge=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var u;const n=e,r=dGe,i=Oe((u=n.value)!=null?u:[]),a=o=>{n.userProps.disabled||!o||i.value.some(c=>c===o)||(i.value=[...i.value,o],t("update:value",i.value),s.value.value="")},l=o=>{n.userProps.disabled||(i.value=i.value.filter((c,d)=>d!==o),t("update:value",i.value))},s=Oe();return ze(()=>n.value,()=>{var o;i.value=(o=n.value)!=null?o:[]}),(o,c)=>(oe(),pe(tt,null,[x(Fn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ee("div",pGe,[Ee("div",fGe,[(oe(!0),pe(tt,null,Di(i.value,(d,p)=>(oe(),pe("div",{key:d,class:"tag"},[Zn(Qt(d)+" ",1),x(je(fr),{class:"remove-tag",type:"text",onClick:f=>l(p)},{default:pn(()=>[(oe(),pe("svg",mGe,[Ee("path",{d:je(r)},null,8,gGe)]))]),_:2},1032,["onClick"])]))),128))]),Ee("input",{ref_key:"input",ref:s,class:Vt(["input",{disabled:o.userProps.disabled}]),disabled:o.userProps.disabled,type:"text",placeholder:o.userProps.placeholder,onChange:c[0]||(c[0]=d=>a(d.target.value)),onKeyup:c[1]||(c[1]=Ox(d=>a(d.target.value),["enter"]))},null,42,hGe)])],64))}});const vGe=kn(_Ge,[["__scopeId","data-v-c12d89f6"]]),bGe={class:"text-input"},yGe=["disabled","placeholder"],SGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(),i=s=>{const u=n.userProps.mask?Ra(n.userProps.mask,s):s;r.value.value=u,t("update:value",u)},a=s=>{const u=s.target;n.userProps.mask&&Wp(n.userProps.mask,u.value)&&s.preventDefault()};_t(()=>{l()}),ze(()=>n.value,()=>{l()});function l(){n.value&&r.value&&(n.userProps.mask?r.value.value=Ra(n.userProps.mask,n.value):r.value.value=n.value)}return(s,u)=>(oe(),pe("div",bGe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ee("input",{ref_key:"input",ref:r,class:Vt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onKeypress:u[0]||(u[0]=o=>a(o)),onInput:u[1]||(u[1]=o=>i(o.target.value))},null,42,yGe)]))}}),EGe=["disabled","placeholder"],CGe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=a=>{i.value.value=a,t("update:value",a)},i=Oe();return _t(()=>{i.value.value=n.value||""}),ze(()=>n.value,()=>{i.value.value=n.value||""}),(a,l)=>(oe(),pe(tt,null,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ee("textarea",{ref_key:"input",ref:i,style:{height:"100%"},class:Vt(["input",a.errors.length&&"error",a.userProps.disabled&&"disabled"]),disabled:a.userProps.disabled,placeholder:a.userProps.placeholder,onInput:l[0]||(l[0]=s=>r(s.target.value))},null,42,EGe)],64))}});const TGe={class:"time-input"},wGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=l=>l?`${l.hour.toString().padStart(2,"0")}:${l.minute.toString().padStart(2,"0")}`:void 0,i=Oe(r(n.value)),a=(l,s)=>{const[u,o]=s.split(":"),c={hour:parseInt(u),minute:parseInt(o)};t("update:value",c)};return ze(()=>n.value,l=>{i.value=r(l)}),(l,s)=>(oe(),pe("div",TGe,[x(Fn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(je(zPe),{value:i.value,"onUpdate:value":s[0]||(s[0]=u=>i.value=u),type:"time",class:"input",format:"HH:mm","value-format":"HH:mm",disabled:l.userProps.disabled,onChange:a},null,8,["value","disabled"])]))}});const xGe=kn(wGe,[["__scopeId","data-v-31786bbd"]]),OGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=()=>{n.userProps.disabled||(r.value=!r.value,t("update:value",r.value))};return ze(()=>n.value,()=>{r.value=n.value}),(a,l)=>(oe(),pe(tt,null,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),x(je(BNe),{checked:r.value,style:{"align-self":"flex-start"},onChange:i},null,8,["checked"])],64))}}),RGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){return(n,r)=>(oe(),pe(tt,null,[x(Fn,{label:n.userProps.label,required:!!n.userProps.required,hint:n.userProps.hint},null,8,["label","required","hint"]),x(Gz,{"accepted-formats":["video/*"],"accepted-mime-types":"video/*",disabled:n.userProps.disabled,errors:n.errors,"list-type":"picture-card",multiple:n.userProps.multiple,value:n.value,locale:n.locale,"onUpdate:errors":r[0]||(r[0]=i=>t("update:errors",i)),"onUpdate:value":r[1]||(r[1]=i=>t("update:value",i))},null,8,["disabled","errors","multiple","value","locale"])],64))}}),AWe={"appointment-input":_Ue,"camera-input":JUe,"cards-input":pHe,"checkbox-input":mHe,"checklist-input":_He,"cnpj-input":SHe,"code-input":CHe,"cpf-input":xHe,"currency-input":NHe,"custom-input":MHe,"date-input":FHe,"dropdown-input":yze,"email-input":Cze,"file-input":mVe,"image-input":_Ve,"list-input":EVe,"multiple-choice-input":wVe,"nps-input":DVe,"number-input":$Ve,"number-slider-input":BVe,"pandas-row-selection-input":WVe,"password-input":QVe,"phone-input":iGe,"rating-input":cGe,"rich-text-input":uGe,"tag-input":vGe,"text-input":SGe,"textarea-input":CGe,"time-input":xGe,"toggle-input":OGe,"video-input":RGe},IGe=e=>(Y8("data-v-1e783ab3"),e=e(),j8(),e),AGe={class:"file-output"},NGe=["href"],DGe=IGe(()=>Ee("iframe",{src:"about:blank",name:"iframe_a",class:"target-frame"},null,-1)),PGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r;return oe(),pe("div",AGe,[Ee("a",{href:t.userProps.fileUrl,class:"download-button button",target:"iframe_a",download:""},[x(je(f6e)),Zn(" "+Qt((r=t.userProps.downloadText)!=null?r:"Download"),1)],8,NGe),DGe])}}});const MGe=kn(PGe,[["__scopeId","data-v-1e783ab3"]]),kGe=["innerHTML"],$Ge=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),pe("div",{innerHTML:t.userProps.html},null,8,kGe))}}),LGe=["src","width","height"],FGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r,i;return oe(),pe("iframe",{class:"iframe",src:t.userProps.url,width:(r=t.userProps.width)!=null?r:void 0,height:(i=t.userProps.height)!=null?i:void 0},null,8,LGe)}}});const BGe=kn(FGe,[["__scopeId","data-v-75daa443"]]),UGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),pe(tt,null,[x(Fn,{label:t.userProps.label,required:!1},null,8,["label"]),x(je(PIe),{src:t.userProps.imageUrl,alt:t.userProps.subtitle},null,8,["src","alt"])],64))}}),HGe=Ce({__name:"component",props:{userProps:{}},setup(e){const t=Oe(null);return _t(async()=>{await Promise.all([kL("https://polyfill.io/v3/polyfill.min.js?features=es6"),kL("https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js")]),window.MathJax.typesetPromise([t.value])}),(n,r)=>(oe(),pe("div",{ref_key:"latex",ref:t,class:"latex"},Qt(n.userProps.text),513))}});const zGe=kn(HGe,[["__scopeId","data-v-9c539437"]]),VGe=["href","target"],GGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),pe("a",{class:"link",href:t.userProps.linkUrl,target:t.userProps.sameTab?"":"_blank"},Qt(t.userProps.linkText),9,VGe))}}),YGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{const r=Jd("Markdown");return oe(),Rn(r,{class:"markdown-output",source:t.userProps.text,html:""},null,8,["source"])}}});const jGe=kn(YGe,[["__scopeId","data-v-331de5d9"]]),WGe=["height","width"],qGe=10,KGe=Ce({__name:"component",props:{userProps:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["row-click","action-click","row-edit"],setup(e,{emit:t}){const n=e,r=Oe(null),i=({action:o,row:c})=>{t("action-click",{action:o,userProps:c})};function a({row:o}){t("row-click",{userProps:o.userProps,index:o.index})}function l({oldRow:o,newRow:c}){const d=qUe(o,c);t("row-edit",{old:o,new:d,index:o.index})}ze(n.userProps.table.data,()=>{});const s=$(()=>(n.userProps.displayIndex?n.userProps.table.schema.fields:n.userProps.table.schema.fields.filter(o=>o.name!="index")).map(o=>({...o,title:o.name.toString(),key:o.name.toString()}))),u=$(()=>{var o;return(o=n.userProps.pageSize)!=null?o:qGe});return(o,c)=>{var d;return oe(),pe("div",{height:o.containerHeight,width:o.containerWidth},[x(Fn,{ref_key:"label",ref:r,label:n.userProps.label,required:!1},null,8,["label"]),x(Yz,{data:o.userProps.table.data,columns:s.value,"rows-per-page":u.value,"enable-search":"",actions:(d=n.userProps.actions)!=null&&d.length?n.userProps.actions:void 0,onActionClick:i,onRowClick:a,onRowEdit:l},null,8,["data","columns","rows-per-page","actions"])],8,WGe)}}}),ZGe=Ce({__name:"component",props:{userProps:{}},setup(e){const t=e,n=Oe(null);_t(async()=>{r()});const r=async()=>{if(!n.value)return;(await Py(()=>import("./plotly.min.b6ac2143.js").then(a=>a.p),[])).newPlot(n.value,t.userProps.figure.data,t.userProps.figure.layout)};return ze(()=>t.userProps.figure,r,{deep:!0}),(i,a)=>(oe(),pe(tt,null,[x(Fn,{label:i.userProps.label,required:!1},null,8,["label"]),Ee("div",{ref_key:"root",ref:n,class:"chart"},null,512)],64))}});const QGe=kn(ZGe,[["__scopeId","data-v-0c65d6dd"]]),XGe={class:"progress-output"},JGe={class:"progress-container"},e7e={class:"progress-text label"},t7e=Ce({__name:"component",props:{userProps:{}},setup(e){const t=e,n=$(()=>{const{current:r,total:i}=t.userProps;return{width:`calc(${Math.min(100*r/i,100).toFixed(2)}% - 6px)`}});return(r,i)=>(oe(),pe("div",XGe,[Ee("div",JGe,[Ee("div",{class:"progress-content",style:Ni(n.value)},null,4)]),Ee("div",e7e,Qt(r.userProps.text),1)]))}});const n7e=kn(t7e,[["__scopeId","data-v-6fc80314"]]),r7e=Ce({__name:"component",props:{userProps:{}},setup(e){const t=e;function n(i){switch(i){case"small":return"12px";case"medium":return"16px";case"large":return"24px";default:return"16px"}}const r=$(()=>({fontSize:n(t.userProps.size)}));return(i,a)=>(oe(),pe("div",{class:"text",style:Ni(r.value)},Qt(i.userProps.text),5))}}),i7e={class:"start-widget"},a7e={class:"title"},o7e={key:0,class:"start-message"},s7e=Ce({__name:"component",props:{form:{}},setup(e){return(t,n)=>(oe(),pe("div",i7e,[Ee("div",a7e,Qt(t.form.welcomeTitle||t.form.title),1),t.form.startMessage?(oe(),pe("div",o7e,Qt(t.form.startMessage),1)):ft("",!0)]))}});const l7e=kn(s7e,[["__scopeId","data-v-93314670"]]),c7e={class:"text"},u7e=Ce({__name:"component",props:{endMessage:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),pe("div",c7e,Qt((r=t.endMessage)!=null?r:je(Oa).translate("i18n_end_message",t.locale)),1)}}});const d7e=kn(u7e,[["__scopeId","data-v-a30dba0a"]]),p7e={class:"text"},f7e={key:0,class:"session-id"},m7e=Ce({__name:"component",props:{errorMessage:{},executionId:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),pe("div",p7e,[Zn(Qt((r=t.errorMessage)!=null?r:je(Oa).translate("i18n_error_message",t.locale))+" ",1),t.executionId?(oe(),pe("div",f7e,"Run ID: "+Qt(t.executionId),1)):ft("",!0)])}}});const g7e=kn(m7e,[["__scopeId","data-v-a406885c"]]),NWe={start:l7e,end:d7e,error:g7e},DWe={"file-output":MGe,"html-output":$Ge,"iframe-output":BGe,"image-output":UGe,"latex-output":zGe,"link-output":GGe,"markdown-output":jGe,"pandas-output":KGe,"plotly-output":QGe,"progress-output":n7e,"text-output":r7e},Ri={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},JL={ripple:!1,inputStyle:"outlined",locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[Ri.STARTS_WITH,Ri.CONTAINS,Ri.NOT_CONTAINS,Ri.ENDS_WITH,Ri.EQUALS,Ri.NOT_EQUALS],numeric:[Ri.EQUALS,Ri.NOT_EQUALS,Ri.LESS_THAN,Ri.LESS_THAN_OR_EQUAL_TO,Ri.GREATER_THAN,Ri.GREATER_THAN_OR_EQUAL_TO],date:[Ri.DATE_IS,Ri.DATE_IS_NOT,Ri.DATE_BEFORE,Ri.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},h7e=Symbol();var PWe={install:(e,t)=>{let n=t?{...JL,...t}:{...JL};const r={config:un(n)};e.config.globalProperties.$primevue=r,e.provide(h7e,r)}},_7e={name:"Message",emits:["close"],props:{severity:{type:String,default:"info"},closable:{type:Boolean,default:!0},sticky:{type:Boolean,default:!0},life:{type:Number,default:3e3},icon:{type:String,default:null},closeIcon:{type:String,default:"pi pi-times"},closeButtonProps:{type:null,default:null}},timeout:null,data(){return{visible:!0}},mounted(){this.sticky||this.x()},methods:{close(e){this.visible=!1,this.$emit("close",e)},x(){setTimeout(()=>{this.visible=!1},this.life)}},computed:{containerClass(){return"p-message p-component p-message-"+this.severity},iconClass(){return["p-message-icon pi",this.icon?this.icon:{"pi-info-circle":this.severity==="info","pi-check":this.severity==="success","pi-exclamation-triangle":this.severity==="warn","pi-times-circle":this.severity==="error"}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{ripple:mI}};const v7e={class:"p-message-wrapper"},b7e={class:"p-message-text"},y7e=["aria-label"];function S7e(e,t,n,r,i,a){const l=ef("ripple");return oe(),Rn(Ti,{name:"p-message",appear:""},{default:pn(()=>[mr(Ee("div",{class:Vt(a.containerClass),role:"alert","aria-live":"assertive","aria-atomic":"true"},[Ee("div",v7e,[Ee("span",{class:Vt(a.iconClass)},null,2),Ee("div",b7e,[Et(e.$slots,"default")]),n.closable?mr((oe(),pe("button",An({key:0,class:"p-message-close p-link","aria-label":a.closeAriaLabel,type:"button",onClick:t[0]||(t[0]=s=>a.close(s))},n.closeButtonProps),[Ee("i",{class:Vt(["p-message-close-icon",n.closeIcon])},null,2)],16,y7e)),[[l]]):ft("",!0)])],2),[[Pa,i.visible]])]),_:3})}function E7e(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var C7e=` +`)),1)):ft("",!0)])}),128))],2))),128)),!n.userProps.max||b.value.length{t("update:errors",[]),t("update:value",[s])},l=s=>{t("update:errors",[]),t("update:value",s)};return ze(()=>n.value,()=>{r.value=n.value[0],i.value=n.value}),(s,u)=>(oe(),pe("div",CVe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),s.userProps.multiple?(oe(),Rn(je(Cg),{key:1,value:i.value,"onUpdate:value":u[2]||(u[2]=o=>i.value=o),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[3]||(u[3]=o=>l(o))},null,8,["value","disabled","options"])):(oe(),Rn(je(pR),{key:0,value:r.value,"onUpdate:value":u[0]||(u[0]=o=>r.value=o),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[1]||(u[1]=o=>a(o.target.value))},null,8,["value","disabled","options"]))]))}});const wVe=kn(TVe,[["__scopeId","data-v-8ef177a2"]]),xVe={class:"options"},OVe=["active","onClick"],RVe={class:"nps-hints"},IVe={class:"nps-hint"},AVe={class:"nps-hint"},NVe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=$(()=>{var u;return(u=n.userProps.max)!=null?u:10}),a=$(()=>{var u;return(u=n.userProps.min)!=null?u:0}),l=$(()=>Array(1+i.value-a.value).fill(null).map((u,o)=>o+a.value)),s=u=>{n.userProps.disabled||(r.value=u,t("update:value",r.value))};return ze(()=>n.value,()=>{r.value=n.value}),(u,o)=>(oe(),pe(tt,null,[x(Fn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ee("div",xVe,[(oe(!0),pe(tt,null,Di(l.value,c=>(oe(),pe("button",{key:c,active:r.value!==c,class:Vt(["option","button",{disabled:u.userProps.disabled}]),onClick:d=>s(c)},Qt(c),11,OVe))),128))]),Ee("div",RVe,[Ee("div",IVe,Qt(u.userProps.minHint),1),Ee("div",AVe,Qt(u.userProps.maxHint),1)])],64))}});const DVe=kn(NVe,[["__scopeId","data-v-3fd6eefc"]]),PVe={class:"number-input"},MVe=["disabled","placeholder"],kVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var i,a;const n=e,r=Oe((a=(i=n.value)==null?void 0:i.toString())!=null?a:"");return ze(r,l=>{if(l===""){t("update:value",null);return}const s=Number(l);t("update:value",s)}),ze(()=>n.value,l=>{r.value=(l==null?void 0:l.toString())||""}),(l,s)=>(oe(),pe("div",PVe,[x(Fn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),mr(Ee("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>r.value=u),class:Vt(["input",l.errors.length&&"error",l.userProps.disabled&&"disabled"]),disabled:l.userProps.disabled,type:"number",placeholder:l.userProps.placeholder},null,10,MVe),[[Au,r.value]])]))}});const $Ve=kn(kVe,[["__scopeId","data-v-90c6530c"]]),LVe={class:"number-slider-input"},FVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=l=>{const s=String(l),u=i(Number(l));s!=a.value.value&&(a.value.value=s),u!=n.value&&t("update:value",u)},i=l=>l&&(n.userProps.min&&ln.userProps.max?n.userProps.max:l),a=Oe();return(l,s)=>(oe(),pe("div",LVe,[x(Fn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(je(INe),{ref_key:"input",ref:a,class:Vt([l.errors.length&&"error","slider"]),disabled:l.userProps.disabled,type:"range",min:l.userProps.min||0,max:l.userProps.max||100,step:l.userProps.step||1,onChange:s[0]||(s[0]=u=>r(u))},null,8,["class","disabled","min","max","step"])]))}});const BVe=kn(FVe,[["__scopeId","data-v-3fcc105e"]]),UVe={style:{padding:"8px"}},HVe=["onclick"],zVe={key:1,class:"buttons"},VVe={key:0},GVe=Ce({__name:"ATable",props:{data:{},columns:{},enableSearch:{type:Boolean},editable:{type:Boolean},mainColor:{},actions:{},rowsPerPage:{},selectedIndexes:{},selectable:{},selectionDisabled:{type:Boolean}},emits:["rowEdit","actionClick","rowClick","update:selectedIndexes"],setup(e,{emit:t}){const n=e,r=$(()=>{var b;return(b=n.mainColor)!=null?b:"#D14056"}),i=un({searchText:"",searchedColumn:""}),a=Oe(),l=$(()=>n.data.map((y,S)=>({...y,key:S}))),s=$(()=>{const b=n.columns.map((y,S)=>({title:y.title,dataIndex:y.key,key:y.key,customFilterDropdown:!0,sorter:{compare:(C,w)=>typeof C[y.key]=="number"&&typeof w[y.key]=="number"?C[y.key]-w[y.key]:typeof C[y.key]=="string"&&typeof w[y.key]=="string"?C[y.key].localeCompare(w[y.key]):1,multiple:S},onFilter:(C,w)=>{var T;return(T=w[y.key])==null?void 0:T.toString().toLowerCase().includes(C.toString().toLowerCase())},onFilterDropdownOpenChange:C=>{C&&sn().then(()=>{a.value.focus()})}}));if(n.editable||n.actions){const y=n.editable?80:0,S=n.actions?40:0;b.push({title:"",dataIndex:"buttons",width:y+S,fixed:"right",align:"center"})}return b}),u=(b,y,S)=>{y(),i.searchText=b[0],i.searchedColumn=S},o=b=>{b({confirm:!0}),i.searchText=""},c=un({}),d=b=>{t("rowClick",{row:b})},p=(b,y)=>{t("actionClick",{action:b,row:y})},f=b=>{c[b.index]={...b}},g=b=>{const y=n.data.filter(S=>S.index===b.index);t("rowEdit",{oldRow:y[0],newRow:c[b.index]}),delete c[b.index]},m=b=>{delete c[b.index]},h=Oe([]),v=$(()=>n.selectable?{type:{multiple:"checkbox",single:"radio"}[n.selectable],selectedRowKeys:n.selectedIndexes,onChange:(y,S)=>{h.value=y.map(C=>Number(C)),t("update:selectedIndexes",y.map(C=>Number(C)))},getCheckboxProps:y=>({disabled:n.selectionDisabled,name:y[n.columns[0].key]})}:void 0);return(b,y)=>(oe(),Rn(je($Pe),{"data-source":l.value,columns:s.value,pagination:{position:["bottomCenter"],defaultPageSize:n.rowsPerPage,showSizeChanger:!n.rowsPerPage},"row-selection":v.value,scroll:{x:n.columns.length*200}},bx({bodyCell:pn(({column:S,text:C,record:w})=>[n.columns.map(T=>T.key).includes(S.dataIndex)?(oe(),pe("div",{key:0,onclick:()=>d(w)},[c[w.index]?(oe(),Rn(je(Wr),{key:0,value:c[w.index][S.dataIndex],"onUpdate:value":T=>c[w.index][S.dataIndex]=T,style:{margin:"-5px 0"}},null,8,["value","onUpdate:value"])):(oe(),pe(tt,{key:1},[Zn(Qt(C),1)],64))],8,HVe)):S.dataIndex==="buttons"?(oe(),pe("div",zVe,[c[w.index]?(oe(),Rn(je(fr),{key:0,type:"text",onClick:T=>g(w)},{default:pn(()=>[x(je(sVe),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),c[w.index]?(oe(),Rn(je($Ae),{key:1,title:"Sure to cancel?",onConfirm:T=>m(w)},{default:pn(()=>[x(je(fr),{type:"text"},{default:pn(()=>[x(je(Qze),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:1})]),_:2},1032,["onConfirm"])):ft("",!0),n.editable&&!c[w.index]?(oe(),Rn(je(fr),{key:2,type:"text",onClick:T=>f(w)},{default:pn(()=>[x(je(Jze),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),n.actions&&!c[w.index]?(oe(),Rn(je(pc),{key:3,trigger:"click"},{overlay:pn(()=>[x(je(lo),null,{default:pn(()=>[(oe(!0),pe(tt,null,Di(n.actions,T=>(oe(),Rn(je(zp),{key:T,type:"text",onClick:O=>p(T,w)},{default:pn(()=>[Zn(Qt(T),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),default:pn(()=>[x(je(fr),{type:"text"},{default:pn(()=>[x(je(aVe),{style:Ni({color:r.value})},null,8,["style"])]),_:1})]),_:2},1024)):ft("",!0)])):(oe(),pe(tt,{key:2},[i.searchText&&i.searchedColumn===S.dataIndex?(oe(),pe("span",VVe,[(oe(!0),pe(tt,null,Di(C.toString().split(new RegExp(`(?<=${i.searchText})|(?=${i.searchText})`,"i")),(T,O)=>(oe(),pe(tt,null,[T.toLowerCase()===i.searchText.toLowerCase()?(oe(),pe("mark",{key:O,class:"highlight"},Qt(T),1)):(oe(),pe(tt,{key:1},[Zn(Qt(T),1)],64))],64))),256))])):ft("",!0)],64))]),default:pn(()=>[n.enableSearch?(oe(),Rn(je(XL),{key:0,"two-tone-color":r.value},null,8,["two-tone-color"])):ft("",!0)]),_:2},[n.enableSearch?{name:"customFilterDropdown",fn:pn(({setSelectedKeys:S,selectedKeys:C,confirm:w,clearFilters:T,column:O})=>[Ee("div",UVe,[x(je(Wr),{ref_key:"searchInput",ref:a,placeholder:`Search ${O.dataIndex}`,value:C[0],style:{width:"188px","margin-bottom":"8px",display:"block"},onChange:I=>S(I.target.value?[I.target.value]:[]),onPressEnter:I=>u(C,w,O.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),x(je(fr),{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:I=>u(C,w,O.dataIndex)},{icon:pn(()=>[x(je(XL))]),default:pn(()=>[Zn(" Search ")]),_:2},1032,["onClick"]),x(je(fr),{size:"small",style:{width:"90px"},onClick:I=>o(T)},{default:pn(()=>[Zn(" Reset ")]),_:2},1032,["onClick"])])]),key:"0"}:void 0]),1032,["data-source","columns","pagination","row-selection","scroll"]))}});const Yz=kn(GVe,[["__scopeId","data-v-ec6ca817"]]),YVe=["height","width"],jVe=10,WVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe([]),i=$(()=>(n.userProps.displayIndex?n.userProps.table.schema.fields:n.userProps.table.schema.fields.filter(s=>s.name!="index")).map(s=>({...s,title:s.name.toString(),key:s.name.toString()}))),a=s=>{Da.exports.isEqual(s,n.value)||t("update:value",s)},l=$(()=>{var s;return(s=n.userProps.pageSize)!=null?s:jVe});return ze(()=>r.value,()=>{a(r.value.map(s=>n.userProps.table.data[s]))}),_t(()=>{r.value=[...n.value]}),(s,u)=>(oe(),pe("div",{height:s.containerHeight,width:s.containerWidth},[x(Fn,{label:s.userProps.label,required:!1,hint:s.userProps.hint},null,8,["label","hint"]),x(Yz,{data:s.userProps.table.data,"onUpdate:data":u[0]||(u[0]=o=>s.userProps.table.data=o),"selected-indexes":r.value,"onUpdate:selectedIndexes":u[1]||(u[1]=o=>r.value=o),"enable-search":"",columns:i.value,"rows-per-page":l.value,selectable:s.userProps.multiple?"multiple":"single","selection-disabled":s.userProps.disabled},null,8,["data","selected-indexes","columns","rows-per-page","selectable","selection-disabled"])],8,YVe))}}),qVe={class:"password-input"},KVe=["pattern","required","disabled","placeholder"],ZVe=["required","placeholder"],QVe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=$(()=>n.userProps.pattern?n.userProps.pattern:[()=>{const f=n.userProps.lowercaseRequired;let g="";return f&&(g+="(?=.*[a-z])"),g},()=>{const f=n.userProps.uppercaseRequired;let g="";return f&&(g+="(?=.*[A-Z])"),g},()=>{const f=n.userProps.digitRequired;let g="";return f&&(g+="(?=.*\\d)"),g},()=>{const f=n.userProps.specialRequired;let g="";return f&&(g+="(?=.*[!?@#$\\-%^&+=])"),g},()=>{var v,b,y;const f=(v=n.userProps.minLength)!=null?v:null,g=(b=n.userProps.maxLength)!=null?b:null,m=(y=n.userProps.size)!=null?y:null;let h="";return m?h+=`(.{${m},${m}})`:f&&g?h+=`(.{${f},${g}})`:f?h+=`(.{${f},})`:g&&(h+=`(.{,${g}})`),h}].reduce((f,g)=>f+g(),"")||null),i=()=>{const s=n.value,f=[()=>n.userProps.digitRequired&&!/[0-9]/.test(s)?"Your password must have at least one digit between 0 and 9":null,()=>{const g=/[a-z]/g;return n.userProps.lowercaseRequired&&!g.test(s)?"Your password must have at least one lowercase letter":null},()=>{var b,y,S;const g=(b=n.userProps.minLength)!=null?b:null,m=(y=n.userProps.maxLength)!=null?y:null,h=(S=n.userProps.size)!=null?S:null,v=s.length;return h&&v!==h?`Your password must have ${h} characters`:g&&m&&(vm)?`Your password must have between ${g} and ${m} characters`:g&&vm?`Your password must have at most ${m} characters`:null},()=>n.userProps.specialRequired&&!/[!?@#$\-%^&+=]/g.test(s)?"Your password must have at least one special character":null,()=>{const g=/[A-Z]/g;return n.userProps.uppercaseRequired&&!g.test(s)?"Your password must have at leat one uppercase letter":null}].reduce((g,m)=>{const h=m();return h&&g.push(h),g},[]);t("update:errors",f)},a=s=>{t("update:value",s)},l=Oe();return ze(()=>n.value,()=>{!l.value||(l.value.value=n.value)}),(s,u)=>(oe(),pe("div",qVe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),pe("input",{key:0,ref_key:"input",ref:l,type:"password",pattern:r.value,required:!!s.userProps.required,class:Vt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onInput:u[0]||(u[0]=o=>a(o.target.value)),onBlur:i},null,42,KVe)):(oe(),pe("input",{key:1,ref_key:"input",ref:l,type:"password",required:!!s.userProps.required,class:Vt(["input",s.errors.length&&"error"]),placeholder:s.userProps.placeholder,onInput:u[1]||(u[1]=o=>a(o.target.value)),onBlur:i},null,42,ZVe))]))}}),XVe=[{code:"93",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"355",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"213",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"376",placeholder:"000-000",mask:"000-000"},{code:"244",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"1",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"54",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"374",placeholder:"00-000-000",mask:"00-000-000"},{code:"297",placeholder:"000-0000",mask:"000-0000"},{code:"61",placeholder:"0-0000-0000",mask:"0-0000-0000"},{code:"43",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"994",placeholder:"00-000-00-00",mask:"00-000-00-00"},{code:"973",placeholder:"0000-0000",mask:"0000-0000"},{code:"880",placeholder:"1000-000000",mask:"1000-000000"},{code:"375",placeholder:"(00)000-00-00",mask:"(00)000-00-00"},{code:"32",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"501",placeholder:"000-0000",mask:"000-0000"},{code:"229",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"975",placeholder:"17-000-000",mask:"17-000-000|0-000-000"},{code:"591",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"387",placeholder:"00-0000",mask:"00-0000|00-00000"},{code:"267",placeholder:"00-000-000",mask:"00-000-000"},{code:"55",placeholder:"(00)0000-0000",mask:"(00)0000-0000|(00)00000-0000"},{code:"673",placeholder:"000-0000",mask:"000-0000"},{code:"359",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"226",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"257",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"855",placeholder:"00-000-000",mask:"00-000-000"},{code:"237",placeholder:"0000-0000",mask:"0000-0000"},{code:"238",placeholder:"(000)00-00",mask:"(000)00-00"},{code:"236",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"235",placeholder:"00-00-00-00",mask:"00-00-00-00"},{code:"56",placeholder:"0-0000-0000",mask:"0-0000-0000"},{code:"86",placeholder:"(000)0000-000",mask:"(000)0000-000|(000)0000-0000|00-00000-00000"},{code:"57",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"269",placeholder:"00-00000",mask:"00-00000"},{code:"242",placeholder:"00-00000",mask:"00-00000"},{code:"506",placeholder:"0000-0000",mask:"0000-0000"},{code:"385",placeholder:"00-000-000",mask:"00-000-000"},{code:"53",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"357",placeholder:"00-000-000",mask:"00-000-000"},{code:"420",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"243",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"45",placeholder:"00-00-00-00",mask:"00-00-00-00"},{code:"253",placeholder:"00-00-00-00",mask:"00-00-00-00"},{code:"593",placeholder:"0-000-0000",mask:"0-000-0000|00-000-0000"},{code:"20",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"503",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"240",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"291",placeholder:"0-000-000",mask:"0-000-000"},{code:"372",placeholder:"000-0000",mask:"000-0000|0000-0000"},{code:"268",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"251",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"679",placeholder:"00-00000",mask:"00-00000"},{code:"358",placeholder:"(000)000-00-00",mask:"(000)000-00-00"},{code:"33",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"241",placeholder:"0-00-00-00",mask:"0-00-00-00"},{code:"220",placeholder:"(000)00-00",mask:"(000)00-00"},{code:"995",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"49",placeholder:"000-000",mask:"000-000|(000)00-00|(000)00-000|(000)00-0000|(000)000-0000|(0000)000-0000"},{code:"233",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"30",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"502",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"224",placeholder:"00-000-000",mask:"00-000-000|00-000-0000"},{code:"245",placeholder:"0-000000",mask:"0-000000"},{code:"592",placeholder:"000-0000",mask:"000-0000"},{code:"509",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"504",placeholder:"0000-0000",mask:"0000-0000"},{code:"852",placeholder:"0000-0000",mask:"0000-0000"},{code:"36",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"354",placeholder:"000-0000",mask:"000-0000"},{code:"91",placeholder:"(0000)000-000",mask:"(0000)000-000"},{code:"62",placeholder:"00-000-00",mask:"00-000-00|00-000-000|00-000-0000|(800)000-000|(800)000-00-000"},{code:"98",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"924",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"353",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"972",placeholder:"0-000-0000",mask:"0-000-0000|50-000-0000"},{code:"39",placeholder:"(000)0000-000",mask:"(000)0000-000"},{code:"225",placeholder:"00-000-000",mask:"00-000-000"},{code:"81",placeholder:"(000)000-000",mask:"(000)000-000|00-0000-0000"},{code:"962",placeholder:"0-0000-0000",mask:"0-0000-0000"},{code:"77",placeholder:"(600)000-00-00",mask:"(600)000-00-00|(700)000-00-00"},{code:"254",placeholder:"000-000000",mask:"000-000000"},{code:"850",placeholder:"000-000",mask:"000-000|0000-0000|00-000-000|000-0000-000|191-000-0000|0000-0000000000000"},{code:"82",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"965",placeholder:"0000-0000",mask:"0000-0000"},{code:"996",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"856",placeholder:"00-000-000",mask:"00-000-000|(2000)000-000"},{code:"371",placeholder:"00-000-000",mask:"00-000-000"},{code:"961",placeholder:"0-000-000",mask:"0-000-000|00-000-000"},{code:"266",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"231",placeholder:"00-000-000",mask:"00-000-000"},{code:"218",placeholder:"00-000-000",mask:"00-000-000|21-000-0000"},{code:"423",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"370",placeholder:"(000)00-000",mask:"(000)00-000"},{code:"352",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"261",placeholder:"00-00-00000",mask:"00-00-00000"},{code:"265",placeholder:"1-000-000",mask:"1-000-000|0-0000-0000"},{code:"60",placeholder:"0-000-000",mask:"0-000-000|00-000-000|(000)000-000|00-000-0000"},{code:"960",placeholder:"000-0000",mask:"000-0000"},{code:"223",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"356",placeholder:"0000-0000",mask:"0000-0000"},{code:"596",placeholder:"(000)00-00-00",mask:"(000)00-00-00"},{code:"222",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"230",placeholder:"000-0000",mask:"000-0000"},{code:"52",placeholder:"00-00-0000",mask:"00-00-0000|(000)000-0000"},{code:"691",placeholder:"000-0000",mask:"000-0000"},{code:"373",placeholder:"0000-0000",mask:"0000-0000"},{code:"377",placeholder:"00-000-000",mask:"00-000-000|(000)000-000"},{code:"976",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"382",placeholder:"00-000-000",mask:"00-000-000"},{code:"212",placeholder:"00-0000-000",mask:"00-0000-000"},{code:"258",placeholder:"00-000-000",mask:"00-000-000"},{code:"95",placeholder:"000-000",mask:"000-000|0-000-000|00-000-000"},{code:"674",placeholder:"000-0000",mask:"000-0000"},{code:"977",placeholder:"00-000-000",mask:"00-000-000"},{code:"31",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"24",placeholder:"0-000-000",mask:"0-000-000|(000)000-000|(000)000-0000"},{code:"505",placeholder:"0000-0000",mask:"0000-0000"},{code:"227",placeholder:"00-00-0000",mask:"00-00-0000"},{code:"234",placeholder:"00-000-00",mask:"00-000-00|00-000-000|(000)000-0000"},{code:"389",placeholder:"00-000-000",mask:"00-000-000"},{code:"47",placeholder:"(000)00-000",mask:"(000)00-000"},{code:"968",placeholder:"00-000-000",mask:"00-000-000"},{code:"92",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"680",placeholder:"000-0000",mask:"000-0000"},{code:"970",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"507",placeholder:"000-0000",mask:"000-0000"},{code:"675",placeholder:"(000)00-000",mask:"(000)00-000"},{code:"595",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"51",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"63",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"48",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"351",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"974",placeholder:"0000-0000",mask:"0000-0000"},{code:"40",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"7",placeholder:"(000)000-00-00",mask:"(000)000-00-00"},{code:"250",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"685",placeholder:"00-0000",mask:"00-0000"},{code:"378",placeholder:"0000-000000",mask:"0000-000000"},{code:"239",placeholder:"00-00000",mask:"00-00000"},{code:"966",placeholder:"0-000-0000",mask:"0-000-0000|50-0000-0000"},{code:"221",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"381",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"248",placeholder:"0-000-000",mask:"0-000-000"},{code:"232",placeholder:"00-000000",mask:"00-000000"},{code:"65",placeholder:"0000-0000",mask:"0000-0000"},{code:"421",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"386",placeholder:"00-000-000",mask:"00-000-000"},{code:"677",placeholder:"00000",mask:"00000|000-0000"},{code:"252",placeholder:"0-000-000",mask:"0-000-000|00-000-000"},{code:"27",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"211",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"34",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"94",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"249",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"597",placeholder:"000-000",mask:"000-000|000-0000"},{code:"46",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"41",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"963",placeholder:"00-0000-000",mask:"00-0000-000"},{code:"992",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"255",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"66",placeholder:"00-000-000",mask:"00-000-000|00-000-0000"},{code:"670",placeholder:"000-0000",mask:"000-0000|770-00000|780-00000"},{code:"228",placeholder:"00-000-000",mask:"00-000-000"},{code:"676",placeholder:"00000",mask:"00000"},{code:"216",placeholder:"00-000-000",mask:"00-000-000"},{code:"90",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"993",placeholder:"0-000-0000",mask:"0-000-0000"},{code:"256",placeholder:"(000)000-000",mask:"(000)000-000"},{code:"380",placeholder:"(00)000-00-00",mask:"(00)000-00-00"},{code:"971",placeholder:"0-000-0000",mask:"0-000-0000|50-000-0000"},{code:"44",placeholder:"00-0000-0000",mask:"00-0000-0000"},{code:"598",placeholder:"0-000-00-00",mask:"0-000-00-00"},{code:"998",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"678",placeholder:"00000",mask:"00000|00-00000"},{code:"58",placeholder:"(000)000-0000",mask:"(000)000-0000"},{code:"84",placeholder:"00-0000-000",mask:"00-0000-000|(000)0000-000"},{code:"967",placeholder:"0-000-000",mask:"0-000-000|00-000-000|000-000-000"},{code:"260",placeholder:"00-000-0000",mask:"00-000-0000"},{code:"263",placeholder:"",mask:""}],JVe={class:"phone-input"},eGe={class:"flex"},tGe=["value","disabled"],nGe=["value","disabled","placeholder"],rGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=$(()=>{var m;return n.userProps.placeholder||((m=s(a.value))==null?void 0:m.placeholder)||""}),i=Oe(u(n.value.nationalNumber,n.value.countryCode)),a=Oe(o(n.value.countryCode));function l(m){return m.replace(/\D/g,"")}function s(m){var h;return(h=XVe.find(v=>v.code===l(m)))!=null?h:null}function u(m,h){var b;const v=(b=s(h))==null?void 0:b.mask;return v?Ra(v,m):""}function o(m){return Ra("+000",m)}function c(){t("update:value",{countryCode:l(a.value),nationalNumber:i.value})}const d=m=>{const h=m.target.value;a.value=o(h)},p=m=>{const h=m.target.value;a.value=o(h)},f=m=>{const h=m.target.value;i.value=u(h,a.value),c()},g=()=>{var b;if(!n.userProps.required&&!i.value&&!a.value){t("update:errors",[]);return}const m=[],h=(b=s(a.value))==null?void 0:b.mask;if(!h){t("update:errors",["i18n_error_invalid_country_code"]);return}Wp(h,i.value)||m.push(n.userProps.invalidMessage),t("update:errors",m)};return Rt(()=>{i.value=u(n.value.nationalNumber,n.value.countryCode),a.value=o(n.value.countryCode)}),(m,h)=>(oe(),pe("div",JVe,[x(Fn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ee("div",eGe,[Ee("input",{value:a.value,class:Vt(["select",["input",m.errors.length&&"error"]]),maxlength:"4",placeholder:"+1",disabled:m.userProps.disabled,onInput:p,onChange:d,onBlur:g},null,42,tGe),Ee("input",{value:i.value,class:Vt(["input",m.errors.length&&"error"]),disabled:m.userProps.disabled||!s(a.value),placeholder:r.value,onBlur:g,onInput:f,onChange:g},null,42,nGe)])]))}});const iGe=kn(rGe,[["__scopeId","data-v-9372fb2a"]]),aGe={class:"rating-input"},oGe={ref:"input",class:"rating-icons"},sGe=["onClick"],lGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=s=>{var u;return s<((u=i.value)!=null?u:0)},i=Oe(n.value),a=$(()=>{var s,u;return Array((s=n.userProps.max)!=null?s:5).fill((u=n.userProps.char)!=null?u:"\u2B50")}),l=s=>{n.userProps.disabled||(i.value=s,t("update:value",i.value))};return ze(()=>n.value,()=>{i.value=n.value}),(s,u)=>(oe(),pe("div",aGe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ee("div",oGe,[(oe(!0),pe(tt,null,Di(a.value,(o,c)=>(oe(),pe("div",{key:c,class:Vt(["rating-icon",{active:r(c),disabled:s.userProps.disabled}]),tabindex:"0",onClick:d=>l(c+1)},Qt(o),11,sGe))),128))],512)]))}});const cGe=kn(lGe,[["__scopeId","data-v-1108054a"]]);const uGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(null);window.document&&Py(()=>import("./vue-quill.esm-bundler.12350e13.js"),[]).then(s=>{r.value=s.QuillEditor});const i=()=>{var u,o;const s=(o=(u=a.value)==null?void 0:u.getHTML())!=null?o:"";t("update:value",s)},a=Oe(),l=()=>{var s;n.value&&((s=a.value)==null||s.setHTML(n.value))};return ze(()=>n.value,()=>{var u;(((u=a.value)==null?void 0:u.getHTML())||"")!==n.value&&l()}),(s,u)=>(oe(),pe(tt,null,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),Rn(hu(r.value),{key:0,ref_key:"input",ref:a,style:{height:"100%"},class:Vt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onReady:l,"onUpdate:content":u[0]||(u[0]=o=>i())},null,40,["class","disabled","placeholder"])):ft("",!0)],64))}});const dGe="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",pGe={class:"tag-input"},fGe={class:"tags"},mGe={class:"remove-icon",viewBox:"0 0 24 24"},gGe=["d"],hGe=["disabled","placeholder"],_Ge=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var u;const n=e,r=dGe,i=Oe((u=n.value)!=null?u:[]),a=o=>{n.userProps.disabled||!o||i.value.some(c=>c===o)||(i.value=[...i.value,o],t("update:value",i.value),s.value.value="")},l=o=>{n.userProps.disabled||(i.value=i.value.filter((c,d)=>d!==o),t("update:value",i.value))},s=Oe();return ze(()=>n.value,()=>{var o;i.value=(o=n.value)!=null?o:[]}),(o,c)=>(oe(),pe(tt,null,[x(Fn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ee("div",pGe,[Ee("div",fGe,[(oe(!0),pe(tt,null,Di(i.value,(d,p)=>(oe(),pe("div",{key:d,class:"tag"},[Zn(Qt(d)+" ",1),x(je(fr),{class:"remove-tag",type:"text",onClick:f=>l(p)},{default:pn(()=>[(oe(),pe("svg",mGe,[Ee("path",{d:je(r)},null,8,gGe)]))]),_:2},1032,["onClick"])]))),128))]),Ee("input",{ref_key:"input",ref:s,class:Vt(["input",{disabled:o.userProps.disabled}]),disabled:o.userProps.disabled,type:"text",placeholder:o.userProps.placeholder,onChange:c[0]||(c[0]=d=>a(d.target.value)),onKeyup:c[1]||(c[1]=Ox(d=>a(d.target.value),["enter"]))},null,42,hGe)])],64))}});const vGe=kn(_Ge,[["__scopeId","data-v-c12d89f6"]]),bGe={class:"text-input"},yGe=["disabled","placeholder"],SGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(),i=s=>{const u=n.userProps.mask?Ra(n.userProps.mask,s):s;r.value.value=u,t("update:value",u)},a=s=>{const u=s.target;n.userProps.mask&&Wp(n.userProps.mask,u.value)&&s.preventDefault()};_t(()=>{l()}),ze(()=>n.value,()=>{l()});function l(){n.value&&r.value&&(n.userProps.mask?r.value.value=Ra(n.userProps.mask,n.value):r.value.value=n.value)}return(s,u)=>(oe(),pe("div",bGe,[x(Fn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ee("input",{ref_key:"input",ref:r,class:Vt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onKeypress:u[0]||(u[0]=o=>a(o)),onInput:u[1]||(u[1]=o=>i(o.target.value))},null,42,yGe)]))}}),EGe=["disabled","placeholder"],CGe=Ce({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=a=>{i.value.value=a,t("update:value",a)},i=Oe();return _t(()=>{i.value.value=n.value||""}),ze(()=>n.value,()=>{i.value.value=n.value||""}),(a,l)=>(oe(),pe(tt,null,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ee("textarea",{ref_key:"input",ref:i,style:{height:"100%"},class:Vt(["input",a.errors.length&&"error",a.userProps.disabled&&"disabled"]),disabled:a.userProps.disabled,placeholder:a.userProps.placeholder,onInput:l[0]||(l[0]=s=>r(s.target.value))},null,42,EGe)],64))}});const TGe={class:"time-input"},wGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=l=>l?`${l.hour.toString().padStart(2,"0")}:${l.minute.toString().padStart(2,"0")}`:void 0,i=Oe(r(n.value)),a=(l,s)=>{const[u,o]=s.split(":"),c={hour:parseInt(u),minute:parseInt(o)};t("update:value",c)};return ze(()=>n.value,l=>{i.value=r(l)}),(l,s)=>(oe(),pe("div",TGe,[x(Fn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(je(zPe),{value:i.value,"onUpdate:value":s[0]||(s[0]=u=>i.value=u),type:"time",class:"input",format:"HH:mm","value-format":"HH:mm",disabled:l.userProps.disabled,onChange:a},null,8,["value","disabled"])]))}});const xGe=kn(wGe,[["__scopeId","data-v-31786bbd"]]),OGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Oe(n.value),i=()=>{n.userProps.disabled||(r.value=!r.value,t("update:value",r.value))};return ze(()=>n.value,()=>{r.value=n.value}),(a,l)=>(oe(),pe(tt,null,[x(Fn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),x(je(BNe),{checked:r.value,style:{"align-self":"flex-start"},onChange:i},null,8,["checked"])],64))}}),RGe=Ce({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){return(n,r)=>(oe(),pe(tt,null,[x(Fn,{label:n.userProps.label,required:!!n.userProps.required,hint:n.userProps.hint},null,8,["label","required","hint"]),x(Gz,{"accepted-formats":["video/*"],"accepted-mime-types":"video/*",disabled:n.userProps.disabled,errors:n.errors,"list-type":"picture-card",multiple:n.userProps.multiple,value:n.value,locale:n.locale,"onUpdate:errors":r[0]||(r[0]=i=>t("update:errors",i)),"onUpdate:value":r[1]||(r[1]=i=>t("update:value",i))},null,8,["disabled","errors","multiple","value","locale"])],64))}}),AWe={"appointment-input":_Ue,"camera-input":JUe,"cards-input":pHe,"checkbox-input":mHe,"checklist-input":_He,"cnpj-input":SHe,"code-input":CHe,"cpf-input":xHe,"currency-input":NHe,"custom-input":MHe,"date-input":FHe,"dropdown-input":yze,"email-input":Cze,"file-input":mVe,"image-input":_Ve,"list-input":EVe,"multiple-choice-input":wVe,"nps-input":DVe,"number-input":$Ve,"number-slider-input":BVe,"pandas-row-selection-input":WVe,"password-input":QVe,"phone-input":iGe,"rating-input":cGe,"rich-text-input":uGe,"tag-input":vGe,"text-input":SGe,"textarea-input":CGe,"time-input":xGe,"toggle-input":OGe,"video-input":RGe},IGe=e=>(Y6("data-v-1e783ab3"),e=e(),j6(),e),AGe={class:"file-output"},NGe=["href"],DGe=IGe(()=>Ee("iframe",{src:"about:blank",name:"iframe_a",class:"target-frame"},null,-1)),PGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r;return oe(),pe("div",AGe,[Ee("a",{href:t.userProps.fileUrl,class:"download-button button",target:"iframe_a",download:""},[x(je(f8e)),Zn(" "+Qt((r=t.userProps.downloadText)!=null?r:"Download"),1)],8,NGe),DGe])}}});const MGe=kn(PGe,[["__scopeId","data-v-1e783ab3"]]),kGe=["innerHTML"],$Ge=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),pe("div",{innerHTML:t.userProps.html},null,8,kGe))}}),LGe=["src","width","height"],FGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r,i;return oe(),pe("iframe",{class:"iframe",src:t.userProps.url,width:(r=t.userProps.width)!=null?r:void 0,height:(i=t.userProps.height)!=null?i:void 0},null,8,LGe)}}});const BGe=kn(FGe,[["__scopeId","data-v-75daa443"]]),UGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),pe(tt,null,[x(Fn,{label:t.userProps.label,required:!1},null,8,["label"]),x(je(PIe),{src:t.userProps.imageUrl,alt:t.userProps.subtitle},null,8,["src","alt"])],64))}}),HGe=Ce({__name:"component",props:{userProps:{}},setup(e){const t=Oe(null);return _t(async()=>{await Promise.all([kL("https://polyfill.io/v3/polyfill.min.js?features=es6"),kL("https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js")]),window.MathJax.typesetPromise([t.value])}),(n,r)=>(oe(),pe("div",{ref_key:"latex",ref:t,class:"latex"},Qt(n.userProps.text),513))}});const zGe=kn(HGe,[["__scopeId","data-v-9c539437"]]),VGe=["href","target"],GGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),pe("a",{class:"link",href:t.userProps.linkUrl,target:t.userProps.sameTab?"":"_blank"},Qt(t.userProps.linkText),9,VGe))}}),YGe=Ce({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{const r=Jd("Markdown");return oe(),Rn(r,{class:"markdown-output",source:t.userProps.text,html:""},null,8,["source"])}}});const jGe=kn(YGe,[["__scopeId","data-v-331de5d9"]]),WGe=["height","width"],qGe=10,KGe=Ce({__name:"component",props:{userProps:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["row-click","action-click","row-edit"],setup(e,{emit:t}){const n=e,r=Oe(null),i=({action:o,row:c})=>{t("action-click",{action:o,userProps:c})};function a({row:o}){t("row-click",{userProps:o.userProps,index:o.index})}function l({oldRow:o,newRow:c}){const d=qUe(o,c);t("row-edit",{old:o,new:d,index:o.index})}ze(n.userProps.table.data,()=>{});const s=$(()=>(n.userProps.displayIndex?n.userProps.table.schema.fields:n.userProps.table.schema.fields.filter(o=>o.name!="index")).map(o=>({...o,title:o.name.toString(),key:o.name.toString()}))),u=$(()=>{var o;return(o=n.userProps.pageSize)!=null?o:qGe});return(o,c)=>{var d;return oe(),pe("div",{height:o.containerHeight,width:o.containerWidth},[x(Fn,{ref_key:"label",ref:r,label:n.userProps.label,required:!1},null,8,["label"]),x(Yz,{data:o.userProps.table.data,columns:s.value,"rows-per-page":u.value,"enable-search":"",actions:(d=n.userProps.actions)!=null&&d.length?n.userProps.actions:void 0,onActionClick:i,onRowClick:a,onRowEdit:l},null,8,["data","columns","rows-per-page","actions"])],8,WGe)}}}),ZGe=Ce({__name:"component",props:{userProps:{}},setup(e){const t=e,n=Oe(null);_t(async()=>{r()});const r=async()=>{if(!n.value)return;(await Py(()=>import("./plotly.min.c3dfa458.js").then(a=>a.p),[])).newPlot(n.value,t.userProps.figure.data,t.userProps.figure.layout)};return ze(()=>t.userProps.figure,r,{deep:!0}),(i,a)=>(oe(),pe(tt,null,[x(Fn,{label:i.userProps.label,required:!1},null,8,["label"]),Ee("div",{ref_key:"root",ref:n,class:"chart"},null,512)],64))}});const QGe=kn(ZGe,[["__scopeId","data-v-0c65d6dd"]]),XGe={class:"progress-output"},JGe={class:"progress-container"},e7e={class:"progress-text label"},t7e=Ce({__name:"component",props:{userProps:{}},setup(e){const t=e,n=$(()=>{const{current:r,total:i}=t.userProps;return{width:`calc(${Math.min(100*r/i,100).toFixed(2)}% - 6px)`}});return(r,i)=>(oe(),pe("div",XGe,[Ee("div",JGe,[Ee("div",{class:"progress-content",style:Ni(n.value)},null,4)]),Ee("div",e7e,Qt(r.userProps.text),1)]))}});const n7e=kn(t7e,[["__scopeId","data-v-6fc80314"]]),r7e=Ce({__name:"component",props:{userProps:{}},setup(e){const t=e;function n(i){switch(i){case"small":return"12px";case"medium":return"16px";case"large":return"24px";default:return"16px"}}const r=$(()=>({fontSize:n(t.userProps.size)}));return(i,a)=>(oe(),pe("div",{class:"text",style:Ni(r.value)},Qt(i.userProps.text),5))}}),i7e={class:"start-widget"},a7e={class:"title"},o7e={key:0,class:"start-message"},s7e=Ce({__name:"component",props:{form:{}},setup(e){return(t,n)=>(oe(),pe("div",i7e,[Ee("div",a7e,Qt(t.form.welcomeTitle||t.form.title),1),t.form.startMessage?(oe(),pe("div",o7e,Qt(t.form.startMessage),1)):ft("",!0)]))}});const l7e=kn(s7e,[["__scopeId","data-v-93314670"]]),c7e={class:"text"},u7e=Ce({__name:"component",props:{endMessage:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),pe("div",c7e,Qt((r=t.endMessage)!=null?r:je(Oa).translate("i18n_end_message",t.locale)),1)}}});const d7e=kn(u7e,[["__scopeId","data-v-a30dba0a"]]),p7e={class:"text"},f7e={key:0,class:"session-id"},m7e=Ce({__name:"component",props:{errorMessage:{},executionId:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),pe("div",p7e,[Zn(Qt((r=t.errorMessage)!=null?r:je(Oa).translate("i18n_error_message",t.locale))+" ",1),t.executionId?(oe(),pe("div",f7e,"Run ID: "+Qt(t.executionId),1)):ft("",!0)])}}});const g7e=kn(m7e,[["__scopeId","data-v-a406885c"]]),NWe={start:l7e,end:d7e,error:g7e},DWe={"file-output":MGe,"html-output":$Ge,"iframe-output":BGe,"image-output":UGe,"latex-output":zGe,"link-output":GGe,"markdown-output":jGe,"pandas-output":KGe,"plotly-output":QGe,"progress-output":n7e,"text-output":r7e},Ri={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},JL={ripple:!1,inputStyle:"outlined",locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[Ri.STARTS_WITH,Ri.CONTAINS,Ri.NOT_CONTAINS,Ri.ENDS_WITH,Ri.EQUALS,Ri.NOT_EQUALS],numeric:[Ri.EQUALS,Ri.NOT_EQUALS,Ri.LESS_THAN,Ri.LESS_THAN_OR_EQUAL_TO,Ri.GREATER_THAN,Ri.GREATER_THAN_OR_EQUAL_TO],date:[Ri.DATE_IS,Ri.DATE_IS_NOT,Ri.DATE_BEFORE,Ri.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},h7e=Symbol();var PWe={install:(e,t)=>{let n=t?{...JL,...t}:{...JL};const r={config:un(n)};e.config.globalProperties.$primevue=r,e.provide(h7e,r)}},_7e={name:"Message",emits:["close"],props:{severity:{type:String,default:"info"},closable:{type:Boolean,default:!0},sticky:{type:Boolean,default:!0},life:{type:Number,default:3e3},icon:{type:String,default:null},closeIcon:{type:String,default:"pi pi-times"},closeButtonProps:{type:null,default:null}},timeout:null,data(){return{visible:!0}},mounted(){this.sticky||this.x()},methods:{close(e){this.visible=!1,this.$emit("close",e)},x(){setTimeout(()=>{this.visible=!1},this.life)}},computed:{containerClass(){return"p-message p-component p-message-"+this.severity},iconClass(){return["p-message-icon pi",this.icon?this.icon:{"pi-info-circle":this.severity==="info","pi-check":this.severity==="success","pi-exclamation-triangle":this.severity==="warn","pi-times-circle":this.severity==="error"}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{ripple:mI}};const v7e={class:"p-message-wrapper"},b7e={class:"p-message-text"},y7e=["aria-label"];function S7e(e,t,n,r,i,a){const l=ef("ripple");return oe(),Rn(Ti,{name:"p-message",appear:""},{default:pn(()=>[mr(Ee("div",{class:Vt(a.containerClass),role:"alert","aria-live":"assertive","aria-atomic":"true"},[Ee("div",v7e,[Ee("span",{class:Vt(a.iconClass)},null,2),Ee("div",b7e,[Et(e.$slots,"default")]),n.closable?mr((oe(),pe("button",An({key:0,class:"p-message-close p-link","aria-label":a.closeAriaLabel,type:"button",onClick:t[0]||(t[0]=s=>a.close(s))},n.closeButtonProps),[Ee("i",{class:Vt(["p-message-close-icon",n.closeIcon])},null,2)],16,y7e)),[[l]]):ft("",!0)])],2),[[Pa,i.visible]])]),_:3})}function E7e(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var C7e=` .p-message-wrapper { display: flex; align-items: center; @@ -881,5 +881,5 @@ https://github.com/highlightjs/highlight.js/issues/2277`),or=it,vn=Tt),Jt===void * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const Nd=typeof window<"u";function cje(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Kn=Object.assign;function b1(e,t){const n={};for(const r in t){const i=t[r];n[r]=qo(i)?i.map(e):e(i)}return n}const Im=()=>{},qo=Array.isArray,uje=/\/$/,dje=e=>e.replace(uje,"");function y1(e,t,n="/"){let r,i={},a="",l="";const s=t.indexOf("#");let u=t.indexOf("?");return s=0&&(u=-1),u>-1&&(r=t.slice(0,u),a=t.slice(u+1,s>-1?s:t.length),i=e(a)),s>-1&&(r=r||t.slice(0,s),l=t.slice(s,t.length)),r=gje(r!=null?r:t,n),{fullPath:r+(a&&"?")+a+l,path:r,query:i,hash:l}}function pje(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function s4(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function fje(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&qp(t.matched[r],n.matched[i])&&qz(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qp(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qz(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mje(e[n],t[n]))return!1;return!0}function mje(e,t){return qo(e)?l4(e,t):qo(t)?l4(t,e):e===t}function l4(e,t){return qo(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gje(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,a,l;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var wg;(function(e){e.pop="pop",e.push="push"})(wg||(wg={}));var Am;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Am||(Am={}));function hje(e){if(!e)if(Nd){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),dje(e)}const _je=/^[^#]+#/;function vje(e,t){return e.replace(_je,"#")+t}function bje(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ky=()=>({left:window.pageXOffset,top:window.pageYOffset});function yje(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=bje(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function c4(e,t){return(history.state?history.state.position-t:-1)+e}const pw=new Map;function Sje(e,t){pw.set(e,t)}function Eje(e){const t=pw.get(e);return pw.delete(e),t}let Cje=()=>location.protocol+"//"+location.host;function Kz(e,t){const{pathname:n,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,u=i.slice(s);return u[0]!=="/"&&(u="/"+u),s4(u,"")}return s4(n,e)+r+i}function Tje(e,t,n,r){let i=[],a=[],l=null;const s=({state:p})=>{const f=Kz(e,location),g=n.value,m=t.value;let h=0;if(p){if(n.value=f,t.value=p,l&&l===g){l=null;return}h=m?p.position-m.position:0}else r(f);i.forEach(v=>{v(n.value,g,{delta:h,type:wg.pop,direction:h?h>0?Am.forward:Am.back:Am.unknown})})};function u(){l=n.value}function o(p){i.push(p);const f=()=>{const g=i.indexOf(p);g>-1&&i.splice(g,1)};return a.push(f),f}function c(){const{history:p}=window;!p.state||p.replaceState(Kn({},p.state,{scroll:ky()}),"")}function d(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:u,listen:o,destroy:d}}function u4(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?ky():null}}function wje(e){const{history:t,location:n}=window,r={value:Kz(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(u,o,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+u:Cje()+e+u;try{t[c?"replaceState":"pushState"](o,"",p),i.value=o}catch(f){console.error(f),n[c?"replace":"assign"](p)}}function l(u,o){const c=Kn({},t.state,u4(i.value.back,u,i.value.forward,!0),o,{position:i.value.position});a(u,c,!0),r.value=u}function s(u,o){const c=Kn({},i.value,t.state,{forward:u,scroll:ky()});a(c.current,c,!0);const d=Kn({},u4(r.value,u,null),{position:c.position+1},o);a(u,d,!1),r.value=u}return{location:r,state:i,push:s,replace:l}}function FWe(e){e=hje(e);const t=wje(e),n=Tje(e,t.state,t.location,t.replace);function r(a,l=!0){l||n.pauseListeners(),history.go(a)}const i=Kn({location:"",base:e,go:r,createHref:vje.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function xje(e){return typeof e=="string"||e&&typeof e=="object"}function Zz(e){return typeof e=="string"||typeof e=="symbol"}const Hl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Qz=Symbol("");var d4;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(d4||(d4={}));function Kp(e,t){return Kn(new Error,{type:e,[Qz]:!0},t)}function zs(e,t){return e instanceof Error&&Qz in e&&(t==null||!!(e.type&t))}const p4="[^/]+?",Oje={sensitive:!1,strict:!1,start:!0,end:!0},Rje=/[.+*?^${}()[\]/\\]/g;function Ije(e,t){const n=Kn({},Oje,t),r=[];let i=n.start?"^":"";const a=[];for(const o of e){const c=o.length?[]:[90];n.strict&&!o.length&&(i+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Nje(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Dje={type:0,value:""},Pje=/[a-zA-Z0-9_]/;function Mje(e){if(!e)return[[]];if(e==="/")return[[Dje]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${o}": ${f}`)}let n=0,r=n;const i=[];let a;function l(){a&&i.push(a),a=[]}let s=0,u,o="",c="";function d(){!o||(n===0?a.push({type:0,value:o}):n===1||n===2||n===3?(a.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${o}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:o,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),o="")}function p(){o+=u}for(;s{l(b)}:Im}function l(c){if(Zz(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(l),c.alias.forEach(l))}}function s(){return n}function u(c){let d=0;for(;d=0&&(c.record.path!==n[d].record.path||!Xz(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!g4(c)&&r.set(c.record.name,c)}function o(c,d){let p,f={},g,m;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw Kp(1,{location:c});m=p.record.name,f=Kn(m4(d.params,p.keys.filter(b=>!b.optional).map(b=>b.name)),c.params&&m4(c.params,p.keys.map(b=>b.name))),g=p.stringify(f)}else if("path"in c)g=c.path,p=n.find(b=>b.re.test(g)),p&&(f=p.parse(g),m=p.record.name);else{if(p=d.name?r.get(d.name):n.find(b=>b.re.test(d.path)),!p)throw Kp(1,{location:c,currentLocation:d});m=p.record.name,f=Kn({},d.params,c.params),g=p.stringify(f)}const h=[];let v=p;for(;v;)h.unshift(v.record),v=v.parent;return{name:m,path:g,params:f,matched:h,meta:Bje(h)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:o,removeRoute:l,getRoutes:s,getRecordMatcher:i}}function m4(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Lje(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Fje(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Fje(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function g4(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Bje(e){return e.reduce((t,n)=>Kn(t,n.meta),{})}function h4(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Xz(e,t){return t.children.some(n=>n===e||Xz(e,n))}const Jz=/#/g,Uje=/&/g,Hje=/\//g,zje=/=/g,Vje=/\?/g,eV=/\+/g,Gje=/%5B/g,Yje=/%5D/g,tV=/%5E/g,jje=/%60/g,nV=/%7B/g,Wje=/%7C/g,rV=/%7D/g,qje=/%20/g;function TI(e){return encodeURI(""+e).replace(Wje,"|").replace(Gje,"[").replace(Yje,"]")}function Kje(e){return TI(e).replace(nV,"{").replace(rV,"}").replace(tV,"^")}function fw(e){return TI(e).replace(eV,"%2B").replace(qje,"+").replace(Jz,"%23").replace(Uje,"%26").replace(jje,"`").replace(nV,"{").replace(rV,"}").replace(tV,"^")}function Zje(e){return fw(e).replace(zje,"%3D")}function Qje(e){return TI(e).replace(Jz,"%23").replace(Vje,"%3F")}function Xje(e){return e==null?"":Qje(e).replace(Hje,"%2F")}function qv(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jje(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&fw(a)):[r&&fw(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function eWe(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qo(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const iV=Symbol(""),v4=Symbol(""),$y=Symbol(""),wI=Symbol(""),mw=Symbol("");function zf(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function tWe(e,t,n){const r=()=>{e[t].delete(n)};ki(r),hx(r),Fg(()=>{e[t].add(n)}),e[t].add(n)}function BWe(e){const t=He(iV,{}).value;!t||tWe(t,"leaveGuards",e)}function Kl(e,t,n,r,i){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((l,s)=>{const u=d=>{d===!1?s(Kp(4,{from:n,to:t})):d instanceof Error?s(d):xje(d)?s(Kp(2,{from:t,to:d})):(a&&r.enterCallbacks[i]===a&&typeof d=="function"&&a.push(d),l())},o=e.call(r&&r.instances[i],t,n,u);let c=Promise.resolve(o);e.length<3&&(c=c.then(u)),c.catch(d=>s(d))})}function S1(e,t,n,r){const i=[];for(const a of e)for(const l in a.components){let s=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(nWe(s)){const o=(s.__vccOpts||s)[t];o&&i.push(Kl(o,n,r,a,l))}else{let u=s();i.push(()=>u.then(o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${a.path}"`));const c=cje(o)?o.default:o;a.components[l]=c;const p=(c.__vccOpts||c)[t];return p&&Kl(p,n,r,a,l)()}))}}return i}function nWe(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function b4(e){const t=He($y),n=He(wI),r=$(()=>t.resolve(je(e.to))),i=$(()=>{const{matched:u}=r.value,{length:o}=u,c=u[o-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(qp.bind(null,c));if(p>-1)return p;const f=y4(u[o-2]);return o>1&&y4(c)===f&&d[d.length-1].path!==f?d.findIndex(qp.bind(null,u[o-2])):p}),a=$(()=>i.value>-1&&oWe(n.params,r.value.params)),l=$(()=>i.value>-1&&i.value===n.matched.length-1&&qz(n.params,r.value.params));function s(u={}){return aWe(u)?t[je(e.replace)?"replace":"push"](je(e.to)).catch(Im):Promise.resolve()}return{route:r,href:$(()=>r.value.href),isActive:a,isExactActive:l,navigate:s}}const rWe=Ce({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:b4,setup(e,{slots:t}){const n=un(b4(e)),{options:r}=He($y),i=$(()=>({[S4(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[S4(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:dl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},a)}}}),iWe=rWe;function aWe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function oWe(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!qo(i)||i.length!==r.length||r.some((a,l)=>a!==i[l]))return!1}return!0}function y4(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const S4=(e,t,n)=>e!=null?e:t!=null?t:n,sWe=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=He(mw),i=$(()=>e.route||r.value),a=He(v4,0),l=$(()=>{let o=je(a);const{matched:c}=i.value;let d;for(;(d=c[o])&&!d.components;)o++;return o}),s=$(()=>i.value.matched[l.value]);Dt(v4,$(()=>l.value+1)),Dt(iV,s),Dt(mw,i);const u=Oe();return ze(()=>[u.value,s.value,e.name],([o,c,d],[p,f,g])=>{c&&(c.instances[d]=o,f&&f!==c&&o&&o===p&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),o&&c&&(!f||!qp(c,f)||!p)&&(c.enterCallbacks[d]||[]).forEach(m=>m(o))},{flush:"post"}),()=>{const o=i.value,c=e.name,d=s.value,p=d&&d.components[c];if(!p)return E4(n.default,{Component:p,route:o});const f=d.props[c],g=f?f===!0?o.params:typeof f=="function"?f(o):f:null,h=dl(p,Kn({},g,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[c]=null)},ref:u}));return E4(n.default,{Component:h,route:o})||h}}});function E4(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lWe=sWe;function UWe(e){const t=$je(e.routes,e),n=e.parseQuery||Jje,r=e.stringifyQuery||_4,i=e.history,a=zf(),l=zf(),s=zf(),u=Pe(Hl);let o=Hl;Nd&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=b1.bind(null,q=>""+q),d=b1.bind(null,Xje),p=b1.bind(null,qv);function f(q,ee){let ne,_e;return Zz(q)?(ne=t.getRecordMatcher(q),_e=ee):_e=q,t.addRoute(_e,ne)}function g(q){const ee=t.getRecordMatcher(q);ee&&t.removeRoute(ee)}function m(){return t.getRoutes().map(q=>q.record)}function h(q){return!!t.getRecordMatcher(q)}function v(q,ee){if(ee=Kn({},ee||u.value),typeof q=="string"){const W=y1(n,q,ee.path),J=t.resolve({path:W.path},ee),de=i.createHref(W.fullPath);return Kn(W,J,{params:p(J.params),hash:qv(W.hash),redirectedFrom:void 0,href:de})}let ne;if("path"in q)ne=Kn({},q,{path:y1(n,q.path,ee.path).path});else{const W=Kn({},q.params);for(const J in W)W[J]==null&&delete W[J];ne=Kn({},q,{params:d(q.params)}),ee.params=d(ee.params)}const _e=t.resolve(ne,ee),ue=q.hash||"";_e.params=c(p(_e.params));const be=pje(r,Kn({},q,{hash:Kje(ue),path:_e.path})),fe=i.createHref(be);return Kn({fullPath:be,hash:ue,query:r===_4?eWe(q.query):q.query||{}},_e,{redirectedFrom:void 0,href:fe})}function b(q){return typeof q=="string"?y1(n,q,u.value.path):Kn({},q)}function y(q,ee){if(o!==q)return Kp(8,{from:ee,to:q})}function S(q){return T(q)}function C(q){return S(Kn(b(q),{replace:!0}))}function w(q){const ee=q.matched[q.matched.length-1];if(ee&&ee.redirect){const{redirect:ne}=ee;let _e=typeof ne=="function"?ne(q):ne;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=b(_e):{path:_e},_e.params={}),Kn({query:q.query,hash:q.hash,params:"path"in _e?{}:q.params},_e)}}function T(q,ee){const ne=o=v(q),_e=u.value,ue=q.state,be=q.force,fe=q.replace===!0,W=w(ne);if(W)return T(Kn(b(W),{state:typeof W=="object"?Kn({},ue,W.state):ue,force:be,replace:fe}),ee||ne);const J=ne;J.redirectedFrom=ee;let de;return!be&&fje(r,_e,ne)&&(de=Kp(16,{to:J,from:_e}),G(_e,_e,!0,!1)),(de?Promise.resolve(de):I(J,_e)).catch(ve=>zs(ve)?zs(ve,2)?ve:Y(ve):U(ve,J,_e)).then(ve=>{if(ve){if(zs(ve,2))return T(Kn({replace:fe},b(ve.to),{state:typeof ve.to=="object"?Kn({},ue,ve.to.state):ue,force:be}),ee||J)}else ve=M(J,_e,!0,fe,ue);return N(J,_e,ve),ve})}function O(q,ee){const ne=y(q,ee);return ne?Promise.reject(ne):Promise.resolve()}function I(q,ee){let ne;const[_e,ue,be]=cWe(q,ee);ne=S1(_e.reverse(),"beforeRouteLeave",q,ee);for(const W of _e)W.leaveGuards.forEach(J=>{ne.push(Kl(J,q,ee))});const fe=O.bind(null,q,ee);return ne.push(fe),Td(ne).then(()=>{ne=[];for(const W of a.list())ne.push(Kl(W,q,ee));return ne.push(fe),Td(ne)}).then(()=>{ne=S1(ue,"beforeRouteUpdate",q,ee);for(const W of ue)W.updateGuards.forEach(J=>{ne.push(Kl(J,q,ee))});return ne.push(fe),Td(ne)}).then(()=>{ne=[];for(const W of q.matched)if(W.beforeEnter&&!ee.matched.includes(W))if(qo(W.beforeEnter))for(const J of W.beforeEnter)ne.push(Kl(J,q,ee));else ne.push(Kl(W.beforeEnter,q,ee));return ne.push(fe),Td(ne)}).then(()=>(q.matched.forEach(W=>W.enterCallbacks={}),ne=S1(be,"beforeRouteEnter",q,ee),ne.push(fe),Td(ne))).then(()=>{ne=[];for(const W of l.list())ne.push(Kl(W,q,ee));return ne.push(fe),Td(ne)}).catch(W=>zs(W,8)?W:Promise.reject(W))}function N(q,ee,ne){for(const _e of s.list())_e(q,ee,ne)}function M(q,ee,ne,_e,ue){const be=y(q,ee);if(be)return be;const fe=ee===Hl,W=Nd?history.state:{};ne&&(_e||fe?i.replace(q.fullPath,Kn({scroll:fe&&W&&W.scroll},ue)):i.push(q.fullPath,ue)),u.value=q,G(q,ee,ne,fe),Y()}let B;function P(){B||(B=i.listen((q,ee,ne)=>{if(!se.listening)return;const _e=v(q),ue=w(_e);if(ue){T(Kn(ue,{replace:!0}),_e).catch(Im);return}o=_e;const be=u.value;Nd&&Sje(c4(be.fullPath,ne.delta),ky()),I(_e,be).catch(fe=>zs(fe,12)?fe:zs(fe,2)?(T(fe.to,_e).then(W=>{zs(W,20)&&!ne.delta&&ne.type===wg.pop&&i.go(-1,!1)}).catch(Im),Promise.reject()):(ne.delta&&i.go(-ne.delta,!1),U(fe,_e,be))).then(fe=>{fe=fe||M(_e,be,!1),fe&&(ne.delta&&!zs(fe,8)?i.go(-ne.delta,!1):ne.type===wg.pop&&zs(fe,20)&&i.go(-1,!1)),N(_e,be,fe)}).catch(Im)}))}let k=zf(),D=zf(),F;function U(q,ee,ne){Y(q);const _e=D.list();return _e.length?_e.forEach(ue=>ue(q,ee,ne)):console.error(q),Promise.reject(q)}function z(){return F&&u.value!==Hl?Promise.resolve():new Promise((q,ee)=>{k.add([q,ee])})}function Y(q){return F||(F=!q,P(),k.list().forEach(([ee,ne])=>q?ne(q):ee()),k.reset()),q}function G(q,ee,ne,_e){const{scrollBehavior:ue}=e;if(!Nd||!ue)return Promise.resolve();const be=!ne&&Eje(c4(q.fullPath,0))||(_e||!ne)&&history.state&&history.state.scroll||null;return sn().then(()=>ue(q,ee,be)).then(fe=>fe&&yje(fe)).catch(fe=>U(fe,q,ee))}const K=q=>i.go(q);let X;const ie=new Set,se={currentRoute:u,listening:!0,addRoute:f,removeRoute:g,hasRoute:h,getRoutes:m,resolve:v,options:e,push:S,replace:C,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:a.add,beforeResolve:l.add,afterEach:s.add,onError:D.add,isReady:z,install(q){const ee=this;q.component("RouterLink",iWe),q.component("RouterView",lWe),q.config.globalProperties.$router=ee,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>je(u)}),Nd&&!X&&u.value===Hl&&(X=!0,S(i.location).catch(ue=>{}));const ne={};for(const ue in Hl)ne[ue]=$(()=>u.value[ue]);q.provide($y,ee),q.provide(wI,un(ne)),q.provide(mw,u);const _e=q.unmount;ie.add(q),q.unmount=function(){ie.delete(q),ie.size<1&&(o=Hl,B&&B(),B=null,u.value=Hl,X=!1,F=!1),_e()}}};return se}function Td(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function cWe(e,t){const n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let l=0;lqp(o,s))?r.push(s):n.push(s));const u=e.matched[l];u&&(t.matched.find(o=>qp(o,u))||i.push(u))}return[n,r,i]}function HWe(){return He($y)}function zWe(){return He(wI)}export{kn as $,QU as A,He as B,MWe as C,un as D,zr as E,mu as F,Ut as G,tx as H,T8 as I,sn as J,Zd as K,pWe as L,kWe as M,mWe as N,fWe as O,PWe as P,Pe as Q,ft as R,R as S,pE as T,uo as U,Dt as V,_t as W,pe as X,Ni as Y,Et as Z,Py as _,Ee as a,xc as a$,Sn as a0,Ec as a1,WF as a2,pde as a3,rde as a4,tde as a5,dde as a6,ZF as a7,nf as a8,Ot as a9,Hp as aA,NO as aB,ni as aC,UP as aD,gr as aE,Zn as aF,Wg as aG,cF as aH,M9 as aI,pF as aJ,Rt as aK,Bt as aL,nt as aM,qe as aN,U9 as aO,Wt as aP,ii as aQ,tt as aR,L9 as aS,Yt as aT,ay as aU,zo as aV,Zr as aW,of as aX,Ti as aY,mr as aZ,Pa as a_,yr as aa,vi as ab,Mn as ac,jt as ad,go as ae,ca as af,ki as ag,At as ah,Fe as ai,Dn as aj,Z as ak,Hu as al,hr as am,gl as an,Nn as ao,Qn as ap,Xt as aq,br as ar,wt as as,Yn as at,Ie as au,Pde as av,Mde as aw,Nde as ax,Pr as ay,Mi as az,x as b,Hx as b$,ao as b0,sa as b1,Fg as b2,hx as b3,Che as b4,Nce as b5,nn as b6,rt as b7,rh as b8,dy as b9,xt as bA,Kg as bB,S1e as bC,cce as bD,SWe as bE,ATe as bF,yO as bG,Wr as bH,A$ as bI,UPe as bJ,gs as bK,Dx as bL,gAe as bM,pc as bN,uF as bO,fr as bP,Ip as bQ,Ehe as bR,oO as bS,t9 as bT,uDe as bU,Vg as bV,_R as bW,op as bX,n_e as bY,dU as bZ,CWe as b_,_y as ba,Gp as bb,fTe as bc,mTe as bd,pTe as be,vy as bf,eU as bg,Hb as bh,Wi as bi,la as bj,Xg as bk,Yo as bl,dc as bm,m9 as bn,GM as bo,IM as bp,cf as bq,OWe as br,x1e as bs,Sg as bt,AT as bu,ml as bv,zp as bw,Om as bx,lo as by,qg as bz,Rn as c,n1 as c$,Rhe as c0,ZB as c1,PDe as c2,wU as c3,Mr as c4,MSe as c5,o0e as c6,xDe as c7,kge as c8,YCe as c9,dH as cA,PIe as cB,DIe as cC,uOe as cD,Hv as cE,Uv as cF,Vp as cG,Na as cH,xOe as cI,$Ae as cJ,OEe as cK,uNe as cL,na as cM,xT as cN,pR as cO,xWe as cP,wWe as cQ,INe as cR,TWe as cS,BNe as cT,$Pe as cU,i1 as cV,a1 as cW,o1 as cX,sw as cY,lw as cZ,WDe as c_,GCe as ca,G5 as cb,HCe as cc,hk as cd,_k as ce,Ko as cf,li as cg,zB as ch,ape as ci,G9 as cj,j9 as ck,z9 as cl,tOe as cm,yOe as cn,OAe as co,hT as cp,RTe as cq,Cg as cr,Fv as cs,ec as ct,nu as cu,xxe as cv,pT as cw,gRe as cx,$Re as cy,_Re as cz,Ce as d,kB as d$,t1 as d0,GOe as d1,VT as d2,zPe as d3,l1 as d4,Ca as d5,hz as d6,_z as d7,vz as d8,sI as d9,cRe as dA,w5 as dB,_We as dC,uce as dD,B9 as dE,Ab as dF,K_ as dG,bWe as dH,mF as dI,wo as dJ,Mu as dK,yWe as dL,Vr as dM,w9 as dN,d0e as dO,JTe as dP,epe as dQ,hO as dR,qF as dS,V9 as dT,uy as dU,mT as dV,hWe as dW,py as dX,_l as dY,ry as dZ,Qg as d_,Ez as da,Nke as db,Bxe as dc,Jke as dd,kue as de,EWe as df,CU as dg,uwe as dh,G4 as di,Yu as dj,Jg as dk,ho as dl,ju as dm,FSe as dn,jSe as dp,ZSe as dq,zSe as dr,Ap as ds,Mp as dt,Ci as du,Bx as dv,yAe as dw,vWe as dx,Wo as dy,mo as dz,Oe as e,tr as e$,S9 as e0,xO as e1,Gbe as e2,uve as e3,e5 as e4,NEe as e5,ZD as e6,Cc as e7,An as e8,Qt as e9,cUe as eA,Ja as eB,BWe as eC,USe as eD,X1e as eE,lYe as eF,ra as eG,Q1e as eH,LWe as eI,tVe as eJ,XL as eK,W_e as eL,Es as eM,lje as eN,FPe as eO,Au as eP,kUe as eQ,f6e as eR,I9e as eS,pl as eT,Ox as eU,Oa as eV,l7e as eW,d7e as eX,g7e as eY,xce as eZ,Roe as e_,zWe as ea,Di as eb,hu as ec,Vt as ed,Ku as ee,GSe as ef,bx as eg,sse as eh,qSe as ei,Da as ej,d_e as ek,Qm as el,Y8 as em,j8 as en,HWe as eo,Q9e as ep,noe as eq,ooe as er,s3 as es,hae as et,fae as eu,Ug as ev,A3 as ew,ix as ex,Xa as ey,t4e as ez,$ as f,iWe as f0,_Be as f1,XSe as f2,n0e as f3,$Se as f4,vMe as f5,uke as f6,ze as g,UWe as h,FWe as i,$We as j,q3 as k,IWe as l,dWe as m,gWe as n,oe as o,dl as p,AWe as q,Jd as r,_7e as s,DWe as t,je as u,NWe as v,pn as w,Pie as x,ox as y,goe as z}; -//# sourceMappingURL=vue-router.33f35a18.js.map + */const Nd=typeof window<"u";function cje(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Kn=Object.assign;function b1(e,t){const n={};for(const r in t){const i=t[r];n[r]=qo(i)?i.map(e):e(i)}return n}const Im=()=>{},qo=Array.isArray,uje=/\/$/,dje=e=>e.replace(uje,"");function y1(e,t,n="/"){let r,i={},a="",l="";const s=t.indexOf("#");let u=t.indexOf("?");return s=0&&(u=-1),u>-1&&(r=t.slice(0,u),a=t.slice(u+1,s>-1?s:t.length),i=e(a)),s>-1&&(r=r||t.slice(0,s),l=t.slice(s,t.length)),r=gje(r!=null?r:t,n),{fullPath:r+(a&&"?")+a+l,path:r,query:i,hash:l}}function pje(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function s4(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function fje(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&qp(t.matched[r],n.matched[i])&&qz(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qp(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qz(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mje(e[n],t[n]))return!1;return!0}function mje(e,t){return qo(e)?l4(e,t):qo(t)?l4(t,e):e===t}function l4(e,t){return qo(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gje(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,a,l;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var wg;(function(e){e.pop="pop",e.push="push"})(wg||(wg={}));var Am;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Am||(Am={}));function hje(e){if(!e)if(Nd){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),dje(e)}const _je=/^[^#]+#/;function vje(e,t){return e.replace(_je,"#")+t}function bje(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ky=()=>({left:window.pageXOffset,top:window.pageYOffset});function yje(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=bje(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function c4(e,t){return(history.state?history.state.position-t:-1)+e}const pw=new Map;function Sje(e,t){pw.set(e,t)}function Eje(e){const t=pw.get(e);return pw.delete(e),t}let Cje=()=>location.protocol+"//"+location.host;function Kz(e,t){const{pathname:n,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,u=i.slice(s);return u[0]!=="/"&&(u="/"+u),s4(u,"")}return s4(n,e)+r+i}function Tje(e,t,n,r){let i=[],a=[],l=null;const s=({state:p})=>{const f=Kz(e,location),g=n.value,m=t.value;let h=0;if(p){if(n.value=f,t.value=p,l&&l===g){l=null;return}h=m?p.position-m.position:0}else r(f);i.forEach(v=>{v(n.value,g,{delta:h,type:wg.pop,direction:h?h>0?Am.forward:Am.back:Am.unknown})})};function u(){l=n.value}function o(p){i.push(p);const f=()=>{const g=i.indexOf(p);g>-1&&i.splice(g,1)};return a.push(f),f}function c(){const{history:p}=window;!p.state||p.replaceState(Kn({},p.state,{scroll:ky()}),"")}function d(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:u,listen:o,destroy:d}}function u4(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?ky():null}}function wje(e){const{history:t,location:n}=window,r={value:Kz(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(u,o,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+u:Cje()+e+u;try{t[c?"replaceState":"pushState"](o,"",p),i.value=o}catch(f){console.error(f),n[c?"replace":"assign"](p)}}function l(u,o){const c=Kn({},t.state,u4(i.value.back,u,i.value.forward,!0),o,{position:i.value.position});a(u,c,!0),r.value=u}function s(u,o){const c=Kn({},i.value,t.state,{forward:u,scroll:ky()});a(c.current,c,!0);const d=Kn({},u4(r.value,u,null),{position:c.position+1},o);a(u,d,!1),r.value=u}return{location:r,state:i,push:s,replace:l}}function FWe(e){e=hje(e);const t=wje(e),n=Tje(e,t.state,t.location,t.replace);function r(a,l=!0){l||n.pauseListeners(),history.go(a)}const i=Kn({location:"",base:e,go:r,createHref:vje.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function xje(e){return typeof e=="string"||e&&typeof e=="object"}function Zz(e){return typeof e=="string"||typeof e=="symbol"}const Hl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Qz=Symbol("");var d4;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(d4||(d4={}));function Kp(e,t){return Kn(new Error,{type:e,[Qz]:!0},t)}function zs(e,t){return e instanceof Error&&Qz in e&&(t==null||!!(e.type&t))}const p4="[^/]+?",Oje={sensitive:!1,strict:!1,start:!0,end:!0},Rje=/[.+*?^${}()[\]/\\]/g;function Ije(e,t){const n=Kn({},Oje,t),r=[];let i=n.start?"^":"";const a=[];for(const o of e){const c=o.length?[]:[90];n.strict&&!o.length&&(i+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Nje(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Dje={type:0,value:""},Pje=/[a-zA-Z0-9_]/;function Mje(e){if(!e)return[[]];if(e==="/")return[[Dje]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${o}": ${f}`)}let n=0,r=n;const i=[];let a;function l(){a&&i.push(a),a=[]}let s=0,u,o="",c="";function d(){!o||(n===0?a.push({type:0,value:o}):n===1||n===2||n===3?(a.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${o}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:o,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),o="")}function p(){o+=u}for(;s{l(b)}:Im}function l(c){if(Zz(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(l),c.alias.forEach(l))}}function s(){return n}function u(c){let d=0;for(;d=0&&(c.record.path!==n[d].record.path||!Xz(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!g4(c)&&r.set(c.record.name,c)}function o(c,d){let p,f={},g,m;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw Kp(1,{location:c});m=p.record.name,f=Kn(m4(d.params,p.keys.filter(b=>!b.optional).map(b=>b.name)),c.params&&m4(c.params,p.keys.map(b=>b.name))),g=p.stringify(f)}else if("path"in c)g=c.path,p=n.find(b=>b.re.test(g)),p&&(f=p.parse(g),m=p.record.name);else{if(p=d.name?r.get(d.name):n.find(b=>b.re.test(d.path)),!p)throw Kp(1,{location:c,currentLocation:d});m=p.record.name,f=Kn({},d.params,c.params),g=p.stringify(f)}const h=[];let v=p;for(;v;)h.unshift(v.record),v=v.parent;return{name:m,path:g,params:f,matched:h,meta:Bje(h)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:o,removeRoute:l,getRoutes:s,getRecordMatcher:i}}function m4(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Lje(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Fje(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Fje(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function g4(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Bje(e){return e.reduce((t,n)=>Kn(t,n.meta),{})}function h4(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Xz(e,t){return t.children.some(n=>n===e||Xz(e,n))}const Jz=/#/g,Uje=/&/g,Hje=/\//g,zje=/=/g,Vje=/\?/g,eV=/\+/g,Gje=/%5B/g,Yje=/%5D/g,tV=/%5E/g,jje=/%60/g,nV=/%7B/g,Wje=/%7C/g,rV=/%7D/g,qje=/%20/g;function TI(e){return encodeURI(""+e).replace(Wje,"|").replace(Gje,"[").replace(Yje,"]")}function Kje(e){return TI(e).replace(nV,"{").replace(rV,"}").replace(tV,"^")}function fw(e){return TI(e).replace(eV,"%2B").replace(qje,"+").replace(Jz,"%23").replace(Uje,"%26").replace(jje,"`").replace(nV,"{").replace(rV,"}").replace(tV,"^")}function Zje(e){return fw(e).replace(zje,"%3D")}function Qje(e){return TI(e).replace(Jz,"%23").replace(Vje,"%3F")}function Xje(e){return e==null?"":Qje(e).replace(Hje,"%2F")}function qv(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jje(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&fw(a)):[r&&fw(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function eWe(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qo(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const iV=Symbol(""),v4=Symbol(""),$y=Symbol(""),wI=Symbol(""),mw=Symbol("");function zf(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function tWe(e,t,n){const r=()=>{e[t].delete(n)};ki(r),hx(r),Fg(()=>{e[t].add(n)}),e[t].add(n)}function BWe(e){const t=He(iV,{}).value;!t||tWe(t,"leaveGuards",e)}function Kl(e,t,n,r,i){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((l,s)=>{const u=d=>{d===!1?s(Kp(4,{from:n,to:t})):d instanceof Error?s(d):xje(d)?s(Kp(2,{from:t,to:d})):(a&&r.enterCallbacks[i]===a&&typeof d=="function"&&a.push(d),l())},o=e.call(r&&r.instances[i],t,n,u);let c=Promise.resolve(o);e.length<3&&(c=c.then(u)),c.catch(d=>s(d))})}function S1(e,t,n,r){const i=[];for(const a of e)for(const l in a.components){let s=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(nWe(s)){const o=(s.__vccOpts||s)[t];o&&i.push(Kl(o,n,r,a,l))}else{let u=s();i.push(()=>u.then(o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${a.path}"`));const c=cje(o)?o.default:o;a.components[l]=c;const p=(c.__vccOpts||c)[t];return p&&Kl(p,n,r,a,l)()}))}}return i}function nWe(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function b4(e){const t=He($y),n=He(wI),r=$(()=>t.resolve(je(e.to))),i=$(()=>{const{matched:u}=r.value,{length:o}=u,c=u[o-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(qp.bind(null,c));if(p>-1)return p;const f=y4(u[o-2]);return o>1&&y4(c)===f&&d[d.length-1].path!==f?d.findIndex(qp.bind(null,u[o-2])):p}),a=$(()=>i.value>-1&&oWe(n.params,r.value.params)),l=$(()=>i.value>-1&&i.value===n.matched.length-1&&qz(n.params,r.value.params));function s(u={}){return aWe(u)?t[je(e.replace)?"replace":"push"](je(e.to)).catch(Im):Promise.resolve()}return{route:r,href:$(()=>r.value.href),isActive:a,isExactActive:l,navigate:s}}const rWe=Ce({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:b4,setup(e,{slots:t}){const n=un(b4(e)),{options:r}=He($y),i=$(()=>({[S4(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[S4(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:dl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},a)}}}),iWe=rWe;function aWe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function oWe(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!qo(i)||i.length!==r.length||r.some((a,l)=>a!==i[l]))return!1}return!0}function y4(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const S4=(e,t,n)=>e!=null?e:t!=null?t:n,sWe=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=He(mw),i=$(()=>e.route||r.value),a=He(v4,0),l=$(()=>{let o=je(a);const{matched:c}=i.value;let d;for(;(d=c[o])&&!d.components;)o++;return o}),s=$(()=>i.value.matched[l.value]);Dt(v4,$(()=>l.value+1)),Dt(iV,s),Dt(mw,i);const u=Oe();return ze(()=>[u.value,s.value,e.name],([o,c,d],[p,f,g])=>{c&&(c.instances[d]=o,f&&f!==c&&o&&o===p&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),o&&c&&(!f||!qp(c,f)||!p)&&(c.enterCallbacks[d]||[]).forEach(m=>m(o))},{flush:"post"}),()=>{const o=i.value,c=e.name,d=s.value,p=d&&d.components[c];if(!p)return E4(n.default,{Component:p,route:o});const f=d.props[c],g=f?f===!0?o.params:typeof f=="function"?f(o):f:null,h=dl(p,Kn({},g,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[c]=null)},ref:u}));return E4(n.default,{Component:h,route:o})||h}}});function E4(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lWe=sWe;function UWe(e){const t=$je(e.routes,e),n=e.parseQuery||Jje,r=e.stringifyQuery||_4,i=e.history,a=zf(),l=zf(),s=zf(),u=Pe(Hl);let o=Hl;Nd&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=b1.bind(null,q=>""+q),d=b1.bind(null,Xje),p=b1.bind(null,qv);function f(q,ee){let ne,_e;return Zz(q)?(ne=t.getRecordMatcher(q),_e=ee):_e=q,t.addRoute(_e,ne)}function g(q){const ee=t.getRecordMatcher(q);ee&&t.removeRoute(ee)}function m(){return t.getRoutes().map(q=>q.record)}function h(q){return!!t.getRecordMatcher(q)}function v(q,ee){if(ee=Kn({},ee||u.value),typeof q=="string"){const W=y1(n,q,ee.path),J=t.resolve({path:W.path},ee),de=i.createHref(W.fullPath);return Kn(W,J,{params:p(J.params),hash:qv(W.hash),redirectedFrom:void 0,href:de})}let ne;if("path"in q)ne=Kn({},q,{path:y1(n,q.path,ee.path).path});else{const W=Kn({},q.params);for(const J in W)W[J]==null&&delete W[J];ne=Kn({},q,{params:d(q.params)}),ee.params=d(ee.params)}const _e=t.resolve(ne,ee),ue=q.hash||"";_e.params=c(p(_e.params));const be=pje(r,Kn({},q,{hash:Kje(ue),path:_e.path})),fe=i.createHref(be);return Kn({fullPath:be,hash:ue,query:r===_4?eWe(q.query):q.query||{}},_e,{redirectedFrom:void 0,href:fe})}function b(q){return typeof q=="string"?y1(n,q,u.value.path):Kn({},q)}function y(q,ee){if(o!==q)return Kp(8,{from:ee,to:q})}function S(q){return T(q)}function C(q){return S(Kn(b(q),{replace:!0}))}function w(q){const ee=q.matched[q.matched.length-1];if(ee&&ee.redirect){const{redirect:ne}=ee;let _e=typeof ne=="function"?ne(q):ne;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=b(_e):{path:_e},_e.params={}),Kn({query:q.query,hash:q.hash,params:"path"in _e?{}:q.params},_e)}}function T(q,ee){const ne=o=v(q),_e=u.value,ue=q.state,be=q.force,fe=q.replace===!0,W=w(ne);if(W)return T(Kn(b(W),{state:typeof W=="object"?Kn({},ue,W.state):ue,force:be,replace:fe}),ee||ne);const J=ne;J.redirectedFrom=ee;let de;return!be&&fje(r,_e,ne)&&(de=Kp(16,{to:J,from:_e}),G(_e,_e,!0,!1)),(de?Promise.resolve(de):I(J,_e)).catch(ve=>zs(ve)?zs(ve,2)?ve:Y(ve):U(ve,J,_e)).then(ve=>{if(ve){if(zs(ve,2))return T(Kn({replace:fe},b(ve.to),{state:typeof ve.to=="object"?Kn({},ue,ve.to.state):ue,force:be}),ee||J)}else ve=M(J,_e,!0,fe,ue);return N(J,_e,ve),ve})}function O(q,ee){const ne=y(q,ee);return ne?Promise.reject(ne):Promise.resolve()}function I(q,ee){let ne;const[_e,ue,be]=cWe(q,ee);ne=S1(_e.reverse(),"beforeRouteLeave",q,ee);for(const W of _e)W.leaveGuards.forEach(J=>{ne.push(Kl(J,q,ee))});const fe=O.bind(null,q,ee);return ne.push(fe),Td(ne).then(()=>{ne=[];for(const W of a.list())ne.push(Kl(W,q,ee));return ne.push(fe),Td(ne)}).then(()=>{ne=S1(ue,"beforeRouteUpdate",q,ee);for(const W of ue)W.updateGuards.forEach(J=>{ne.push(Kl(J,q,ee))});return ne.push(fe),Td(ne)}).then(()=>{ne=[];for(const W of q.matched)if(W.beforeEnter&&!ee.matched.includes(W))if(qo(W.beforeEnter))for(const J of W.beforeEnter)ne.push(Kl(J,q,ee));else ne.push(Kl(W.beforeEnter,q,ee));return ne.push(fe),Td(ne)}).then(()=>(q.matched.forEach(W=>W.enterCallbacks={}),ne=S1(be,"beforeRouteEnter",q,ee),ne.push(fe),Td(ne))).then(()=>{ne=[];for(const W of l.list())ne.push(Kl(W,q,ee));return ne.push(fe),Td(ne)}).catch(W=>zs(W,8)?W:Promise.reject(W))}function N(q,ee,ne){for(const _e of s.list())_e(q,ee,ne)}function M(q,ee,ne,_e,ue){const be=y(q,ee);if(be)return be;const fe=ee===Hl,W=Nd?history.state:{};ne&&(_e||fe?i.replace(q.fullPath,Kn({scroll:fe&&W&&W.scroll},ue)):i.push(q.fullPath,ue)),u.value=q,G(q,ee,ne,fe),Y()}let B;function P(){B||(B=i.listen((q,ee,ne)=>{if(!se.listening)return;const _e=v(q),ue=w(_e);if(ue){T(Kn(ue,{replace:!0}),_e).catch(Im);return}o=_e;const be=u.value;Nd&&Sje(c4(be.fullPath,ne.delta),ky()),I(_e,be).catch(fe=>zs(fe,12)?fe:zs(fe,2)?(T(fe.to,_e).then(W=>{zs(W,20)&&!ne.delta&&ne.type===wg.pop&&i.go(-1,!1)}).catch(Im),Promise.reject()):(ne.delta&&i.go(-ne.delta,!1),U(fe,_e,be))).then(fe=>{fe=fe||M(_e,be,!1),fe&&(ne.delta&&!zs(fe,8)?i.go(-ne.delta,!1):ne.type===wg.pop&&zs(fe,20)&&i.go(-1,!1)),N(_e,be,fe)}).catch(Im)}))}let k=zf(),D=zf(),F;function U(q,ee,ne){Y(q);const _e=D.list();return _e.length?_e.forEach(ue=>ue(q,ee,ne)):console.error(q),Promise.reject(q)}function z(){return F&&u.value!==Hl?Promise.resolve():new Promise((q,ee)=>{k.add([q,ee])})}function Y(q){return F||(F=!q,P(),k.list().forEach(([ee,ne])=>q?ne(q):ee()),k.reset()),q}function G(q,ee,ne,_e){const{scrollBehavior:ue}=e;if(!Nd||!ue)return Promise.resolve();const be=!ne&&Eje(c4(q.fullPath,0))||(_e||!ne)&&history.state&&history.state.scroll||null;return sn().then(()=>ue(q,ee,be)).then(fe=>fe&&yje(fe)).catch(fe=>U(fe,q,ee))}const K=q=>i.go(q);let X;const ie=new Set,se={currentRoute:u,listening:!0,addRoute:f,removeRoute:g,hasRoute:h,getRoutes:m,resolve:v,options:e,push:S,replace:C,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:a.add,beforeResolve:l.add,afterEach:s.add,onError:D.add,isReady:z,install(q){const ee=this;q.component("RouterLink",iWe),q.component("RouterView",lWe),q.config.globalProperties.$router=ee,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>je(u)}),Nd&&!X&&u.value===Hl&&(X=!0,S(i.location).catch(ue=>{}));const ne={};for(const ue in Hl)ne[ue]=$(()=>u.value[ue]);q.provide($y,ee),q.provide(wI,un(ne)),q.provide(mw,u);const _e=q.unmount;ie.add(q),q.unmount=function(){ie.delete(q),ie.size<1&&(o=Hl,B&&B(),B=null,u.value=Hl,X=!1,F=!1),_e()}}};return se}function Td(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function cWe(e,t){const n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let l=0;lqp(o,s))?r.push(s):n.push(s));const u=e.matched[l];u&&(t.matched.find(o=>qp(o,u))||i.push(u))}return[n,r,i]}function HWe(){return He($y)}function zWe(){return He(wI)}export{kn as $,QU as A,He as B,MWe as C,un as D,zr as E,mu as F,Ut as G,tx as H,T6 as I,sn as J,Zd as K,pWe as L,kWe as M,mWe as N,fWe as O,PWe as P,Pe as Q,ft as R,R as S,pE as T,uo as U,Dt as V,_t as W,pe as X,Ni as Y,Et as Z,Py as _,Ee as a,xc as a$,Sn as a0,Ec as a1,WF as a2,pde as a3,rde as a4,tde as a5,dde as a6,ZF as a7,nf as a8,Ot as a9,Hp as aA,NO as aB,ni as aC,UP as aD,gr as aE,Zn as aF,Wg as aG,cF as aH,M9 as aI,pF as aJ,Rt as aK,Bt as aL,nt as aM,qe as aN,U9 as aO,Wt as aP,ii as aQ,tt as aR,L9 as aS,Yt as aT,ay as aU,zo as aV,Zr as aW,of as aX,Ti as aY,mr as aZ,Pa as a_,yr as aa,vi as ab,Mn as ac,jt as ad,go as ae,ca as af,ki as ag,At as ah,Fe as ai,Dn as aj,Z as ak,Hu as al,hr as am,gl as an,Nn as ao,Qn as ap,Xt as aq,br as ar,wt as as,Yn as at,Ie as au,Pde as av,Mde as aw,Nde as ax,Pr as ay,Mi as az,x as b,Hx as b$,ao as b0,sa as b1,Fg as b2,hx as b3,Che as b4,Nce as b5,nn as b6,rt as b7,rh as b8,dy as b9,xt as bA,Kg as bB,S1e as bC,cce as bD,SWe as bE,ATe as bF,yO as bG,Wr as bH,A$ as bI,UPe as bJ,gs as bK,Dx as bL,gAe as bM,pc as bN,uF as bO,fr as bP,Ip as bQ,Ehe as bR,oO as bS,t9 as bT,uDe as bU,Vg as bV,_R as bW,op as bX,n_e as bY,dU as bZ,CWe as b_,_y as ba,Gp as bb,fTe as bc,mTe as bd,pTe as be,vy as bf,eU as bg,Hb as bh,Wi as bi,la as bj,Xg as bk,Yo as bl,dc as bm,m9 as bn,GM as bo,IM as bp,cf as bq,OWe as br,x1e as bs,Sg as bt,AT as bu,ml as bv,zp as bw,Om as bx,lo as by,qg as bz,Rn as c,n1 as c$,Rhe as c0,ZB as c1,PDe as c2,wU as c3,Mr as c4,MSe as c5,o0e as c6,xDe as c7,kge as c8,YCe as c9,dH as cA,PIe as cB,DIe as cC,uOe as cD,Hv as cE,Uv as cF,Vp as cG,Na as cH,xOe as cI,$Ae as cJ,OEe as cK,uNe as cL,na as cM,xT as cN,pR as cO,xWe as cP,wWe as cQ,INe as cR,TWe as cS,BNe as cT,$Pe as cU,i1 as cV,a1 as cW,o1 as cX,sw as cY,lw as cZ,WDe as c_,GCe as ca,G5 as cb,HCe as cc,hk as cd,_k as ce,Ko as cf,li as cg,zB as ch,ape as ci,G9 as cj,j9 as ck,z9 as cl,tOe as cm,yOe as cn,OAe as co,hT as cp,RTe as cq,Cg as cr,Fv as cs,ec as ct,nu as cu,xxe as cv,pT as cw,gRe as cx,$Re as cy,_Re as cz,Ce as d,kB as d$,t1 as d0,GOe as d1,VT as d2,zPe as d3,l1 as d4,Ca as d5,hz as d6,_z as d7,vz as d8,sI as d9,cRe as dA,w5 as dB,_We as dC,uce as dD,B9 as dE,Ab as dF,K_ as dG,bWe as dH,mF as dI,wo as dJ,Mu as dK,yWe as dL,Vr as dM,w9 as dN,d0e as dO,JTe as dP,epe as dQ,hO as dR,qF as dS,V9 as dT,uy as dU,mT as dV,hWe as dW,py as dX,_l as dY,ry as dZ,Qg as d_,Ez as da,Nke as db,Bxe as dc,Jke as dd,kue as de,EWe as df,CU as dg,uwe as dh,G4 as di,Yu as dj,Jg as dk,ho as dl,ju as dm,FSe as dn,jSe as dp,ZSe as dq,zSe as dr,Ap as ds,Mp as dt,Ci as du,Bx as dv,yAe as dw,vWe as dx,Wo as dy,mo as dz,Oe as e,tr as e$,S9 as e0,xO as e1,Gbe as e2,uve as e3,e5 as e4,NEe as e5,ZD as e6,Cc as e7,An as e8,Qt as e9,cUe as eA,Ja as eB,BWe as eC,USe as eD,X1e as eE,lYe as eF,ra as eG,Q1e as eH,LWe as eI,tVe as eJ,XL as eK,W_e as eL,Es as eM,lje as eN,FPe as eO,Au as eP,kUe as eQ,f8e as eR,I9e as eS,pl as eT,Ox as eU,Oa as eV,l7e as eW,d7e as eX,g7e as eY,xce as eZ,Roe as e_,zWe as ea,Di as eb,hu as ec,Vt as ed,Ku as ee,GSe as ef,bx as eg,sse as eh,qSe as ei,Da as ej,d_e as ek,Qm as el,Y6 as em,j6 as en,HWe as eo,Q9e as ep,noe as eq,ooe as er,s3 as es,hae as et,fae as eu,Ug as ev,A3 as ew,ix as ex,Xa as ey,t4e as ez,$ as f,iWe as f0,_Be as f1,XSe as f2,n0e as f3,$Se as f4,vMe as f5,uke as f6,ze as g,UWe as h,FWe as i,$We as j,q3 as k,IWe as l,dWe as m,gWe as n,oe as o,dl as p,AWe as q,Jd as r,_7e as s,DWe as t,je as u,NWe as v,pn as w,Pie as x,ox as y,goe as z}; +//# sourceMappingURL=vue-router.324eaed2.js.map diff --git a/abstra_statics/dist/assets/workspaceStore.be837912.js b/abstra_statics/dist/assets/workspaceStore.5977d9e8.js similarity index 92% rename from abstra_statics/dist/assets/workspaceStore.be837912.js rename to abstra_statics/dist/assets/workspaceStore.5977d9e8.js index 6fb24d11b2..299419c549 100644 --- a/abstra_statics/dist/assets/workspaceStore.be837912.js +++ b/abstra_statics/dist/assets/workspaceStore.5977d9e8.js @@ -1,6 +1,6 @@ -var Xe=Object.defineProperty;var Ze=(e,t,s)=>t in e?Xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var D=(e,t,s)=>(Ze(e,typeof t!="symbol"?t+"":t,s),s);import{x as Ie,e as te,y as xe,z as et,B as tt,g as Ce,D as st,E as Y,F as Ue,G as rt,H as it,I as nt,J as ot,K as at,f as ae,L as ct,N as lt,O as ut,h as ht,i as dt,_ as j,j as gt}from"./vue-router.33f35a18.js";import{i as _t}from"./url.b6644346.js";import{i as pt}from"./colorHelpers.aaea81c6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bc36464f-2e77-42a5-9a2c-a16cb829f26d",e._sentryDebugIdIdentifier="sentry-dbid-bc36464f-2e77-42a5-9a2c-a16cb829f26d")}catch{}})();var ft=!1;/*! +var Xe=Object.defineProperty;var Ze=(e,t,s)=>t in e?Xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var D=(e,t,s)=>(Ze(e,typeof t!="symbol"?t+"":t,s),s);import{x as Ie,e as te,y as xe,z as et,B as tt,g as Ce,D as st,E as Y,F as Ue,G as rt,H as it,I as nt,J as ot,K as at,f as ae,L as ct,N as lt,O as ut,h as ht,i as dt,_ as j,j as gt}from"./vue-router.324eaed2.js";import{i as _t}from"./url.1a1c4e74.js";import{i as pt}from"./colorHelpers.78fae216.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="68a948a4-28ed-4058-b685-85744db380ab",e._sentryDebugIdIdentifier="sentry-dbid-68a948a4-28ed-4058-b685-85744db380ab")}catch{}})();var ft=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let Pe;const se=e=>Pe=e,Oe=Symbol();function ce(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var V;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(V||(V={}));function _s(){const e=Ie(!0),t=e.run(()=>te({}));let s=[],r=[];const i=xe({install(n){se(i),i._a=n,n.provide(Oe,i),n.config.globalProperties.$pinia=i,r.forEach(o=>s.push(o)),r=[]},use(n){return!this._a&&!ft?r.push(n):s.push(n),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return i}const Ae=()=>{};function me(e,t,s,r=Ae){e.push(t);const i=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};return!s&&it()&&nt(i),i}function W(e,...t){e.slice().forEach(s=>{s(...t)})}const wt=e=>e();function le(e,t){e instanceof Map&&t instanceof Map&&t.forEach((s,r)=>e.set(r,s)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const r=t[s],i=e[s];ce(i)&&ce(r)&&e.hasOwnProperty(s)&&!Y(r)&&!Ue(r)?e[s]=le(i,r):e[s]=r}return e}const mt=Symbol();function St(e){return!ce(e)||!e.hasOwnProperty(mt)}const{assign:N}=Object;function vt(e){return!!(Y(e)&&e.effect)}function yt(e,t,s,r){const{state:i,actions:n,getters:o}=t,a=s.state.value[e];let c;function l(){a||(s.state.value[e]=i?i():{});const u=at(s.state.value[e]);return N(u,n,Object.keys(o||{}).reduce((h,p)=>(h[p]=xe(ae(()=>{se(s);const f=s._s.get(e);return o[p].call(f,f)})),h),{}))}return c=je(e,l,t,s,r,!0),c}function je(e,t,s={},r,i,n){let o;const a=N({actions:{}},s),c={deep:!0};let l,u,h=[],p=[],f;const v=r.state.value[e];!n&&!v&&(r.state.value[e]={}),te({});let y;function b(g){let _;l=u=!1,typeof g=="function"?(g(r.state.value[e]),_={type:V.patchFunction,storeId:e,events:f}):(le(r.state.value[e],g),_={type:V.patchObject,payload:g,storeId:e,events:f});const E=y=Symbol();ot().then(()=>{y===E&&(l=!0)}),u=!0,W(h,_,r.state.value[e])}const U=n?function(){const{state:_}=s,E=_?_():{};this.$patch(O=>{N(O,E)})}:Ae;function P(){o.stop(),h=[],p=[],r._s.delete(e)}function k(g,_){return function(){se(r);const E=Array.from(arguments),O=[],M=[];function re(T){O.push(T)}function ie(T){M.push(T)}W(p,{args:E,name:g,store:w,after:re,onError:ie});let H;try{H=_.apply(this&&this.$id===e?this:w,E)}catch(T){throw W(M,T),T}return H instanceof Promise?H.then(T=>(W(O,T),T)).catch(T=>(W(M,T),Promise.reject(T))):(W(O,H),H)}}const m={_p:r,$id:e,$onAction:me.bind(null,p),$patch:b,$reset:U,$subscribe(g,_={}){const E=me(h,g,_.detached,()=>O()),O=o.run(()=>Ce(()=>r.state.value[e],M=>{(_.flush==="sync"?u:l)&&g({storeId:e,type:V.direct,events:f},M)},N({},c,_)));return E},$dispose:P},w=st(m);r._s.set(e,w);const S=(r._a&&r._a.runWithContext||wt)(()=>r._e.run(()=>(o=Ie()).run(t)));for(const g in S){const _=S[g];if(Y(_)&&!vt(_)||Ue(_))n||(v&&St(_)&&(Y(_)?_.value=v[g]:le(_,v[g])),r.state.value[e][g]=_);else if(typeof _=="function"){const E=k(g,_);S[g]=E,a.actions[g]=_}}return N(w,S),N(rt(w),S),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:g=>{b(_=>{N(_,g)})}}),r._p.forEach(g=>{N(w,o.run(()=>g({store:w,app:r._a,pinia:r,options:a})))}),v&&n&&s.hydrate&&s.hydrate(w.$state,v),l=!0,u=!0,w}function Ne(e,t,s){let r,i;const n=typeof t=="function";typeof e=="string"?(r=e,i=n?s:t):(i=e,r=e.id);function o(a,c){const l=et();return a=a||(l?tt(Oe,null):null),a&&se(a),a=Pe,a._s.has(r)||(n?je(r,t,i,a):yt(r,i,a)),a._s.get(r)}return o.$id=r,o}const $=Ne("user",()=>{const e=new ct(lt.string(),"auth:jwt"),t=te(null),s=ae(()=>t.value?{Authorization:`Bearer ${t.value.rawJwt}`}:{}),r=ae(()=>t.value?["default",`base64url.bearer.authorization.${t.value.rawJwt}`]:[]),i=u=>{e.set(u),n()},n=()=>{const u=e.get();if(!!u)try{const h=ut(u);h.exp&&h.exp>Date.now()/1e3&&(t.value={rawJwt:u,claims:h})}catch{console.warn("Invalid JWT")}},o=()=>{t.value=null,e.remove()},a=async()=>(await fetch("/_user/my-roles",{headers:s.value})).json(),c=async()=>(await fetch("/_user/sign-up",{method:"POST",headers:s.value})).status===200,l=async u=>(await fetch(`/_access-control/allow${u}`,{headers:s.value})).json();return n(),{loadSavedToken:n,saveJWT:i,user:t,logout:o,getRoles:a,authHeaders:s,wsAuthHeaders:r,signUp:c,allow:l}}),bt=e=>{const t=$();Ce(()=>t.user,(s,r)=>{!s&&r&&e()})};class J extends Error{}J.prototype.name="InvalidTokenError";function kt(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,s)=>{let r=s.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Et(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return kt(t)}catch{return atob(t)}}function Tt(e,t){if(typeof e!="string")throw new J("Invalid token specified: must be a string");t||(t={});const s=t.header===!0?0:1,r=e.split(".")[s];if(typeof r!="string")throw new J(`Invalid token specified: missing part #${s+1}`);let i;try{i=Et(r)}catch(n){throw new J(`Invalid token specified: invalid base64 for part #${s+1} (${n.message})`)}try{return JSON.parse(i)}catch(n){throw new J(`Invalid token specified: invalid json for part #${s+1} (${n.message})`)}}var Rt={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},x,C,X=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(X||{});(e=>{function t(){x=3,C=Rt}e.reset=t;function s(i){if(!(0<=i&&i<=4))throw new Error("Invalid log level");x=i}e.setLevel=s;function r(i){C=i}e.setLogger=r})(X||(X={}));var d=class I{constructor(t){this._name=t}debug(...t){x>=4&&C.debug(I._format(this._name,this._method),...t)}info(...t){x>=3&&C.info(I._format(this._name,this._method),...t)}warn(...t){x>=2&&C.warn(I._format(this._name,this._method),...t)}error(...t){x>=1&&C.error(I._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const s=Object.create(this);return s._method=t,s.debug("begin"),s}static createStatic(t,s){const r=new I(`${t}.${s}`);return r.debug("begin"),r}static _format(t,s){const r=`[${t}]`;return s?`${r} ${s}:`:r}static debug(t,...s){x>=4&&C.debug(I._format(t),...s)}static info(t,...s){x>=3&&C.info(I._format(t),...s)}static warn(t,...s){x>=2&&C.warn(I._format(t),...s)}static error(t,...s){x>=1&&C.error(I._format(t),...s)}};X.reset();var It="10000000-1000-4000-8000-100000000000",Se=e=>btoa([...new Uint8Array(e)].map(t=>String.fromCharCode(t)).join("")),F=class K{static _randomWord(){const t=new Uint32Array(1);return crypto.getRandomValues(t),t[0]}static generateUUIDv4(){return It.replace(/[018]/g,s=>(+s^K._randomWord()&15>>+s/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return K.generateUUIDv4()+K.generateUUIDv4()+K.generateUUIDv4()}static async generateCodeChallenge(t){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const r=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",r);return Se(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(s){throw d.error("CryptoUtils.generateCodeChallenge",s),s}}static generateBasicAuth(t,s){const i=new TextEncoder().encode([t,s].join(":"));return Se(i)}},q=class{constructor(e){this._name=e,this._logger=new d(`Event('${this._name}')`),this._callbacks=[]}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}async raise(...e){this._logger.debug("raise:",...e);for(const t of this._callbacks)await t(...e)}},ue=class{static decode(e){try{return Tt(e)}catch(t){throw d.error("JwtUtils.decode",t),t}}},ve=class{static center({...e}){var t,s,r;return e.width==null&&(e.width=(t=[800,720,600,480].find(i=>i<=window.outerWidth/1.618))!=null?t:360),(s=e.left)!=null||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),e.height!=null&&((r=e.top)!=null||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,t])=>t!=null).map(([t,s])=>`${t}=${typeof s!="boolean"?s:s?"yes":"no"}`).join(",")}},A=class G extends q{constructor(){super(...arguments),this._logger=new d(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-G.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=G.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const s=this._logger.create("init");t=Math.max(Math.floor(t),1);const r=G.getEpochTime()+t;if(this.expiration===r&&this._timerHandle){s.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),s.debug("using duration",t),this._expiration=r;const i=Math.min(t,5);this._timerHandle=setInterval(this._callback,i*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},he=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const r=new URL(e,"http://127.0.0.1")[t==="fragment"?"hash":"search"];return new URLSearchParams(r.slice(1))}},de=";",L=class extends Error{constructor(e,t){var s,r,i;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw d.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=(s=e.error_description)!=null?s:null,this.error_uri=(r=e.error_uri)!=null?r:null,this.state=e.userState,this.session_state=(i=e.session_state)!=null?i:null,this.url_state=e.url_state}},fe=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},xt=class{constructor(e){this._logger=new d("AccessTokenEvents"),this._expiringTimer=new A("Access token expiring"),this._expiredTimer=new A("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}load(e){const t=this._logger.create("load");if(e.access_token&&e.expires_in!==void 0){const s=e.expires_in;if(t.debug("access token present, remaining duration:",s),s>0){let i=s-this._expiringNotificationTimeInSeconds;i<=0&&(i=1),t.debug("registering expiring timer, raising in",i,"seconds"),this._expiringTimer.init(i)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=s+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},Ct=class{constructor(e,t,s,r,i){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new d("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=o=>{o.origin===this._frame_origin&&o.source===this._frame.contentWindow&&(o.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):o.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(o.data+" message from check session op iframe"))};const n=new URL(s);this._frame_origin=n.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=n.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},qe=class{constructor(){this._logger=new d("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},we=class{constructor(e=[],t=null,s={}){this._jwtHandler=t,this._extraHeaders=s,this._logger=new d("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:s,...r}=t;if(!s)return await fetch(e,r);const i=new AbortController,n=setTimeout(()=>i.abort(),s*1e3);try{return await fetch(e,{...t,signal:i.signal})}catch(o){throw o instanceof DOMException&&o.name==="AbortError"?new fe("Network timed out"):o}finally{clearTimeout(n)}}async getJson(e,{token:t,credentials:s}={}){const r=this._logger.create("getJson"),i={Accept:this._contentTypes.join(", ")};t&&(r.debug("token passed, setting Authorization header"),i.Authorization="Bearer "+t),this.appendExtraHeaders(i);let n;try{r.debug("url:",e),n=await this.fetchWithTimeout(e,{method:"GET",headers:i,credentials:s})}catch(c){throw r.error("Network Error"),c}r.debug("HTTP response received, status",n.status);const o=n.headers.get("Content-Type");if(o&&!this._contentTypes.find(c=>o.startsWith(c))&&r.throw(new Error(`Invalid response Content-Type: ${o!=null?o:"undefined"}, from URL: ${e}`)),n.ok&&this._jwtHandler&&(o==null?void 0:o.startsWith("application/jwt")))return await this._jwtHandler(await n.text());let a;try{a=await n.json()}catch(c){throw r.error("Error parsing JSON response",c),n.ok?c:new Error(`${n.statusText} (${n.status})`)}if(!n.ok)throw r.error("Error from server:",a),a.error?new L(a):new Error(`${n.statusText} (${n.status}): ${JSON.stringify(a)}`);return a}async postForm(e,{body:t,basicAuth:s,timeoutInSeconds:r,initCredentials:i}){const n=this._logger.create("postForm"),o={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};s!==void 0&&(o.Authorization="Basic "+s),this.appendExtraHeaders(o);let a;try{n.debug("url:",e),a=await this.fetchWithTimeout(e,{method:"POST",headers:o,body:t,timeoutInSeconds:r,credentials:i})}catch(h){throw n.error("Network error"),h}n.debug("HTTP response received, status",a.status);const c=a.headers.get("Content-Type");if(c&&!this._contentTypes.find(h=>c.startsWith(h)))throw new Error(`Invalid response Content-Type: ${c!=null?c:"undefined"}, from URL: ${e}`);const l=await a.text();let u={};if(l)try{u=JSON.parse(l)}catch(h){throw n.error("Error parsing JSON response",h),a.ok?h:new Error(`${a.statusText} (${a.status})`)}if(!a.ok)throw n.error("Error from server:",u),u.error?new L(u,t):new Error(`${a.statusText} (${a.status}): ${JSON.stringify(u)}`);return u}appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),s=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];s.length!==0&&s.forEach(i=>{if(r.includes(i.toLocaleLowerCase())){t.warn("Protected header could not be overridden",i,r);return}const n=typeof this._extraHeaders[i]=="function"?this._extraHeaders[i]():this._extraHeaders[i];n&&n!==""&&(e[i]=n)})}},Ut=class{constructor(e){this._settings=e,this._logger=new d("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new we(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,t),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const s=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(s.debug("resolved"),r[e]===void 0){if(t===!0){s.warn("Metadata does not contain optional property");return}s.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const s=await this._jsonService.getJson(t);if(e.debug("got key set",s),!Array.isArray(s.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=s.keys,this._signingKeys}},Me=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new d("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){return this._logger.create(`get('${e}')`),e=this._prefix+e,await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let s=0;s{const r=this._logger.create("_getClaimsFromJwt");try{const i=ue.decode(s);return r.debug("JWT decoding successful"),i}catch(i){throw r.error("Error parsing JWT response"),i}},this._jsonService=new we(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const s=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",s);const r=await this._jsonService.getJson(s,{token:e,credentials:this._settings.fetchRequestCredentials});return t.debug("got claims",r),r}},He=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new d("TokenClient"),this._jsonService=new we(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:s=this._settings.client_id,client_secret:r=this._settings.client_secret,...i}){const n=this._logger.create("exchangeCode");s||n.throw(new Error("A client_id is required")),t||n.throw(new Error("A redirect_uri is required")),i.code||n.throw(new Error("A code is required"));const o=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[u,h]of Object.entries(i))h!=null&&o.set(u,h);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw n.throw(new Error("A client_secret is required")),null;a=F.generateBasicAuth(s,r);break;case"client_secret_post":o.append("client_id",s),r&&o.append("client_secret",r);break}const c=await this._metadataService.getTokenEndpoint(!1);n.debug("got token endpoint");const l=await this._jsonService.postForm(c,{body:o,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return n.debug("got response"),l}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:s=this._settings.client_secret,scope:r=this._settings.scope,...i}){const n=this._logger.create("exchangeCredentials");t||n.throw(new Error("A client_id is required"));const o=new URLSearchParams({grant_type:e,scope:r});for(const[u,h]of Object.entries(i))h!=null&&o.set(u,h);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!s)throw n.throw(new Error("A client_secret is required")),null;a=F.generateBasicAuth(t,s);break;case"client_secret_post":o.append("client_id",t),s&&o.append("client_secret",s);break}const c=await this._metadataService.getTokenEndpoint(!1);n.debug("got token endpoint");const l=await this._jsonService.postForm(c,{body:o,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return n.debug("got response"),l}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:s=this._settings.client_secret,timeoutInSeconds:r,...i}){const n=this._logger.create("exchangeRefreshToken");t||n.throw(new Error("A client_id is required")),i.refresh_token||n.throw(new Error("A refresh_token is required"));const o=new URLSearchParams({grant_type:e});for(const[u,h]of Object.entries(i))Array.isArray(h)?h.forEach(p=>o.append(u,p)):h!=null&&o.set(u,h);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!s)throw n.throw(new Error("A client_secret is required")),null;a=F.generateBasicAuth(t,s);break;case"client_secret_post":o.append("client_id",t),s&&o.append("client_secret",s);break}const c=await this._metadataService.getTokenEndpoint(!1);n.debug("got token endpoint");const l=await this._jsonService.postForm(c,{body:o,basicAuth:a,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return n.debug("got response"),l}async revoke(e){var t;const s=this._logger.create("revoke");e.token||s.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);s.debug(`got revocation endpoint, revoking ${(t=e.token_type_hint)!=null?t:"default token type"}`);const i=new URLSearchParams;for(const[n,o]of Object.entries(e))o!=null&&i.set(n,o);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i}),s.debug("got response")}},qt=class{constructor(e,t,s){this._settings=e,this._metadataService=t,this._claimsService=s,this._logger=new d("ResponseValidator"),this._userInfoService=new Nt(this._settings,this._metadataService),this._tokenClient=new He(this._settings,this._metadataService)}async validateSigninResponse(e,t){const s=this._logger.create("validateSigninResponse");this._processSigninState(e,t),s.debug("state processed"),await this._processCode(e,t),s.debug("code processed"),e.isOpenId&&this._validateIdTokenAttributes(e),s.debug("tokens validated"),await this._processClaims(e,t==null?void 0:t.skipUserInfo,e.isOpenId),s.debug("claims processed")}async validateCredentialsResponse(e,t){const s=this._logger.create("validateCredentialsResponse");e.isOpenId&&!!e.id_token&&this._validateIdTokenAttributes(e),s.debug("tokens validated"),await this._processClaims(e,t,e.isOpenId),s.debug("claims processed")}async validateRefreshResponse(e,t){var s,r;const i=this._logger.create("validateRefreshResponse");e.userState=t.data,(s=e.session_state)!=null||(e.session_state=t.session_state),(r=e.scope)!=null||(e.scope=t.scope),e.isOpenId&&!!e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),i.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const n=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,n),i.debug("claims processed")}validateSignoutResponse(e,t){const s=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&s.throw(new Error("State does not match")),s.debug("state validated"),e.userState=t.data,e.error)throw s.warn("Response was error",e.error),new L(e)}_processSigninState(e,t){var s;const r=this._logger.create("_processSigninState");if(t.id!==e.state&&r.throw(new Error("State does not match")),t.client_id||r.throw(new Error("No client_id on state")),t.authority||r.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,(s=e.scope)!=null||(e.scope=t.scope),e.error)throw r.warn("Response was error",e.error),new L(e);t.code_verifier&&!e.code&&r.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,s=!0){const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token){r.debug("not loading user info");return}r.debug("loading user info");const i=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),s&&i.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t){const s=this._logger.create("_processCode");if(e.code){s.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,...t.extraTokenParams});Object.assign(e,r)}else s.debug("No code to process")}_validateIdTokenAttributes(e,t){var s;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=ue.decode((s=e.id_token)!=null?s:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const n=ue.decode(t);i.sub!==n.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==n.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==n.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&n.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=i}},Z=class _e{constructor(t){this.id=t.id||F.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=A.getEpochTime(),this.request_type=t.request_type,this.url_state=t.url_state}toStorageString(){return new d("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return d.createStatic("State","fromStorageString"),Promise.resolve(new _e(JSON.parse(t)))}static async clearStaleState(t,s){const r=d.createStatic("State","clearStaleState"),i=A.getEpochTime()-s,n=await t.getAllKeys();r.debug("got keys",n);for(let o=0;om.searchParams.append("resource",S));for(const[R,S]of Object.entries({response_mode:c,...P,...y}))S!=null&&m.searchParams.append(R,S.toString());return new We({url:m.href,state:k})}};De._logger=new d("SigninRequest");var Mt=De,Ht="openid",ne=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const t=decodeURIComponent(this.state).split(de);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(de))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-A.getEpochTime()}set expires_in(e){typeof e=="string"&&(e=Number(e)),e!==void 0&&e>=0&&(this.expires_at=Math.floor(e)+A.getEpochTime())}get isOpenId(){var e;return((e=this.scope)==null?void 0:e.split(" ").includes(Ht))||!!this.id_token}},Lt=class{constructor({url:e,state_data:t,id_token_hint:s,post_logout_redirect_uri:r,extraQueryParams:i,request_type:n,client_id:o}){if(this._logger=new d("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const a=new URL(e);s&&a.searchParams.append("id_token_hint",s),o&&a.searchParams.append("client_id",o),r&&(a.searchParams.append("post_logout_redirect_uri",r),t&&(this.state=new Z({data:t,request_type:n}),a.searchParams.append("state",this.state.id)));for(const[c,l]of Object.entries({...i}))l!=null&&a.searchParams.append(c,l.toString());this.url=a.href}},Dt=class{constructor(e){this.state=e.get("state"),this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},Wt=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],Ft=["sub","iss","aud","exp","iat"],$t=class{constructor(e){this._settings=e,this._logger=new d("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let s;Array.isArray(this._settings.filterProtocolClaims)?s=this._settings.filterProtocolClaims:s=Wt;for(const r of s)Ft.includes(r)||delete t[r]}return t}mergeClaims(e,t){const s={...e};for(const[r,i]of Object.entries(t))if(s[r]!==i)if(Array.isArray(s[r])||Array.isArray(i))if(this._settings.mergeClaimsStrategy.array=="replace")s[r]=i;else{const n=Array.isArray(s[r])?s[r]:[s[r]];for(const o of Array.isArray(i)?i:[i])n.includes(o)||n.push(o);s[r]=n}else typeof s[r]=="object"&&typeof i=="object"?s[r]=this.mergeClaims(s[r],i):s[r]=i;return s}},Jt=class{constructor(e,t){this._logger=new d("OidcClient"),this.settings=e instanceof ge?e:new ge(e),this.metadataService=t!=null?t:new Ut(this.settings),this._claimsService=new $t(this.settings),this._validator=new qt(this.settings,this.metadataService,this._claimsService),this._tokenClient=new He(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:s,request_type:r,id_token_hint:i,login_hint:n,skipUserInfo:o,nonce:a,url_state:c,response_type:l=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:h=this.settings.redirect_uri,prompt:p=this.settings.prompt,display:f=this.settings.display,max_age:v=this.settings.max_age,ui_locales:y=this.settings.ui_locales,acr_values:b=this.settings.acr_values,resource:U=this.settings.resource,response_mode:P=this.settings.response_mode,extraQueryParams:k=this.settings.extraQueryParams,extraTokenParams:m=this.settings.extraTokenParams}){const w=this._logger.create("createSigninRequest");if(l!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const R=await this.metadataService.getAuthorizationEndpoint();w.debug("Received authorization endpoint",R);const S=await Mt.create({url:R,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:h,response_type:l,scope:u,state_data:e,url_state:c,prompt:p,display:f,max_age:v,ui_locales:y,id_token_hint:i,login_hint:n,acr_values:b,resource:U,request:t,request_uri:s,extraQueryParams:k,extraTokenParams:m,request_type:r,response_mode:P,client_secret:this.settings.client_secret,skipUserInfo:o,nonce:a,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const g=S.state;return await this.settings.stateStore.set(g.id,g.toStorageString()),S}async readSigninResponseState(e,t=!1){const s=this._logger.create("readSigninResponseState"),r=new ne(he.readParams(e,this.settings.response_mode));if(!r.state)throw s.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw s.throw(new Error("No matching state found in storage")),null;return{state:await Le.fromStorageString(i),response:r}}async processSigninResponse(e){const t=this._logger.create("processSigninResponse"),{state:s,response:r}=await this.readSigninResponseState(e,!0);return t.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,s),r}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:s=!1,extraTokenParams:r={}}){const i=await this._tokenClient.exchangeCredentials({username:e,password:t,...r}),n=new ne(new URLSearchParams);return Object.assign(n,i),await this._validator.validateCredentialsResponse(n,s),n}async useRefreshToken({state:e,redirect_uri:t,resource:s,timeoutInSeconds:r,extraTokenParams:i}){var n;const o=this._logger.create("useRefreshToken");let a;if(this.settings.refreshTokenAllowedScope===void 0)a=e.scope;else{const u=this.settings.refreshTokenAllowedScope.split(" ");a=(((n=e.scope)==null?void 0:n.split(" "))||[]).filter(p=>u.includes(p)).join(" ")}const c=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:a,redirect_uri:t,resource:s,timeoutInSeconds:r,...i}),l=new ne(new URLSearchParams);return Object.assign(l,c),o.debug("validating response",l),await this._validator.validateRefreshResponse(l,{...e,scope:a}),l}async createSignoutRequest({state:e,id_token_hint:t,client_id:s,request_type:r,post_logout_redirect_uri:i=this.settings.post_logout_redirect_uri,extraQueryParams:n=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),a=await this.metadataService.getEndSessionEndpoint();if(!a)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",a),!s&&i&&!t&&(s=this.settings.client_id);const c=new Lt({url:a,id_token_hint:t,client_id:s,post_logout_redirect_uri:i,state_data:e,extraQueryParams:n,request_type:r});await this.clearStaleState();const l=c.state;return l&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(l.id,l.toStorageString())),c}async readSignoutResponseState(e,t=!1){const s=this._logger.create("readSignoutResponseState"),r=new Dt(he.readParams(e,this.settings.response_mode));if(!r.state){if(s.debug("No state in response"),r.error)throw s.warn("Response was error:",r.error),new L(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw s.throw(new Error("No matching state found in storage")),null;return{state:await Z.fromStorageString(i),response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:s,response:r}=await this.readSignoutResponseState(e,!0);return s?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,s)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),Z.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},Kt=class{constructor(e){this._userManager=e,this._logger=new d("SessionMonitor"),this._start=async t=>{const s=t.session_state;if(!s)return;const r=this._logger.create("_start");if(t.profile?(this._sub=t.profile.sub,r.debug("session_state",s,", sub",this._sub)):(this._sub=void 0,r.debug("session_state",s,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(s);return}try{const i=await this._userManager.metadataService.getCheckSessionIframe();if(i){r.debug("initializing check session iframe");const n=this._userManager.settings.client_id,o=this._userManager.settings.checkSessionIntervalInSeconds,a=this._userManager.settings.stopCheckSessionOnError,c=new Ct(this._callback,n,i,o,a);await c.load(),this._checkSessionIFrame=c,c.start(s)}else r.warn("no check session iframe found in the metadata")}catch(i){r.error("Error from getCheckSessionIframe:",i instanceof Error?i.message:i)}},this._stop=()=>{const t=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const s=setInterval(async()=>{clearInterval(s);try{const r=await this._userManager.querySessionStatus();if(r){const i={session_state:r.session_state,profile:r.sub?{sub:r.sub}:null};this._start(i)}}catch(r){t.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const t=this._logger.create("_callback");try{const s=await this._userManager.querySessionStatus();let r=!0;s&&this._checkSessionIFrame?s.sub===this._sub?(r=!1,this._checkSessionIFrame.start(s.session_state),t.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",s.session_state),await this._userManager.events._raiseUserSessionChanged()):t.debug("different subject signed into OP",s.sub):t.debug("subject no longer signed into OP"),r?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():t.debug("no change in session detected, no event to raise")}catch(s){this._sub&&(t.debug("Error calling queryCurrentSigninSession; raising signed out event",s),await this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(t=>{this._logger.error(t)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const t=await this._userManager.querySessionStatus();if(t){const s={session_state:t.session_state,profile:t.sub?{sub:t.sub}:null};this._start(s)}}}},oe=class Fe{constructor(t){var s;this.id_token=t.id_token,this.session_state=(s=t.session_state)!=null?s:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState,this.url_state=t.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-A.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+A.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,s;return(s=(t=this.scope)==null?void 0:t.split(" "))!=null?s:[]}toStorageString(){return new d("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return d.createStatic("User","fromStorageString"),new Fe(JSON.parse(t))}},ye="oidc-client",$e=class{constructor(){this._abort=new q("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:s,keepOpen:r}=await new Promise((i,n)=>{const o=a=>{var c;const l=a.data,u=(c=e.scriptOrigin)!=null?c:window.location.origin;if(!(a.origin!==u||(l==null?void 0:l.source)!==ye)){try{const h=he.readParams(l.url,e.response_mode).get("state");if(h||t.warn("no state found in response url"),a.source!==this._window&&h!==e.state)return}catch{this._dispose(),n(new Error("Invalid response from window"))}i(l)}};window.addEventListener("message",o,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",o,!1)),this._disposeHandlers.add(this._abort.addHandler(a=>{this._dispose(),n(a)}))});return t.debug("got response from window"),this._dispose(),r||this.close(),{url:s}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,s=!1,r=window.location.origin){e.postMessage({source:ye,url:t,keepOpen:s},r)}},Je={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},Ke="_blank",zt=60,Vt=2,ze=10,Bt=class extends ge{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:s=e.post_logout_redirect_uri,popupWindowFeatures:r=Je,popupWindowTarget:i=Ke,redirectMethod:n="assign",redirectTarget:o="self",iframeNotifyParentOrigin:a=e.iframeNotifyParentOrigin,iframeScriptOrigin:c=e.iframeScriptOrigin,silent_redirect_uri:l=e.redirect_uri,silentRequestTimeoutInSeconds:u=ze,automaticSilentRenew:h=!0,validateSubOnSilentRenew:p=!0,includeIdTokenInSilentRenew:f=!1,monitorSession:v=!1,monitorAnonymousSession:y=!1,checkSessionIntervalInSeconds:b=Vt,query_status_response_type:U="code",stopCheckSessionOnError:P=!0,revokeTokenTypes:k=["access_token","refresh_token"],revokeTokensOnSignout:m=!1,includeIdTokenInSilentSignout:w=!1,accessTokenExpiringNotificationTimeInSeconds:R=zt,userStore:S}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=s,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=n,this.redirectTarget=o,this.iframeNotifyParentOrigin=a,this.iframeScriptOrigin=c,this.silent_redirect_uri=l,this.silentRequestTimeoutInSeconds=u,this.automaticSilentRenew=h,this.validateSubOnSilentRenew=p,this.includeIdTokenInSilentRenew=f,this.monitorSession=v,this.monitorAnonymousSession=y,this.checkSessionIntervalInSeconds=b,this.stopCheckSessionOnError=P,this.query_status_response_type=U,this.revokeTokenTypes=k,this.revokeTokensOnSignout=m,this.includeIdTokenInSilentSignout=w,this.accessTokenExpiringNotificationTimeInSeconds=R,S)this.userStore=S;else{const g=typeof window<"u"?window.sessionStorage:new qe;this.userStore=new Me({store:g})}}},be=class Ve extends $e{constructor({silentRequestTimeoutInSeconds:t=ze}){super(),this._logger=new d("IFrameWindow"),this._timeoutInSeconds=t,this._frame=Ve.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const s=setTimeout(()=>void this._abort.raise(new fe("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(s)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",s=>{var r;const i=s.target;(r=i.parentNode)==null||r.removeChild(i),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,s){return super._notifyParent(window.parent,t,!1,s)}},Gt=class{constructor(e){this._settings=e,this._logger=new d("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new be({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),be.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},Qt=500,Yt=1e3,ke=class extends $e{constructor({popupWindowTarget:e=Ke,popupWindowFeatures:t={}}){super(),this._logger=new d("PopupWindow");const s=ve.center({...Je,...t});this._window=window.open(void 0,e,ve.serialize(s)),t.closePopupWindowAfterInSeconds&&t.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},t.closePopupWindowAfterInSeconds*Yt)}async navigate(e){var t;(t=this._window)==null||t.focus();const s=setInterval(()=>{(!this._window||this._window.closed)&&this._abort.raise(new Error("Popup closed by user"))},Qt);return this._disposeHandlers.add(()=>clearInterval(s)),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,e,t)}},Xt=class{constructor(e){this._settings=e,this._logger=new d("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget}){return new ke({popupWindowFeatures:e,popupWindowTarget:t})}async callback(e,{keepOpen:t=!1}){this._logger.create("callback"),ke.notifyOpener(e,t)}},Zt=class{constructor(e){this._settings=e,this._logger=new d("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var s;this._logger.create("prepare");let r=window.self;t==="top"&&(r=(s=window.top)!=null?s:window.self);const i=r.location[e].bind(r.location);let n;return{navigate:async o=>{this._logger.create("navigate");const a=new Promise((c,l)=>{n=l});return i(o.url),await a},close:()=>{this._logger.create("close"),n==null||n(new Error("Redirect aborted")),r.stop()}}}async callback(){}},es=class extends xt{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new d("UserManagerEvents"),this._userLoaded=new q("User loaded"),this._userUnloaded=new q("User unloaded"),this._silentRenewError=new q("Silent renew error"),this._userSignedIn=new q("User signed in"),this._userSignedOut=new q("User signed out"),this._userSessionChanged=new q("User session changed")}async load(e,t=!0){super.load(e),t&&await this._userLoaded.raise(e)}async unload(){super.unload(),await this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}async _raiseSilentRenewError(e){await this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},ts=class{constructor(e){this._userManager=e,this._logger=new d("SilentRenewService"),this._isStarted=!1,this._retryTimer=new A("Retry Silent Renew"),this._tokenExpiring=async()=>{const t=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),t.debug("silent token renewal successful")}catch(s){if(s instanceof fe){t.warn("ErrorTimeout from signinSilent:",s,"retry in 5s"),this._retryTimer.init(5);return}t.error("Error from signinSilent:",s),await this._userManager.events._raiseSilentRenewError(s)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},ss=class{constructor(e){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.data=e.state}},rs=class{constructor(e,t,s,r){this._logger=new d("UserManager"),this.settings=new Bt(e),this._client=new Jt(e),this._redirectNavigator=t!=null?t:new Zt(this.settings),this._popupNavigator=s!=null?s:new Xt(this.settings),this._iframeNavigator=r!=null?r:new Gt(this.settings),this._events=new es(this.settings),this._silentRenewService=new ts(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new Kt(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),await this._events.load(t,!1),t):(e.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),await this._events.unload()}async signinRedirect(e={}){this._logger.create("signinRedirect");const{redirectMethod:t,...s}=e,r=await this._redirectNavigator.prepare({redirectMethod:t});await this._signinStart({request_type:"si:r",...s},r)}async signinRedirectCallback(e=window.location.href){const t=this._logger.create("signinRedirectCallback"),s=await this._signinEnd(e);return s.profile&&s.profile.sub?t.info("success, signed in subject",s.profile.sub):t.info("no subject"),s}async signinResourceOwnerCredentials({username:e,password:t,skipUserInfo:s=!1}){const r=this._logger.create("signinResourceOwnerCredential"),i=await this._client.processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:s,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const n=await this._buildUser(i);return n.profile&&n.profile.sub?r.info("success, signed in subject",n.profile.sub):r.info("no subject"),n}async signinPopup(e={}){const t=this._logger.create("signinPopup"),{popupWindowFeatures:s,popupWindowTarget:r,...i}=e,n=this.settings.popup_redirect_uri;n||t.throw(new Error("No popup_redirect_uri configured"));const o=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:r}),a=await this._signin({request_type:"si:p",redirect_uri:n,display:"popup",...i},o);return a&&(a.profile&&a.profile.sub?t.info("success, signed in subject",a.profile.sub):t.info("no subject")),a}async signinPopupCallback(e=window.location.href,t=!1){const s=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),s.info("success")}async signinSilent(e={}){var t;const s=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,...i}=e;let n=await this._loadUser();if(n!=null&&n.refresh_token){s.debug("using refresh token");const l=new ss(n);return await this._useRefreshToken({state:l,redirect_uri:i.redirect_uri,resource:i.resource,extraTokenParams:i.extraTokenParams,timeoutInSeconds:r})}const o=this.settings.silent_redirect_uri;o||s.throw(new Error("No silent_redirect_uri configured"));let a;n&&this.settings.validateSubOnSilentRenew&&(s.debug("subject prior to silent renew:",n.profile.sub),a=n.profile.sub);const c=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return n=await this._signin({request_type:"si:s",redirect_uri:o,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?n==null?void 0:n.id_token:void 0,...i},c,a),n&&((t=n.profile)!=null&&t.sub?s.info("success, signed in subject",n.profile.sub):s.info("no subject")),n}async _useRefreshToken(e){const t=await this._client.useRefreshToken({...e,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),s=new oe({...e.state,...t});return await this.storeUser(s),await this._events.load(s),s}async signinSilentCallback(e=window.location.href){const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(e=window.location.href){const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":return await this.signinPopupCallback(e);case"si:s":return await this.signinSilentCallback(e);default:throw new Error("invalid response_type in state")}}async signoutCallback(e=window.location.href,t=!1){const{state:s}=await this._client.readSignoutResponseState(e);if(!!s)switch(s.request_type){case"so:r":await this.signoutRedirectCallback(e);break;case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(e={}){const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:s,...r}=e,i=this.settings.silent_redirect_uri;i||t.throw(new Error("No silent_redirect_uri configured"));const n=await this._loadUser(),o=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:s}),a=await this._signinStart({request_type:"si:s",redirect_uri:i,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?n==null?void 0:n.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},o);try{const c=await this._client.processSigninResponse(a.url);return t.debug("got signin response"),c.session_state&&c.profile.sub?(t.info("success for subject",c.profile.sub),{session_state:c.session_state,sub:c.profile.sub}):(t.info("success, user not authenticated"),null)}catch(c){if(this.settings.monitorAnonymousSession&&c instanceof L)switch(c.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:c.session_state}}throw c}}async _signin(e,t,s){const r=await this._signinStart(e,t);return await this._signinEnd(r.url,s)}async _signinStart(e,t){const s=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(e);return s.debug("got signin request"),await t.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw s.debug("error after preparing navigator, closing navigator window"),t.close(),r}}async _signinEnd(e,t){const s=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(e);return s.debug("got signin response"),await this._buildUser(r,t)}async _buildUser(e,t){const s=this._logger.create("_buildUser"),r=new oe(e);if(t){if(t!==r.profile.sub)throw s.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new L({...e,error:"login_required"});s.debug("current user matches user returned from signin")}return await this.storeUser(r),s.debug("user stored"),await this._events.load(r),r}async signoutRedirect(e={}){const t=this._logger.create("signoutRedirect"),{redirectMethod:s,...r}=e,i=await this._redirectNavigator.prepare({redirectMethod:s});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},i),t.info("success")}async signoutRedirectCallback(e=window.location.href){const t=this._logger.create("signoutRedirectCallback"),s=await this._signoutEnd(e);return t.info("success"),s}async signoutPopup(e={}){const t=this._logger.create("signoutPopup"),{popupWindowFeatures:s,popupWindowTarget:r,...i}=e,n=this.settings.popup_post_logout_redirect_uri,o=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:n,state:n==null?void 0:{},...i},o),t.info("success")}async signoutPopupCallback(e=window.location.href,t=!1){const s=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),s.info("success")}async _signout(e,t){const s=await this._signoutStart(e,t);return await this._signoutEnd(s.url)}async _signoutStart(e={},t){var s;const r=this._logger.create("_signoutStart");try{const i=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(i);const n=e.id_token_hint||i&&i.id_token;n&&(r.debug("setting id_token_hint in signout request"),e.id_token_hint=n),await this.removeUser(),r.debug("user removed, creating signout request");const o=await this._client.createSignoutRequest(e);return r.debug("got signout request"),await t.navigate({url:o.url,state:(s=o.state)==null?void 0:s.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),t.close(),i}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),s=await this._client.processSignoutResponse(e);return t.debug("got signout response"),s}async signoutSilent(e={}){var t;const s=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...i}=e,n=this.settings.includeIdTokenInSilentSignout?(t=await this._loadUser())==null?void 0:t.id_token:void 0,o=this.settings.popup_post_logout_redirect_uri,a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:o,id_token_hint:n,...i},a),s.info("success")}async signoutSilentCallback(e=window.location.href){const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e,t=this.settings.revokeTokenTypes){const s=this._logger.create("_revokeInternal");if(!e)return;const r=t.filter(i=>typeof e[i]=="string");if(!r.length){s.debug("no need to revoke due to no token(s)");return}for(const i of r)await this._client.revokeToken(e[i],i),s.info(`${i} revoked successfully`),i!=="access_token"&&(e[i]=null);await this.storeUser(e),s.debug("user stored"),await this._events.load(e)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),oe.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const s=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,s)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}};class ps{async authenticate(t){try{const s=await fetch("/_auth/authenticate",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email:t})});if(!s.ok)throw new Error(await s.text());return null}catch(s){return s instanceof Error?s.message:"Error authenticating user"}}async verify(t,s){const r=await fetch("/_auth/verify",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email:t,token:s})});if(!r.ok){if(r.status==410)throw new Error("expired");return null}const i=await r.json(),n=$();return n.saveJWT(i.jwt),n.user}}const B=class{constructor(){D(this,"oidcUserManager");D(this,"userStore");if(!B.isConfigured())throw new Error("OIDCUserProvider is not configured");const t={authority:B.authority,client_id:B.clientID,redirect_uri:window.location.origin+"/oidc-login-callback"};this.oidcUserManager=new rs(t),this.userStore=$(),bt(()=>this.logout())}static init(t,s){this.clientID=t,this.authority=s}static isConfigured(){return!!this.clientID&&!!this.authority}async login(){const t=await this.oidcUserManager.signinPopup({scope:"openid profile email"}),s=await fetch("/_auth/oidc-verify",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({access_token:t.access_token})});if(!s.ok)return null;const r=await s.json();return this.userStore.saveJWT(r.jwt),this.userStore.user}async loginCallback(){await this.oidcUserManager.signinPopupCallback()}async logout(){await this.oidcUserManager.signoutPopup({post_logout_redirect_uri:window.location.origin+"/oidc-logout-callback"})}async logoutCallback(){await this.oidcUserManager.signoutPopupCallback()}};let z=B;D(z,"clientID",null),D(z,"authority",null);async function fs(){const e=await fetch("/_settings");if(!e.ok)throw new Error(await e.text());const t=await e.json();Q.init(t)}const ee=class{constructor(t){this.config=t}static init(t){z.init(t.oidc_client_id,t.oidc_authority),ee.instance=new ee(t)}get showWatermark(){return this.config.show_watermark}get isStagingRelease(){return{}.VITE_ABSTRA_RELEASE==="staging"}get isLocal(){return location.origin.match(/http:\/\/localhost:\d+/)}};let Q=ee;D(Q,"instance",null);const is=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>j(()=>import("./OidcLoginCallback.fac08095.js"),["assets/OidcLoginCallback.fac08095.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>j(()=>import("./OidcLogoutCallback.e64afaf5.js"),["assets/OidcLogoutCallback.e64afaf5.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>j(()=>import("./Login.90e3db39.js"),["assets/Login.90e3db39.js","assets/Login.vue_vue_type_script_setup_true_lang.66951764.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/string.44188c83.js","assets/CircularLoading.1c6a1f61.js","assets/CircularLoading.1a558a0d.css","assets/index.dec2a631.js","assets/index.f014adef.js","assets/Login.c8ca392c.css","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/Login.401c8269.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>j(()=>import("./Main.64f62495.js"),["assets/Main.64f62495.js","assets/PlayerNavbar.c92a19bc.js","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/LoadingOutlined.64419cb9.js","assets/PhSignOut.vue.b806976f.js","assets/index.8f5819bb.js","assets/Avatar.dcb46dd7.js","assets/PlayerNavbar.8a0727fc.css","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/Main.f8caebc6.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>j(()=>import("./Home.a815dee6.js"),["assets/Home.a815dee6.js","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/Watermark.0dce85a3.js","assets/Watermark.4e66f4f8.css","assets/PhArrowSquareOut.vue.03bd374b.js","assets/index.656584ac.js","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/LoadingOutlined.64419cb9.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"threads",name:"playerThreads",component:()=>j(()=>import("./Threads.0d4b17df.js"),["assets/Threads.0d4b17df.js","assets/api.9a4e5329.js","assets/fetch.3971ea84.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/WorkflowView.d3a65122.js","assets/polling.3587342a.js","assets/asyncComputed.c677c545.js","assets/PhQuestion.vue.020af0e7.js","assets/ant-design.51753590.js","assets/index.241ee38a.js","assets/index.46373660.js","assets/index.f435188c.js","assets/CollapsePanel.56bdec23.js","assets/index.2fc2bb22.js","assets/index.fa9b4e97.js","assets/Badge.71fee936.js","assets/PhArrowCounterClockwise.vue.4a7ab991.js","assets/Workflow.f95d40ff.js","assets/validations.64a1fba7.js","assets/string.44188c83.js","assets/uuid.0acc5368.js","assets/index.dec2a631.js","assets/workspaces.91ed8c72.js","assets/record.075b7d45.js","assets/colorHelpers.aaea81c6.js","assets/index.1fcaf67f.js","assets/PhArrowDown.vue.ba4eea7b.js","assets/Workflow.6ef00fbb.css","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/LoadingOutlined.64419cb9.js","assets/DeleteOutlined.d8e8cfb3.js","assets/PhDownloadSimple.vue.b11b5d9f.js","assets/utils.3ec7e4d1.js","assets/LoadingContainer.4ab818eb.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css","assets/url.b6644346.js","assets/Threads.20c34c0b.css"]),meta:{title:"Threads"}},{path:"error/:status",name:"error",component:()=>j(()=>import("./Error.00fd5d28.js"),["assets/Error.00fd5d28.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.6453729f.js","assets/Logo.389f375b.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/Logo.03290bf7.css","assets/Card.639eca4a.js","assets/TabPane.1080fde7.js","assets/url.b6644346.js","assets/colorHelpers.aaea81c6.js","assets/Error.ecf978ca.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>j(()=>import("./Form.f5986747.js"),["assets/Form.f5986747.js","assets/api.9a4e5329.js","assets/fetch.3971ea84.js","assets/vue-router.33f35a18.js","assets/vue-router.d7fcf385.css","assets/metadata.bccf44f5.js","assets/PhBug.vue.ea49dd1b.js","assets/PhCheckCircle.vue.9e5251d2.js","assets/PhKanban.vue.2acea65f.js","assets/PhWebhooksLogo.vue.4375a0bc.js","assets/FormRunner.1bcfb465.js","assets/url.b6644346.js","assets/Login.vue_vue_type_script_setup_true_lang.66951764.js","assets/Logo.389f375b.js","assets/Logo.03290bf7.css","assets/string.44188c83.js","assets/CircularLoading.1c6a1f61.js","assets/CircularLoading.1a558a0d.css","assets/index.dec2a631.js","assets/index.f014adef.js","assets/Login.c8ca392c.css","assets/Steps.677c01d2.js","assets/index.b3a210ed.js","assets/Steps.4d03c6c1.css","assets/Watermark.0dce85a3.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/asyncComputed.c677c545.js","assets/uuid.0acc5368.js","assets/colorHelpers.aaea81c6.js","assets/Form.e811024d.css"]),meta:{hideLogin:!0}}]}],Ee=ht({history:dt("/"),routes:is,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),ns=e=>async(t,s)=>{if(gt(t,s),t.meta.allowUnauthenticated)return;const n=await $().allow(t.path),{redirect:o,...a}=t.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...a,redirect:o||t.path},params:t.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};Ee.beforeEach(ns(Ee));function Te(e,t,s){return _t(t)?t:s==="player"?`/_assets/${e}`:`/_editor/api/assets/${t}`}const Be="#414a58",Ge="#FFFFFF",os="#000000",Qe="DM Sans",as="Untitled Project",Ye={value:"en",label:"English"};function cs(e){var t,s,r,i,n,o,a,c,l,u,h,p,f,v,y,b;return{id:e.id,path:e.path,theme:(t=e.workspace.theme)!=null?t:Ge,brandName:(s=e.workspace.brand_name)!=null?s:null,title:e.title,isInitial:e.is_initial,isLocal:(r=e.is_local)!=null?r:!1,startMessage:(i=e.start_message)!=null?i:null,endMessage:(n=e.end_message)!=null?n:null,errorMessage:(o=e.error_message)!=null?o:null,timeoutMessage:(a=e.timeout_message)!=null?a:null,startButtonText:(c=e.start_button_text)!=null?c:null,restartButtonText:(l=e.restart_button_text)!=null?l:null,logoUrl:e.workspace.logo_url,mainColor:(u=e.workspace.main_color)!=null?u:Be,fontFamily:(h=e.workspace.font_family)!=null?h:Qe,autoStart:(p=e.auto_start)!=null?p:!1,allowRestart:e.allow_restart,welcomeTitle:(f=e.welcome_title)!=null?f:null,runtimeType:"form",language:(v=e.workspace.language)!=null?v:Ye.value,sidebar:(b=(y=e.workspace)==null?void 0:y.sidebar)!=null?b:[]}}function Re(e){var s;const t=(s=e.theme)!=null?s:Ge;return{name:e.name||as,fontColor:e.font_color||os,sidebar:e.sidebar||[],brandName:e.brand_name||"",fontFamily:e.font_family||Qe,logoUrl:e.logo_url?Te("logo",e.logo_url,"player"):null,mainColor:e.main_color||Be,theme:pt(t)?t:Te("background",t,"player"),language:e.language||Ye.value}}async function ws(e){const t=$(),s=await fetch(`/_pages/${e}`,{headers:t.authHeaders});if(s.status===404)return null;if(!s.ok)throw new Error(await s.text());const{form:r}=await s.json();return r?cs(r):null}async function ls(){const e=$(),t=await fetch("/_workspace",{headers:e.authHeaders});if(t.status!=200)return Re({});const s=await t.json();return Re(s)}const ms=Ne("workspace",()=>{const e=te({workspace:null,loading:!1});return{state:e,actions:{async fetch(){e.value.loading=!0,e.value.workspace=await ls(),e.value.loading=!1}}}});export{ps as A,Be as D,z as O,Q as S,Ee as a,$ as b,_s as c,Ne as d,Qe as e,Ye as f,ns as g,Ge as h,bt as i,ws as j,Te as m,is as r,fs as s,ms as u}; -//# sourceMappingURL=workspaceStore.be837912.js.map + */let Pe;const se=e=>Pe=e,Oe=Symbol();function ce(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var V;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(V||(V={}));function _s(){const e=Ie(!0),t=e.run(()=>te({}));let s=[],r=[];const i=xe({install(n){se(i),i._a=n,n.provide(Oe,i),n.config.globalProperties.$pinia=i,r.forEach(o=>s.push(o)),r=[]},use(n){return!this._a&&!ft?r.push(n):s.push(n),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return i}const Ae=()=>{};function me(e,t,s,r=Ae){e.push(t);const i=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};return!s&&it()&&nt(i),i}function W(e,...t){e.slice().forEach(s=>{s(...t)})}const wt=e=>e();function le(e,t){e instanceof Map&&t instanceof Map&&t.forEach((s,r)=>e.set(r,s)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const r=t[s],i=e[s];ce(i)&&ce(r)&&e.hasOwnProperty(s)&&!Y(r)&&!Ue(r)?e[s]=le(i,r):e[s]=r}return e}const mt=Symbol();function St(e){return!ce(e)||!e.hasOwnProperty(mt)}const{assign:N}=Object;function vt(e){return!!(Y(e)&&e.effect)}function yt(e,t,s,r){const{state:i,actions:n,getters:o}=t,a=s.state.value[e];let c;function l(){a||(s.state.value[e]=i?i():{});const u=at(s.state.value[e]);return N(u,n,Object.keys(o||{}).reduce((h,p)=>(h[p]=xe(ae(()=>{se(s);const f=s._s.get(e);return o[p].call(f,f)})),h),{}))}return c=je(e,l,t,s,r,!0),c}function je(e,t,s={},r,i,n){let o;const a=N({actions:{}},s),c={deep:!0};let l,u,h=[],p=[],f;const v=r.state.value[e];!n&&!v&&(r.state.value[e]={}),te({});let y;function b(g){let _;l=u=!1,typeof g=="function"?(g(r.state.value[e]),_={type:V.patchFunction,storeId:e,events:f}):(le(r.state.value[e],g),_={type:V.patchObject,payload:g,storeId:e,events:f});const E=y=Symbol();ot().then(()=>{y===E&&(l=!0)}),u=!0,W(h,_,r.state.value[e])}const U=n?function(){const{state:_}=s,E=_?_():{};this.$patch(O=>{N(O,E)})}:Ae;function P(){o.stop(),h=[],p=[],r._s.delete(e)}function k(g,_){return function(){se(r);const E=Array.from(arguments),O=[],M=[];function re(T){O.push(T)}function ie(T){M.push(T)}W(p,{args:E,name:g,store:w,after:re,onError:ie});let H;try{H=_.apply(this&&this.$id===e?this:w,E)}catch(T){throw W(M,T),T}return H instanceof Promise?H.then(T=>(W(O,T),T)).catch(T=>(W(M,T),Promise.reject(T))):(W(O,H),H)}}const m={_p:r,$id:e,$onAction:me.bind(null,p),$patch:b,$reset:U,$subscribe(g,_={}){const E=me(h,g,_.detached,()=>O()),O=o.run(()=>Ce(()=>r.state.value[e],M=>{(_.flush==="sync"?u:l)&&g({storeId:e,type:V.direct,events:f},M)},N({},c,_)));return E},$dispose:P},w=st(m);r._s.set(e,w);const S=(r._a&&r._a.runWithContext||wt)(()=>r._e.run(()=>(o=Ie()).run(t)));for(const g in S){const _=S[g];if(Y(_)&&!vt(_)||Ue(_))n||(v&&St(_)&&(Y(_)?_.value=v[g]:le(_,v[g])),r.state.value[e][g]=_);else if(typeof _=="function"){const E=k(g,_);S[g]=E,a.actions[g]=_}}return N(w,S),N(rt(w),S),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:g=>{b(_=>{N(_,g)})}}),r._p.forEach(g=>{N(w,o.run(()=>g({store:w,app:r._a,pinia:r,options:a})))}),v&&n&&s.hydrate&&s.hydrate(w.$state,v),l=!0,u=!0,w}function Ne(e,t,s){let r,i;const n=typeof t=="function";typeof e=="string"?(r=e,i=n?s:t):(i=e,r=e.id);function o(a,c){const l=et();return a=a||(l?tt(Oe,null):null),a&&se(a),a=Pe,a._s.has(r)||(n?je(r,t,i,a):yt(r,i,a)),a._s.get(r)}return o.$id=r,o}const $=Ne("user",()=>{const e=new ct(lt.string(),"auth:jwt"),t=te(null),s=ae(()=>t.value?{Authorization:`Bearer ${t.value.rawJwt}`}:{}),r=ae(()=>t.value?["default",`base64url.bearer.authorization.${t.value.rawJwt}`]:[]),i=u=>{e.set(u),n()},n=()=>{const u=e.get();if(!!u)try{const h=ut(u);h.exp&&h.exp>Date.now()/1e3&&(t.value={rawJwt:u,claims:h})}catch{console.warn("Invalid JWT")}},o=()=>{t.value=null,e.remove()},a=async()=>(await fetch("/_user/my-roles",{headers:s.value})).json(),c=async()=>(await fetch("/_user/sign-up",{method:"POST",headers:s.value})).status===200,l=async u=>(await fetch(`/_access-control/allow${u}`,{headers:s.value})).json();return n(),{loadSavedToken:n,saveJWT:i,user:t,logout:o,getRoles:a,authHeaders:s,wsAuthHeaders:r,signUp:c,allow:l}}),bt=e=>{const t=$();Ce(()=>t.user,(s,r)=>{!s&&r&&e()})};class J extends Error{}J.prototype.name="InvalidTokenError";function kt(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,s)=>{let r=s.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Et(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return kt(t)}catch{return atob(t)}}function Tt(e,t){if(typeof e!="string")throw new J("Invalid token specified: must be a string");t||(t={});const s=t.header===!0?0:1,r=e.split(".")[s];if(typeof r!="string")throw new J(`Invalid token specified: missing part #${s+1}`);let i;try{i=Et(r)}catch(n){throw new J(`Invalid token specified: invalid base64 for part #${s+1} (${n.message})`)}try{return JSON.parse(i)}catch(n){throw new J(`Invalid token specified: invalid json for part #${s+1} (${n.message})`)}}var Rt={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},x,C,X=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(X||{});(e=>{function t(){x=3,C=Rt}e.reset=t;function s(i){if(!(0<=i&&i<=4))throw new Error("Invalid log level");x=i}e.setLevel=s;function r(i){C=i}e.setLogger=r})(X||(X={}));var d=class I{constructor(t){this._name=t}debug(...t){x>=4&&C.debug(I._format(this._name,this._method),...t)}info(...t){x>=3&&C.info(I._format(this._name,this._method),...t)}warn(...t){x>=2&&C.warn(I._format(this._name,this._method),...t)}error(...t){x>=1&&C.error(I._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const s=Object.create(this);return s._method=t,s.debug("begin"),s}static createStatic(t,s){const r=new I(`${t}.${s}`);return r.debug("begin"),r}static _format(t,s){const r=`[${t}]`;return s?`${r} ${s}:`:r}static debug(t,...s){x>=4&&C.debug(I._format(t),...s)}static info(t,...s){x>=3&&C.info(I._format(t),...s)}static warn(t,...s){x>=2&&C.warn(I._format(t),...s)}static error(t,...s){x>=1&&C.error(I._format(t),...s)}};X.reset();var It="10000000-1000-4000-8000-100000000000",Se=e=>btoa([...new Uint8Array(e)].map(t=>String.fromCharCode(t)).join("")),F=class K{static _randomWord(){const t=new Uint32Array(1);return crypto.getRandomValues(t),t[0]}static generateUUIDv4(){return It.replace(/[018]/g,s=>(+s^K._randomWord()&15>>+s/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return K.generateUUIDv4()+K.generateUUIDv4()+K.generateUUIDv4()}static async generateCodeChallenge(t){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const r=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",r);return Se(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(s){throw d.error("CryptoUtils.generateCodeChallenge",s),s}}static generateBasicAuth(t,s){const i=new TextEncoder().encode([t,s].join(":"));return Se(i)}},q=class{constructor(e){this._name=e,this._logger=new d(`Event('${this._name}')`),this._callbacks=[]}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}async raise(...e){this._logger.debug("raise:",...e);for(const t of this._callbacks)await t(...e)}},ue=class{static decode(e){try{return Tt(e)}catch(t){throw d.error("JwtUtils.decode",t),t}}},ve=class{static center({...e}){var t,s,r;return e.width==null&&(e.width=(t=[800,720,600,480].find(i=>i<=window.outerWidth/1.618))!=null?t:360),(s=e.left)!=null||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),e.height!=null&&((r=e.top)!=null||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,t])=>t!=null).map(([t,s])=>`${t}=${typeof s!="boolean"?s:s?"yes":"no"}`).join(",")}},A=class G extends q{constructor(){super(...arguments),this._logger=new d(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-G.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=G.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const s=this._logger.create("init");t=Math.max(Math.floor(t),1);const r=G.getEpochTime()+t;if(this.expiration===r&&this._timerHandle){s.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),s.debug("using duration",t),this._expiration=r;const i=Math.min(t,5);this._timerHandle=setInterval(this._callback,i*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},he=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const r=new URL(e,"http://127.0.0.1")[t==="fragment"?"hash":"search"];return new URLSearchParams(r.slice(1))}},de=";",L=class extends Error{constructor(e,t){var s,r,i;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw d.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=(s=e.error_description)!=null?s:null,this.error_uri=(r=e.error_uri)!=null?r:null,this.state=e.userState,this.session_state=(i=e.session_state)!=null?i:null,this.url_state=e.url_state}},fe=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},xt=class{constructor(e){this._logger=new d("AccessTokenEvents"),this._expiringTimer=new A("Access token expiring"),this._expiredTimer=new A("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}load(e){const t=this._logger.create("load");if(e.access_token&&e.expires_in!==void 0){const s=e.expires_in;if(t.debug("access token present, remaining duration:",s),s>0){let i=s-this._expiringNotificationTimeInSeconds;i<=0&&(i=1),t.debug("registering expiring timer, raising in",i,"seconds"),this._expiringTimer.init(i)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=s+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},Ct=class{constructor(e,t,s,r,i){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new d("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=o=>{o.origin===this._frame_origin&&o.source===this._frame.contentWindow&&(o.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):o.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(o.data+" message from check session op iframe"))};const n=new URL(s);this._frame_origin=n.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=n.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},qe=class{constructor(){this._logger=new d("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},we=class{constructor(e=[],t=null,s={}){this._jwtHandler=t,this._extraHeaders=s,this._logger=new d("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:s,...r}=t;if(!s)return await fetch(e,r);const i=new AbortController,n=setTimeout(()=>i.abort(),s*1e3);try{return await fetch(e,{...t,signal:i.signal})}catch(o){throw o instanceof DOMException&&o.name==="AbortError"?new fe("Network timed out"):o}finally{clearTimeout(n)}}async getJson(e,{token:t,credentials:s}={}){const r=this._logger.create("getJson"),i={Accept:this._contentTypes.join(", ")};t&&(r.debug("token passed, setting Authorization header"),i.Authorization="Bearer "+t),this.appendExtraHeaders(i);let n;try{r.debug("url:",e),n=await this.fetchWithTimeout(e,{method:"GET",headers:i,credentials:s})}catch(c){throw r.error("Network Error"),c}r.debug("HTTP response received, status",n.status);const o=n.headers.get("Content-Type");if(o&&!this._contentTypes.find(c=>o.startsWith(c))&&r.throw(new Error(`Invalid response Content-Type: ${o!=null?o:"undefined"}, from URL: ${e}`)),n.ok&&this._jwtHandler&&(o==null?void 0:o.startsWith("application/jwt")))return await this._jwtHandler(await n.text());let a;try{a=await n.json()}catch(c){throw r.error("Error parsing JSON response",c),n.ok?c:new Error(`${n.statusText} (${n.status})`)}if(!n.ok)throw r.error("Error from server:",a),a.error?new L(a):new Error(`${n.statusText} (${n.status}): ${JSON.stringify(a)}`);return a}async postForm(e,{body:t,basicAuth:s,timeoutInSeconds:r,initCredentials:i}){const n=this._logger.create("postForm"),o={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};s!==void 0&&(o.Authorization="Basic "+s),this.appendExtraHeaders(o);let a;try{n.debug("url:",e),a=await this.fetchWithTimeout(e,{method:"POST",headers:o,body:t,timeoutInSeconds:r,credentials:i})}catch(h){throw n.error("Network error"),h}n.debug("HTTP response received, status",a.status);const c=a.headers.get("Content-Type");if(c&&!this._contentTypes.find(h=>c.startsWith(h)))throw new Error(`Invalid response Content-Type: ${c!=null?c:"undefined"}, from URL: ${e}`);const l=await a.text();let u={};if(l)try{u=JSON.parse(l)}catch(h){throw n.error("Error parsing JSON response",h),a.ok?h:new Error(`${a.statusText} (${a.status})`)}if(!a.ok)throw n.error("Error from server:",u),u.error?new L(u,t):new Error(`${a.statusText} (${a.status}): ${JSON.stringify(u)}`);return u}appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),s=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];s.length!==0&&s.forEach(i=>{if(r.includes(i.toLocaleLowerCase())){t.warn("Protected header could not be overridden",i,r);return}const n=typeof this._extraHeaders[i]=="function"?this._extraHeaders[i]():this._extraHeaders[i];n&&n!==""&&(e[i]=n)})}},Ut=class{constructor(e){this._settings=e,this._logger=new d("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new we(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,t),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const s=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(s.debug("resolved"),r[e]===void 0){if(t===!0){s.warn("Metadata does not contain optional property");return}s.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const s=await this._jsonService.getJson(t);if(e.debug("got key set",s),!Array.isArray(s.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=s.keys,this._signingKeys}},Me=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new d("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){return this._logger.create(`get('${e}')`),e=this._prefix+e,await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let s=0;s{const r=this._logger.create("_getClaimsFromJwt");try{const i=ue.decode(s);return r.debug("JWT decoding successful"),i}catch(i){throw r.error("Error parsing JWT response"),i}},this._jsonService=new we(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const s=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",s);const r=await this._jsonService.getJson(s,{token:e,credentials:this._settings.fetchRequestCredentials});return t.debug("got claims",r),r}},He=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new d("TokenClient"),this._jsonService=new we(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:s=this._settings.client_id,client_secret:r=this._settings.client_secret,...i}){const n=this._logger.create("exchangeCode");s||n.throw(new Error("A client_id is required")),t||n.throw(new Error("A redirect_uri is required")),i.code||n.throw(new Error("A code is required"));const o=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[u,h]of Object.entries(i))h!=null&&o.set(u,h);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw n.throw(new Error("A client_secret is required")),null;a=F.generateBasicAuth(s,r);break;case"client_secret_post":o.append("client_id",s),r&&o.append("client_secret",r);break}const c=await this._metadataService.getTokenEndpoint(!1);n.debug("got token endpoint");const l=await this._jsonService.postForm(c,{body:o,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return n.debug("got response"),l}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:s=this._settings.client_secret,scope:r=this._settings.scope,...i}){const n=this._logger.create("exchangeCredentials");t||n.throw(new Error("A client_id is required"));const o=new URLSearchParams({grant_type:e,scope:r});for(const[u,h]of Object.entries(i))h!=null&&o.set(u,h);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!s)throw n.throw(new Error("A client_secret is required")),null;a=F.generateBasicAuth(t,s);break;case"client_secret_post":o.append("client_id",t),s&&o.append("client_secret",s);break}const c=await this._metadataService.getTokenEndpoint(!1);n.debug("got token endpoint");const l=await this._jsonService.postForm(c,{body:o,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return n.debug("got response"),l}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:s=this._settings.client_secret,timeoutInSeconds:r,...i}){const n=this._logger.create("exchangeRefreshToken");t||n.throw(new Error("A client_id is required")),i.refresh_token||n.throw(new Error("A refresh_token is required"));const o=new URLSearchParams({grant_type:e});for(const[u,h]of Object.entries(i))Array.isArray(h)?h.forEach(p=>o.append(u,p)):h!=null&&o.set(u,h);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!s)throw n.throw(new Error("A client_secret is required")),null;a=F.generateBasicAuth(t,s);break;case"client_secret_post":o.append("client_id",t),s&&o.append("client_secret",s);break}const c=await this._metadataService.getTokenEndpoint(!1);n.debug("got token endpoint");const l=await this._jsonService.postForm(c,{body:o,basicAuth:a,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return n.debug("got response"),l}async revoke(e){var t;const s=this._logger.create("revoke");e.token||s.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);s.debug(`got revocation endpoint, revoking ${(t=e.token_type_hint)!=null?t:"default token type"}`);const i=new URLSearchParams;for(const[n,o]of Object.entries(e))o!=null&&i.set(n,o);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i}),s.debug("got response")}},qt=class{constructor(e,t,s){this._settings=e,this._metadataService=t,this._claimsService=s,this._logger=new d("ResponseValidator"),this._userInfoService=new Nt(this._settings,this._metadataService),this._tokenClient=new He(this._settings,this._metadataService)}async validateSigninResponse(e,t){const s=this._logger.create("validateSigninResponse");this._processSigninState(e,t),s.debug("state processed"),await this._processCode(e,t),s.debug("code processed"),e.isOpenId&&this._validateIdTokenAttributes(e),s.debug("tokens validated"),await this._processClaims(e,t==null?void 0:t.skipUserInfo,e.isOpenId),s.debug("claims processed")}async validateCredentialsResponse(e,t){const s=this._logger.create("validateCredentialsResponse");e.isOpenId&&!!e.id_token&&this._validateIdTokenAttributes(e),s.debug("tokens validated"),await this._processClaims(e,t,e.isOpenId),s.debug("claims processed")}async validateRefreshResponse(e,t){var s,r;const i=this._logger.create("validateRefreshResponse");e.userState=t.data,(s=e.session_state)!=null||(e.session_state=t.session_state),(r=e.scope)!=null||(e.scope=t.scope),e.isOpenId&&!!e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),i.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const n=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,n),i.debug("claims processed")}validateSignoutResponse(e,t){const s=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&s.throw(new Error("State does not match")),s.debug("state validated"),e.userState=t.data,e.error)throw s.warn("Response was error",e.error),new L(e)}_processSigninState(e,t){var s;const r=this._logger.create("_processSigninState");if(t.id!==e.state&&r.throw(new Error("State does not match")),t.client_id||r.throw(new Error("No client_id on state")),t.authority||r.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,(s=e.scope)!=null||(e.scope=t.scope),e.error)throw r.warn("Response was error",e.error),new L(e);t.code_verifier&&!e.code&&r.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,s=!0){const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token){r.debug("not loading user info");return}r.debug("loading user info");const i=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),s&&i.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t){const s=this._logger.create("_processCode");if(e.code){s.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,...t.extraTokenParams});Object.assign(e,r)}else s.debug("No code to process")}_validateIdTokenAttributes(e,t){var s;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=ue.decode((s=e.id_token)!=null?s:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const n=ue.decode(t);i.sub!==n.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==n.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==n.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&n.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=i}},Z=class _e{constructor(t){this.id=t.id||F.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=A.getEpochTime(),this.request_type=t.request_type,this.url_state=t.url_state}toStorageString(){return new d("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return d.createStatic("State","fromStorageString"),Promise.resolve(new _e(JSON.parse(t)))}static async clearStaleState(t,s){const r=d.createStatic("State","clearStaleState"),i=A.getEpochTime()-s,n=await t.getAllKeys();r.debug("got keys",n);for(let o=0;om.searchParams.append("resource",S));for(const[R,S]of Object.entries({response_mode:c,...P,...y}))S!=null&&m.searchParams.append(R,S.toString());return new We({url:m.href,state:k})}};De._logger=new d("SigninRequest");var Mt=De,Ht="openid",ne=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const t=decodeURIComponent(this.state).split(de);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(de))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-A.getEpochTime()}set expires_in(e){typeof e=="string"&&(e=Number(e)),e!==void 0&&e>=0&&(this.expires_at=Math.floor(e)+A.getEpochTime())}get isOpenId(){var e;return((e=this.scope)==null?void 0:e.split(" ").includes(Ht))||!!this.id_token}},Lt=class{constructor({url:e,state_data:t,id_token_hint:s,post_logout_redirect_uri:r,extraQueryParams:i,request_type:n,client_id:o}){if(this._logger=new d("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const a=new URL(e);s&&a.searchParams.append("id_token_hint",s),o&&a.searchParams.append("client_id",o),r&&(a.searchParams.append("post_logout_redirect_uri",r),t&&(this.state=new Z({data:t,request_type:n}),a.searchParams.append("state",this.state.id)));for(const[c,l]of Object.entries({...i}))l!=null&&a.searchParams.append(c,l.toString());this.url=a.href}},Dt=class{constructor(e){this.state=e.get("state"),this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},Wt=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],Ft=["sub","iss","aud","exp","iat"],$t=class{constructor(e){this._settings=e,this._logger=new d("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let s;Array.isArray(this._settings.filterProtocolClaims)?s=this._settings.filterProtocolClaims:s=Wt;for(const r of s)Ft.includes(r)||delete t[r]}return t}mergeClaims(e,t){const s={...e};for(const[r,i]of Object.entries(t))if(s[r]!==i)if(Array.isArray(s[r])||Array.isArray(i))if(this._settings.mergeClaimsStrategy.array=="replace")s[r]=i;else{const n=Array.isArray(s[r])?s[r]:[s[r]];for(const o of Array.isArray(i)?i:[i])n.includes(o)||n.push(o);s[r]=n}else typeof s[r]=="object"&&typeof i=="object"?s[r]=this.mergeClaims(s[r],i):s[r]=i;return s}},Jt=class{constructor(e,t){this._logger=new d("OidcClient"),this.settings=e instanceof ge?e:new ge(e),this.metadataService=t!=null?t:new Ut(this.settings),this._claimsService=new $t(this.settings),this._validator=new qt(this.settings,this.metadataService,this._claimsService),this._tokenClient=new He(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:s,request_type:r,id_token_hint:i,login_hint:n,skipUserInfo:o,nonce:a,url_state:c,response_type:l=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:h=this.settings.redirect_uri,prompt:p=this.settings.prompt,display:f=this.settings.display,max_age:v=this.settings.max_age,ui_locales:y=this.settings.ui_locales,acr_values:b=this.settings.acr_values,resource:U=this.settings.resource,response_mode:P=this.settings.response_mode,extraQueryParams:k=this.settings.extraQueryParams,extraTokenParams:m=this.settings.extraTokenParams}){const w=this._logger.create("createSigninRequest");if(l!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const R=await this.metadataService.getAuthorizationEndpoint();w.debug("Received authorization endpoint",R);const S=await Mt.create({url:R,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:h,response_type:l,scope:u,state_data:e,url_state:c,prompt:p,display:f,max_age:v,ui_locales:y,id_token_hint:i,login_hint:n,acr_values:b,resource:U,request:t,request_uri:s,extraQueryParams:k,extraTokenParams:m,request_type:r,response_mode:P,client_secret:this.settings.client_secret,skipUserInfo:o,nonce:a,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const g=S.state;return await this.settings.stateStore.set(g.id,g.toStorageString()),S}async readSigninResponseState(e,t=!1){const s=this._logger.create("readSigninResponseState"),r=new ne(he.readParams(e,this.settings.response_mode));if(!r.state)throw s.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw s.throw(new Error("No matching state found in storage")),null;return{state:await Le.fromStorageString(i),response:r}}async processSigninResponse(e){const t=this._logger.create("processSigninResponse"),{state:s,response:r}=await this.readSigninResponseState(e,!0);return t.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,s),r}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:s=!1,extraTokenParams:r={}}){const i=await this._tokenClient.exchangeCredentials({username:e,password:t,...r}),n=new ne(new URLSearchParams);return Object.assign(n,i),await this._validator.validateCredentialsResponse(n,s),n}async useRefreshToken({state:e,redirect_uri:t,resource:s,timeoutInSeconds:r,extraTokenParams:i}){var n;const o=this._logger.create("useRefreshToken");let a;if(this.settings.refreshTokenAllowedScope===void 0)a=e.scope;else{const u=this.settings.refreshTokenAllowedScope.split(" ");a=(((n=e.scope)==null?void 0:n.split(" "))||[]).filter(p=>u.includes(p)).join(" ")}const c=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:a,redirect_uri:t,resource:s,timeoutInSeconds:r,...i}),l=new ne(new URLSearchParams);return Object.assign(l,c),o.debug("validating response",l),await this._validator.validateRefreshResponse(l,{...e,scope:a}),l}async createSignoutRequest({state:e,id_token_hint:t,client_id:s,request_type:r,post_logout_redirect_uri:i=this.settings.post_logout_redirect_uri,extraQueryParams:n=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),a=await this.metadataService.getEndSessionEndpoint();if(!a)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",a),!s&&i&&!t&&(s=this.settings.client_id);const c=new Lt({url:a,id_token_hint:t,client_id:s,post_logout_redirect_uri:i,state_data:e,extraQueryParams:n,request_type:r});await this.clearStaleState();const l=c.state;return l&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(l.id,l.toStorageString())),c}async readSignoutResponseState(e,t=!1){const s=this._logger.create("readSignoutResponseState"),r=new Dt(he.readParams(e,this.settings.response_mode));if(!r.state){if(s.debug("No state in response"),r.error)throw s.warn("Response was error:",r.error),new L(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw s.throw(new Error("No matching state found in storage")),null;return{state:await Z.fromStorageString(i),response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:s,response:r}=await this.readSignoutResponseState(e,!0);return s?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,s)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),Z.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},Kt=class{constructor(e){this._userManager=e,this._logger=new d("SessionMonitor"),this._start=async t=>{const s=t.session_state;if(!s)return;const r=this._logger.create("_start");if(t.profile?(this._sub=t.profile.sub,r.debug("session_state",s,", sub",this._sub)):(this._sub=void 0,r.debug("session_state",s,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(s);return}try{const i=await this._userManager.metadataService.getCheckSessionIframe();if(i){r.debug("initializing check session iframe");const n=this._userManager.settings.client_id,o=this._userManager.settings.checkSessionIntervalInSeconds,a=this._userManager.settings.stopCheckSessionOnError,c=new Ct(this._callback,n,i,o,a);await c.load(),this._checkSessionIFrame=c,c.start(s)}else r.warn("no check session iframe found in the metadata")}catch(i){r.error("Error from getCheckSessionIframe:",i instanceof Error?i.message:i)}},this._stop=()=>{const t=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const s=setInterval(async()=>{clearInterval(s);try{const r=await this._userManager.querySessionStatus();if(r){const i={session_state:r.session_state,profile:r.sub?{sub:r.sub}:null};this._start(i)}}catch(r){t.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const t=this._logger.create("_callback");try{const s=await this._userManager.querySessionStatus();let r=!0;s&&this._checkSessionIFrame?s.sub===this._sub?(r=!1,this._checkSessionIFrame.start(s.session_state),t.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",s.session_state),await this._userManager.events._raiseUserSessionChanged()):t.debug("different subject signed into OP",s.sub):t.debug("subject no longer signed into OP"),r?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():t.debug("no change in session detected, no event to raise")}catch(s){this._sub&&(t.debug("Error calling queryCurrentSigninSession; raising signed out event",s),await this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(t=>{this._logger.error(t)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const t=await this._userManager.querySessionStatus();if(t){const s={session_state:t.session_state,profile:t.sub?{sub:t.sub}:null};this._start(s)}}}},oe=class Fe{constructor(t){var s;this.id_token=t.id_token,this.session_state=(s=t.session_state)!=null?s:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState,this.url_state=t.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-A.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+A.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,s;return(s=(t=this.scope)==null?void 0:t.split(" "))!=null?s:[]}toStorageString(){return new d("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return d.createStatic("User","fromStorageString"),new Fe(JSON.parse(t))}},ye="oidc-client",$e=class{constructor(){this._abort=new q("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:s,keepOpen:r}=await new Promise((i,n)=>{const o=a=>{var c;const l=a.data,u=(c=e.scriptOrigin)!=null?c:window.location.origin;if(!(a.origin!==u||(l==null?void 0:l.source)!==ye)){try{const h=he.readParams(l.url,e.response_mode).get("state");if(h||t.warn("no state found in response url"),a.source!==this._window&&h!==e.state)return}catch{this._dispose(),n(new Error("Invalid response from window"))}i(l)}};window.addEventListener("message",o,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",o,!1)),this._disposeHandlers.add(this._abort.addHandler(a=>{this._dispose(),n(a)}))});return t.debug("got response from window"),this._dispose(),r||this.close(),{url:s}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,s=!1,r=window.location.origin){e.postMessage({source:ye,url:t,keepOpen:s},r)}},Je={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},Ke="_blank",zt=60,Vt=2,ze=10,Bt=class extends ge{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:s=e.post_logout_redirect_uri,popupWindowFeatures:r=Je,popupWindowTarget:i=Ke,redirectMethod:n="assign",redirectTarget:o="self",iframeNotifyParentOrigin:a=e.iframeNotifyParentOrigin,iframeScriptOrigin:c=e.iframeScriptOrigin,silent_redirect_uri:l=e.redirect_uri,silentRequestTimeoutInSeconds:u=ze,automaticSilentRenew:h=!0,validateSubOnSilentRenew:p=!0,includeIdTokenInSilentRenew:f=!1,monitorSession:v=!1,monitorAnonymousSession:y=!1,checkSessionIntervalInSeconds:b=Vt,query_status_response_type:U="code",stopCheckSessionOnError:P=!0,revokeTokenTypes:k=["access_token","refresh_token"],revokeTokensOnSignout:m=!1,includeIdTokenInSilentSignout:w=!1,accessTokenExpiringNotificationTimeInSeconds:R=zt,userStore:S}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=s,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=n,this.redirectTarget=o,this.iframeNotifyParentOrigin=a,this.iframeScriptOrigin=c,this.silent_redirect_uri=l,this.silentRequestTimeoutInSeconds=u,this.automaticSilentRenew=h,this.validateSubOnSilentRenew=p,this.includeIdTokenInSilentRenew=f,this.monitorSession=v,this.monitorAnonymousSession=y,this.checkSessionIntervalInSeconds=b,this.stopCheckSessionOnError=P,this.query_status_response_type=U,this.revokeTokenTypes=k,this.revokeTokensOnSignout=m,this.includeIdTokenInSilentSignout=w,this.accessTokenExpiringNotificationTimeInSeconds=R,S)this.userStore=S;else{const g=typeof window<"u"?window.sessionStorage:new qe;this.userStore=new Me({store:g})}}},be=class Ve extends $e{constructor({silentRequestTimeoutInSeconds:t=ze}){super(),this._logger=new d("IFrameWindow"),this._timeoutInSeconds=t,this._frame=Ve.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const s=setTimeout(()=>void this._abort.raise(new fe("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(s)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",s=>{var r;const i=s.target;(r=i.parentNode)==null||r.removeChild(i),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,s){return super._notifyParent(window.parent,t,!1,s)}},Gt=class{constructor(e){this._settings=e,this._logger=new d("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new be({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),be.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},Qt=500,Yt=1e3,ke=class extends $e{constructor({popupWindowTarget:e=Ke,popupWindowFeatures:t={}}){super(),this._logger=new d("PopupWindow");const s=ve.center({...Je,...t});this._window=window.open(void 0,e,ve.serialize(s)),t.closePopupWindowAfterInSeconds&&t.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},t.closePopupWindowAfterInSeconds*Yt)}async navigate(e){var t;(t=this._window)==null||t.focus();const s=setInterval(()=>{(!this._window||this._window.closed)&&this._abort.raise(new Error("Popup closed by user"))},Qt);return this._disposeHandlers.add(()=>clearInterval(s)),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,e,t)}},Xt=class{constructor(e){this._settings=e,this._logger=new d("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget}){return new ke({popupWindowFeatures:e,popupWindowTarget:t})}async callback(e,{keepOpen:t=!1}){this._logger.create("callback"),ke.notifyOpener(e,t)}},Zt=class{constructor(e){this._settings=e,this._logger=new d("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var s;this._logger.create("prepare");let r=window.self;t==="top"&&(r=(s=window.top)!=null?s:window.self);const i=r.location[e].bind(r.location);let n;return{navigate:async o=>{this._logger.create("navigate");const a=new Promise((c,l)=>{n=l});return i(o.url),await a},close:()=>{this._logger.create("close"),n==null||n(new Error("Redirect aborted")),r.stop()}}}async callback(){}},es=class extends xt{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new d("UserManagerEvents"),this._userLoaded=new q("User loaded"),this._userUnloaded=new q("User unloaded"),this._silentRenewError=new q("Silent renew error"),this._userSignedIn=new q("User signed in"),this._userSignedOut=new q("User signed out"),this._userSessionChanged=new q("User session changed")}async load(e,t=!0){super.load(e),t&&await this._userLoaded.raise(e)}async unload(){super.unload(),await this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}async _raiseSilentRenewError(e){await this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},ts=class{constructor(e){this._userManager=e,this._logger=new d("SilentRenewService"),this._isStarted=!1,this._retryTimer=new A("Retry Silent Renew"),this._tokenExpiring=async()=>{const t=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),t.debug("silent token renewal successful")}catch(s){if(s instanceof fe){t.warn("ErrorTimeout from signinSilent:",s,"retry in 5s"),this._retryTimer.init(5);return}t.error("Error from signinSilent:",s),await this._userManager.events._raiseSilentRenewError(s)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},ss=class{constructor(e){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.data=e.state}},rs=class{constructor(e,t,s,r){this._logger=new d("UserManager"),this.settings=new Bt(e),this._client=new Jt(e),this._redirectNavigator=t!=null?t:new Zt(this.settings),this._popupNavigator=s!=null?s:new Xt(this.settings),this._iframeNavigator=r!=null?r:new Gt(this.settings),this._events=new es(this.settings),this._silentRenewService=new ts(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new Kt(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),await this._events.load(t,!1),t):(e.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),await this._events.unload()}async signinRedirect(e={}){this._logger.create("signinRedirect");const{redirectMethod:t,...s}=e,r=await this._redirectNavigator.prepare({redirectMethod:t});await this._signinStart({request_type:"si:r",...s},r)}async signinRedirectCallback(e=window.location.href){const t=this._logger.create("signinRedirectCallback"),s=await this._signinEnd(e);return s.profile&&s.profile.sub?t.info("success, signed in subject",s.profile.sub):t.info("no subject"),s}async signinResourceOwnerCredentials({username:e,password:t,skipUserInfo:s=!1}){const r=this._logger.create("signinResourceOwnerCredential"),i=await this._client.processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:s,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const n=await this._buildUser(i);return n.profile&&n.profile.sub?r.info("success, signed in subject",n.profile.sub):r.info("no subject"),n}async signinPopup(e={}){const t=this._logger.create("signinPopup"),{popupWindowFeatures:s,popupWindowTarget:r,...i}=e,n=this.settings.popup_redirect_uri;n||t.throw(new Error("No popup_redirect_uri configured"));const o=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:r}),a=await this._signin({request_type:"si:p",redirect_uri:n,display:"popup",...i},o);return a&&(a.profile&&a.profile.sub?t.info("success, signed in subject",a.profile.sub):t.info("no subject")),a}async signinPopupCallback(e=window.location.href,t=!1){const s=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),s.info("success")}async signinSilent(e={}){var t;const s=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,...i}=e;let n=await this._loadUser();if(n!=null&&n.refresh_token){s.debug("using refresh token");const l=new ss(n);return await this._useRefreshToken({state:l,redirect_uri:i.redirect_uri,resource:i.resource,extraTokenParams:i.extraTokenParams,timeoutInSeconds:r})}const o=this.settings.silent_redirect_uri;o||s.throw(new Error("No silent_redirect_uri configured"));let a;n&&this.settings.validateSubOnSilentRenew&&(s.debug("subject prior to silent renew:",n.profile.sub),a=n.profile.sub);const c=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return n=await this._signin({request_type:"si:s",redirect_uri:o,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?n==null?void 0:n.id_token:void 0,...i},c,a),n&&((t=n.profile)!=null&&t.sub?s.info("success, signed in subject",n.profile.sub):s.info("no subject")),n}async _useRefreshToken(e){const t=await this._client.useRefreshToken({...e,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),s=new oe({...e.state,...t});return await this.storeUser(s),await this._events.load(s),s}async signinSilentCallback(e=window.location.href){const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(e=window.location.href){const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":return await this.signinPopupCallback(e);case"si:s":return await this.signinSilentCallback(e);default:throw new Error("invalid response_type in state")}}async signoutCallback(e=window.location.href,t=!1){const{state:s}=await this._client.readSignoutResponseState(e);if(!!s)switch(s.request_type){case"so:r":await this.signoutRedirectCallback(e);break;case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(e={}){const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:s,...r}=e,i=this.settings.silent_redirect_uri;i||t.throw(new Error("No silent_redirect_uri configured"));const n=await this._loadUser(),o=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:s}),a=await this._signinStart({request_type:"si:s",redirect_uri:i,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?n==null?void 0:n.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},o);try{const c=await this._client.processSigninResponse(a.url);return t.debug("got signin response"),c.session_state&&c.profile.sub?(t.info("success for subject",c.profile.sub),{session_state:c.session_state,sub:c.profile.sub}):(t.info("success, user not authenticated"),null)}catch(c){if(this.settings.monitorAnonymousSession&&c instanceof L)switch(c.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:c.session_state}}throw c}}async _signin(e,t,s){const r=await this._signinStart(e,t);return await this._signinEnd(r.url,s)}async _signinStart(e,t){const s=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(e);return s.debug("got signin request"),await t.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw s.debug("error after preparing navigator, closing navigator window"),t.close(),r}}async _signinEnd(e,t){const s=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(e);return s.debug("got signin response"),await this._buildUser(r,t)}async _buildUser(e,t){const s=this._logger.create("_buildUser"),r=new oe(e);if(t){if(t!==r.profile.sub)throw s.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new L({...e,error:"login_required"});s.debug("current user matches user returned from signin")}return await this.storeUser(r),s.debug("user stored"),await this._events.load(r),r}async signoutRedirect(e={}){const t=this._logger.create("signoutRedirect"),{redirectMethod:s,...r}=e,i=await this._redirectNavigator.prepare({redirectMethod:s});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},i),t.info("success")}async signoutRedirectCallback(e=window.location.href){const t=this._logger.create("signoutRedirectCallback"),s=await this._signoutEnd(e);return t.info("success"),s}async signoutPopup(e={}){const t=this._logger.create("signoutPopup"),{popupWindowFeatures:s,popupWindowTarget:r,...i}=e,n=this.settings.popup_post_logout_redirect_uri,o=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:n,state:n==null?void 0:{},...i},o),t.info("success")}async signoutPopupCallback(e=window.location.href,t=!1){const s=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),s.info("success")}async _signout(e,t){const s=await this._signoutStart(e,t);return await this._signoutEnd(s.url)}async _signoutStart(e={},t){var s;const r=this._logger.create("_signoutStart");try{const i=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(i);const n=e.id_token_hint||i&&i.id_token;n&&(r.debug("setting id_token_hint in signout request"),e.id_token_hint=n),await this.removeUser(),r.debug("user removed, creating signout request");const o=await this._client.createSignoutRequest(e);return r.debug("got signout request"),await t.navigate({url:o.url,state:(s=o.state)==null?void 0:s.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),t.close(),i}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),s=await this._client.processSignoutResponse(e);return t.debug("got signout response"),s}async signoutSilent(e={}){var t;const s=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...i}=e,n=this.settings.includeIdTokenInSilentSignout?(t=await this._loadUser())==null?void 0:t.id_token:void 0,o=this.settings.popup_post_logout_redirect_uri,a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:o,id_token_hint:n,...i},a),s.info("success")}async signoutSilentCallback(e=window.location.href){const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e,t=this.settings.revokeTokenTypes){const s=this._logger.create("_revokeInternal");if(!e)return;const r=t.filter(i=>typeof e[i]=="string");if(!r.length){s.debug("no need to revoke due to no token(s)");return}for(const i of r)await this._client.revokeToken(e[i],i),s.info(`${i} revoked successfully`),i!=="access_token"&&(e[i]=null);await this.storeUser(e),s.debug("user stored"),await this._events.load(e)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),oe.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const s=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,s)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}};class ps{async authenticate(t){try{const s=await fetch("/_auth/authenticate",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email:t})});if(!s.ok)throw new Error(await s.text());return null}catch(s){return s instanceof Error?s.message:"Error authenticating user"}}async verify(t,s){const r=await fetch("/_auth/verify",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email:t,token:s})});if(!r.ok){if(r.status==410)throw new Error("expired");return null}const i=await r.json(),n=$();return n.saveJWT(i.jwt),n.user}}const B=class{constructor(){D(this,"oidcUserManager");D(this,"userStore");if(!B.isConfigured())throw new Error("OIDCUserProvider is not configured");const t={authority:B.authority,client_id:B.clientID,redirect_uri:window.location.origin+"/oidc-login-callback"};this.oidcUserManager=new rs(t),this.userStore=$(),bt(()=>this.logout())}static init(t,s){this.clientID=t,this.authority=s}static isConfigured(){return!!this.clientID&&!!this.authority}async login(){const t=await this.oidcUserManager.signinPopup({scope:"openid profile email"}),s=await fetch("/_auth/oidc-verify",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({access_token:t.access_token})});if(!s.ok)return null;const r=await s.json();return this.userStore.saveJWT(r.jwt),this.userStore.user}async loginCallback(){await this.oidcUserManager.signinPopupCallback()}async logout(){await this.oidcUserManager.signoutPopup({post_logout_redirect_uri:window.location.origin+"/oidc-logout-callback"})}async logoutCallback(){await this.oidcUserManager.signoutPopupCallback()}};let z=B;D(z,"clientID",null),D(z,"authority",null);async function fs(){const e=await fetch("/_settings");if(!e.ok)throw new Error(await e.text());const t=await e.json();Q.init(t)}const ee=class{constructor(t){this.config=t}static init(t){z.init(t.oidc_client_id,t.oidc_authority),ee.instance=new ee(t)}get showWatermark(){return this.config.show_watermark}get isStagingRelease(){return{}.VITE_ABSTRA_RELEASE==="staging"}get isLocal(){return location.origin.match(/http:\/\/localhost:\d+/)}};let Q=ee;D(Q,"instance",null);const is=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>j(()=>import("./OidcLoginCallback.9798e5da.js"),["assets/OidcLoginCallback.9798e5da.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>j(()=>import("./OidcLogoutCallback.2c9edc5b.js"),["assets/OidcLogoutCallback.2c9edc5b.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>j(()=>import("./Login.bdff7e46.js"),["assets/Login.bdff7e46.js","assets/Login.vue_vue_type_script_setup_true_lang.88412b2f.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/string.d698465c.js","assets/CircularLoading.08cb4e45.js","assets/CircularLoading.1a558a0d.css","assets/index.40f13cf1.js","assets/index.0887bacc.js","assets/Login.c8ca392c.css","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/Login.401c8269.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>j(()=>import("./Main.c78e8022.js"),["assets/Main.c78e8022.js","assets/PlayerNavbar.0bdb1677.js","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/LoadingOutlined.09a06334.js","assets/PhSignOut.vue.d965d159.js","assets/index.ea51f4a9.js","assets/Avatar.4c029798.js","assets/PlayerNavbar.8a0727fc.css","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/Main.f8caebc6.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>j(()=>import("./Home.53ba993b.js"),["assets/Home.53ba993b.js","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/Watermark.de74448d.js","assets/Watermark.4e66f4f8.css","assets/PhArrowSquareOut.vue.2a1b339b.js","assets/index.7e70395a.js","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/LoadingOutlined.09a06334.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"threads",name:"playerThreads",component:()=>j(()=>import("./Threads.de26e74b.js"),["assets/Threads.de26e74b.js","assets/api.bbc4c8cb.js","assets/fetch.42a41b34.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/WorkflowView.2e20a43a.js","assets/polling.72e5a2f8.js","assets/asyncComputed.3916dfed.js","assets/PhQuestion.vue.6a6a9376.js","assets/ant-design.48401d91.js","assets/index.7d758831.js","assets/index.520f8c66.js","assets/index.582a893b.js","assets/CollapsePanel.ce95f921.js","assets/index.341662d4.js","assets/index.fe1d28be.js","assets/Badge.9808092c.js","assets/PhArrowCounterClockwise.vue.1fa0c440.js","assets/Workflow.d9c6a369.js","assets/validations.339bcb94.js","assets/string.d698465c.js","assets/uuid.a06fb10a.js","assets/index.40f13cf1.js","assets/workspaces.a34621fe.js","assets/record.cff1707c.js","assets/colorHelpers.78fae216.js","assets/index.e3c8c96c.js","assets/PhArrowDown.vue.8953407d.js","assets/Workflow.6ef00fbb.css","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/LoadingOutlined.09a06334.js","assets/DeleteOutlined.618a8e2f.js","assets/PhDownloadSimple.vue.7ab7df2c.js","assets/utils.6b974807.js","assets/LoadingContainer.57756ccb.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css","assets/url.1a1c4e74.js","assets/Threads.20c34c0b.css"]),meta:{title:"Threads"}},{path:"error/:status",name:"error",component:()=>j(()=>import("./Error.b5ae2aeb.js"),["assets/Error.b5ae2aeb.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.01b1b62c.js","assets/Logo.bfb8cf31.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/Logo.03290bf7.css","assets/Card.1902bdb7.js","assets/TabPane.caed57de.js","assets/url.1a1c4e74.js","assets/colorHelpers.78fae216.js","assets/Error.ecf978ca.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>j(()=>import("./Form.9bca0303.js"),["assets/Form.9bca0303.js","assets/api.bbc4c8cb.js","assets/fetch.42a41b34.js","assets/vue-router.324eaed2.js","assets/vue-router.d7fcf385.css","assets/metadata.4c5c5434.js","assets/PhBug.vue.ac4a72e0.js","assets/PhCheckCircle.vue.b905d38f.js","assets/PhKanban.vue.e9ec854d.js","assets/PhWebhooksLogo.vue.96003388.js","assets/FormRunner.514c3468.js","assets/url.1a1c4e74.js","assets/Login.vue_vue_type_script_setup_true_lang.88412b2f.js","assets/Logo.bfb8cf31.js","assets/Logo.03290bf7.css","assets/string.d698465c.js","assets/CircularLoading.08cb4e45.js","assets/CircularLoading.1a558a0d.css","assets/index.40f13cf1.js","assets/index.0887bacc.js","assets/Login.c8ca392c.css","assets/Steps.f9a5ddf6.js","assets/index.0b1755c2.js","assets/Steps.4d03c6c1.css","assets/Watermark.de74448d.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/asyncComputed.3916dfed.js","assets/uuid.a06fb10a.js","assets/colorHelpers.78fae216.js","assets/Form.e811024d.css"]),meta:{hideLogin:!0}}]}],Ee=ht({history:dt("/"),routes:is,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),ns=e=>async(t,s)=>{if(gt(t,s),t.meta.allowUnauthenticated)return;const n=await $().allow(t.path),{redirect:o,...a}=t.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...a,redirect:o||t.path},params:t.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};Ee.beforeEach(ns(Ee));function Te(e,t,s){return _t(t)?t:s==="player"?`/_assets/${e}`:`/_editor/api/assets/${t}`}const Be="#414a58",Ge="#FFFFFF",os="#000000",Qe="DM Sans",as="Untitled Project",Ye={value:"en",label:"English"};function cs(e){var t,s,r,i,n,o,a,c,l,u,h,p,f,v,y,b;return{id:e.id,path:e.path,theme:(t=e.workspace.theme)!=null?t:Ge,brandName:(s=e.workspace.brand_name)!=null?s:null,title:e.title,isInitial:e.is_initial,isLocal:(r=e.is_local)!=null?r:!1,startMessage:(i=e.start_message)!=null?i:null,endMessage:(n=e.end_message)!=null?n:null,errorMessage:(o=e.error_message)!=null?o:null,timeoutMessage:(a=e.timeout_message)!=null?a:null,startButtonText:(c=e.start_button_text)!=null?c:null,restartButtonText:(l=e.restart_button_text)!=null?l:null,logoUrl:e.workspace.logo_url,mainColor:(u=e.workspace.main_color)!=null?u:Be,fontFamily:(h=e.workspace.font_family)!=null?h:Qe,autoStart:(p=e.auto_start)!=null?p:!1,allowRestart:e.allow_restart,welcomeTitle:(f=e.welcome_title)!=null?f:null,runtimeType:"form",language:(v=e.workspace.language)!=null?v:Ye.value,sidebar:(b=(y=e.workspace)==null?void 0:y.sidebar)!=null?b:[]}}function Re(e){var s;const t=(s=e.theme)!=null?s:Ge;return{name:e.name||as,fontColor:e.font_color||os,sidebar:e.sidebar||[],brandName:e.brand_name||"",fontFamily:e.font_family||Qe,logoUrl:e.logo_url?Te("logo",e.logo_url,"player"):null,mainColor:e.main_color||Be,theme:pt(t)?t:Te("background",t,"player"),language:e.language||Ye.value}}async function ws(e){const t=$(),s=await fetch(`/_pages/${e}`,{headers:t.authHeaders});if(s.status===404)return null;if(!s.ok)throw new Error(await s.text());const{form:r}=await s.json();return r?cs(r):null}async function ls(){const e=$(),t=await fetch("/_workspace",{headers:e.authHeaders});if(t.status!=200)return Re({});const s=await t.json();return Re(s)}const ms=Ne("workspace",()=>{const e=te({workspace:null,loading:!1});return{state:e,actions:{async fetch(){e.value.loading=!0,e.value.workspace=await ls(),e.value.loading=!1}}}});export{ps as A,Be as D,z as O,Q as S,Ee as a,$ as b,_s as c,Ne as d,Qe as e,Ye as f,ns as g,Ge as h,bt as i,ws as j,Te as m,is as r,fs as s,ms as u}; +//# sourceMappingURL=workspaceStore.5977d9e8.js.map diff --git a/abstra_statics/dist/assets/workspaces.91ed8c72.js b/abstra_statics/dist/assets/workspaces.a34621fe.js similarity index 90% rename from abstra_statics/dist/assets/workspaces.91ed8c72.js rename to abstra_statics/dist/assets/workspaces.a34621fe.js index d6c5138d4e..c99504aa29 100644 --- a/abstra_statics/dist/assets/workspaces.91ed8c72.js +++ b/abstra_statics/dist/assets/workspaces.a34621fe.js @@ -1,2 +1,2 @@ -var l=Object.defineProperty;var h=(r,e,t)=>e in r?l(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var s=(r,e,t)=>(h(r,typeof e!="symbol"?e+"":e,t),t);import{D as p,e as f,f as y,h as i,m as c}from"./workspaceStore.be837912.js";import{A as g}from"./record.075b7d45.js";import{i as u}from"./colorHelpers.aaea81c6.js";import"./vue-router.33f35a18.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="16d9ff93-4b87-4a3c-935d-4658ed24ac13",r._sentryDebugIdIdentifier="sentry-dbid-16d9ff93-4b87-4a3c-935d-4658ed24ac13")}catch{}})();class m{async get(){return await(await fetch("/_editor/api/workspace",{method:"GET",headers:{"Content-Type":"application/json"}})).json()}async update(e,t){return await(await fetch("/_editor/api/workspace",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).json()}async create(e){throw new Error("Not implemented")}async openFile(e){await fetch("/_editor/api/workspace/open-file",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e})})}async initFile(e,t){await fetch("/_editor/api/workspace/init-file",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e,type:t})})}async checkFile(e){const t=await fetch(`/_editor/api/workspace/check-file?path=${e}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error("Failed to check file");return await t.json()}async readFile(e){const t=await fetch(`/_editor/api/workspace/read-file?file=${e}`,{method:"GET",headers:{"Content-Type":"application/json"}});return t.status===404?null:await t.text()}async readTestData(){return await(await fetch("/_editor/api/workspace/read-test-data",{method:"GET",headers:{"Content-Type":"application/json"}})).text()}async writeTestData(e){if(!(await fetch("/_editor/api/workspace/write-test-data",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({test_data:e})})).ok)throw new Error("Failed to write test data");return{success:!0}}async deploy(){if(!(await fetch("/_editor/api/workspace/deploy",{method:"POST",headers:{"Content-Type":"application/json"}})).ok)throw new Error("Failed to deploy")}}const a=new m,o=class{constructor(e){s(this,"record");this.record=g.create(a,e)}static async get(){const e=await a.get();return new o(e)}static from(e){return new o(e)}get brandName(){var e;return(e=this.record.get("brand_name"))!=null?e:""}set brandName(e){this.record.set("brand_name",e)}get fontColor(){var e;return(e=this.record.get("font_color"))!=null?e:"#000000"}set fontColor(e){this.record.set("font_color",e)}get logoUrl(){var e;return(e=this.record.get("logo_url"))!=null?e:""}set logoUrl(e){this.record.set("logo_url",e)}get faviconUrl(){var e;return(e=this.record.get("favicon_url"))!=null?e:""}set faviconUrl(e){this.record.set("favicon_url",e)}get mainColor(){var e;return(e=this.record.get("main_color"))!=null?e:p}set mainColor(e){this.record.set("main_color",e)}get fontFamily(){var e;return(e=this.record.get("font_family"))!=null?e:f}set fontFamily(e){this.record.set("font_family",e)}get language(){var e;return(e=this.record.get("language"))!=null?e:y.value}set language(e){this.record.set("language",e)}get theme(){var e;return(e=this.record.get("theme"))!=null?e:i}set theme(e){this.record.set("theme",e)}async save(){return this.record.save()}hasChanges(){return this.record.hasChanges()}static async openFile(e){await a.openFile(e)}static async initFile(e,t){await a.initFile(e,t)}static async checkFile(e){return a.checkFile(e)}async readFile(e){return a.readFile(e)}static async readTestData(){return a.readTestData()}static async writeTestData(e){return a.writeTestData(e)}static async deploy(){return a.deploy()}get sidebar(){var e;return(e=this.record.get("sidebar"))!=null?e:[]}set sidebar(e){this.record.set("sidebar",e)}makeRunnerData(){var e;return{sidebar:this.sidebar,name:this.brandName,fontColor:this.fontColor,brandName:this.brandName,fontFamily:this.fontFamily,logoUrl:this.logoUrl?c("logo",this.logoUrl,"editor"):null,mainColor:this.mainColor,theme:u(this.theme)?this.theme:(e=c("background",this.theme,"editor"))!=null?e:i,language:this.language}}};let n=o;s(n,"instance");export{n as W}; -//# sourceMappingURL=workspaces.91ed8c72.js.map +var l=Object.defineProperty;var h=(r,e,t)=>e in r?l(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var s=(r,e,t)=>(h(r,typeof e!="symbol"?e+"":e,t),t);import{D as p,e as f,f as y,h as i,m as c}from"./workspaceStore.5977d9e8.js";import{A as g}from"./record.cff1707c.js";import{i as u}from"./colorHelpers.78fae216.js";import"./vue-router.324eaed2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="feda0293-a58e-49e9-b12e-23450e1a05c4",r._sentryDebugIdIdentifier="sentry-dbid-feda0293-a58e-49e9-b12e-23450e1a05c4")}catch{}})();class m{async get(){return await(await fetch("/_editor/api/workspace",{method:"GET",headers:{"Content-Type":"application/json"}})).json()}async update(e,t){return await(await fetch("/_editor/api/workspace",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).json()}async create(e){throw new Error("Not implemented")}async openFile(e){await fetch("/_editor/api/workspace/open-file",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e})})}async initFile(e,t){await fetch("/_editor/api/workspace/init-file",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e,type:t})})}async checkFile(e){const t=await fetch(`/_editor/api/workspace/check-file?path=${e}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error("Failed to check file");return await t.json()}async readFile(e){const t=await fetch(`/_editor/api/workspace/read-file?file=${e}`,{method:"GET",headers:{"Content-Type":"application/json"}});return t.status===404?null:await t.text()}async readTestData(){return await(await fetch("/_editor/api/workspace/read-test-data",{method:"GET",headers:{"Content-Type":"application/json"}})).text()}async writeTestData(e){if(!(await fetch("/_editor/api/workspace/write-test-data",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({test_data:e})})).ok)throw new Error("Failed to write test data");return{success:!0}}async deploy(){if(!(await fetch("/_editor/api/workspace/deploy",{method:"POST",headers:{"Content-Type":"application/json"}})).ok)throw new Error("Failed to deploy")}}const a=new m,o=class{constructor(e){s(this,"record");this.record=g.create(a,e)}static async get(){const e=await a.get();return new o(e)}static from(e){return new o(e)}get brandName(){var e;return(e=this.record.get("brand_name"))!=null?e:""}set brandName(e){this.record.set("brand_name",e)}get fontColor(){var e;return(e=this.record.get("font_color"))!=null?e:"#000000"}set fontColor(e){this.record.set("font_color",e)}get logoUrl(){var e;return(e=this.record.get("logo_url"))!=null?e:""}set logoUrl(e){this.record.set("logo_url",e)}get faviconUrl(){var e;return(e=this.record.get("favicon_url"))!=null?e:""}set faviconUrl(e){this.record.set("favicon_url",e)}get mainColor(){var e;return(e=this.record.get("main_color"))!=null?e:p}set mainColor(e){this.record.set("main_color",e)}get fontFamily(){var e;return(e=this.record.get("font_family"))!=null?e:f}set fontFamily(e){this.record.set("font_family",e)}get language(){var e;return(e=this.record.get("language"))!=null?e:y.value}set language(e){this.record.set("language",e)}get theme(){var e;return(e=this.record.get("theme"))!=null?e:i}set theme(e){this.record.set("theme",e)}async save(){return this.record.save()}hasChanges(){return this.record.hasChanges()}static async openFile(e){await a.openFile(e)}static async initFile(e,t){await a.initFile(e,t)}static async checkFile(e){return a.checkFile(e)}async readFile(e){return a.readFile(e)}static async readTestData(){return a.readTestData()}static async writeTestData(e){return a.writeTestData(e)}static async deploy(){return a.deploy()}get sidebar(){var e;return(e=this.record.get("sidebar"))!=null?e:[]}set sidebar(e){this.record.set("sidebar",e)}makeRunnerData(){var e;return{sidebar:this.sidebar,name:this.brandName,fontColor:this.fontColor,brandName:this.brandName,fontFamily:this.fontFamily,logoUrl:this.logoUrl?c("logo",this.logoUrl,"editor"):null,mainColor:this.mainColor,theme:u(this.theme)?this.theme:(e=c("background",this.theme,"editor"))!=null?e:i,language:this.language}}};let n=o;s(n,"instance");export{n as W}; +//# sourceMappingURL=workspaces.a34621fe.js.map diff --git a/abstra_statics/dist/assets/xml.fd6ca959.js b/abstra_statics/dist/assets/xml.8e3c6f84.js similarity index 80% rename from abstra_statics/dist/assets/xml.fd6ca959.js rename to abstra_statics/dist/assets/xml.8e3c6f84.js index 30e8d0208c..b6870d6567 100644 --- a/abstra_statics/dist/assets/xml.fd6ca959.js +++ b/abstra_statics/dist/assets/xml.8e3c6f84.js @@ -1,7 +1,7 @@ -import{m as d}from"./toggleHighContrast.aa328f74.js";import"./vue-router.33f35a18.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="48194d9a-0045-4151-9f9e-133da2e86ed4",t._sentryDebugIdIdentifier="sentry-dbid-48194d9a-0045-4151-9f9e-133da2e86ed4")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as d}from"./toggleHighContrast.4c55b574.js";import"./vue-router.324eaed2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="8621fdc2-ebe8-4f9a-a76e-70a0dba80f86",t._sentryDebugIdIdentifier="sentry-dbid-8621fdc2-ebe8-4f9a-a76e-70a0dba80f86")}catch{}})();/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,r=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of m(e))!s.call(t,a)&&a!==n&&l(t,a,{get:()=>e[a],enumerable:!(i=c(e,a))||i.enumerable});return t},p=(t,e,n)=>(r(t,e,"default"),n&&r(n,e,"default")),o={};p(o,d);var g={comments:{blockComment:[""]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:o.languages.IndentAction.Indent}}]},_={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:o.languages.IndentAction.Indent}}]},b={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/